Bitcoin Forum
May 21, 2022, 10:14:05 AM *
News: Latest Bitcoin Core release: 23.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 [16] 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 ... 131 »
  Print  
Author Topic: [XPM] [ANN] Primecoin High Performance | HP14 released!  (Read 397530 times)
matt4054
Legendary
*
Offline Offline

Activity: 1834
Merit: 1024


BitcoinQueue.com


View Profile WWW
July 14, 2013, 11:47:49 PM
 #301

I'm getting pretty abysmal performance with this build on osx (using the osx makefile). 1player's build seems to be working better on osx while all other machines are better using mikhael's hp3. Any suggestions / optimizations to the osx makefile would be much appreciated.

I'm tempted to VM an ubuntu build and see how that goes but I'd rather run it natively in osx with this high performance build.

Where did you get your libgmp? That's what's doing most of the heavy lifting. I would probably look for optimization opportunities in how libgmp is compiled.

As far as I am concerned, I got it fresh from the current MacPorts
1653128045
Hero Member
*
Offline Offline

Posts: 1653128045

View Profile Personal Message (Offline)

Ignore
1653128045
Reply with quote  #2

1653128045
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1653128045
Hero Member
*
Offline Offline

Posts: 1653128045

View Profile Personal Message (Offline)

Ignore
1653128045
Reply with quote  #2

1653128045
Report to moderator
redphlegm
Sr. Member
****
Offline Offline

Activity: 246
Merit: 250


My spoon is too big!


View Profile
July 14, 2013, 11:47:58 PM
 #302

I found that installing libmpfr-dev which it required for Freicoin, also satisfies the gmp requirement.

Is there a difference in speed between the mpfr and gmp libraries?

libmpfr-dev pulls libgmp as a dependency. The actual mpfr does floating point calculations. Comparing mpfr and gmp is like comparing apples and bananas.

Well I tried "sudo port uninstall gmp" and then "sudo port install mpfr". Then I recompiled. It compiled without errors but the performance was even worse than not having mpfr installed (with macports).

I'm at a loss now... Sad

Whiskey Fund: (BTC) 1whiSKeYMRevsJMAQwU8NY1YhvPPMjTbM | (Ψ) ALcoHoLsKUfdmGfHVXEShtqrEkasihVyqW
fabrizziop
Hero Member
*****
Offline Offline

Activity: 506
Merit: 500



View Profile
July 14, 2013, 11:49:42 PM
 #303

Finally managed to build it on Ubuntu 13.04 amd64, it gives me around 4500 pps on my FX 8350 Cheesy
forsetifox
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250



View Profile
July 14, 2013, 11:56:58 PM
 #304

Just found another block. 4 blocks in 24 hours @ 2500 PPS.

 Shocked
dudeguy
Member
**
Offline Offline

Activity: 182
Merit: 10



View Profile
July 15, 2013, 12:02:30 AM
 #305

Just found another block. 4 blocks in 24 hours @ 2500 PPS.

 Shocked

I'm so jelly. Hold onto those precious coins.



 I've been well over 3000 for the last 48 hours. Nothing. I made sure do re-download the blockchain before switching builds. No excuses. Just bad luck?
dudeguy
Member
**
Offline Offline

Activity: 182
Merit: 10



View Profile
July 15, 2013, 12:05:52 AM
 #306

Finally managed to build it on Ubuntu 13.04 amd64, it gives me around 4500 pps on my FX 8350 Cheesy

Congrats! Grin


Next project; improve HP3???  Wink
dreamwatcher
Legendary
*
Offline Offline

Activity: 1064
Merit: 1000


View Profile WWW
July 15, 2013, 12:14:42 AM
 #307

I found that installing libmpfr-dev which it required for Freicoin, also satisfies the gmp requirement.

Is there a difference in speed between the mpfr and gmp libraries?

libmpfr-dev pulls libgmp as a dependency. The actual mpfr does floating point calculations. Comparing mpfr and gmp is like comparing apples and bananas.

Thank you.

I did not know that it used gmp as a dependency.

I see so many libraries and packages that appear to do the same things. Some better at certain applications while worse at others.

I guess the next major step would be to rewrite the mining routine in OpenCL. Though I would not doubt somebody has already did it and is not sharing.  Cheesy

Can't say I would blame them at this point.





fabrizziop
Hero Member
*****
Offline Offline

Activity: 506
Merit: 500



View Profile
July 15, 2013, 12:15:05 AM
 #308

Finally managed to build it on Ubuntu 13.04 amd64, it gives me around 4500 pps on my FX 8350 Cheesy

Congrats! Grin


Next project; improve HP3???  Wink

In my case it's weird, if I compile with march=native the pps rate is lower.
dudeguy
Member
**
Offline Offline

Activity: 182
Merit: 10



View Profile
July 15, 2013, 12:23:45 AM
 #309

I found that installing libmpfr-dev which it required for Freicoin, also satisfies the gmp requirement.

Is there a difference in speed between the mpfr and gmp libraries?

libmpfr-dev pulls libgmp as a dependency. The actual mpfr does floating point calculations. Comparing mpfr and gmp is like comparing apples and bananas.

Thank you.

I did not know that it used gmp as a dependency.

I see so many libraries and packages that appear to do the same things. Some better at certain applications while worse at others.

I guess the next major step would be to rewrite the mining routine in OpenCL. Though I would not doubt somebody has already did it and is not sharing.  Cheesy

Can't say I would blame them at this point.







Luke Jr we are talking to you!  Tongue
redphlegm
Sr. Member
****
Offline Offline

Activity: 246
Merit: 250


My spoon is too big!


View Profile
July 15, 2013, 12:26:35 AM
 #310

I found that installing libmpfr-dev which it required for Freicoin, also satisfies the gmp requirement.

Is there a difference in speed between the mpfr and gmp libraries?

libmpfr-dev pulls libgmp as a dependency. The actual mpfr does floating point calculations. Comparing mpfr and gmp is like comparing apples and bananas.

Thank you.

I did not know that it used gmp as a dependency.

I see so many libraries and packages that appear to do the same things. Some better at certain applications while worse at others.

I guess the next major step would be to rewrite the mining routine in OpenCL. Though I would not doubt somebody has already did it and is not sharing.  Cheesy

Can't say I would blame them at this point.


Yeah, I was thinking that earlier. It seems a likely explanation to the skyrocketing difficulty (that surprises even Sunny).

I'm curious - how / why were OCL miners even publicly released anyway? What caused the person / group to release it/them and not horde anymore?

Whiskey Fund: (BTC) 1whiSKeYMRevsJMAQwU8NY1YhvPPMjTbM | (Ψ) ALcoHoLsKUfdmGfHVXEShtqrEkasihVyqW
fabrizziop
Hero Member
*****
Offline Offline

Activity: 506
Merit: 500



View Profile
July 15, 2013, 12:30:27 AM
 #311

I found that installing libmpfr-dev which it required for Freicoin, also satisfies the gmp requirement.

Is there a difference in speed between the mpfr and gmp libraries?

libmpfr-dev pulls libgmp as a dependency. The actual mpfr does floating point calculations. Comparing mpfr and gmp is like comparing apples and bananas.

Thank you.

I did not know that it used gmp as a dependency.

I see so many libraries and packages that appear to do the same things. Some better at certain applications while worse at others.

I guess the next major step would be to rewrite the mining routine in OpenCL. Though I would not doubt somebody has already did it and is not sharing.  Cheesy

Can't say I would blame them at this point.


Yeah, I was thinking that earlier. It seems a likely explanation to the skyrocketing difficulty (that surprises even Sunny).

I'm curious - how / why were OCL miners even publicly released anyway? What caused the person / group to release it/them and not horde anymore?

Remember that having too much control of a decentralized network by a single person reduces the trust that the public has on the network, that is bad for the guy hoarding the miner. Best is to mine a nice time with the OpenCL miner then when you have your stash just release the miner to the public to make your stash worth more.
redphlegm
Sr. Member
****
Offline Offline

Activity: 246
Merit: 250


My spoon is too big!


View Profile
July 15, 2013, 12:35:53 AM
 #312

I was poking through prime.h and prime.cpp and they're not really all that long. Someone who knows c++, OpenCL and / or CUDA should be able to make the conversion. I would be willing to bet it has already happened and they're raking it in at the moment.

Whiskey Fund: (BTC) 1whiSKeYMRevsJMAQwU8NY1YhvPPMjTbM | (Ψ) ALcoHoLsKUfdmGfHVXEShtqrEkasihVyqW
dudeguy
Member
**
Offline Offline

Activity: 182
Merit: 10



View Profile
July 15, 2013, 02:05:52 AM
 #313

Finally managed to build it on Ubuntu 13.04 amd64, it gives me around 4500 pps on my FX 8350 Cheesy

Congrats! Grin


Next project; improve HP3???  Wink

In my case it's weird, if I compile with march=native the pps rate is lower.


Remember, PPS isn't an accurate measurement.

http://www.reddit.com/r/primecoin/comments/1iaak8/psa_primes_per_second_just_dropped_carry_on/
PoolMinor
Legendary
*
Offline Offline

Activity: 1819
Merit: 1314


XXXVII Fnord is toast without bread


View Profile
July 15, 2013, 02:32:26 AM
 #314

Should the sievesize be a prime number?

Btc=C2MF       Free BTC Poker
Being defeated is often a temporary condition. Giving up is what makes it permanent. -Marilyn vos Savant
fabrizziop
Hero Member
*****
Offline Offline

Activity: 506
Merit: 500



View Profile
July 15, 2013, 02:37:23 AM
 #315

Finally managed to build it on Ubuntu 13.04 amd64, it gives me around 4500 pps on my FX 8350 Cheesy

Congrats! Grin


Next project; improve HP3???  Wink

In my case it's weird, if I compile with march=native the pps rate is lower.


Remember, PPS isn't an accurate measurement.

http://www.reddit.com/r/primecoin/comments/1iaak8/psa_primes_per_second_just_dropped_carry_on/

After all, I think that the performance is lower with -march=native, it could be related to my AMD processor fake 8 cores. I could still give a try to march=native to try.
superfluouso
Full Member
***
Offline Offline

Activity: 201
Merit: 100


View Profile
July 15, 2013, 02:52:01 AM
 #316

I'm getting pretty abysmal performance with this build on osx (using the osx makefile). 1player's build seems to be working better on osx while all other machines are better using mikhael's hp3. Any suggestions / optimizations to the osx makefile would be much appreciated.

I'm tempted to VM an ubuntu build and see how that goes but I'd rather run it natively in osx with this high performance build.

That's the route I took - VirtualBox/ubuntu -  been running 4 of my cores at about 3500pps with Mikaelh2 build.  Found 3 blocks but nothing in the last 24 hours
fabrizziop
Hero Member
*****
Offline Offline

Activity: 506
Merit: 500



View Profile
July 15, 2013, 02:56:03 AM
 #317

I'm getting pretty abysmal performance with this build on osx (using the osx makefile). 1player's build seems to be working better on osx while all other machines are better using mikhael's hp3. Any suggestions / optimizations to the osx makefile would be much appreciated.

I'm tempted to VM an ubuntu build and see how that goes but I'd rather run it natively in osx with this high performance build.

That's the route I took - VirtualBox/ubuntu -  been running 4 of my cores at about 3500pps with Mikaelh2 build.  Found 3 blocks but nothing in the last 24 hours

Well, to be honest his build is probably the best, but I don't have the guts to run a binary made by a new guy at bitcointalk.
jubalix
Legendary
*
Offline Offline

Activity: 2422
Merit: 1018


View Profile WWW
July 15, 2013, 03:24:36 AM
 #318

does any one have a script to start

primcoind --deamon

if it falls over?Huh

if(check/5 mins if on watch process!)
{primcoind --deamon;}


Admitted Practicing Lawyer::BTC/Crypto Specialist. B.Engineering/B.Laws

https://www.binance.com/?ref=10062065
hiddenvalleyranch
Member
**
Offline Offline

Activity: 103
Merit: 10


View Profile
July 15, 2013, 03:47:58 AM
 #319

I'm getting about the same rate but my CPU is way down like less than 20% most of the time. Anyway to allow it to use full CPU. Win 8 by the way.
achillez
Hero Member
*****
Offline Offline

Activity: 874
Merit: 1000


View Profile
July 15, 2013, 04:21:57 AM
 #320

I heard about the a "hp3" build? Is this in the git repo for mikaelh2?
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 [16] 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 ... 131 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!