![]() |
|
|
#12 |
|
Jul 2003
wear a mask
2×829 Posts |
I've grown to like Kriesel's longer posts. Don't forget Ricky Gervais' guitar lessons philosophy. If you don't like it, just move along; it's not for you; that's ok.
|
|
|
|
|
|
#13 | ||
|
Romulan Interpreter
Jun 2011
Thailand
7·1,373 Posts |
Quote:
Quote:
The gods heard us, and our prayers were answered. |
||
|
|
|
|
|
#14 |
|
May 2021
101112 Posts |
Those are old bounds, calculated in the time when we needed 2 or more primarity tests. Nowadays, we only need to save 1.1 PRP tests (460 GHZDays) at 105M exponents. So take M105000001 for example, If it had been TFed to 2^77, then we take B1=344,401 and B2=8,610,025. (We can also try 40X for P95V305 or later, say B2=13,776,000)
If it had been TFed to 2^76, then we take B1=377,085 and B2=9,427,125. I recommend doing more TF work. Given SO much GPU computing power, it makes sense to TF 106M to 113M exponents to 2^77. (Currently TF wavefront is at 117M, most of the exponents will not be assigned in this year) If this method is applied, we can have higher B1 bounds. But we have to assign P-1 together with PRP. Last fiddled with by Zhangrc on 2021-07-02 at 13:04 |
|
|
|
|
|
#15 |
|
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
31×173 Posts |
Something else to consider is that for some GPU models already benchmarked extensively, because relative performance is dependent on exponent, and therefore FFT length, running standalone P-1 followed by standalone PRP/GEC/proof in V6.11-3xx is actually FASTER than running v7.2-x combined PRP/P-1. See the last 2 attachments of https://www.mersenneforum.org/showpo...35&postcount=2
I stand by my conclusion that the right bounds for production use are 2-tests-saved, not 1-test-saved, while there is still a mix of PRP-without-proof and PRP-with-proof (and some unfortunate roque PRP-assignment-conversion-to-LL) being performed, and the server's bounds requirements are what they are. We don't know or control which exponents will later get one or another primality test approach, at the earlier time of selecting P-1 bounds and processing them, so aim for adequate coverage for each exponent. There's what the adequate bounds "should be" on the server now, later after conversion to all PRP-with-proof has been completed, and there's what they currently ARE on the server. Discussion of what it should be is fine and useful to a point. And current work's bounds should be compatible with what the server accepts as adequate now. (See, my posts were actually TOO SHORT! And sometimes there's pushback from moderators that I'm posting too often. For the same total content, posting one long message versus several short posts helps comply with their preferences for low post count. There's also intentionally a bit of redundancy in the posts. Explanation, plus example, may help avoid someone's post asking for clarification, and a clarification reply post. And I don't own a guitar, don't want to borrow or rent one, or spend the time to learn guitar, so why are you trying to sell me GD Fing time consuming lessons?!!s Posts like #6 take about a lesson duration to write and proofread, and may become the basis of a reference post, which takes ~another lesson to do. Usage of and feedback on such posts hopefully helps us play GIMPS GPUs etc. better & more efficiently. I'd rather post on the large side and have a higher chance of any readily identifiable misconceptions identified, than not. Those who can't bear a 2-minute read have the options to skim or skip.) Last fiddled with by kriesel on 2021-07-02 at 14:38 |
|
|
|
|
|
#16 |
|
Jan 2021
California
11·13 Posts |
If the majority of wavefront is now PRP+proof, then I would argue that the average savings of a PM1 test should be set for a factor lower than 2 tests saved, but higher than one. If you can't know what type of PRP or (shudder) LL test will be run on the exponent in the future, you can at least make a weighted average guess, instead of doing significantly too much PM1 almost all of the time, a happy medium would be to do a little too much most of the time, and a little too little the rest of the time.
Setting it higher than one can also account for tests that get started and never complete and have to get re-assigned. Last fiddled with by slandrum on 2021-07-02 at 14:50 |
|
|
|
|
|
#17 |
|
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
123638 Posts |
Abandoned-PRPs is a consideration I had not included. Thanks for that.
And I note again, what matters is not our opinions of optimal bounds under various assumptions, but the penalty function imposed by the PrimeNet server's threshold for retiring the P-1 task. The cost of having to redo P-1 to sufficient bounds to retire the P-1 task (usually on a different system by a different user with no benefit from the prior P-1 compute time expended), vs. slight inefficiency of a little higher bounds cost & factor probability than optimal, is not symmetric at all. A little exploring of mersenne.ca indicates B1=650000,B2=24000000 is present in the GPU72 row up to p>105.3M, so manual GPU P-1ers editing in bounds need not check there very often. Mprime/prime95 do the bounds optimization automatically, and routinely produce yet higher optimized bounds. The back and forth about what's optimal P-1 strategy has been fun, albeit somewhat a rehash of what's already known and stated elsewhere. But such is not the purpose of this thread. The thread was created to encourage more participants to help with the P-1 wavefront work. A LITTLE guidance of what parameters to use supports that goal. Thanks for all the input, and let's get lots of wavefront P-1 done (to at least sufficient bounds, the first time). If someone would like to take on determining what the current mix is, at the first-primality test wavefront, of PRP without proof, PRP with proof, rogue LL first test, primality test abandonment, server bounds threshold, etc, and produce a credible P-1 cost vs bounds model and calculation for recommended random-wavefront-exponent P-1 #-tests-saved value, go for it. Last fiddled with by kriesel on 2021-07-02 at 15:41 |
|
|
|
|
|
#18 | |||
|
Jun 2003
5,051 Posts |
Quote:
Quote:
Quote:
Sure, we can skip your wordy thing, but next time you admonish someone for not reading your (wordy) reference material, STFU. |
|||
|
|
|
|
|
#19 | |
|
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
31×173 Posts |
Quote:
Simple averaging works when the function is linear. Otherwise some weighting factors are needed at least. Or if I'm wrong, show the math please. With consideration of the P-1 bounds threshold effect as below. I asked George about what it takes to retire the P-1 assignment, a while ago, on a public thread IIRC, and he replied IIRC confirming that inadequate bounds did not retire the P-1 task for the exponent, so another P-1 assignment may issue, or the exponent's eventual primality test assignment would issue with p-1_done = 0 at the end. That is, the PRP tester will be told to do P-1. And will almost certainly not have access to any save files from any previous P-1 attempts, so starts from scratch. As I understood it then, the number issued in all P-1 assignments was left at 2 tests saved, not 1, not 1.x. Primality tests may be told by assignment structure (Test vs. DoubleCheck, but not PRP vs. PRPDC with or without proof) an estimate whether one or two tests may be saved by finding a P-1 factor., ignoring small effect of test or check errors that might necessitate additional tests. (Used search in forum and PM, can't find it now. Did find an old PM from before proof/cert introduction, saying assume all LL and PRP tests will be double-checked.) I would welcome an update from George or some other reasonably authoritative source, on what the server currently considers adequate bounds. Also from anyone a credible first-test mix analysis (PRP-proof, PRP-no-proof, bad-proof, abandon losses, LL) Hmm, humor attempt rejected, with prejudice? Last fiddled with by kriesel on 2021-07-02 at 19:30 |
|
|
|
|
|
|
#20 |
|
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
31×173 Posts |
Excerpts from https://www.mersenneforum.org/showpo...8&postcount=22 (and content was vetted somewhat by PM Q&A with authors, feedback from users, my own testing, etc.):
p-1_done = 1 if done to adequate bounds, 0 if not done already to adequate bounds tests_saved = integer number of future primality tests saved if a factor is found, usually 2 for a first test candidate, 1 for a double-check candidate, 0 if a sufficient P-1 has already been completed, or optionally up to 9 for aggressive P-1 factoring For prime95/mprime: LL Test=[<AID>,|N/A,|<nul>]<exponent>,<how_far_factored>,<p-1_done> Doublecheck=[<AID>,|N/A,|<nul>]<exponent>,<how_far_factored>,<p-1_done> PRP (and PRP DC for manual assignments, or most versions) PRP=[<AID>,|N/A,|<nul>]<k>,<b>,<n>,<c>[,<how_far_factored>,<tests_saved>[,<prp_base>,<residue_type>[,"comma-separated-list-of-known-factors"]]] P-1 Pfactor=[<AID>,|N/A,|<nul>]<k>,<b>,<n>,<c>,<how_far_factored>,<tests_saved> In-the-wild examples: Server-manualpage-issued P-1 assignment example: PFactor=(AID),1,2,104281559,-1,76,2 PrimeNet-issued LLDC assignment example: DoubleCheck=(AID),57165769,74,1 Server-manualpage-issued PRP assignment example: PRP=(AID),1,2,730000031,-1,84,2 PrimeNet-issued PRP assignment example: PRP=(AID),1,2,104302727,-1,76,0,3,1 |
|
|
|
|
|
#21 |
|
May 2021
23 Posts |
I have the impression that GPUOWL uses B1=5,000,000 with no stage 2. That's way too HUGE. Using B1=500,000 with 40x stage 2 (with P95V305 optimizations) will make more sense.
|
|
|
|
|
|
#22 | |
|
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
31·173 Posts |
Quote:
Typical gpuowl v6.11-3xx default behavior on wavefront exponents is B1=1M, B2-30M. Perhaps gpuowl v7.x is optimized to select higher B1 since its stage 1 is so low cost. Anyone who dislikes what gpuowl selects is free to explicitly specify bounds for it to run; prepend B1=500000,B2=20000000; or whatever preferred bounds on the PFactor (v6.11) or PRP (V7.x) worktodo line. I currently do similarly B1=650000,B2=24000000; for production P-1, after having used the default 1M,30M extensively. What's your impression based on? Last fiddled with by kriesel on 2021-07-03 at 14:41 |
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| COVID vaccination wavefront | Batalov | Science & Technology | 227 | 2021-06-14 22:12 |
| Received P-1 assignment ahead of wavefront? | ixfd64 | PrimeNet | 1 | 2019-03-06 22:31 |
| Call for GPU Workers to help at the "LL Wavefront" | chalsall | GPU Computing | 24 | 2015-07-11 17:48 |
| P-1 & LL wavefront slowed down? | otutusaus | PrimeNet | 159 | 2013-12-17 09:13 |
| Production of Dates | heich1 | Information & Answers | 35 | 2011-12-02 01:12 |