Bitcoin Forum
April 22, 2021, 06:16:43 PM *
News: Latest Bitcoin Core release: 0.21.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]
  Print  
Author Topic: [XPM] Primecoin Built-in Miner Sieve Performance Issue  (Read 69059 times)
JohnyBigs
Sr. Member
****
Offline Offline

Activity: 560
Merit: 250


View Profile
July 14, 2013, 08:03:47 AM
 #721

Sunny about how long should it be taking us to find a block with a i7 for example getting about 4000ppc?
1619115403
Hero Member
*
Offline Offline

Posts: 1619115403

View Profile Personal Message (Offline)

Ignore
1619115403
Reply with quote  #2

1619115403
Report to moderator
1619115403
Hero Member
*
Offline Offline

Posts: 1619115403

View Profile Personal Message (Offline)

Ignore
1619115403
Reply with quote  #2

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

Posts: 1619115403

View Profile Personal Message (Offline)

Ignore
1619115403
Reply with quote  #2

1619115403
Report to moderator
Sunny King
Legendary
*
Offline Offline

Activity: 1205
Merit: 1003



View Profile WWW
July 14, 2013, 08:13:04 AM
 #722

Sunny about how long should it be taking us to find a block with a i7 for example getting about 4000ppc?

pps is not a reliable measure of performance, so honestly I can't give any such estimate. Hopefully later when the nature of prime chain mining is better understood a more reliable metric can be developed.
bidji29
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


View Profile
July 14, 2013, 08:13:54 AM
 #723

I did some block generation testing on testnet of whether using more threads than cores helps the mining speed. On a core 2 duo (2 cores) running on Chemisist's code, standard build (O3):

4 threads: 47 blocks found in 32.67 minutes = 1.44 blocks/minute

2 threads: 116 blocks in 76.43 minutes = 1.52 blocks/minute

On the stock 0.1.1 from Sunny:

2 threads: 69 blocks in 64.6 minutes = 1.07 blocks/minute

Using 2x threads basically made no difference and is possibly worse. Running for a few hours would give better data but I've got what I wanted.

This somewhat moot now with mikaelh's new code. His looks to be over 3x faster than Chemisist's.

https://bitcointalk.org/index.php?topic=255782.0

Could you run a test with larger number, like 8 thread per core.
Maybe the result will be better

http://www.freebieservers.com/  100% FREE GAME SERVERS
Sunny King
Legendary
*
Offline Offline

Activity: 1205
Merit: 1003



View Profile WWW
July 14, 2013, 08:18:32 AM
 #724

I pushed a new commit with sieve optimizations. It appears to generate larger performance improvement on systems not heavily crippled by v0.1.0 miner.

Give it a try. Please note this version has a slower warmup period.

https://github.com/primecoin/primecoin/commit/ab9fe91d711c92527fcde2fa34563b0aefd16742

I had a noticeable decrease in PPS from this update ( ~1/10th of PPS from original release).  I'm running a Core2 Quad.  I realize PPS isn't a great measure of efficacy but the decrease seems pretty consistent and dramatic (15min thus far). 

Is the "slower warmup period" longer than this, Sunny King??


Maybe wait a bit longer, what's your pps on core2quad?
altsay
Sr. Member
****
Offline Offline

Activity: 359
Merit: 250


View Profile
July 14, 2013, 08:20:46 AM
 #725

I did some block generation testing on testnet of whether using more threads than cores helps the mining speed. On a core 2 duo (2 cores) running on Chemisist's code, standard build (O3):

4 threads: 47 blocks found in 32.67 minutes = 1.44 blocks/minute

2 threads: 116 blocks in 76.43 minutes = 1.52 blocks/minute

On the stock 0.1.1 from Sunny:

2 threads: 69 blocks in 64.6 minutes = 1.07 blocks/minute

Using 2x threads basically made no difference and is possibly worse. Running for a few hours would give better data but I've got what I wanted.

This somewhat moot now with mikaelh's new code. His looks to be over 3x faster than Chemisist's.

https://bitcointalk.org/index.php?topic=255782.0

Could you run a test with larger number, like 8 thread per core.
Maybe the result will be better

I dont think modifying "setgenerate" value would get better performance.
Mirenaut
Newbie
*
Offline Offline

Activity: 7
Merit: 0



View Profile
July 14, 2013, 04:16:55 PM
 #726

With this last commit I went from circa 1K pps to 400-500 with about the same load I had before and stayed there for 15-20'.
Then went up to ~600 for the next 20' and now it's at ~700 but fluctuating back and forth. So that's about half the pps compared to mikaelh's hp commit.
I know pps isn't an indication of speed/success but it's the only one to test against other builds for the time being.
Alas no blocks yet Sad and just 2 in last 1.5 days
Cablez
Legendary
*
Offline Offline

Activity: 1400
Merit: 1000


I owe my soul to the Bitcoin code...


View Profile
July 14, 2013, 04:19:30 PM
 #727

I switched to mikaelh client this morning which almost doubled my pps and I just found a block. Let's see if I get to keep it.

Tired of substandard power distribution in your ASIC setup???   Chris' Custom Cablez will get you sorted out right!  No job too hard so PM me for a quote
Check my products or ask a question here: https://bitcointalk.org/index.php?topic=74397.0
romerun
Legendary
*
Offline Offline

Activity: 1078
Merit: 1001


Bitcoin is new, makes sense to hodl.


View Profile
July 14, 2013, 04:22:39 PM
 #728

odd thing happening to me a few time was that 18 instances found nothing for 12 hours, I updated clients from some of these homegrown fork, 10 minutes later boom 2 blocks, then nothing for the rest of the day, and the cycle continues
paultramarine
Newbie
*
Offline Offline

Activity: 37
Merit: 0


View Profile
July 14, 2013, 11:26:07 PM
 #729

I pushed a new commit with sieve optimizations. It appears to generate larger performance improvement on systems not heavily crippled by v0.1.0 miner.

Give it a try. Please note this version has a slower warmup period.

https://github.com/primecoin/primecoin/commit/ab9fe91d711c92527fcde2fa34563b0aefd16742

I had a noticeable decrease in PPS from this update ( ~1/10th of PPS from original release).  I'm running a Core2 Quad.  I realize PPS isn't a great measure of efficacy but the decrease seems pretty consistent and dramatic (15min thus far). 

Is the "slower warmup period" longer than this, Sunny King??


Maybe wait a bit longer, what's your pps on core2quad?

It was 70-150pps with the original setup, then went down to 1-10pps with your updated .cpp and .h files.  I switched to the mikaelh qt and d files now (retaining your .cpp and .h files) and I'm up above 1000pps. 
Chemisist
Member
**
Offline Offline

Activity: 99
Merit: 10



View Profile
July 15, 2013, 03:01:13 AM
 #730

With this last commit I went from circa 1K pps to 400-500 with about the same load I had before and stayed there for 15-20'.
Then went up to ~600 for the next 20' and now it's at ~700 but fluctuating back and forth. So that's about half the pps compared to mikaelh's hp commit.
I know pps isn't an indication of speed/success but it's the only one to test against other builds for the time being.
Alas no blocks yet Sad and just 2 in last 1.5 days

Test builds against each other on the test net to see how many blocks each one generated in the sake amount of time on the same machine. That  is a far better efficacy measure than pps.

btc 1ChemaH12nRmd75M8BmPSiqd8x7B2wxFNF     ltc LaWX7jgJDyQ2oFaQYJvo5kqC1e1KYPoCfd     xpm Ab8NSgxHgGUJvHgSHYqMYBMWai6ZdsA91s
mephistophelesbits
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
July 17, 2013, 01:56:21 AM
 #731

How do you manage to run it on Raspberry Pi? I'm stuck with make, can't go further. Do you know any tutorial or discussions about this topic?
xavenged
Member
**
Offline Offline

Activity: 104
Merit: 10


View Profile
July 17, 2013, 07:00:32 AM
 #732

How do you manage to run it on Raspberry Pi? I'm stuck with make, can't go further. Do you know any tutorial or discussions about this topic?

you need to make a swap file as the pi doesnt have enough ram.. run this

Code:
sudo dd if=/dev/zero of=/swapfile bs=64M count=16
sudo mkswap /swapfile
sudo swapon /swapfile

then run the make command then delete sawp file

Code:
sudo swapoff /swapfile
sudo rm /swapfile
enuma
Newbie
*
Offline Offline

Activity: 34
Merit: 0



View Profile
July 18, 2013, 05:19:03 AM
 #733

Primecoin at 0.011/btc ratio. Honestly only the btc 1 o 1 psicology can hold it down or a major unknow bug in the concept it self.

as most in the troll box like to yell, primecoins to the moon!
Lauda
Legendary
*
Offline Offline

Activity: 2674
Merit: 2877


Terminated.


View Profile WWW
July 19, 2013, 07:09:59 AM
 #734

Primecoin at 0.011/btc ratio. Honestly only the btc 1 o 1 psicology can hold it down or a major unknow bug in the concept it self.

as most in the troll box like to yell, primecoins to the moon!
0.016*

"The Times 03/Jan/2009 Chancellor on brink of second bailout for banks"
😼 Bitcoin Core (onion)
nutildah
Legendary
*
Offline Offline

Activity: 2100
Merit: 4557


I'm not on Telegram


View Profile
August 04, 2015, 07:50:25 PM
 #735

They must have moved to their own forum, don't hear a lot from these guys anymore.... Like I said, too bad. This is a good coin that actually _does_ something.





.
.




░██████████████████░
████████████████████
█████████▀░░░███████
█████████░░▄████████
███████▀▀░░▀▀███████
███████▄▄░░▄▄███████
█████████░░█████████

█████████░░█████████

█████████▄▄█████████

████████████████████

░██████████████████░
░██████████████████░
████████████████████
████████████▀▀▀█▀███
███░▀█████▀░░░░░▀███
███▌░░░▀▀▀░░░░░░████
████▄░░░░░░░░░░░████
█████▀░░░░░░░░░█████

██████▄░░░░░▄▄██████

█████▄▄▄▄███████████

████████████████████

░██████████████████░
░██████████████████░
████████████████████
████████████████████
███████████▀▀░░▐████
███████▀▀░░░░░█████
████▀░░░▄█▀░░░▐█████
█████▄▄█▀░░░░░██████

███████▌▄▄▄▐██████

████████████████████

████████████████████

░██████████████████░
arnuschky
Hero Member
*****
Offline Offline

Activity: 517
Merit: 500


View Profile
August 04, 2015, 11:03:03 PM
 #736

They must have moved to their own forum, don't hear a lot from these guys anymore.... Like I said, too bad. This is a good coin that actually _does_ something.

Two years after the last post? Yep, don't hear a lot from these guys anymore either. Cheesy
nutildah
Legendary
*
Offline Offline

Activity: 2100
Merit: 4557


I'm not on Telegram


View Profile
August 05, 2015, 12:09:54 AM
 #737

I remember Sunny King had already disappeared by the time I first started posting on this forum. Maybe he assumed a different identity. Its kind of hard to top his accomplishments as a dev, IMHO.





.
.




░██████████████████░
████████████████████
█████████▀░░░███████
█████████░░▄████████
███████▀▀░░▀▀███████
███████▄▄░░▄▄███████
█████████░░█████████

█████████░░█████████

█████████▄▄█████████

████████████████████

░██████████████████░
░██████████████████░
████████████████████
████████████▀▀▀█▀███
███░▀█████▀░░░░░▀███
███▌░░░▀▀▀░░░░░░████
████▄░░░░░░░░░░░████
█████▀░░░░░░░░░█████

██████▄░░░░░▄▄██████

█████▄▄▄▄███████████

████████████████████

░██████████████████░
░██████████████████░
████████████████████
████████████████████
███████████▀▀░░▐████
███████▀▀░░░░░█████
████▀░░░▄█▀░░░▐█████
█████▄▄█▀░░░░░██████

███████▌▄▄▄▐██████

████████████████████

████████████████████

░██████████████████░
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]
  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!