PDA

View Full Version : sr2sieve sieve client



geoff
02-21-2007, 12:57 AM
Sr2sieve may be useful to some people as an alternative to proth_sieve for SoB.dat on some machines. It is not as fast as JJsieve, but it is getting faster, and recent versions (1.4.2x) are competitive with the x86 proth_sieve 0.42 binary on Linux.

If anyone want to try it out there are x86 Linux and Windows binaries, and an x86-64 Linux binary, at http://www.geocities.com/g_w_reynolds/sr2sieve/

In a directory containing SoB.dat (case-sensitive name), create a text file called sr2work.txt containing the sieve range in billions. E.g. the range 1000000-1000001 will sieve 1000000e9 <= p <= 1000001e9. Running `sr2sieve -s -D' will give similar output to proth_sieve.

It should be possible to compile the source on any unix-like system with GCC and GNU make. (some editing of the Makefile and config.h may be necessary). It has been reasonably well tested on x86 and ppc64, but feedback from compiling or testing on other architectures would be welcome.

Death
02-21-2007, 10:48 AM
celeron 1700
what binary should I download?

geoff
02-21-2007, 04:40 PM
celeron 1700
what binary should I download?
The -i686 binary. If your L2 cache is less than 256Kb then using the -L switch to set the size, e.g. -L128, might improve performance a little.

edit: Unless it is a P4 Celeron? Then use the -pentium4 binary, same deal with the L2 cache.