![]() |
|
|
#1 |
|
1976 Toyota Corona years forever!
"Wayne"
Nov 2006
Saskatchewan, Canada
3·52·71 Posts |
Now that I am doing a lot of P-1 I'm intrigued by the number of relative primes
Code:
[Nov 5 17:57] Available memory is 3151MB. [Nov 5 17:57] Using 3141MB of memory. Processing 144 relative primes (259 of 960 already processed). At one time I thought it might be some magical function of the exponent range...until yesterday. I have a PC working on P-1 in the 47.2M range and for 5 days it was doing 480 relative primes; which by the way is the most common value I've seem for P-1. However, last night I changed the CPU setting to increase RAM overnight (it is now 16G daytime and 20G overnight). Since then the P-1 work on this same PC is now doing 960 rp's. Now I am thinking the value is a function of the RAM allocated. I am going to further assume it is a function of the maximum RAM; otherwise assignments starting during the day (when I have 16G) would get 480 rp's and 960 rp's when started overnight. Am I anywhere close is my guesses? Is there a layman's answer to this question? Last fiddled with by petrw1 on 2018-11-06 at 00:39 |
|
|
|
|
|
#2 | |
|
Jun 2003
546410 Posts |
Quote:
However, there is not significant difference in performance between 16G and 20G of allocation. In fact, if an assignment crosses the day/night boundary (in either direction), it will stop and restart with new memory settings, and will cause so much additional work that it will wipe out any potential gains. Please stick with one setting for the entire day. |
|
|
|
|
|
|
#3 |
|
Aug 2002
2×32×13×37 Posts |
In the 87M range, 12GB is enough to get the "E=12" Brent-Sujama thingie.
Related thread: https://www.mersenneforum.org/showthread.php?t=23331
|
|
|
|
|
|
#4 | |
|
1976 Toyota Corona years forever!
"Wayne"
Nov 2006
Saskatchewan, Canada
14CD16 Posts |
Quote:
|
|
|
|
|
|
|
#5 |
|
1976 Toyota Corona years forever!
"Wayne"
Nov 2006
Saskatchewan, Canada
3·52·71 Posts |
After a couple days at 20GB of RAM instead of 16GB I am seeing:
- 960 relative primes INSTEAD of 480 relative primes - same GhzDays credit - BUT it is not taking a little longer. With a total of 480 RPs stage 2 was taking almost exactly 1 minute per RP. i.e. if it was doing 60 RPs it took 60 minutes. But with a total of 960 RPs it is taking MORE THAN 2 minutes per RP. i.e. if it is doing 60 RPs it is taking about 135 minutes and so the entire P-1 is taking longer overall. Seems odd that I am slowing down with MORE RAM. NOTE a typical assignment is: Code:
Pminus1=N/A,1,2,47299781,-1,1000000,20000000,73 Hold the presses... After a more formal and official calculation it seems it made not enough difference to measure yet... Last fiddled with by petrw1 on 2018-11-07 at 21:25 Reason: Hold the presses |
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| unexpected number of relative primes | tha | Software | 14 | 2015-10-30 01:23 |
| Estimating the number of primes in a partially-factored number | CRGreathouse | Probability & Probabilistic Number Theory | 15 | 2014-08-13 18:46 |
| P-1 factoring, relative primes | timbit | Information & Answers | 0 | 2009-03-13 18:45 |
| relative speed of processors | Primeinator | Hardware | 10 | 2005-02-27 18:03 |
| Relative speeds of hardware for different types of work | S00113 | Hardware | 7 | 2004-04-20 19:58 |