![]() |
|
|
#155 |
|
Jan 2005
479 Posts |
Around 12% faster on an athlon 64-x2 too :)
Everyone upgrade now!
|
|
|
|
|
|
#156 |
|
Mar 2003
New Zealand
13×89 Posts |
There was a major bug introduced in sr5sieve version 1.2.4 that probably causes about 75% of factors to be missed by the k8 and ppc64 builds. (It doesn't affect 64-bit hardware running the linux32 or mingw32 binaries in compatibility mode).
I Hope to have a fix tomorrow. Sorry for the trouble. |
|
|
|
|
|
#157 |
|
Jan 2005
479 Posts |
As seen from the factor-reports, everyone reports just about as much factors as expected, so I don't think you'll have to worry too much.
|
|
|
|
|
|
#158 |
|
Jan 2005
479 Posts |
Geoff, can you make it happen, in a future release,
that sr5sieve will also accept work of the form: 3000-3050 instead of only 3000,3050 ? Cheers, Micha (Who happend to have made this 'typo' more then once already :> ) |
|
|
|
|
|
#159 |
|
Mar 2003
New Zealand
13×89 Posts |
This version fixes a major problem in the bitmap code for 64-bit builds. If you are using the 32 bit mingw32 or linux32 builds then there is no need to upgrade.
I'll do this in the next version. |
|
|
|
|
|
#160 |
|
Sep 2006
18710 Posts |
Ehm, sorry for this question, but can someone please explain the difference of 586 and 686 to me?
I always used the 686 version. Now i tried the 586 just for fun, and I see, that it is almost as fast as the 686 - so what´s the difference? Is 686 for 64bit processors, or something like this? Running WinXP 32 Bit, on a Core2 Duo. |
|
|
|
|
|
#161 |
|
Jun 2003
32×5×113 Posts |
Geoff, I have a feature request. Could you make it so that the Legendre table lookup can be written to a file once and load from it next time onwards (instead of recomputing everytime)? Obviously "sr5sieve -d" option has to remove the lookup info also. [It should probably have some checksum logic to avoid unwittingly using a corrupt lookup file]
PS:- All this is assuming that it is faster to load a file than compute the lookup. |
|
|
|
|
|
#162 | |
|
Jun 2003
508510 Posts |
Quote:
For modern processors, it doesn't really matter. But going with the higher one is better. If only it was SSE2 optimized...
|
|
|
|
|
|
|
#163 | ||
|
Mar 2003
New Zealand
48516 Posts |
Quote:
Quote:
(I think the reason for this is that the branch that was replaced in the old version had about a 50% chance of being taken. In the new version the branch is not usually taken, so the CPU branch prediction algorithm works better and a conditional move is not worthwhile). I have been trying to write a SSE2 version of mulmod64(), but I have come to the conclusion that it is not worthwhile for 32-bit machines. The basic problem is that it doesn't seem possible to load a 64-bit integer into a double-precision SSE register without first going through the FPU. (64-bit machines do have such an instruction). Simply compiling for SSE2 with GCC (flags -march=pentium4 -msse2 -fpmath=sse) results in code that runs slower on a P4 than when compiled without SSE2. Last fiddled with by geoff on 2006-11-28 at 23:01 |
||
|
|
|
|
|
#164 |
|
Jun 2003
158210 Posts |
I was trying to sieve
Code:
myfile.txt 1665624349782373*2^n-1 10075614324682349*2^n-1 12782924755172441*2^n-1 15335906269828439*2^n-1 23009979551311559*2^n-1 30729699810869707*2^n-1 41360993926068041*2^n-1 49050506465852977*2^n-1 49791527843569597*2^n-1 50670759245200691*2^n-1 72292129717621199*2^n-1 (cmd prompt: srsieve --nmax 2000000 myfile.txt --pmax 100000000 --factors --verbose) Thanks Last fiddled with by Citrix on 2006-11-28 at 23:16 |
|
|
|
|
|
#165 | |
|
Mar 2003
New Zealand
22058 Posts |
Quote:
If I can't find a way to speed up the table creation then I'll implement this. |
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Very Prime Riesel and Sierpinski k | robert44444uk | Open Projects | 587 | 2016-11-13 15:26 |
| Sierpinski/ Riesel bases 6 to 18 | robert44444uk | Conjectures 'R Us | 139 | 2007-12-17 05:17 |
| Sierpinski/Riesel Base 10 | rogue | Conjectures 'R Us | 11 | 2007-12-17 05:08 |
| Sierpinski / Riesel - Base 23 | michaf | Conjectures 'R Us | 2 | 2007-12-17 05:04 |
| Sierpinski / Riesel - Base 22 | michaf | Conjectures 'R Us | 49 | 2007-12-17 05:03 |