mersenneforum.org  

Go Back   mersenneforum.org > Prime Search Projects > Prime Gap Searches

Reply
 
Thread Tools
Old 2017-07-24, 16:48   #78
Thomas11
 
Thomas11's Avatar
 
Feb 2003

111011101002 Posts
Default

I did another test on a machine equipped with 128 GB, and it turns out that for this amount of memory the entire n range of 1e18 (e.g. 6-7e18) will no longer be split into parts. Actually it used only 54.19 GB.

So I went a little further and obtained the necessary minimum memory requirements for different [n1,n2] interval sizes (without splitting into parts):
Code:
n2-n1  memory
2e18   90.28 GB
1e18   54.19 GB
5e17   36.15 GB
2.5e17 27.14 GB
2e17   25.32 GB
1e17   21.72 GB
Thus, a quarter range like 6e18-6.25e18 might fit into 32 GB memory.
Thomas11 is offline   Reply With Quote
Old 2017-07-24, 16:53   #79
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

61·79 Posts
Default

Quote:
Originally Posted by Thomas11 View Post
I did another test on a machine equipped with 128 GB, and it turns out that for this amount of memory the entire n range of 1e18 (e.g. 6-7e18) will no longer be split into parts. Actually it used only 54.19 GB.

So I went a little further and obtained the necessary minimum memory requirements for different [n1,n2] interval sizes (without splitting into parts):
Code:
n2-n1  memory
2e18   90.28 GB
1e18   54.19 GB
5e17   36.15 GB
2.5e17 27.14 GB
2e17   25.32 GB
1e17   21.72 GB
Thus, a quarter range like 6e18-6.25e18 might fit into 32 GB memory.
...and people like me, with only 2 threads and 2 GB of RAM, will be cut ou of the search. Oh, well...
ET_ is offline   Reply With Quote
Old 2017-07-24, 16:57   #80
pinhodecarlos
 
pinhodecarlos's Avatar
 
"Carlos Pinho"
Oct 2011
Milton Keynes, UK

3×17×97 Posts
Default

Quote:
Originally Posted by ET_ View Post
...and people like me, with only 2 threads and 2 GB of RAM, will be cut ou of the search. Oh, well...
use the old client
pinhodecarlos is offline   Reply With Quote
Old 2017-07-24, 17:05   #81
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

61×79 Posts
Default

Quote:
Originally Posted by pinhodecarlos View Post
use the old client
I will. I was just waiting until the new code restrictions were published.
Still wonder if a double reservation (client v.5 and client v.9) can be held...

Last fiddled with by ET_ on 2017-07-24 at 17:06
ET_ is offline   Reply With Quote
Old 2017-07-24, 17:15   #82
robert44444uk
 
robert44444uk's Avatar
 
Jun 2003
Oxford, UK

79F16 Posts
Default

Quote:
Originally Posted by ET_ View Post
...and people like me, with only 2 threads and 2 GB of RAM, will be cut ou of the search. Oh, well...
I don't think so, we are only talking about whether -res will go through 1 cycle or more than one cycle, the way I understand it

I am running the new client on an underpowered lap top with 2.6 G memory and 3 threads. Its working fine but -res is going through several cycles. You still get an ETA which will be accurate.
robert44444uk is offline   Reply With Quote
Old 2017-07-24, 17:17   #83
robert44444uk
 
robert44444uk's Avatar
 
Jun 2003
Oxford, UK

1,951 Posts
Default

Quote:
Originally Posted by ET_ View Post
I will. I was just waiting until the new code restrictions were published.
Still wonder if a double reservation (client v.5 and client v.9) can be held...
No it won't be possible within 6e18 to 7e18. Of course there are still unreserved ranges in 5e18 to 6e18 :) But see my post #82 above about small computers.

Last fiddled with by robert44444uk on 2017-07-24 at 17:21
robert44444uk is offline   Reply With Quote
Old 2017-07-24, 18:46   #84
R. Gerbicz
 
R. Gerbicz's Avatar
 
"Robert Gerbicz"
Oct 2005
Hungary

2·743 Posts
Default

Here it is gapcheck.c to verify the completed works, it is also printing the missing works.
Furthermore this needs the log files in the program's directory, but its name can be anything, the extension should be .txt; it is checking all txt files.
Attached Files
File Type: zip gapcheck.zip (2.0 KB, 103 views)
R. Gerbicz is online now   Reply With Quote
Old 2017-07-24, 18:49   #85
Antonio
 
Antonio's Avatar
 
"Antonio Key"
Sep 2011
UK

32·59 Posts
Default

Quote:
Originally Posted by ET_ View Post
...and people like me, with only 2 threads and 2 GB of RAM, will be cut ou of the search. Oh, well...
Just tried it on my laptop (i7-6700HQ @ 3.2GHz) for you:
Code:
gap9_haswell -n1 7e18 -n2 8e18 -n 7e18 -res1 0 -res2 10 -res 0 -m1 1190 -m2 8151 -numcoprime 27 -sb 24 -bs 18 -t 2 -mem 2
Got about 5.85e9n/sec, ETA 58hours

Last fiddled with by Antonio on 2017-07-24 at 18:50 Reason: Error in commandline
Antonio is offline   Reply With Quote
Old 2017-07-24, 19:13   #86
R. Gerbicz
 
R. Gerbicz's Avatar
 
"Robert Gerbicz"
Oct 2005
Hungary

2×743 Posts
Default

Quote:
Originally Posted by Antonio View Post
The program splits the k range into sub-ranges to fit what it can in memory and tests each subrange for the res requested, so yes, what you are seeing is probably correct.
Yes, that is true.

Quote:
Originally Posted by Thomas11 View Post
We need also to keep an eye on n, in particular when transferring a range to a different machine. If the new one has a less memory than the original one, we might be missing some subintervals...
gap9 handle this. But yes, it isn't very efficient to copy every hour the worktodo file to a slower computer, then back. It is better to give a smaller res interval to a small computer with small memory. And a longer res interval to a faster computer.

Quote:
Originally Posted by Thomas11 View Post
I did another test on a machine equipped with 128 GB, and it turns out that for this amount of memory the entire n range of 1e18 (e.g. 6-7e18) will no longer be split into parts. Actually it used only 54.19 GB.
Yes, but the speedup would be small in this case.

Quote:
Originally Posted by robert44444uk View Post
I am running the new client on an underpowered lap top with 2.6 G memory and 3 threads. Its working fine but -res is going through several cycles. You still get an ETA which will be accurate.
In the new version removed an unneeded lower bound on size, so on these computers with save_nextprimetest=0 we need fewer memory than gap5. Ofcourse with larger memory use save_nextprimetest=1 to get a higher sieve rate.
R. Gerbicz is online now   Reply With Quote
Old 2017-07-24, 21:06   #87
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

61×79 Posts
Default

Quote:
Originally Posted by Antonio View Post
Just tried it on my laptop (i7-6700HQ @ 3.2GHz) for you:
Code:
gap9_haswell -n1 7e18 -n2 8e18 -n 7e18 -res1 0 -res2 10 -res 0 -m1 1190 -m2 8151 -numcoprime 27 -sb 24 -bs 18 -t 2 -mem 2
Got about 5.85e9n/sec, ETA 58hours
I'll take it, thanks!
ET_ is offline   Reply With Quote
Old 2017-07-25, 09:11   #88
Thomas11
 
Thomas11's Avatar
 
Feb 2003

35648 Posts
Default

Quote:
Originally Posted by R. Gerbicz View Post
Here it is gapcheck.c to verify the completed works, it is also printing the missing works.
Furthermore this needs the log files in the program's directory, but its name can be anything, the extension should be .txt; it is checking all txt files.
I did a few tests, and it correctly detected and reported the missing ranges.
Thomas11 is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
The lasieve5 latest code and patches frmky Factoring 36 2016-08-13 16:32
PFGW latest well-tested version mdettweiler Conjectures 'R Us 109 2010-09-29 20:20
where can I download the latest version of GMP-ECM aaa120 GMP-ECM 2 2008-10-31 14:28
Is 23.8.1 the latest Version of Prime95? Bundu Software 1 2004-11-03 23:18
Latest version? [CZ]Pegas Software 3 2002-08-23 17:05

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


Fri Aug 6 23:19:17 UTC 2021 up 14 days, 17:48, 1 user, load averages: 4.19, 4.08, 4.04

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.