Comparison of changing --sieve-primes (essentially ineffective in non-CRT mining)

--sieve-primes is described as a secondary parameter with some influence on miner performance.

In a post to the bitcointalk thread, j0nn9 describes the GapMiner parameters: “shift should be the most sensitive parameter, because it controls the bit size of the primes, second would be sieve primes”. The tests reported here are of systematic changes to the value of sieve-primes in non-CRT mining.

Each row of three tests is a single, simultaneous run and can be compared laterally - but not vertically because for each run of three tests, the difficulty changes and thwarts comparison. Of note is the std value, the standard deviation - it swamps any lateral differences, meaning that the changes had no statistically significant effect - apart from the last run in which the number of primes in the sieve was reduced to 5000 and that does seem have cramped GapMiner’s style somewhat. Increasing the value has no apparent effect for non-CRT mining.

The basic conclusion - for non-CRT mining (), the default of 900000 is just fine and doesn’t benefit from being increased. (I needed to check this for the purposes of designing the GUI for the client’s Mining tab). By contrast, the value set for sieve-primes is influential on performance when mining with CRT.


Column labels map directly to miner output: pps is average primes per second, tps is average tests per second, gps is average gaps per second.

f25-t3-i600000-s33554432

measureppstpsgps
mean2887429234013545
max31764910150114901
min2843309096613340
std60171906282

f25-t3-i900000-s33554432-0

measureppstpsgps
mean2912179071613662
max3129089754114680
min2879628878213511
std49131513231

f25-t3-i1200000-s33554432

measureppstpsgps
mean2938318984513784
max3170229682714871
min2761288435912952
std48151471226

f25-t3-i300000-s33554432

measureppstpsgps
mean2704769089212709
max31896410707414981
min2649448905612450
std92083073432

f25-t3-i900000-s33554432-1

measureppstpsgps
mean2824768816113273
max32144910020715101
min2772348650513027
std83942623394

f25-t3-i1500000-s33554432

measureppstpsgps
mean2856268626513420
max33685610202815828
min2797468446413145
std98713038463

f25-t3-i50000-s33554432

measureppstpsgps
mean2350229055011048
max26302010157112363
min2275488766410697
std76672975360

f25-t3-i900000-s33554432-2

measureppstpsgps
mean2781858680713076
max3095699642114548
min2692098402912656
std91112801427

f25-t3-i1750000-s33554432

measureppstpsgps
mean2813668417013226
max3186329505114973
min2715448123412766
std102913055482

f25-t3-i5000-s33554432

measureppstpsgps
mean205187977239651
max23422811267211026
min202922966479547
std36561834173

f25-t3-i900000-s33554432-3

measureppstpsgps
mean2962919253713936
max34286910736816136
min2936499173913816
std57821869274

f25-t3-i2750000-s33554432

measureppstpsgps
mean2950288594513877
max3299919598615526
min2923708521513756
std49481445234

The charts included below are for completeness. The figures given are the means and they differ from the means in the above table because, in order to support the different requirements of charting, the first 1/5th of the data is ignored in order to aid visual comparison. The chartline uses the full dataset.

Your browser is now constructing the plots, it will take a few moments ...

Replication:

gapminer -o localhost -p 31397 -u $USER -x $USERPASS -j 5 -e -t 3 -f 25 -s 33554397 -i 600000
gapminer -o localhost -p 31397 -u $USER -x $USERPASS -j 5 -e -t 3 -f 25 -s 33554397 -i 000000
gapminer -o localhost -p 31397 -u $USER -x $USERPASS -j 5 -e -t 3 -f 25 -s 33554397 -i 1200000