xyzzy099
Legendary
Online
Activity: 1062
Merit: 1041
|
 |
July 23, 2013, 02:38:31 PM |
|
I just went from v5 to v7 and now my prime rate is halved. Anyone else having this? Is it because of the optomizations made (ie. more efficient/accurate)?
Also, I have set: -sievesize=4000000
but when I view stats with getmininginfo it always says its on 1M not 4M?
I believe that when you set sievesize from the command line, you need to leave a space between the switch and the value for it to parse correctly, i.e., "-sievesize 4000000". If you are setting it in your .conf file, then you need the '=' sign. Nope, you need to use the '=' sign without any spaces in between. That's how Primecoin (Bitcoin) command line parameters work. Some examples: primecoin-qt.exe -sievesize=2000000 primecoind.exe -sievesize=2000000 Sorry, I stand corrected.
|
Libertarians: Diligently plotting to take over the world and leave you alone.
|
|
|
|
|
Each block is stacked on top of the previous one. Adding another block to the top makes all lower blocks more difficult to remove: there is more "weight" above each block. A transaction in a block 6 blocks deep (6 confirmations) will be very difficult to remove.
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
|
Trillium
|
 |
July 23, 2013, 02:54:07 PM Last edit: July 23, 2013, 03:04:38 PM by Trillium |
|
OK I was full of sh!t, I went back to version 5 and 1M SS as I had been using and I get relatively low PPS, so it must simply be the difficulty increase you mentioned. The highest PPS values I am seeing now with v5 is ~1760 but often it reports lower than that, usually ~1300-1400. This is what I was getting with v7. I'm surprised the difficulty has had such a impact so quickly, I'm sure just last night it was regularly over 2000 PPS. I just saw your OP edit: 2. Network difficulty has changed. Prime rate goes down when the integer part of the difficulty changes (i.e. going from 8.xx to 9.xx). It's a feature of the mining algorithm and nothing can be done about it. I had been assuming it was continuously varying between the integers.  FWIW I'm using a Core2Quad Q9550 @ stock speeds (2.83 GHz). I am glad though that the sievesize parameter issue has been cleared up though.
|
BTC:1AaaAAAAaAAE2L1PXM1x9VDNqvcrfa9He6
|
|
|
mikaelh (OP)
|
 |
July 23, 2013, 03:03:47 PM |
|
hey mikaelh! try this: in the function FermatProbablePrimalityTestFast, you don't need this part: // Failed Fermat test, calculate fractional length mpz_sub(mpzE, mpzN, mpzR); mpz_mul_2exp(mpzR, mpzE, nFractionalBits); mpz_tdiv_q(mpzE, mpzR, mpzN); unsigned int nFractionalLength = mpz_get_ui(mpzE); if (nFractionalLength >= (1 << nFractionalBits)) return error("FermatProbablePrimalityTest() : fractional assert"); nLength = (nLength & TARGET_LENGTH_MASK) | nFractionalLength;
If Fermat's test fails, just return false. The fractional part is irrelevant if your first number in the chain is not prime. Since most candidates fail Fermat's test, this code is executed many times, so it should give you some speed up. It did increase PPS 25% for me, but I didn't have the trial division optimization. btw, I don't know how effective is that, we are looking for Fermat's pseudo primes to the base 2, not for actual primes, so maybe your optimization is filtering numbers that would have passed the test. For those who'd like to share some love: ARQYnPjkeSgtmx41bypmnkbcHLvWPafGR5 I'd do a pull request, but there's no github anymore regards Well, that's a nice idea. The fractional part is definitely useless if the first number in the chain is not a prime. My profiling software shows that about 0.4% of cycles are spent calculating the fractional part. So it's not a huge optimization but it's something. You need to be careful with the return values though. You can easily start getting false positives if you get them wrong. And yes, github is still disabled. I probably need to send them another e-mail. In the meantime you use bitbucket or just send me some patches.
|
|
|
|
mikaelh (OP)
|
 |
July 23, 2013, 03:13:37 PM |
|
OK I was full of sh!t, I went back to version 5 and 1M SS as I had been using and I get relatively low PPS, so it must simply be the difficulty increase you mentioned. The highest PPS values I am seeing now with v5 is ~1760 but often it reports lower than that, usually ~1300-1400. This is what I was getting with v7. I'm surprised the difficulty has had such a impact so quickly, I'm sure just last night it was regularly over 2000 PPS. I just saw your OP edit: 2. Network difficulty has changed. Prime rate goes down when the integer part of the difficulty changes (i.e. going from 8.xx to 9.xx). It's a feature of the mining algorithm and nothing can be done about it. I had been assuming it was continuously varying between the integers.  FWIW I'm using a Core2Quad Q9550 @ stock speeds (2.83 GHz). I am glad though that the sievesize parameter issue has been cleared up though. Yup, I'm also glad it got sorted out. I updated the FAQ yet again about the command line parameters.
|
|
|
|
gateway
|
 |
July 23, 2013, 04:33:55 PM |
|
Can some kind soul give a good non mathematical explanation of sievesize, and what is a good setting, when to change it etc.. ?
cheers
|
|
|
|
bitrich
Member

Offline
Activity: 109
Merit: 10
|
 |
July 23, 2013, 04:44:22 PM |
|
Ok, Im running i5 2410M @2.30mhz hp7 Have 3mb cache I believe Seems I get the best pps with sieve size 1M and Sieve percentage 1 Im getting around 2600pps and only 3-5 chains per min. Ive adjusted the sieve size to 2M pps goes down slightly CPM stays the same Ive tried playing with sieve percentage and as I go up pps goes down and CPM jumps around but basically stays between 3-5 When I increase sieve size to 4M my pps goes way down to around 600-900pps and 1-2CPM Cant seem to find a sweet spot yet havent found a block in 3 days. Anyone have any info on settings for my cpu or just performance with different parameters?
|
|
|
|
paulthetafy
|
 |
July 23, 2013, 04:48:37 PM |
|
Ok, Im running i5 2410M @2.30mhz hp7 Have 3mb cache I believe Seems I get the best pps with sieve size 1M and Sieve percentage 1 Im getting around 2600pps and only 3-5 chains per min. Ive adjusted the sieve size to 2M pps goes down slightly CPM stays the same Ive tried playing with sieve percentage and as I go up pps goes down and CPM jumps around but basically stays between 3-5 When I increase sieve size to 4M my pps goes way down to around 600-900pps and 1-2CPM Cant seem to find a sweet spot yet havent found a block in 3 days. Anyone have any info on settings for my cpu or just performance with different parameters?
From my experience you really don't want sievepercentage lower than 8. 1 is very bad and way too low. Use the 5-chains value from debug.log as a performance guide too. A lower sievepercentage will increase PPS but that's a bad indicator to use. The sievepercentage is 10 by default for a reason and that is because for many people this will be the optimal number. The same is true for sievesize. You do have to play around to get a good combination but do NOT use PPS as a performance guide.
|
|
|
|
shandafa
Newbie
Offline
Activity: 28
Merit: 0
|
 |
July 23, 2013, 05:07:26 PM |
|
Is it already too difficult to get some results? I'm mining with an i7 and get ~800-1000 pps. But didn't find anything in the last 20h 
|
|
|
|
bitrich
Member

Offline
Activity: 109
Merit: 10
|
 |
July 23, 2013, 05:33:31 PM |
|
Ok, Im running i5 2410M @2.30mhz hp7 Have 3mb cache I believe Seems I get the best pps with sieve size 1M and Sieve percentage 1 Im getting around 2600pps and only 3-5 chains per min. Ive adjusted the sieve size to 2M pps goes down slightly CPM stays the same Ive tried playing with sieve percentage and as I go up pps goes down and CPM jumps around but basically stays between 3-5 When I increase sieve size to 4M my pps goes way down to around 600-900pps and 1-2CPM Cant seem to find a sweet spot yet havent found a block in 3 days. Anyone have any info on settings for my cpu or just performance with different parameters?
From my experience you really don't want sievepercentage lower than 8. 1 is very bad and way too low. Use the 5-chains value from debug.log as a performance guide too. A lower sievepercentage will increase PPS but that's a bad indicator to use. The sievepercentage is 10 by default for a reason and that is because for many people this will be the optimal number. The same is true for sievesize. You do have to play around to get a good combination but do NOT use PPS as a performance guide. Seems my 5-chains value is between 60-360 with SP=8 and SS=1M (running closer to default settings) Whats would be a decent 5-chains value range for my system? Looking back on the log I have had up to 500 5-chains, but I will have to go back again and see what settings produced what. How useful is CPM?
|
|
|
|
Stinky_Pete
|
 |
July 23, 2013, 06:20:27 PM Last edit: July 23, 2013, 09:57:33 PM by Stinky_Pete |
|
Installed hp7 last night and today got my first block for a week  Of course it may be coincidence  Off to install on my other machines *** 4 hours later *** 3 more newly mined blocks - mikaelh is a mining god!
|
|
|
|
notlist3d
Legendary
Offline
Activity: 1456
Merit: 1000
|
 |
July 23, 2013, 06:29:17 PM |
|
anything over 2000000 and mine crashes. x64 bit launches and stops closes window.
|
|
|
|
PoolMinor
Legendary
Offline
Activity: 1843
Merit: 1338
XXXVII Fnord is toast without bread
|
 |
July 23, 2013, 06:51:48 PM |
|
anything over 2000000 and mine crashes. x64 bit launches and stops closes window.
+1 running on Windows
|
Btc=C2MF Free BTC Poker Being defeated is often a temporary condition. Giving up is what makes it permanent. -Marilyn vos Savant
|
|
|
eule
|
 |
July 23, 2013, 06:54:02 PM |
|
Hmm i run at 2048000 on debian x64. 
|
|
|
|
gigawatt
|
 |
July 23, 2013, 07:52:02 PM |
|
anything over 2000000 and mine crashes. x64 bit launches and stops closes window.
You sure you're on the newest version (hp7)? I just tested 10mil on x64 and it worked fine.
|
|
|
|
xyzzy099
Legendary
Online
Activity: 1062
Merit: 1041
|
 |
July 23, 2013, 08:01:13 PM |
|
anything over 2000000 and mine crashes. x64 bit launches and stops closes window.
You sure you're on the newest version (hp7)? I just tested 10mil on x64 and it worked fine. What kind of CPU are you using? I have an i7 3820, and I have been reporting this problem since at least hp4. I used to be able to go up to 4M just fine, and anything over that crashed - but with hp7, anything much over 2M crashes.
|
Libertarians: Diligently plotting to take over the world and leave you alone.
|
|
|
gigawatt
|
 |
July 23, 2013, 08:14:54 PM |
|
anything over 2000000 and mine crashes. x64 bit launches and stops closes window.
You sure you're on the newest version (hp7)? I just tested 10mil on x64 and it worked fine. What kind of CPU are you using? I have an i7 3820, and I have been reporting this problem since at least hp4. I used to be able to go up to 4M just fine, and anything over that crashed - but with hp7, anything much over 2M crashes. Core i5-3210, 2.50GHz I've had mine running at ~4M for the last few hours without a hiccup. I ran 10M on accident (had an extra zero) for about half an hour.
|
|
|
|
wlwesq
Newbie
Offline
Activity: 52
Merit: 0
|
 |
July 23, 2013, 08:27:23 PM |
|
Is it already too difficult to get some results? I'm mining with an i7 and get ~800-1000 pps. But didn't find anything in the last 20h  I think it might be already too difficult. I'm running on OS X 10.8.4, and I set up an Ubuntu OS in VMWare Fusion. It's running around 600-700 ops, has gone through almost 80,000 blocks in 24 hours, and there's nothing produced so far. I'll let it keep running for a few days. I understand that luck is a major factor, so maybe lady luck will visit me.
|
|
|
|
notlist3d
Legendary
Offline
Activity: 1456
Merit: 1000
|
 |
July 23, 2013, 08:55:45 PM |
|
anything over 2000000 and mine crashes. x64 bit launches and stops closes window.
You sure you're on the newest version (hp7)? I just tested 10mil on x64 and it worked fine. What kind of CPU are you using? I have an i7 3820, and I have been reporting this problem since at least hp4. I used to be able to go up to 4M just fine, and anything over that crashed - but with hp7, anything much over 2M crashes. I7 3930
|
|
|
|
crendore
|
 |
July 23, 2013, 09:05:28 PM |
|
Is it already too difficult to get some results? I'm mining with an i7 and get ~800-1000 pps. But didn't find anything in the last 20h  I think it might be already too difficult. I'm running on OS X 10.8.4, and I set up an Ubuntu OS in VMWare Fusion. It's running around 600-700 ops, has gone through almost 80,000 blocks in 24 hours, and there's nothing produced so far. I'll let it keep running for a few days. I understand that luck is a major factor, so maybe lady luck will visit me. Why not run native? you could probably get better PPS than that. and the code compiles fine native OSX.
|
|
|
|
Tamis
|
 |
July 23, 2013, 09:36:24 PM |
|
SS 4M crashes client here, 3.6M works, i7 3770k
|
|
|
|
|