20040915, 02:29  #1 
Sep 2004
13·41 Posts 
What can I change when doing p1 one and it won't reset?
I have been doing p1 on a fermat number, my workline is Pminus1=262144,64000000,0,1,0
I was wondering if as long as I get the same number, I could lower and raise the 64M? And the stage 2 number as well? (Which seems to be set at the limit of 4.29B) Thx 
20040915, 03:56  #2  
Mar 2003
New Zealand
13·89 Posts 
Quote:
However once the curve has finished, the save file with the stage one residue will remain, and you can then add a new Pminus1 line to your worktodo.ini with a higher B1 limit, and Prime95 will then resume stage 1 from the old save file. You can lower the B2 limit by specifying it in the third field of the Pminus1 line, but 4.29 billion is as high as it can go for the current version of Prime95. It is possible to use gmpecm to do the stage 2 step (from the Prime95 stage 1 residue) to a much higher B2 limit, but for numbers of this size it would have to be done by breaking the stage 2 step into separate ranges unless you have a huge amount of memory. If you want to continue the stage 2 step with gmpecm then I can help you convert the save file into a suitable format, but if you are using a P4 then Prime95 is so fast on the stage 1 step that it would probably be worthwhile continuing well beyond B1=64 million before starting stage 2. I was considering doing some P1 on a large fermat number myself, and so I would be interested to hear what machine you are using and what iteration times you get for stage one. Whatever you do, keep your save file, there will be someone interested in continuing from it eventually. 

20040915, 04:06  #3 
Sep 2004
13×41 Posts 
I am interested in continueing stage 2 with gmpecm, can it do p1 as well? I have an Athlonxp 2600+ w/ 512 MB of DDR, of which 384 is available for P95. I was planning on extending it to 128 Million after the GCD finished. I was unable to download the lowm.txt, is that ok? How do i find the iteration timings? It is 52.05% done right now with stage 1. Ah, I think i might know. 500000 iterations are set to be done every time it updates the screen. The times are 416 to 502 seconds.

20040915, 04:41  #4  
Mar 2003
New Zealand
2205_{8} Posts 
Quote:
Quote:
Unless you intend to continue the stage 2 step beyond 4.29 billion it is probably better to use Prime95 than gmpecm. I think gmpecm would need a few GB to test a number of this size efficiently. My only experience is with a P4 though, and gmpecm probably runs quite a bit faster on an Athlon. Thanks for the timings, I will time the number on my machine for comparison and post later. 

20040915, 08:28  #5 
"Nancy"
Aug 2002
Alexandria
2,467 Posts 
The upcoming release of gmpecm is much faster for Fermat numbers in stage 2 than the previous version. However, it still wants lots of memory to work efficiently. For a number as large as F_18, even poly degree dF=1024 uses 512MB memory. With dF=1024, gmpecm will probably be slower than Prime95, surely on the P4, likely on the Athlon. If you have >1GB, you can use dF=2048 and gmpecm could be a little faster than Prime95. If we manage to fit Prime95's DWT into gmpecm yet, gmpecm+DWT should be quite a bit faster. In any case, RAM is your friend: doubling available memory approximately doubles speed.
To extract P1 residues from Prime95 save files, geoff posted the pm1dump program in this thread. Alex 
20040915, 09:41  #6  
Mar 2003
New Zealand
2205_{8} Posts 
Quote:
From Alex's comment about the new gmpecm, perhaps your best strategy would be to do stage 1 to B1=128 million then stage 2 to 4.29 billion with Prime95. At that point you can decide whether to continue stage 2 from 4.29 billion to a higher limit with gpmecm, or perhaps go back and extend stage one. 

20040915, 22:47  #7 
Sep 2004
533_{10} Posts 
If I extend stage 1 past 128 million, wouldnt i lose all my stage 2 work i have done? If it only takes a month to do stage 1 to the limit, i think i will do that.
No one has every gone past 32 million for stage 1 right? (and reported it, which they prob would) It appears that when I am not using the comp the times is between 416 and 420 seconds, which is slightly quicker than I had thought. (cuase i was using it) Also it only seems to be using 2 megs of ram. Is this normal with stage 1? I think it is stage two that takes loads of ram. p.s. it is almost %85 to 64 million. Last fiddled with by Joshua2 on 20040915 at 22:53 
20040916, 04:02  #8 
Sep 2004
13×41 Posts 
Another question, is bigger always better? If a factor would be found with 96 million, would it be found with 128?
Is there multiples ways to do a number like ecm? Or is there only one for each number? I mean if two people go to 96 million the results will be the same right? Is there a need to keep the stage 1 at some round number? Could it be 74 million or whatever? Or does it have to like 64,96, or 128? 
20040916, 09:22  #9 
"Nancy"
Aug 2002
Alexandria
9A3_{16} Posts 
1. Yes. Any factor that is found with B1,B2 is also found with any bounds that are both at least as large.
2. No, yes, yes. There is a theoretical possibility to find a factor with one starting value that is not found by another, but for larger factors it is exceedingly small and thus Prime95 doesn't let you pick a starting value, it always uses 3. 3. No. The bound values can be any integers, but for stage 1 it is internally rounded down to a prime or prime power, for stage 2 rounded up to a multiple of some internal parameter (usually 30, 210 or 2310). But this is a technicality of little meaning to the user, just pick the B1,B2 values you like. Alex 
20040916, 14:07  #10  
Mar 2003
New Zealand
485_{16} Posts 
Quote:


20040916, 15:12  #11  
Nov 2003
2^{2}×5×373 Posts 
Quote:
See: http://www.mersenne.org/ecmf.htm Unlike ECM, running P1 a second time (to the same limits) gains you nothing. BTW, I will express an *opinion* here.... I will be (happily) astonished if all this P1 work on the "medium" sized Fermat numbers ever turns up a factor. [just on rough probabilistic grounds]. The same comment applies to ECM. 

Thread Tools  
Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Account reset is a little wonky  jasong  Lounge  0  20161210 05:32 
Reset the milestone counter: New SoB & PSP was found !!  Aillas  Prime Sierpinski Project  4  20161108 04:24 
[26.5] some Prime95 settings reset on their own  ixfd64  Software  2  20120718 14:41 
New build Reset problems  netrattler  Hardware  14  20060429 17:37 
How long has your system been running without a reset?  Gary Edstrom  Lounge  14  20030628 15:00 