Bitcoin Forum
April 25, 2024, 10:47:54 AM *
News: Latest Bitcoin Core release: 27.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 69104 times)
maco
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250



View Profile
July 12, 2013, 10:15:18 PM
 #561

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.
1714042074
Hero Member
*
Offline Offline

Posts: 1714042074

View Profile Personal Message (Offline)

Ignore
1714042074
Reply with quote  #2

1714042074
Report to moderator
1714042074
Hero Member
*
Offline Offline

Posts: 1714042074

View Profile Personal Message (Offline)

Ignore
1714042074
Reply with quote  #2

1714042074
Report to moderator
1714042074
Hero Member
*
Offline Offline

Posts: 1714042074

View Profile Personal Message (Offline)

Ignore
1714042074
Reply with quote  #2

1714042074
Report to moderator
The network tries to produce one block per 10 minutes. It does this by automatically adjusting how difficult it is to produce blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
tacotime
Legendary
*
Offline Offline

Activity: 1484
Merit: 1005



View Profile
July 12, 2013, 10:19:09 PM
 #562

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

Code:
XMR: 44GBHzv6ZyQdJkjqZje6KLZ3xSyN1hBSFAnLP6EAqJtCRVzMzZmeXTC2AHKDS9aEDTRKmo6a6o9r9j86pYfhCWDkKjbtcns
Chemisist
Member
**
Offline Offline

Activity: 99
Merit: 10



View Profile
July 12, 2013, 10:35:25 PM
 #563

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.

btc 1ChemaH12nRmd75M8BmPSiqd8x7B2wxFNF     ltc LaWX7jgJDyQ2oFaQYJvo5kqC1e1KYPoCfd     xpm Ab8NSgxHgGUJvHgSHYqMYBMWai6ZdsA91s
Lauda
Legendary
*
Offline Offline

Activity: 2674
Merit: 2965


Terminated.


View Profile WWW
July 12, 2013, 10:37:21 PM
 #564

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.

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

Activity: 552
Merit: 500


View Profile
July 12, 2013, 10:38:54 PM
 #565

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..

eule
Hero Member
*****
Offline Offline

Activity: 756
Merit: 501


View Profile
July 12, 2013, 10:41:18 PM
 #566

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

Chemisist
Member
**
Offline Offline

Activity: 99
Merit: 10



View Profile
July 12, 2013, 10:43:08 PM
 #567

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?

btc 1ChemaH12nRmd75M8BmPSiqd8x7B2wxFNF     ltc LaWX7jgJDyQ2oFaQYJvo5kqC1e1KYPoCfd     xpm Ab8NSgxHgGUJvHgSHYqMYBMWai6ZdsA91s
LazyOtto
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


View Profile
July 12, 2013, 10:49:23 PM
 #568

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.
gateway
Hero Member
*****
Offline Offline

Activity: 552
Merit: 500


View Profile
July 12, 2013, 10:50:45 PM
 #569

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..
Chemisist
Member
**
Offline Offline

Activity: 99
Merit: 10



View Profile
July 12, 2013, 10:52:18 PM
 #570

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?

btc 1ChemaH12nRmd75M8BmPSiqd8x7B2wxFNF     ltc LaWX7jgJDyQ2oFaQYJvo5kqC1e1KYPoCfd     xpm Ab8NSgxHgGUJvHgSHYqMYBMWai6ZdsA91s
tacotime
Legendary
*
Offline Offline

Activity: 1484
Merit: 1005



View Profile
July 12, 2013, 10:55:02 PM
 #571

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

Code:
XMR: 44GBHzv6ZyQdJkjqZje6KLZ3xSyN1hBSFAnLP6EAqJtCRVzMzZmeXTC2AHKDS9aEDTRKmo6a6o9r9j86pYfhCWDkKjbtcns
Chemisist
Member
**
Offline Offline

Activity: 99
Merit: 10



View Profile
July 12, 2013, 10:58:45 PM
 #572

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

btc 1ChemaH12nRmd75M8BmPSiqd8x7B2wxFNF     ltc LaWX7jgJDyQ2oFaQYJvo5kqC1e1KYPoCfd     xpm Ab8NSgxHgGUJvHgSHYqMYBMWai6ZdsA91s
LazyOtto
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


View Profile
July 12, 2013, 11:00:22 PM
 #573

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
tacotime
Legendary
*
Offline Offline

Activity: 1484
Merit: 1005



View Profile
July 12, 2013, 11:01:25 PM
 #574

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

Code:
XMR: 44GBHzv6ZyQdJkjqZje6KLZ3xSyN1hBSFAnLP6EAqJtCRVzMzZmeXTC2AHKDS9aEDTRKmo6a6o9r9j86pYfhCWDkKjbtcns
Aggrophobia
Legendary
*
Offline Offline

Activity: 1064
Merit: 1000



View Profile
July 12, 2013, 11:05:06 PM
 #575

wtf

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


send you some Smiley
PoolMinor
Legendary
*
Offline Offline

Activity: 1843
Merit: 1338


XXXVII Fnord is toast without bread


View Profile
July 12, 2013, 11:08:37 PM
Last edit: July 12, 2013, 11:20:51 PM by PoolMinor
 #576

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.

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

Activity: 99
Merit: 10



View Profile
July 12, 2013, 11:11:33 PM
 #577


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.

btc 1ChemaH12nRmd75M8BmPSiqd8x7B2wxFNF     ltc LaWX7jgJDyQ2oFaQYJvo5kqC1e1KYPoCfd     xpm Ab8NSgxHgGUJvHgSHYqMYBMWai6ZdsA91s
fabrizziop
Hero Member
*****
Offline Offline

Activity: 506
Merit: 500



View Profile
July 12, 2013, 11:13:40 PM
 #578


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?.
PoolMinor
Legendary
*
Offline Offline

Activity: 1843
Merit: 1338


XXXVII Fnord is toast without bread


View Profile
July 12, 2013, 11:14:26 PM
Last edit: July 13, 2013, 12:03:41 AM by PoolMinor
 #579


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
}

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

Activity: 1843
Merit: 1338


XXXVII Fnord is toast without bread


View Profile
July 12, 2013, 11:15:15 PM
 #580


I'd love to know how are you getting a PPS number so high on a FX 8120?.

Exactly my point.

Btc=C2MF       Free BTC Poker
Being defeated is often a temporary condition. Giving up is what makes it permanent. -Marilyn vos Savant
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!