mersenneforum.org  

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

Reply
 
Thread Tools
Old 2006-07-13, 12:17   #45
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11×577 Posts
Default

Quote:
Originally Posted by geoff
The limit is actually 2^62 for i386 machines and 2^52 for others. 4e12 was the limit of the prime sieve, beyond that some composites would be sieved, but that only affected the efficiency not the results. In the current version the prime sieve will generate all primes up to 2^62, although it takes a lot of memory (> 1GB).
I've considered a means to reduce the memory footprint for the sieve. It involves storing the prime differences for the prime array instead of the primes themselves. IIRC correctly, it should cut the memory requirement for the sieve in half. It could be cut further if one assumes that the upper 32 bits of each composite in the composite array are always the same, but that would require a little more effort to manage.
rogue is offline   Reply With Quote
Old 2006-07-13, 21:23   #46
michaf
 
michaf's Avatar
 
Jan 2005

479 Posts
Default

Quote:
Originally Posted by axn1
Are you looking for expected factors per G or actual factors per G ?
Actual factors would do, but some interpolation on the expected would be nice :)
michaf is offline   Reply With Quote
Old 2006-07-13, 21:44   #47
michaf
 
michaf's Avatar
 
Jan 2005

479 Posts
Default

axn1,

Do you want to remove all the factors (and the new prime) from the sr5data file, or would you like me to do it, and then upload.
If it's me, it would be handy if I get all factor files mailed too.
If it's you, please mail me the sr5data file :>

Oh, and one other little thing, who sieved from 0-25e9?

And yet another one; I can now only start my computer in safe mode, which is rather annoying, so I won't be crunching numbers until I get either a new PC, or get this darned thing running smoothly again :>
michaf is offline   Reply With Quote
Old 2006-07-13, 23:04   #48
axn
 
axn's Avatar
 
Jun 2003

31×163 Posts
Default

Quote:
Originally Posted by michaf
Do you want to remove all the factors (and the new prime) from the sr5data file, or would you like me to do it, and then upload.
If it's me, it would be handy if I get all factor files mailed too.
If it's you, please mail me the sr5data file :>
I have an updated dat file with all the factors + the new prime, removed. Unfortunately, there is no notable speed increase, so no need to switch (yet).

Quote:
Originally Posted by michaf
Oh, and one other little thing, who sieved from 0-25e9?
That'd be me No point in publishing statistics for that range since there are just too many factors.

Quote:
Originally Posted by michaf
And yet another one; I can now only start my computer in safe mode, which is rather annoying, so I won't be crunching numbers until I get either a new PC, or get this darned thing running smoothly again :>
Wishing your computer a speedy recovery
axn is online now   Reply With Quote
Old 2006-07-16, 00:55   #49
geoff
 
geoff's Avatar
 
Mar 2003
New Zealand

13·89 Posts
Default

Quote:
Originally Posted by rogue
I've considered a means to reduce the memory footprint for the sieve. It involves storing the prime differences for the prime array instead of the primes themselves. IIRC correctly, it should cut the memory requirement for the sieve in half. It could be cut further if one assumes that the upper 32 bits of each composite in the composite array are always the same, but that would require a little more effort to manage.
I think it will be quite a while before memory becomes a problem. As the memory used by the prime sieve increases, the bitmap memory will be reduced by finding primes.
geoff is offline   Reply With Quote
Old 2006-07-16, 01:14   #50
geoff
 
geoff's Avatar
 
Mar 2003
New Zealand

100100001012 Posts
Default

Quote:
Originally Posted by axn1
I have an updated dat file with all the factors + the new prime, removed. Unfortunately, there is no notable speed increase, so no need to switch (yet).
Finding a prime for a light weight sequence will in general have less effect on sieving speed than finding one for a heavy sequence.

If it is not too much trouble, could the page with the current data file also contain a list of the primes found since the file was updated? This would make it easier for anyone wanting to delete the primes from their own copy of the file (using sr5sieve -d <K> to delete K*5^n+/-1).

edit: Just as good might be to announce updated data files in the thread where the primes are announced, then the new primes are the ones posted since the last announcement.

Last fiddled with by geoff on 2006-07-16 at 01:18
geoff is offline   Reply With Quote
Old 2006-07-16, 11:06   #51
michaf
 
michaf's Avatar
 
Jan 2005

479 Posts
Default

I'll update the dat-file, _and_ report the found primes on there, anyone who wants to do it for themselves is able then, and anyone who is too lazy can download the new dat-file ;)

Quote:
Originally Posted by geoff
Finding a prime for a light weight sequence will in general have less effect on sieving speed than finding one for a heavy sequence.

If it is not too much trouble, could the page with the current data file also contain a list of the primes found since the file was updated? This would make it easier for anyone wanting to delete the primes from their own copy of the file (using sr5sieve -d <K> to delete K*5^n+/-1).

edit: Just as good might be to announce updated data files in the thread where the primes are announced, then the new primes are the ones posted since the last announcement.
michaf is offline   Reply With Quote
Old 2006-07-16, 14:18   #52
michaf
 
michaf's Avatar
 
Jan 2005

1110111112 Posts
Default

I just tried sieve some candidates with P1 factoring with Prime95, and I have absolutely NO clue on how I get prime95 to handle composite exponents :>

srfile has the nice option to output P1 worktodo.ini for prime95, but it all just gets skipped because of the compositeness of the exponents...

help :)

edit: a download of a newer version of prime95 worked a bit... only srfile doesn't output a working .ini file, if I change the last number to 8 or more, it works...

Last fiddled with by michaf on 2006-07-16 at 15:13
michaf is offline   Reply With Quote
Old 2006-07-16, 18:37   #53
michaf
 
michaf's Avatar
 
Jan 2005

47910 Posts
Default

Is it worth sieving out some candidates by P-1 factoring?
(It sure isn't now, the quickest one is about 7 minutes on my PC, while the actual PRP test takes only 3 minutes)

When we get to higher grounds, say 200k, it gets more efficient, about 10% chance of finding a factor, and a normal prp test takes about 60 minutes.

Then again, if the sieving effort has gone beyond 300T (that is 300e12) or something like that, P1 isn't going to find too many factors anymore. (The three I found are max 167T)

One other thing: I found this one with P1:
278974*5^200001-1 has a factor: 28175678171
at 28e9, how could it have been missed by the current distr. sieving?
edit: DUH :> that's because the separate factor files aren't cleared out of my dat-file of course...

Last fiddled with by michaf on 2006-07-16 at 18:49
michaf is offline   Reply With Quote
Old 2006-07-17, 02:23   #54
geoff
 
geoff's Avatar
 
Mar 2003
New Zealand

13×89 Posts
Default

Quote:
Originally Posted by michaf
Is it worth sieving out some candidates by P-1 factoring?
It is not efficient to do P-1 tests yet, but they can be used as a check that the sieve is not missing any factors, or just for the fun of finding some larger factors.

Can the administrators handle P-1 factors being reported?

As far as the worktodo.ini entries output by srfile, I haven't done much testing with this. If there are changes needed let me know.
geoff is offline   Reply With Quote
Old 2006-07-17, 18:46   #55
michaf
 
michaf's Avatar
 
Jan 2005

479 Posts
Default

Quote:
Originally Posted by geoff
Can the administrators handle P-1 factors being reported?
I could always mold the factors into other shapes for srfile to recognise
michaf is offline   Reply With Quote
Reply

Thread Tools


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:25.


Sat Jul 17 09:25:20 UTC 2021 up 50 days, 7:12, 1 user, load averages: 1.27, 1.48, 1.57

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.