mersenneforum.org  

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

Reply
 
Thread Tools
Old 2006-07-18, 02:47   #56
geoff
 
geoff's Avatar
 
Mar 2003
New Zealand

13·89 Posts
Default

Quote:
Originally Posted by michaf
I could always mold the factors into other shapes for srfile to recognise
The problem is that srfile can't deal with factors larger than about 2^62. I could fix this by linking with the GMP library, but I wouldn't be able to cross-compile for Windows if I do that (at least, I haven't figured out how to, yet).

As a stopgap, in version 0.3.8 'srfile --known-factors' will accept a Prime95 results.txt file and remove the factors found therein from the sieve, but it won't perform a check that these factors are genuine.
geoff is offline   Reply With Quote
Old 2006-07-18, 23:24   #57
michaf
 
michaf's Avatar
 
Jan 2005

479 Posts
Default

Quote:
Originally Posted by geoff
As a stopgap, in version 0.3.8 'srfile --known-factors' will accept a Prime95 results.txt file and remove the factors found therein from the sieve, but it won't perform a check that these factors are genuine.
I think that should suffice; there are not many people P-1-ing,
and there will be only few factors found.
(and on my <pick your favorite 4-letter-word>-system, running in safe mode, p-95 crashes it every now and then running P-1)
michaf is offline   Reply With Quote
Old 2006-07-19, 10:04   #58
konrad127123
 
konrad127123's Avatar
 
Jun 2005

418 Posts
Default

Quote:
Originally Posted by geoff
The problem is that srfile can't deal with factors larger than about 2^62. I could fix this by linking with the GMP library, but I wouldn't be able to cross-compile for Windows if I do that (at least, I haven't figured out how to, yet).
Could you make it so that this worked under Linux and #if out the relevant bits when compiling under Windows? This would at least solve part of the problem. I've done a little P-1 factoring with gmp-ecm which shows factors as lines of the form:

Quote:
Probable prime cofactor (304004*5^596-1)/5908875585165836527 has 404 digits
or
Quote:
Composite cofactor (318278*5^808-1)/4399968245303 has 558 digits
so support for such input would be useful :)
konrad127123 is offline   Reply With Quote
Old 2006-07-24, 03:03   #59
geoff
 
geoff's Avatar
 
Mar 2003
New Zealand

13×89 Posts
Default

Quote:
Originally Posted by konrad127123
I've done a little P-1 factoring with gmp-ecm which shows factors as lines of the form:
In version 0.3.11 `srfile --known-factors FILE' will process factors in gmp-ecm output FILE. The factors are checked if they are smaller than 2^62, otherwise they are not checked (with --verbose it will print which ones were checked and which ones not).
geoff is offline   Reply With Quote
Old 2006-08-08, 02:51   #60
geoff
 
geoff's Avatar
 
Mar 2003
New Zealand

13×89 Posts
Default sr5sieve 1.1.0

sr5sieve version 1.1.0 is a tiny bit faster than 1.0.0, about 2% on my P3. There is also a 64-bit Linux binary which may be faster than the 32-bit version.

There are no bug fixes, so no need to upgrade immediately.
geoff is offline   Reply With Quote
Old 2006-08-26, 23:53   #61
geoff
 
geoff's Avatar
 
Mar 2003
New Zealand

100100001012 Posts
Default

sr5sieve 1.1.2 should be about 5% faster than 1.1.1, due simply to optimising the loop that initialises the hashtable.
geoff is offline   Reply With Quote
Old 2006-08-27, 18:12   #62
michaf
 
michaf's Avatar
 
Jan 2005

479 Posts
Default

Quote:
Originally Posted by geoff View Post
sr5sieve 1.1.2 should be about 5% faster than 1.1.1, due simply to optimising the loop that initialises the hashtable.
Always nice :)

Do you know if it's possible to let it use two processors?
Or is it just simpler to run two srsieves?

BTW, Athlon 62 X2 3800+ Normally running at 2.0GHz, OC'd without any troubles at all to 2.208GHz... that makes it run at about 2 * 27000 p's per second!

*edit* Version 1.1.2 makes it run at 2 * 28200 p's per second

Last fiddled with by michaf on 2006-08-27 at 18:18
michaf is offline   Reply With Quote
Old 2006-08-29, 02:16   #63
geoff
 
geoff's Avatar
 
Mar 2003
New Zealand

115710 Posts
Default

Quote:
Originally Posted by michaf View Post
Do you know if it's possible to let it use two processors?
Or is it just simpler to run two srsieves?
If you run multiple sr5sieve processes you currently need to start each one in a seperate directory, because the checkpoint files use the same name. I will change this in the next version so that each process can be made to use different file names.

It would be possible (but probably not a simple matter to program) to launch one worker thread for each CPU and let the parent thread just handle the record-keeping. This probably wouldn't be any faster than running a seperate sr5sieve process on each CPU, but it would use less memory. I don't plan to do this in the near future.
geoff is offline   Reply With Quote
Old 2006-08-29, 12:57   #64
michaf
 
michaf's Avatar
 
Jan 2005

479 Posts
Default

Running two programs in two dir's is perfectly fine for me.
I was just wondering out lod wether it would be easy enough...
Don't waste too much resources on it, unless you have waaaay too much time on your hands :)
michaf is offline   Reply With Quote
Old 2006-08-31, 01:30   #65
geoff
 
geoff's Avatar
 
Mar 2003
New Zealand

13·89 Posts
Default

Quote:
Originally Posted by michaf View Post
Running two programs in two dir's is perfectly fine for me.
I will leave it as is then, unless someone else really wants to be able to run everything in one directory.

Running each process from a seperate directory just means that you need a copy of (or a link to) sr5data.txt in each directory, probably not problem for most.
geoff is offline   Reply With Quote
Old 2006-09-01, 03:17   #66
geoff
 
geoff's Avatar
 
Mar 2003
New Zealand

13·89 Posts
Default

sr5sieve 1.1.3 is about 10% faster than 1.1.2. This resulted from using 32 bits instead of 64 bits for some local variables in the modular inverse function (so probably only 32-bit machines will see the benefit).
geoff is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Soapbox Discussions only_human Soap Box 41 2019-11-16 15:46
Our discussions here: how can we improve things? Brian-E Soap Box 105 2013-11-10 12:26
n=390000 discussions and old reservations Mini-Geek Twin Prime Search 31 2010-05-22 23:13
Primegrid discussions pacionet Twin Prime Search 17 2007-01-20 11:22
Automated PRP discussions ltd Sierpinski/Riesel Base 5 20 2006-09-02 22:19

All times are UTC. The time now is 09:23.


Sat Jul 17 09:23:42 UTC 2021 up 50 days, 7:10, 1 user, load averages: 1.40, 1.58, 1.61

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.