![]() |
|
|
#188 | |
|
"Jason Goatcher"
Mar 2005
66638 Posts |
Quote:
Is there an easy way to check for 64-bitness? I'm fairly certain it's a 64-bit cpu, I'm just not sure about the 64-bitness of the Linux distro, which is Ubuntu. |
|
|
|
|
|
|
#189 |
|
"Mike"
Aug 2002
824510 Posts |
cat /proc/cpuinfo
uname -a |
|
|
|
|
|
#190 |
|
"Jason Goatcher"
Mar 2005
3×7×167 Posts |
|
|
|
|
|
|
#191 | |
|
Mar 2003
New Zealand
13×89 Posts |
Quote:
The binary in sr5sieve-1.4.8-linux64-k8.tar.gz is compiled for 64 bit mode but doesn't use any assembly code for modular multiplication. It would be interesting to see how it compares to the binary in sr5sieve-1.4.8-linux32-i686.tar.gz which is compiled for 32 bit mode but has the benefit of the assembler modular multiplication. I could try to write some 64 bit mode assembler if I have someone able to test it for me ;-) |
|
|
|
|
|
|
#192 | |
|
"Jason Goatcher"
Mar 2005
3×7×167 Posts |
Quote:
Edit: At least a 10% increase in speed. Unfortunately, I deleted a couple k´s between tries, so I can´t be more specific than that. It WAS 85,500 with 254 k´s, Now it´s 106,200 with 252 k´s. Last fiddled with by jasong on 2006-12-22 at 01:18 |
|
|
|
|
|
|
#193 |
|
Jun 2003
117358 Posts |
Deleting two k's would have gained you at the most 1% speedup. So the rest is from the 64-bit goodness
|
|
|
|
|
|
#194 |
|
"Jason Goatcher"
Mar 2005
350710 Posts |
|
|
|
|
|
|
#195 |
|
Mar 2003
New Zealand
13×89 Posts |
That is great, thanks for trying it out, you are the first that I know of :-)
I don't think the gain from hand-coded assembler will be huge, GCC seems to generate pretty tight code to start with on this platform, but I'll have a go and post some trial versions for you to try in the next week or so. |
|
|
|
|
|
#196 | |
|
"Jason Goatcher"
Mar 2005
3×7×167 Posts |
Quote:
|
|
|
|
|
|
|
#197 |
|
Mar 2003
New Zealand
13×89 Posts |
sr5sieve 1.4.11 adds inline assembler modular multiplication functions for x86-64 machines. They are based on working 32-bit prototypes, but the 64-bit versions are untested.
sr5sieve 1.4.12 extends the power residue checks to include octic residues. The gain from this for the base 5 sieve is marginal, but it should become more worthwhile as the number of k in the sieve drops. (The gain for the base sieve 2 with SoB.dat is about 5%). PS: jasong, if possible can you test both the 1.4.11 and 1.4.12 linux64 binaries? |
|
|
|
|
|
#198 |
|
Mar 2003
New Zealand
48516 Posts |
Sorry, version 1.4.12 had a bug which could have caused 1 factor in 240 to be missed. If anyone is using it then please upgrade to version 1.4.13.
|
|
|
|
![]() |
| 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 |