![]() |
![]() |
#265 |
P90 years forever!
Aug 2002
Yeehaw, FL
2×32×409 Posts |
![]()
I stepped through the code with your exponent, B1, memory and it is operating correctly. My 40x to 60x values were using a "puny" B1 of 500000. Apparently as B1 gets larger, it makes sense for the B2/B1 ratio to go up as well.
Looking at mersenne.ca https://www.mersenne.ca/prob.php?exp...=69&prob=12.75 you might try a B1 in the 15M to 20M area with B2 auto-computed for your 10 hour runs and see which gives a higher chance of finding a factor. |
![]() |
![]() |
![]() |
#266 |
Romulan Interpreter
Jun 2011
Thailand
52×7×53 Posts |
![]() ![]() If we are to trust RDS' papers which he always push in front as much as he can ![]() Just saying... Last fiddled with by LaurV on 2020-12-22 at 05:17 |
![]() |
![]() |
![]() |
#267 |
Dec 2016
5610 Posts |
![]()
I got an out of memory error during my test run. Amongst many other things, the Linux kernel said
Killed process 22440 (mprime) total-vm:112100576kB, anon-rss:109294088kB, file-rss:0kB, shmem-rss:4kBThe memory limit in local.txt is set to "100000" which should be 100,000,000,000 bytes or 104,857,600,000 bytes if MiB are used instead of MB. But apparently, mprime was using 111,917,146,112 bytes, which is either 11.9 or 7 GB more than it should. That was probably triggered by stage 2 of ECM needing more RAM than before. I was running 32 threads of ECM of all sizes, from M1277 to M9,100,919. Also, I had some programs still running so mprime really had to observe the memory limit. So not necessarily a new issue, just one that surfaces now. |
![]() |
![]() |
![]() |
#268 | ||
Dec 2016
5610 Posts |
![]() Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#269 |
Dec 2016
23·7 Posts |
![]()
Even with that setting, mprime consumes up to ~100GB instead of 50GB, i.e. twice as much as it should.
I'm monitoring memory usage with while true; do grep "RssAnon" /proc/$(pidof mprime)/status; sleep 10; doneand the highest I got so far was "RssAnon: 105544236 kB". Edit: And a bit later, mprime segfaulted. Kernel log says [1315248.083098] show_signal_msg: 38 callbacks suppressed [1315248.083102] mprime[29045]: segfault at 7f7878287f26 ip 00000000004166e5 sp 00007f777eff2d60 error 6 in mprime[400000+2190000] Last fiddled with by nordi on 2020-12-22 at 14:03 |
![]() |
![]() |
![]() |
#270 | |
Jul 2003
wear a mask
1,553 Posts |
![]() Quote:
I feel less confident about this point. See the attached file, bad_read_result.txt. I ran a short P-1 attempt on M21150827 and then something went wrong when I later tried a longer P-1 attempt. I checked to see if the error was reproducible; running the two P-1 attempts back-to-back in a clean directory with the new executable worked fine the second time. Maybe it was a fluke on my local system or maybe others will report a similar occurrence. I will re-run some of the longer attempts above with version 30.3, collect some timing comparisons and report back later. |
|
![]() |
![]() |
![]() |
#271 | ||
"James Heinrich"
May 2004
ex-Northern Ontario
3,271 Posts |
![]()
Running some P-1 in the 17M range. v30.3 was using 7-8GB RAM (out of 40GB available) and 960 relative primes.
v30.4: Quote:
Comparative result output for adjacent assignments: Quote:
|
||
![]() |
![]() |
![]() |
#272 | ||
Jun 2003
486110 Posts |
![]() Quote:
How do the runtimes and probabilities compare? Higher B2 (owing to faster stage 2) & no B-S are the key features. EDIT: Quote:
Last fiddled with by axn on 2020-12-24 at 05:25 |
||
![]() |
![]() |
![]() |
#273 | |
P90 years forever!
Aug 2002
Yeehaw, FL
2×32×409 Posts |
![]() Quote:
Pfactor= in worktodo.txt will NOT calculate optimal bounds as far as this project is concerned. Pfactor is optimizing bounds to maximize the number of LL/PRP tests saved per unit of P-1 time invested. Pminus1= lines in worktodo.txt optimizes the B2 bound to maximize the chance of finding a factor per unit of P-1 time invested (user is responsible for picking the B1 bound). I know -- it is all very confusing. Last fiddled with by Prime95 on 2020-12-24 at 05:32 |
|
![]() |
![]() |
![]() |
#274 |
Jun 2003
4,861 Posts |
![]() |
![]() |
![]() |
![]() |
#275 | |
"James Heinrich"
May 2004
ex-Northern Ontario
3,271 Posts |
![]() Quote:
BTW, at George's request, my Worst P-1 page now includes your choice of Pfactor or Pminus1 worktodo formats. Note that I make no claim that Prime95 will select the same bounds from both variants, just that either are a reasonably-suitable starting point for P-1 redo work. |
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Thinking of Joining GPU to 72 | jschwar313 | GPU to 72 | 3 | 2016-01-31 00:50 |
Thinking about lasieve5 | Batalov | Factoring | 6 | 2011-12-27 22:40 |
Thinking about buying a panda | jasong | jasong | 1 | 2008-11-11 09:43 |
Loud thinking on irregular primes | devarajkandadai | Math | 4 | 2007-07-25 03:01 |
Question on unfactored numbers... | WraithX | GMP-ECM | 1 | 2006-03-19 22:16 |