Bitcoin Forum
June 20, 2021, 10:07:53 PM *
News: Latest Bitcoin Core release: 0.21.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 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 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 ... 131 »
  Print  
Author Topic: [XPM] [ANN] Primecoin High Performance | HP14 released!  (Read 397455 times)
mikaelh
Sr. Member
****
Offline Offline

Activity: 301
Merit: 250


View Profile
July 25, 2013, 11:51:16 PM
 #1281

Thanks mikaelh... Is there anything similar to Sunny's original gensieveroundlimitms as a fallback to limit the total time spent on a round?

Technically Sunny's gensieveroundlimitms does not limit the total round time. It only limits the sieving part.

With my release you can use sievepercentage to adjust the sieving time. Then you can use roundsievepercentage to adjust the total round time based on the sieving time. There's no option for a hard cap in milliseconds since I don't see any point in it and the code runs faster if I don't impose such hard caps.
1624226873
Hero Member
*
Offline Offline

Posts: 1624226873

View Profile Personal Message (Offline)

Ignore
1624226873
Reply with quote  #2

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

Posts: 1624226873

View Profile Personal Message (Offline)

Ignore
1624226873
Reply with quote  #2

1624226873
Report to moderator
1624226873
Hero Member
*
Offline Offline

Posts: 1624226873

View Profile Personal Message (Offline)

Ignore
1624226873
Reply with quote  #2

1624226873
Report to moderator
maco
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250



View Profile
July 26, 2013, 12:47:46 AM
 #1282

Thanks mikaelh... Is there anything similar to Sunny's original gensieveroundlimitms as a fallback to limit the total time spent on a round?

Technically Sunny's gensieveroundlimitms does not limit the total round time. It only limits the sieving part.

With my release you can use sievepercentage to adjust the sieving time. Then you can use roundsievepercentage to adjust the total round time based on the sieving time. There's no option for a hard cap in milliseconds since I don't see any point in it and the code runs faster if I don't impose such hard caps.

+1
LZ
Legendary
*
Offline Offline

Activity: 1722
Merit: 1035


P2P Cryptocurrency


View Profile
July 26, 2013, 01:02:05 AM
 #1283

IMPORTANT: Fixed loss of potential blocks caused by fractional length calculation being skipped if fast divisibility test succeeds. (Thanks to mtrlt for spotting this.)

So it is fully fixed in the just released version hp8, right? Tongue

I might have found a bug in hp7. I copied the hp7 code over to Reaper, and found some weird behavior. I noticed that many shares/blocks it found, had a difficulty with a fractional part of 0.

Function: FermatProbablePrimalityTestFast. It does a Fermat test, and if it fails, it calculates the fractional part. However, there's a fast division test before the Fermat test. If the fast division test is succesful, the function is returned from and the fractional part isn't calculated. If it just happened to be the last number in a chain, the fractional part isn't calculated and is left at 0. This means if the difficulty is for example 6.2, and the miner found a block of difficulty 6.3, it's possible that the fractional part was left uncalculated, and the miner thinks it's difficulty 6.0. The block doesn't get submitted and lots of profit has been lost.

The same applies to EulerLagrangeLifchitzPrimalityTestFast.

Right now I don't have git set up, I can't submit a patch.

My OpenPGP fingerprint: 5099EB8C0F2E68C63B4ECBB9A9D0993E04143362
Palmdetroit
Legendary
*
Offline Offline

Activity: 910
Merit: 1000


PHS 50% PoS - Stop mining start minting


View Profile
July 26, 2013, 01:10:08 AM
 #1284

For the AMD folks... Bulldozer ONLY optimized HP8 client win 7 64

 *experimental* but works fine testnet with 8150s, 4300s,  waiting for block @ mainnet
 
Please pm me your improvements/results

https://rapidshare.com/#!download|975p2|1002487630|primecoin-qt.zip|8996|0|0|1|referer-64B46FF883A2345040D49683DE1E537C


*encrypt/backup wallet, never trust downloads on the internets... will not be held responsible, etc

ReCat
Sr. Member
****
Offline Offline

Activity: 406
Merit: 250



View Profile WWW
July 26, 2013, 01:17:02 AM
 #1285

Wow. Double?! That's pretty impressive, I was thinking the performance of the miner was already squeezing out every last drop.

BTC: 1recatirpHBjR9sxgabB3RDtM6TgntYUW
Hold onto what you love with all your might, Because you can never know when - Oh. What you love is now gone.
rethaw
Sr. Member
****
Offline Offline

Activity: 378
Merit: 255



View Profile
July 26, 2013, 01:27:42 AM
 #1286

Wow. Double?! That's pretty impressive, I was thinking the performance of the miner was already squeezing out every last drop.

Better numbers, but haven't found any blocks!

eCoinomist
Member
**
Offline Offline

Activity: 112
Merit: 10


Independent Analyst


View Profile WWW
July 26, 2013, 02:33:18 AM
 #1287

Wow. Double?! That's pretty impressive, I was thinking the performance of the miner was already squeezing out every last drop.

Better numbers, but haven't found any blocks!

I stopped mining for a few days due to recent clients crashing too much, just tried new version and found a block within 30 mins lol (using the same old simple compilation I had used since hp2)

Tuck Fheman
Sr. Member
****
Offline Offline

Activity: 363
Merit: 250


View Profile WWW
July 26, 2013, 02:47:52 AM
 #1288

I stopped mining for a few days due to recent clients crashing too much, just tried new version and found a block within 30 mins lol (using the same old simple compilation I had used since hp2)

what are your settings if not default?

"roundsievepercentage" : ??,
"sievepercentage" : ??,
"sievesize" : ??,


Dsfyu
Member
**
Offline Offline

Activity: 75
Merit: 10



View Profile
July 26, 2013, 02:54:49 AM
 #1289

Thanks for the update - I'm seeing roughly a 40% increase in pps right now - averaging 6400 instead of about 4600 before. I'm still getting roughly 10-20 cpm with an average of about 15-17 (no change). Now lets see if this affects how often I find blocks...

Don't just trade, get paid to Atomic⚛Trade !!!
Disclaimer: I am a noob. Assume I know nothing until proven otherwise.
AstroKev
Newbie
*
Offline Offline

Activity: 23
Merit: 0


View Profile
July 26, 2013, 03:01:07 AM
 #1290

Seeing nearly 2x improvement.  Amazing, great work.

Code:
> ./primecoind getmininginfo
{
    "blocks" : 83381,
    "chainspermin" : 58,
    "currentblocksize" : 1000,
    "currentblocktx" : 0,
    "difficulty" : 9.26739043,
    "errors" : "",
    "generate" : true,
    "genproclimit" : -1,
    "roundsievepercentage" : 30,
    "primespersec" : 33445,
    "pooledtx" : 0,
    "sievepercentage" : 10,
    "sievesize" : 100000,
    "testnet" : false
}
Krusher33
Newbie
*
Offline Offline

Activity: 37
Merit: 0


View Profile
July 26, 2013, 03:07:04 AM
 #1291

For the AMD folks... Bulldozer ONLY optimized HP8 client win 7 64

 *experimental* but works fine testnet with 8150s, 4300s,  waiting for block @ mainnet
 
Please pm me your improvements/results

https://rapidshare.com/#!download|975p2|1002487630|primecoin-qt.zip|8996|0|0|1|referer-64B46FF883A2345040D49683DE1E537C


*encrypt/backup wallet, never trust downloads on the internets... will not be held responsible, etc

How does this compare to hp8 in Linux.
Dsfyu
Member
**
Offline Offline

Activity: 75
Merit: 10



View Profile
July 26, 2013, 03:16:18 AM
 #1292

Seeing nearly 2x improvement.  Amazing, great work.

Code:
> ./primecoind getmininginfo
{
    "blocks" : 83381,
    "chainspermin" : 58,
    "currentblocksize" : 1000,
    "currentblocktx" : 0,
    "difficulty" : 9.26739043,
    "errors" : "",
    "generate" : true,
    "genproclimit" : -1,
    "roundsievepercentage" : 30,
    "primespersec" : 33445,
    "pooledtx" : 0,
    "sievepercentage" : 10,
    "sievesize" : 100000,
    "testnet" : false
}


What sort of hardware are you running this on right now? With my 3930k and those settings I get roughly 10k pps and anything from 10 to 40 cpm (still mostly at about 15)

Don't just trade, get paid to Atomic⚛Trade !!!
Disclaimer: I am a noob. Assume I know nothing until proven otherwise.
Tuck Fheman
Sr. Member
****
Offline Offline

Activity: 363
Merit: 250


View Profile WWW
July 26, 2013, 03:19:54 AM
 #1293

With my 3930k and those settings I get roughly 10k pps and anything from 10 to 40 cpm (still mostly at about 15)

Try ...

"roundsievepercentage" : 20,
"sievepercentage" : 8,
"sievesize" : 100000,

eCoinomist
Member
**
Offline Offline

Activity: 112
Merit: 10


Independent Analyst


View Profile WWW
July 26, 2013, 03:30:50 AM
 #1294

I stopped mining for a few days due to recent clients crashing too much, just tried new version and found a block within 30 mins lol (using the same old simple compilation I had used since hp2)

what are your settings if not default?

"roundsievepercentage" : ??,
"sievepercentage" : ??,
"sievesize" : ??,



default everything.

Dsfyu
Member
**
Offline Offline

Activity: 75
Merit: 10



View Profile
July 26, 2013, 03:32:49 AM
 #1295


Try ...

"roundsievepercentage" : 20,
"sievepercentage" : 8,
"sievesize" : 100000,

Thanks for the tip - I'm now getting 11k pps - I'm getting about 20 cpm now but it will randomly drop down to 10 cpm and then jump back up


23:32:42

{
"blocks" : 83418,
"chainspermin" : 21,
"currentblocksize" : 1000,
"currentblocktx" : 0,
"difficulty" : 9.26809406,
"errors" : "",
"generate" : true,
"genproclimit" : -1,
"roundsievepercentage" : 20,
"primespersec" : 11280,
"pooledtx" : 0,
"sievepercentage" : 8,
"sievesize" : 100000,
"testnet" : false
}

Don't just trade, get paid to Atomic⚛Trade !!!
Disclaimer: I am a noob. Assume I know nothing until proven otherwise.
gigawatt
Full Member
***
Offline Offline

Activity: 168
Merit: 100



View Profile
July 26, 2013, 03:39:29 AM
 #1296

What's better to optimize for: primes/sec, chains/min, or 5-chains/hr?

BTC: 1E2egHUcLDAmcxcqZqpL18TPLx9Xj1akcV   Ψ: AWHJbwoM67Ez12SHH4pH5DnJKPoMSdvLz2   Primecoin All-In-One VPS Setup Script   Quarkcoin All-In-One VPS Setup Script   Metiscoin VPS Pool Mining Script
maco
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250



View Profile
July 26, 2013, 03:39:52 AM
 #1297

IMPORTANT: Fixed loss of potential blocks caused by fractional length calculation being skipped if fast divisibility test succeeds. (Thanks to mtrlt for spotting this.)

So it is fully fixed in the just released version hp8, right? Tongue

I might have found a bug in hp7. I copied the hp7 code over to Reaper, and found some weird behavior. I noticed that many shares/blocks it found, had a difficulty with a fractional part of 0.

Function: FermatProbablePrimalityTestFast. It does a Fermat test, and if it fails, it calculates the fractional part. However, there's a fast division test before the Fermat test. If the fast division test is succesful, the function is returned from and the fractional part isn't calculated. If it just happened to be the last number in a chain, the fractional part isn't calculated and is left at 0. This means if the difficulty is for example 6.2, and the miner found a block of difficulty 6.3, it's possible that the fractional part was left uncalculated, and the miner thinks it's difficulty 6.0. The block doesn't get submitted and lots of profit has been lost.

The same applies to EulerLagrangeLifchitzPrimalityTestFast.

Right now I don't have git set up, I can't submit a patch.

Let's get her done Smiley
Tuck Fheman
Sr. Member
****
Offline Offline

Activity: 363
Merit: 250


View Profile WWW
July 26, 2013, 04:02:27 AM
 #1298

but it will randomly drop down to 10 cpm and then jump back up

try setting roundsievepercentage : 40, it seemed to smooth results out for me with certain settings.

Dsfyu
Member
**
Offline Offline

Activity: 75
Merit: 10



View Profile
July 26, 2013, 04:09:15 AM
 #1299

but it will randomly drop down to 10 cpm and then jump back up

try setting roundsievepercentage : 40, it seemed to smooth results out for me with certain settings.

Right now it seems to be working fine and fairly stable with 30 - I'm just leaving the settings alone for now and just letting it mine So far I have gotten three blocks on my desktop (all on hp7) and one on my laptop (on hp8 now) just letting them sit and mine over the last three days - 1 block on 7/23 in the middle of the day, one on 7/24 in the early evening, one on 7/25 a little after midnight, and one about an hour ago on the laptop - seems fairly random as I haven't really played with my laptop settings yet and they definitely aren't optimized. Additionally all those I found on my desktop were on hp7 which meant they were effectively at a higher difficulty. I wonder how this will end up doing over the next day or two on hp8 - maybe we will find some even better settings that can get us a higher block rate.

Don't just trade, get paid to Atomic⚛Trade !!!
Disclaimer: I am a noob. Assume I know nothing until proven otherwise.
Krusher33
Newbie
*
Offline Offline

Activity: 37
Merit: 0


View Profile
July 26, 2013, 04:12:59 AM
Last edit: July 26, 2013, 04:26:48 AM by Krusher33
 #1300

Thank you mikaelh!

Code:
   "blocks" : 83454,
    "chainspermin" : 13,
    "currentblocksize" : 1191,
    "currentblocktx" : 1,
    "difficulty" : 9.26784617,
    "errors" : "",
    "generate" : true,
    "genproclimit" : 7,
    "roundsievepercentage" : 20,
    "primespersec" : 10040,
    "pooledtx" : 1,
    "sievepercentage" : 8,
    "sievesize" : 100000,
    "testnet" : false

I just wish I could get my chainspermin up.  tried sievepercentage 6 and 12, and tried roundsievepercentage 40... they did not do better than the above.
Pages: « 1 ... 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 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 ... 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!