20210531, 12:03  #1 
"David Kirkby"
Jan 2021
Althorne, Essex, UK
2^{3}·7^{2} Posts 
What's the best way to do P1 factoring, whilst doing a PRP test of the same exponent?
I manually requested an exponent to run a PRP test on, using a slow, FREE Amazon computer. I got assigned
https://www.mersenne.org/report_expo...8888137&full=1 A P1 factoring test should have been done on that, but with only 1 GB RAM on the free account, and a 1.5% chance of a factor being found, I thought it was pointless doing it. So I started the PRP test, and skipped the P1 factoring . As you can see, the PRP test is 0.1% complete, and is actually expected to take couple of hundred days. (If it gets to a category #1, then I will just move it to a faster computer and complete it there.) However, it makes sense to run a P1 test on it  the server gave me the assignment with the P1 test. But I would rather run that on a much faster machine with a few hundred GB or RAM. If a factor is found, I will just stop the PRP test on the free Amazon account, with very little wasted time. What's the best way to start that P1 test using mprime? Obviously I will not get a valid assignment ID if I request one. IMHO, it would be good if the server would issue a AID for a TF or P1 test to someone, if they already have a valid AID for a PRP test on an exponent. They might feel it should be trialfactored a bit more before actually starting the PRP test. Dave Last fiddled with by drkirkby on 20210531 at 12:04 
20210531, 12:34  #2 
"David Kirkby"
Jan 2021
Althorne, Essex, UK
2^{3}·7^{2} Posts 
Suggestion: Allow someone to get an AID for TF or P1 if they have an AID for PRP
Mod note: this post was moved into this related thread
If someone has an AID for a PRP test on an exponent, they may well feel it should be trialfactored a bit higher before starting the computationally expensive PRP test. If they have a fast GPU, they might want to do that. I think it would be good if that person could get an AID test for a TF on the exponent. I feel the same should apply to P1 factoring too. If one has a PRP test for an exponent that needs P1 factoring, someone should be permitted to do that P1 factoring on another computer if they want to. I currently have an AID for a PRP test on a machine with little RAM. It needs a P1 factoring first, but I would rather do that on a machine with a few hundred GB of RAM, where it should be more effective. Dave Last fiddled with by Uncwilly on 20210531 at 15:04 Reason: Explanation 
20210531, 13:09  #3 
"Viliam Furík"
Jul 2018
Martin, Slovakia
2^{2}·3·7^{2} Posts 
I have started a P1 with B1 = 1,000,000 and B2 = 30,000,000. That should be reasonable for the exponent. It should finish in about two hours.
EDIT: BTW, you don't need an AID to do the P1. You can just do it. " Pminus1=N/A,1,2,exponent,1,bound1,bound2,tflevel " should do the work. Last fiddled with by Viliam Furik on 20210531 at 13:30 
20210531, 14:02  #4 
"David Kirkby"
Jan 2021
Althorne, Essex, UK
610_{8} Posts 
Thank you Viliam Furík. Your two hours of P1 factoring might save me 200 days on the slow, but free, Amazon account. Knowing how to do it was the main thing.

20210531, 15:01  #5  
6809 > 6502
"""""""""""""""""""
Aug 2003
101×103 Posts
9784_{10} Posts 
Quote:
The idea behind the assignment scheming is: Trial Factoring, then P1 factoring, then First Time Primality Testing, then Verification (DC or running the proof file). In the past (15 years ago or more) some TF was done before handing out the assignment for primality testing. But, rarely was it all done before. So, the line in the worktodo tells m/Prime/95 what is left. But, with the advent of GPU's it made sense to do all of the TF work on those. So for years assignments handed out have had enough TF that m/Prime/95 is satisfied with the level. And for a while, we were doing the same with P1. But, Ben has been so productive, that P1 can't quite keep up. Any assignment for a first time check will include the data if there is any TF or P1 needed. So, there is no need for separate AID's on the same exponent. If you want to split that work up on your end, fine. But, since you have the AID, as long as the work is turned in by you (even if it is turned in on a different machine or without mentioning the AID) you will get credit for it. And until the primality test result is turned in (or it expires), the AID is still active. 

20210531, 15:58  #6  
"David Kirkby"
Jan 2021
Althorne, Essex, UK
2^{3}×7^{2} Posts 
Quote:
"Assignments are recycled if assignment is not started within 120 (unless manual testing) days or when the exponent moves midway into the first category and the assignment is more than 240 days old." So does that not mean I have 240 days? According to the output from mprime/website, it will actually complete in 79 days, although it was saying 200 days yesterday. I don't trust the time estimates  a few days back I got category 0 assignment unassigned when the server (mprime?) concluded it would not finish until 2022. It was absolute rubbish. I am not following you about the implications of P1 factoring and Ben. Does it mean his throughput is making P1 more or less necessary? I notice that most of the category 0 and category 1 exponents I get don't need P1. I get a few category 0 assignments, but not that many  most are category 1. When there are category 0 assignments available, what mechanism is used to determine who gets a category 0, and who gets a category 1? Dave 

20210531, 16:30  #7 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
2^{2}·3·449 Posts 
Ben's high primality test throughput makes more P1 factoring throughput necessary. Some of it by Ben.
Before Ben Delo joined, GIMPS P1 factoring was keeping ahead of primality testing. Ben about doubled the total firsttime primality testing rate, while P1 factoring rate hardly increased. So the usual P1 factoring ahead was no longer sufficient. I generally have a few cpu workers and a Radeon VII or more doing production firsttest wavefront P1 factoring continuously. Along with everyone else doing P1 factoring, it is still not enough to keep ahead of Ben et al primality testing. It takes more Radeon VIIs doing P1 factoring all day long (24/7) to temporarily supply Ben and others with enough readytoPRP exponents to keep up. At B1=650000, B2=24000000, a Radeon VII GPU can do a 104M P1 factoring in ~36 minutes by Gpuowl V6.11380, so ~40/day. Re doing other computation types while holding an AID, it's more general than while holding a primalitytest assignment, particularly with manual assignments without any expiration occurring. One could obtain a low bit level TF assignment, modify the upper level to go deeper, do P1 factoring and PRP sequentially or in parallel. TF and P1 in parallel is not much risk of lost time since the run times are lower than primality test, and the probability of finding a factor by one or by the other are lower than the probability by running both making a primality test in progress moot. If a factor is found in one, report the nofactor other result first; for example if factored in TF, report the P1 NF factor first, then the TF factor found, to dodge the "result not needed' that would result if the factor found is reported first. Any* outstanding assignment type prevents issuance of any* other suitable assignment type for the same exponent, so while holding a valid current AID for an exponent, all suitable computation types can be done. It's up to the user to generate the correct additional worktodo entries (conforming to formats documented in the reference info for months if not years), and coordinate the activities on his own kit. But nothing will protect it from someone poaching. * edit: I think make that those types appropriately involved in progressing current wavefront exponents in prime searching: TF, P1, PRP (or ugh LL, and ECM is probably not appropriate for current wavefront exponents; P+1 is known not to be effective use of resources for prime searching. Ok, not "any", a specifiable few.) Last fiddled with by kriesel on 20210531 at 17:19 
20210531, 16:40  #8 
Jan 2021
California
3·7^{2} Posts 
The expiration rules for assignments apply to the category that the assignment was in when it was assigned, not to the category that it's in now. In your own assignments page at https://www.mersenne.org/workload/ , you can see the category that each assignment was in when it was assigned to you.

20210531, 16:53  #9 
6809 > 6502
"""""""""""""""""""
Aug 2003
101×103 Posts
2^{3}×1,223 Posts 

20210531, 17:25  #10  
"David Kirkby"
Jan 2021
Althorne, Essex, UK
2^{3}×7^{2} Posts 
Quote:
https://www.mersenne.org/report_expo...8888137&full=1 was in category 3 when assigned. I will probably get some idea how long it is going to take when it has been running a while, as I don't trust the estimates on the website one bit. My computer "jackdaw" has been sending in an average of more than one wavefront PRP test each day for the last few months, but still the website thinks they are going to take several days. Last week I was really p****d off when it unassigned a category 0 PRP test it thought would take until next year. The estimates are way off, and don't seem to be improving, despite that machine is on almost 24/7. 

20210531, 19:14  #11 
Jan 2021
California
147_{10} Posts 
Did you get the cat 0 through the normal process (was it requested), or did you just attempt to grab it by assigning it to yourself? I'm really surprised if the server actually assigned it to you in the first place if if thought you couldn't complete it in a timely fashion.
I wouldn't worry about cat 0 assignments anyway, they will get assigned very shortly after becoming available, there's no need to try to rush in and grab them. How many workers do you have on the computer? Have you always had that many workers on it? If you've changed the number of cores assigned to each worker at some point, that could be confusing things. Last fiddled with by slandrum on 20210531 at 19:20 
Thread Tools  
Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
i am new. How to manually test an exponent from 2^76 and up  king  Information & Answers  6  20180208 14:28 
Exponent fully factored whilst only 74% known  mattmill30  Factoring  3  20160814 18:09 
What if you test an exponent on your own?  LiquidNitrogen  Information & Answers  2  20110703 22:57 
Is it possible to test an exponent > 79300000 ?  Ding_Cong  Software  4  20051104 17:39 
LL test of exponent in 4142M range  edorajh  Lone Mersenne Hunters  2  20040102 17:16 