Pages:
Author

Topic: [XPM] Primecoin Built-in Miner Sieve Performance Issue - page 9. (Read 69150 times)

legendary
Activity: 1843
Merit: 1338
XXXVII Fnord is toast without bread

16:00:58

getmininginfo


16:00:58

{
"blocks" : 24436,
"currentblocksize" : 1000,
"currentblocktx" : 0,
"errors" : "",
"generate" : true,
"genproclimit" : 80,
"primespersec" : 2359,
"pooledtx" : 0,
"testnet" : false
}


AMD FX 8120

Perhaps PPS isn't the actual goal after all, since I think this measurement is largely misunderstood.

That's the conclusion that I've reached also.  I'm comparing the actual number of blocks generated over 10 minutes (though I should probably do it for longer) on the testnet between production Primecoin code and what I'm working on.

Though I should point out that with each change in genproclimit I saw better results up to 10x actual cores.

Code:
13:29:11

"blocks" : 23590,
 "genproclimit" : 8,
"primespersec" : 1296,
13:29:12
"blocks" : 23590,
"genproclimit" : 8,
"primespersec" : 1296,
13:39:41
"blocks" : 23639,
"genproclimit" : 8,
"primespersec" : 1224,
13:40:06
"blocks" : 23644,
"genproclimit" : 12,
"primespersec" : 1224,
14:31:19
"blocks" : 23940,
"genproclimit" : 12,
"primespersec" : 1354,
14:31:33
"blocks" : 23940,
"genproclimit" : 12,
"primespersec" : 1318,
14:44:52
"blocks" : 24021,
"genproclimit" : 16,
"primespersec" : 1398,
14:45:01
"genproclimit" : 16,
"primespersec" : 1398,
14:45:09
"blocks" : 24023,
"genproclimit" : 16,
"primespersec" : 1398,
14:58:18
"blocks" : 24088,
"genproclimit" : 80,
"primespersec" : 2168,



15:01:49

"blocks" : 24112,
 
"genproclimit" : 80,
"primespersec" : 2192,

15:17:32

"blocks" : 24192

"genproclimit" : 120,
"primespersec" : 2320,


15:31:19

"blocks" : 24268,

"genproclimit" : 160,
"primespersec" : 2371,


15:43:56
?
{
"blocks" : 24336,
"currentblocksize" : 18956,
"currentblocktx" : 1,
"errors" : "",
"generate" : true,
"genproclimit" : 320,
"primespersec" : 2196,
"pooledtx" : 1,
"testnet" : false
}
hero member
Activity: 506
Merit: 500

16:00:58

getmininginfo


16:00:58

{
"blocks" : 24436,
"currentblocksize" : 1000,
"currentblocktx" : 0,
"errors" : "",
"generate" : true,
"genproclimit" : 80,
"primespersec" : 2359,
"pooledtx" : 0,
"testnet" : false
}


AMD FX 8120

Perhaps PPS isn't the actual goal after all, since I think this measurement is largely misunderstood.

I'd love to know how are you getting a PPS number so high on a FX 8120?.
member
Activity: 99
Merit: 10

16:00:58

getmininginfo


16:00:58

{
"blocks" : 24436,
"currentblocksize" : 1000,
"currentblocktx" : 0,
"errors" : "",
"generate" : true,
"genproclimit" : 80,
"primespersec" : 2359,
"pooledtx" : 0,
"testnet" : false
}


AMD FX 8120

Perhaps PPS isn't the actual goal after all, since I think this measurement is largely misunderstood.

That's the conclusion that I've reached also.  I'm comparing the actual number of blocks generated over 10 minutes (though I should probably do it for longer) on the testnet between production Primecoin code and what I'm working on.
legendary
Activity: 1843
Merit: 1338
XXXVII Fnord is toast without bread
16:00:58

getmininginfo


16:00:58

{
"blocks" : 24436,
"currentblocksize" : 1000,
"currentblocktx" : 0,
"errors" : "",
"generate" : true,
"genproclimit" : 80,
"primespersec" : 2359,
"pooledtx" : 0,
"testnet" : false
}


AMD FX 8120 8 cores

primecoin-0.1.1-win32-setup build


Perhaps PPS isn't the actual goal after all, since I think this measurement is largely misunderstood.
legendary
Activity: 1106
Merit: 1001
wtf

{
    "blocks" : 24459,
    "currentblocksize" : 1000,
    "currentblocktx" : 0,
    "errors" : "",
    "generate" : true,
    "genproclimit" : -1,
    "primespersec" : 5039,
    "pooledtx" : 0,
    "testnet" : false
}


send you some Smiley
legendary
Activity: 1484
Merit: 1005
Just so you're aware (not sure if you've been following the last 5-6 pages), the makefile.unix has -O3 set instead of the -O2 like the one from Sunny King has

Yeah, it's compiled with -O3 and the correct architecture

Your version so far: averaging about 2100 PPM on a Core i7 2700K @ 4.4 GHz

I will run it overnight and see if it picks up any blocks on the main net, today I have 2 so far, yesterday I had 4
sr. member
Activity: 476
Merit: 250
Ahh, so it likely was due to threaded race conditions, hooray!  Thanks for helping me test this Smiley  Are you running on the test net or main net?
You're quite welcome. Thank you for your work on the implementation.

I'm running on main net.
7 threads on a dual quad-core box - my workstation. one core left for me to use. Smiley
2 threads on a dual dual-core box - my server. two cores left for server'ish stuff to get done
both systems running OS X 10.7 (Lion)

-- edit

I've been compiling with these modified build flags for a while now:

CFLAGS = -mmacosx-version-min=10.7 -O3 -mfpmath=sse -march=native -mx32
member
Activity: 99
Merit: 10
Going to test this with the 8 threads on my Core i7 next.
A report:

Substantially faster than your previous version, based on logged primemeter numbers, on my dual quad-core xeon box.

Ahh, so it likely was due to threaded race conditions, hooray!  Thanks for helping me test this Smiley  Are you running on the test net or main net?

building and running on main net now

Just so you're aware (not sure if you've been following the last 5-6 pages), the makefile.unix has -O3 set instead of the -O2 like the one from Sunny King has
legendary
Activity: 1484
Merit: 1005
Going to test this with the 8 threads on my Core i7 next.
A report:

Substantially faster than your previous version, based on logged primemeter numbers, on my dual quad-core xeon box.

Ahh, so it likely was due to threaded race conditions, hooray!  Thanks for helping me test this Smiley  Are you running on the test net or main net?

building and running on main net now
member
Activity: 99
Merit: 10
Going to test this with the 8 threads on my Core i7 next.
A report:

Substantially faster than your previous version, based on logged primemeter numbers, on my dual quad-core xeon box.

Ahh, so it likely was due to threaded race conditions, hooray!  Thanks for helping me test this Smiley  Are you running on the test net or main net?
hero member
Activity: 552
Merit: 500
some of us on #eligius-prime were able with lukes help and others to get it running.. now im just waiting to see if i can actually get a block..



Can you share your source code?  Did you modify Sunny's algorithm at all?

sorry not a coder per say, was on the irc channel getting stuff compile and tested on an amazon instance.. takes a bit of work, and you need to convert a primecoin address to btc add.. etc..
sr. member
Activity: 476
Merit: 250
Going to test this with the 8 threads on my Core i7 next.
A report:

Substantially faster than your previous version, based on logged primemeter numbers, on my dual quad-core xeon box.
member
Activity: 99
Merit: 10
some of us on #eligius-prime were able with lukes help and others to get it running.. now im just waiting to see if i can actually get a block..



Can you share your source code?  Did you modify Sunny's algorithm at all?
hero member
Activity: 756
Merit: 501
some of us on #eligius-prime were able with lukes help and others to get it running.. now im just waiting to see if i can actually get a block..
try testnet for tests!  Cheesy
./primecoind stop
./primecoind -testnet
hero member
Activity: 552
Merit: 500
some of us on #eligius-prime were able with lukes help and others to get it running.. now im just waiting to see if i can actually get a block..

legendary
Activity: 2674
Merit: 2965
Terminated.
Zalfrin's 3rd release was amazing, and did wonders for me. Intel I5 Quad-Core 2500K Sandy Bridge. 3.3 GHz - Mined 5 Blocks, and 4 orphans
(I didn't have ports open at the time, which might have been the reason for the orphans)... but it rocked! Still haven't mined with Sunny's updated V0.1.1 It's been 2 hours ~

So you are right. Did you use the Zalfrin's Release 3?

30 hours + mining ( not a single block mined ) I just started trying out Sunny's update: v0.1.1

On July 10, 2013 - I mined 5 blocks with 400 - 600 PPS .. note: I lost 4 orphans in that action, so it was technically 9 blocks mined, but 4 were lost, so 5 have been check marked. Anyways, the interesting thing is, I haven't touched a block. Anyone else getting the same results?

Find an optimized QT client here for your processor. I'm on an i3 3225 and I'm getting more than you since the first optimized QT I downloaded. Prior to that though (July 10th) I was getting 0 blocks mined and was probably the most unlucky person mining primecoin.
I'm using release 12, have you tried that yet? Tell me your results if you have.
I've got i5 2400k sandy bridge so we should perform almost the same.
member
Activity: 99
Merit: 10
Alright, so just updated my version (currently on github) such that each thread an independent evolving weave timing parameter.  To compare to mine with Sunny's most recent update, I used the testnet where my version found 30 confirmed blocks in 10 minutes while the original code found 16 confirmed blocks.  I feel that this is a legitimate comparison because there were no other nodes on the test net currently mining (I know this because my client found every continuous block in both cases).  This comparison was performed with a t61p IBM laptop with a T9300 Core 2 Duo processor.  The current difficulty on the testnet is 5.4426.  

Going to test this with the 8 threads on my Core i7 next.
legendary
Activity: 1484
Merit: 1005
with
Code:
        int64 nSieveRoundLimit = (int)GetArg("-gensieveroundlimitms", 400);
I get about 3000 PPS on my 4.4 GHz 2700K, however I have no idea if my block generation rate will actually be higher

I suspect ideal sieve time restrictions are processor speed dependent and vary with the bandwidth of your processor
sr. member
Activity: 294
Merit: 250
Zalfrin's 3rd release was amazing, and did wonders for me. Intel I5 Quad-Core 2500K Sandy Bridge. 3.3 GHz - Mined 5 Blocks, and 4 orphans
(I didn't have ports open at the time, which might have been the reason for the orphans)... but it rocked! Still haven't mined with Sunny's updated V0.1.1 It's been 2 hours ~

So you are right. Did you use the Zalfrin's Release 3?

30 hours + mining ( not a single block mined ) I just started trying out Sunny's update: v0.1.1

On July 10, 2013 - I mined 5 blocks with 400 - 600 PPS .. note: I lost 4 orphans in that action, so it was technically 9 blocks mined, but 4 were lost, so 5 have been check marked. Anyways, the interesting thing is, I haven't touched a block. Anyone else getting the same results?

Find an optimized QT client here for your processor. I'm on an i3 3225 and I'm getting more than you since the first optimized QT I downloaded. Prior to that though (July 10th) I was getting 0 blocks mined and was probably the most unlucky person mining primecoin.
legendary
Activity: 1901
Merit: 1024
Anyone with Haswell?
I am using primecoin0712v2-ivyonly.zip so far
Pages:
Jump to: