Pages:
Author

Topic: [XPM] [ANN] Primecoin High Performance | HP14 released! - page 11. (Read 397587 times)

sr. member
Activity: 301
Merit: 250
Hello mikaelh, i have checked debug.log on all servers, no errors. They are not using the same wallet.dat file. Haveged package is installed on all instances to ensure entropy/no duplicate work. They are all synced with the network. If sieve options are not causing the issue the only thing i have not done is recreate peers.dat file to get a fresh list of nodes on every server. Would it be better to point all mining servers to one under my control, with a -connect= flag in the config or leave node selection default ?

I have switched them all to mining litecoin since my last post but will soon switch them back. Let me know If there is anything else you'd like me to test.

If every miner is using a separate wallet, then you shouldn't have issues with running out of pre-generated keys. If your wallets are encrypted, then you may run out of keys because the wallet needs to be unlocked before new keys can be generated.

Connectivity is also important because mining will stop if the wallet loses all connections. Using the -connect parameter is probably a bad idea because it introduces a single point of failure. If your central node crashes, then all the slave nodes lose connectivity. You should use -addnode if you want to have a central node.

I looked at the code a bit and I spotted a potential issue with shared wallet mining. The issue is that N mining threads are probably using the first N keys available in the wallet. If multiple machines are using the same wallet, they may be trying to solve the same block if the timestamp and the extra nonce are the same. I can write a fix for that but it's unlikely to help you since you're using separate wallets.

That's all the ideas I have currently.
legendary
Activity: 1092
Merit: 1000
18. Dec - 8 blocks, 19. Dec 9 blocks, 20. Dec. 6 blocks, 21 Dec. 8 blocks, 22. Dec - 2 blocks, 23 Dec - 0 blocks, 24. Dec. 0 blocks, 25. Dec - 0 blocks ...

Must be due to sieveextensions, sievepercentage and sievesize values or hp11 client itself ?

Difficulty 10 started on the 15th of December. Your data shows that your mining results dropped to zero about one week after that. I don't really see why that would happen like that.

It's probably a good idea to also check that your miners and machines haven't crashed for some other reason.

Hello mikaelh, i have checked debug.log on all servers, no errors. They are not using the same wallet.dat file. Haveged package is installed on all instances to ensure entropy/no duplicate work. They are all synced with the network. If sieve options are not causing the issue the only thing i have not done is recreate peers.dat file to get a fresh list of nodes on every server. Would it be better to point all mining servers to one under my control, with a -connect= flag in the config or leave node selection default ?

I have switched them all to mining litecoin since my last post but will soon switch them back. Let me know If there is anything else you'd like me to test.
hero member
Activity: 546
Merit: 500

18. Dec - 8 blocks,
19. Dec 9 blocks,
20. Dec. 6 blocks,
21 Dec. 8 blocks,
22. Dec - 2 blocks,
23 Dec - 0 blocks,
24. Dec. 0 blocks,
25. Dec - 0 blocks ...

Must be due to sieveextensions, sievepercentage and sievesize values or hp11 client itself ?

Out of curiosity, are you running the same wallet.dat file on all of these machines?
sr. member
Activity: 301
Merit: 250
18. Dec - 8 blocks, 19. Dec 9 blocks, 20. Dec. 6 blocks, 21 Dec. 8 blocks, 22. Dec - 2 blocks, 23 Dec - 0 blocks, 24. Dec. 0 blocks, 25. Dec - 0 blocks ...

Must be due to sieveextensions, sievepercentage and sievesize values or hp11 client itself ?

Difficulty 10 started on the 15th of December. Your data shows that your mining results dropped to zero about one week after that. I don't really see why that would happen like that.

It's probably a good idea to also check that your miners and machines haven't crashed for some other reason.
hero member
Activity: 546
Merit: 500
Unfortunately optimizing the parameters seems to require either a lot of time or a lot of machines (or more likely, both). I would say that you are in a good position to do some hands on testing for us.
hero member
Activity: 516
Merit: 500
CAT.EX Exchange
Check out debug.log . Maybe something other than the parameters is wrong.
legendary
Activity: 1092
Merit: 1000
We have not found a single block in the last 48 hours on a server cluster that used to find 7-10 blocks a day. Could it be due to bad default settings ? How to optimize settings for 10 difficulty, what should be used as sieveextensions, sievepercentage and sievesize ?

That is down by a factor of ~20. You didn't say when you found 10 blocks a day. Current difficulty is 0.35%*(1-0.17)*CPD_of_9ch, which is about 20 times more difficult when diff=9.94 (end of October and around Nov 24).

18. Dec - 8 blocks, 19. Dec 9 blocks, 20. Dec. 6 blocks, 21 Dec. 8 blocks, 22. Dec - 2 blocks, 23 Dec - 0 blocks, 24. Dec. 0 blocks, 25. Dec - 0 blocks ...

Must be due to sieveextensions, sievepercentage and sievesize values or hp11 client itself ?
hero member
Activity: 516
Merit: 500
CAT.EX Exchange
We have not found a single block in the last 48 hours on a server cluster that used to find 7-10 blocks a day. Could it be due to bad default settings ? How to optimize settings for 10 difficulty, what should be used as sieveextensions, sievepercentage and sievesize ?

That is down by a factor of ~20. You didn't say when you found 10 blocks a day. Current difficulty is 0.35%*(1-0.17)*CPD_of_9ch, which is about 20 times more difficult when diff=9.94 (end of October and around Nov 24).
legendary
Activity: 1092
Merit: 1000
We have not found a single block in the last 48 hours on a server cluster that used to find 7-10 blocks a day. Could it be due to bad default settings ? How to optimize settings for 10 difficulty, what should be used as sieveextensions, sievepercentage and sievesize ?
hero member
Activity: 546
Merit: 500
if I have a chains/day value of 2.7 with N-chain value of 9 what should I expect with N-chain=10?

Almost 0.1
member
Activity: 70
Merit: 10
if I have a chains/day value of 2.7 with N-chain value of 9 what should I expect with N-chain=10?
hero member
Activity: 637
Merit: 500
I have a i5 2500k is this chansperday too low?

{
"blocks" : 317954,
"chainspermin" : 4,
"chainsperday" : 0.04937416,
"currentblocksize" : 4996,
"currentblocktx" : 8,
"difficulty" : 10.15431237,
"errors" : "",
"generate" : true,
"genproclimit" : -1,
"primespersec" : 1515,
"pooledtx" : 8,
"sieveextensions" : 9,
"sievepercentage" : 10,
"sievesize" : 1000000,
"testnet" : false
}


Seems ok now with the new difficulty.
full member
Activity: 228
Merit: 106
I have a i5 2500k is this chansperday too low?



{
"blocks" : 317954,
"chainspermin" : 4,
"chainsperday" : 0.04937416,
"currentblocksize" : 4996,
"currentblocktx" : 8,
"difficulty" : 10.15431237,
"errors" : "",
"generate" : true,
"genproclimit" : -1,
"primespersec" : 1515,
"pooledtx" : 8,
"sieveextensions" : 9,
"sievepercentage" : 10,
"sievesize" : 1000000,
"testnet" : false
}
sr. member
Activity: 301
Merit: 250
why primecoin calculator say otherwise then?it say 33 days with my cycle, before that change, the time was 100+days to found a block...

Many of the calculators are still using outdated formulas. They give bad estimates when fractional difficulty is high. So the 100+ days estimate you got earlier was way too high. It should have been less than 30 days in reality.
legendary
Activity: 3206
Merit: 1069
why primecoin calculator say otherwise then?it say 33 days with my cycle, before that change, the time was 100+days to found a block...
hero member
Activity: 546
Merit: 500
I hope you're all enjoying your new chainsperday values  Grin

now it is faster to make block or what?

No, it's harder. Difficulty has been continously rising since passing 10 diff too.
legendary
Activity: 3206
Merit: 1069
I hope you're all enjoying your new chainsperday values  Grin

now it is faster to make block or what?
sr. member
Activity: 301
Merit: 250
Yes, the previous blocks/day formula was written with difficulty 9.99 in mind. This is the slightly more complicated version which is accurate for lower fractional difficulty:

blocks/day = chains/day * (0.965 * (1 - fracDiff) + 0.035)

I haven't checked yet whether the constants (0.965 and 0.035) still apply for difficulty 10. Of course, this formula only applies for the new chains/day values.

Right now at difficulty 10.15, mining should be about 22% harder than it was at 9.996. Difficulty 10.0 is about 5% harder than 9.996 in theory. The block reward has also dropped by 3%. And about 15% of 10-chains are discarded due to fractional difficulty.

I haven't checked what the new optimal mining parameters are. The old ones should still be pretty good. It might be beneficial to increase -sieveextensions.
hero member
Activity: 516
Merit: 500
CAT.EX Exchange
I think neither the input nor formula are applicable any more --  the formula is for diff < 10 only, and the current chain/d numbers are calculated for target=9chains, hence not valid any more.
hero member
Activity: 812
Merit: 1000
So with the diff change to 10+ now do we still use the default parameters when solo mining?
Or should there be some changes to optimize the process?

Good question, and how do you apply the new formula mikaelh posted?

Say I have 0.433335 cpd...I get something like this (which makes no sense): 0,43335 * (1 - 10.1326 + 0.035)

huh O.o  Huh

Fractional diff is the diff minus the integer part, so your formula should read 0.43335 * (1-.1326+0.035) = 0.39105504

Thanks guys! Silly me, fractional...duh, was there all along xD

So, my theoretical dual xeon rig should get 0.4 blocks/day roughly. Interesting :p
Pages:
Jump to: