mersenneforum.org  

Go Back   mersenneforum.org > Prime Search Projects > Sierpinski/Riesel Base 5

Reply
 
Thread Tools
Old 2006-12-18, 20:21   #188
jasong
 
jasong's Avatar
 
"Jason Goatcher"
Mar 2005

66638 Posts
Default

Quote:
Originally Posted by geoff View Post
Are you running 64-bit Linux? If so it would be a great help if you could try out the linux64-k8 binary and see how speed compares to the linux32-i686 binary on the same machine.
That's a good question. I downloaded and installed a bunch of distributions before Xyzzy(sp?) finally explained that my lack of knowledge of the sudo command was the problem.

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.
jasong is offline   Reply With Quote
Old 2006-12-19, 04:45   #189
Xyzzy
 
Xyzzy's Avatar
 
"Mike"
Aug 2002

824510 Posts
Default

cat /proc/cpuinfo

uname -a
Xyzzy is offline   Reply With Quote
Old 2006-12-20, 01:30   #190
jasong
 
jasong's Avatar
 
"Jason Goatcher"
Mar 2005

3×7×167 Posts
Default

Quote:
Originally Posted by Xyzzy View Post
cat /proc/cpuinfo

uname -a
yep, it's 64-bit. Now I just need to search the forum and figure out where to get the binary.
jasong is offline   Reply With Quote
Old 2006-12-21, 01:22   #191
geoff
 
geoff's Avatar
 
Mar 2003
New Zealand

13×89 Posts
Default

Quote:
Originally Posted by jasong View Post
yep, it's 64-bit. Now I just need to search the forum and figure out where to get the binary.
http://www.geocities.com/g_w_reynolds/sr5sieve/

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 ;-)
geoff is offline   Reply With Quote
Old 2006-12-22, 01:09   #192
jasong
 
jasong's Avatar
 
"Jason Goatcher"
Mar 2005

3×7×167 Posts
Default

Quote:
Originally Posted by geoff View Post
I could try to write some 64 bit mode assembler if I have someone able to test it for me ;-)
I´m just about to start testing it. :)

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
jasong is offline   Reply With Quote
Old 2006-12-22, 06:57   #193
axn
 
axn's Avatar
 
Jun 2003

117358 Posts
Default

Deleting two k's would have gained you at the most 1% speedup. So the rest is from the 64-bit goodness
axn is offline   Reply With Quote
Old 2006-12-22, 20:50   #194
jasong
 
jasong's Avatar
 
"Jason Goatcher"
Mar 2005

350710 Posts
Default

Quote:
Originally Posted by axn1 View Post
Deleting two k's would have gained you at the most 1% speedup. So the rest is from the 64-bit goodness
As my mom would say: ¨Kew-ell¨
jasong is offline   Reply With Quote
Old 2006-12-23, 01:21   #195
geoff
 
geoff's Avatar
 
Mar 2003
New Zealand

13×89 Posts
Default

Quote:
Originally Posted by jasong View Post
It WAS 85,500 with 254 k´s, Now it´s 106,200 with 252 k´s.
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.
geoff is offline   Reply With Quote
Old 2006-12-24, 03:45   #196
jasong
 
jasong's Avatar
 
"Jason Goatcher"
Mar 2005

3×7×167 Posts
Default

Quote:
Originally Posted by geoff View Post
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.
Darn it, there's no thumbs-up sign in the forum. Anyway, I'm looking forward to it.
jasong is offline   Reply With Quote
Old 2006-12-28, 01:54   #197
geoff
 
geoff's Avatar
 
Mar 2003
New Zealand

13×89 Posts
Default sr5sieve 1.4.12

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?
geoff is offline   Reply With Quote
Old 2006-12-28, 20:11   #198
geoff
 
geoff's Avatar
 
Mar 2003
New Zealand

48516 Posts
Default sr5sieve 1.4.13 bug fix

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.
geoff is offline   Reply With Quote
Reply

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

All times are UTC. The time now is 05:56.


Fri Aug 6 05:56:08 UTC 2021 up 14 days, 25 mins, 1 user, load averages: 3.61, 3.53, 3.24

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.