![]() |
|
|
#1 |
|
"GIMFS"
Sep 2002
Oeiras, Portugal
3×491 Posts |
Hi all,
I have recently started running some P-1 tests on small exponents, trying to dig out some more new factors (one found already!... ). I noticed that the savefiles, including the .bu ones, are left in the working directory when the test finishes. Disk space is not an issue, but still I found it funny that the files are not erased, like in the other work types. It´s a long time now since I ran P-1 on a regular basis, and I vaguely remember there was a reason for this to be done in this particular work type. Would someone care to enlighten me on this subject?Thx in advance. Last fiddled with by lycorn on 2018-02-18 at 23:31 |
|
|
|
|
|
#2 |
|
Sep 2003
5·11·47 Posts |
If you run a new P−1 test with a higher B1, it will use the old savefile to resume the calculation, instead of starting from scratch.
|
|
|
|
|
|
#3 |
|
"GIMFS"
Sep 2002
Oeiras, Portugal
147310 Posts |
Fine. That´s interesting. I´ll give it a try, for sure.
Thank you very much for your prompt answer. Last fiddled with by lycorn on 2018-02-19 at 09:34 |
|
|
|
|
|
#4 |
|
1976 Toyota Corona years forever!
"Wayne"
Nov 2006
Saskatchewan, Canada
2·5·7·67 Posts |
I tried this lately and observed the following:
From the PC with the save files I ran another P1 with both B1 and B2 larger. Stage 1 continued from the last B1 value running proportionately faster. Stage 2 seemed to rerun entirely based on its elapsed run time. Is this as designed? PS once a P1 completes you only need to keep the main backup file; the one without a .bu extension. Last fiddled with by petrw1 on 2018-02-19 at 14:59 |
|
|
|
|
|
#5 |
|
Jun 2003
508210 Posts |
|
|
|
|
|
|
#6 |
|
Einyen
Dec 2003
Denmark
61268 Posts |
With GMPECM I have run huge P-1 curves doing both B1 and B2 in stages. You only need to run stage1 incrementally, then when you reach some desired B1 for example 1e9, you can run any stage2 intervals you like on that stage1 file in any order, like 1e11-1e12 then 1e10-1e11 or whatever.
In Prime95 though I only think it allows you to run stage2 incrementally from the current B1 and up. Last fiddled with by ATH on 2018-02-19 at 16:44 |
|
|
|
|
|
#7 | |
|
"GIMFS"
Sep 2002
Oeiras, Portugal
3·491 Posts |
Quote:
Also, what range of exponents have you tried with GMPECM? I have done a lot of work with GMPECM, not P-1 testing, though, and it only pays for really small (< 30,000) exponents. I don´t know how it goes for P-1. |
|
|
|
|
|
|
#8 | |
|
Einyen
Dec 2003
Denmark
61268 Posts |
Quote:
Here is a random example: Code:
4437613266767947934612882360369779858184509124945083658308877174193087878506071380993 = 5416454354354334983409847 * 819283792763897632487263487263897276392763982763928379283719 and 5416454354354334983409846 = 2*3*71*3769*13180897*255937771847 If I run stage1 with only B1=10^7 and save to a file, then resume from that file doing B2=250e9 to 260e9 it does not find the factor. But when I do stage1 to B1=2*10^7 and save to a new file and resume that file doing stage2 B2=250e9 to 260e9 it finds the factor. (see output in attached file) So it finds the factor even if I skipped doing stage2 from B2=2*10^7 to 250e9, as long as you are lucky your stage2 interval contains the largest P-1 factor, it does not matter. This also applies to P+1 and ECM (though for ECM it is not a factor but the curve group order depending on the sigma for the curve). But each B1 value has it own separate B2-"space", so you have to take B1 as high as you want to go before starting to do stage2, or you have to do stage2 over again when you increase B1. I did not do P-1 on a lot of Mersenne numbers, I just did some big P-1 on special numbers like F12, M1277, different stages of HP49 and Euclid-Mullin EM52 and such. By big/huge P-1 I did not mean big/huge Mersenne numbers, but I meant B1~ 10^12 and B2 ~ 10^17 - 10^18. Last fiddled with by ATH on 2018-02-19 at 23:06 |
|
|
|
|
|
|
#9 |
|
"GIMFS"
Sep 2002
Oeiras, Portugal
3·491 Posts |
Thanks for the very useful explanation.
I´ll try to find the time to test several combinations of B1 / B2 and different exponent ranges. |
|
|
|
|
|
#10 |
|
1976 Toyota Corona years forever!
"Wayne"
Nov 2006
Saskatchewan, Canada
2×5×7×67 Posts |
So it seems a n efficient method to maximize factors and minimize work (ummm PC work...actually more manual labor) is to start with a relatively low B1 only...and increment it in steps to a desired maximum or until it finds a factor and only run B2 as a last step if necessary
|
|
|
|
|
|
#11 |
|
"Curtis"
Feb 2005
Riverside, CA
22·1,217 Posts |
Doesn't stage 1 spit out a factor when it's found, rather than at the end of the stage? I mean, you can just run a single large B1 rather than a bunch of iterations working up to the large B1 (if you're not going to do stage 2 at any intermediate B1, that is).
Doing a single run should spit out factors just as quickly as iterating B1 upward- at least, that's how GMP-ECM behaves. Perhaps P95 isn't the same? |
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Old Savefiles Not Getting Deleted | Unregistered | Software | 5 | 2004-02-18 04:43 |