mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > PrimeNet

Reply
 
Thread Tools
Old 2021-09-17, 22:04   #2333
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

19·311 Posts
Default

Quote:
Originally Posted by Uncwilly View Post
Sure, but that is the same work type. Only a Factor Found should cancel a PRP or LL assignment.
The common ground is processing a P-1 no-factor result, causes a valid assignment held by the submitter to get marked expired when it should not. In the one subcase the P-1 assignment should be considered completed not expired; in the other the primality test should persist as a valid and pending assignment.
kriesel is offline   Reply With Quote
Old 2021-09-20, 20:52   #2334
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

19×311 Posts
Default

A detailed example is at https://mersenneforum.org/showpost.p...6&postcount=89 from a February occurrence I just discovered today, of P-1 no factor found reporting causing the PRP assignment to disappear.
If not addressed, this may create trouble more frequently, after prime95 or mprime begin to support the same low cost stage 1 P-1 by using PRP generated powers of 3. Or Mlucas.

Last fiddled with by kriesel on 2021-09-20 at 20:55
kriesel is offline   Reply With Quote
Old 2021-09-20, 21:02   #2335
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

19·311 Posts
Default

Moebius reports a case where two PRPs, two proof generations, two certs were done on same day same exponent different users.
kriesel is offline   Reply With Quote
Old 2021-09-20, 21:22   #2336
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

19·311 Posts
Default

Quote:
Originally Posted by kriesel View Post
A detailed example is at https://mersenneforum.org/showpost.p...6&postcount=89 from a February occurrence
That one is relating to manual assignment and reporting re gpuowl V7.2-21. I think it likely the issue is more widespread.
Gpuowl v6.11-380 and others split an assignment
PRP=<AID>,blah,blah,2
into
PFactor=<AID>...
and
PRP=<AID>...
Same AID, different work, different results, that will get reported at different times/dates by the same user or the primenet.py script.
kriesel is offline   Reply With Quote
Old 2021-09-20, 21:38   #2337
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

10,039 Posts
Default

Quote:
Originally Posted by kriesel View Post
Same AID, different work, different results, that will get reported at different times/dates by the same user or the primenet.py script.
Non-conformant to the API specs.
chalsall is offline   Reply With Quote
Old 2021-09-20, 21:50   #2338
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

23·32·72 Posts
Default

Quote:
Originally Posted by chalsall View Post
Non-conformant to the API specs.
I'm not sure that it is -- Prime95 does the same thing. Picking a random example 106223153, the work was assigned as PRP, a NF-PM1 was reported but the PRP assignment is still active.
James Heinrich is offline   Reply With Quote
Old 2021-09-20, 21:59   #2339
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

1003910 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
I'm not sure that it is -- Prime95 does the same thing. Picking a random example 106223153, the work was assigned as PRP, a NF-PM1 was reported but the PRP assignment is still active.
OK... I was thinking about splitting the AID into different work types to run in parallel, and then not having IPC between the workers to ensure the first to report doesn't set the DONE flag.

Prime95 / mprime will always do the P-1'ing work first in the case you've described. And, clearly, it understands the API.
chalsall is offline   Reply With Quote
Old 2021-09-20, 23:50   #2340
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

19×311 Posts
Default

Quote:
Originally Posted by kriesel View Post
into
PFactor=<AID>...,2
and
PRP=<AID>...,0
Same AID, different work, different results, that will get reported at different times/dates by the same user or the primenet.py script.
And those go sequentially at the end of the same worktodo.txt for a single Gpuowl instance, so get done sequentially. Given that manually assigned 106M wavefront PRP take ~27 hours now on my power-reduced Radeon VIIs, and default periodic reporting is daily, the P-1 result will report ~1 day before the PRP it precedes, or occasionally ~2 days (when the P-1 just makes it before a daily reporting time, and the next day the PRP just misses).
kriesel is offline   Reply With Quote
Old 2021-09-20, 23:59   #2341
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

10,039 Posts
Default

Quote:
Originally Posted by kriesel View Post
And those go sequentially at the end of the same worktodo.txt for a single Gpuowl instance, so get done sequentially.
OK. We're just trying to figure out what isn't working in the various workflows. As has been reported here.

Are the "humans getting into the loop when they shouldn't" the problem? Manually submitting results, for example.

Few appreciate just how tricky software is. Putting humans into the equation just adds a few extra dimensions of uncertainty (read: "fun").
chalsall is offline   Reply With Quote
Old 2021-09-21, 00:06   #2342
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

19·311 Posts
Default

Attempted a couple manually assigned test wavefront PRPs which both needed P-1 first.
V6.11-380 gpuowl manually. With lots of notes and screen captures along the way.

On the first one, I did some progress updating using CURL which sort of converts an assignment from manual.
Used curl to report 99% s2 progress.
Then manually reported the completed P-1 NF ~5 minutes later.
A check of the exponent status showed a P-1 result report in the history, and a 99% complete S2, a contradiction.
Then used curl to report its brief PRP progress to correct the status.

Second one, no curl progress reporting ever, completed and reported the P-1 NF for the PRP assignment.
The PRP assignment remained.
Assignment status shows it as PRP, no stage, no %. It would seem reasonable to assume it at stage PRP 0% after getting P-1 NF. And reasonable to take the stance the server should assume nothing.

So, was unable to reproduce the PRP-assignment-disappearance, but found something new, a contradictory status creation method I guess. Server seems not prepared for a mix of manual and primenet activity on the same assignment. Not surprising really. I would probably not have gone looking for that kind of trouble either, while coding or debugging server scripts.

And maybe that fail to reproduce the issue is because George already attempted a fix. (Dueling threads, for more fun!)
Attached Thumbnails
Click image for larger version

Name:	M106303147assigned PRPassignmentsviewS2progress99.png
Views:	29
Size:	22.8 KB
ID:	25716   Click image for larger version

Name:	M106303147assigned PRPmanualP-1NFreportresponse.png
Views:	32
Size:	133.5 KB
ID:	25717   Click image for larger version

Name:	M106303147assigned PRPstatusviewS2NFand99pct.png
Views:	30
Size:	173.5 KB
ID:	25718   Click image for larger version

Name:	m106304603P-1NFmanualreportresponse.png
Views:	30
Size:	143.6 KB
ID:	25719   Click image for larger version

Name:	M106testexpsafterPm1reported.png
Views:	30
Size:	18.0 KB
ID:	25720  


Last fiddled with by kriesel on 2021-09-21 at 00:16
kriesel is offline   Reply With Quote
Old 2021-09-21, 01:39   #2343
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

10,039 Posts
Default

Quote:
Originally Posted by kriesel View Post
(Dueling threads, for more fun!)
Please forgive me for this. But some call it Agile Development...
chalsall is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Official "Faits erronés dans de belles-lettres" thread ewmayer Lounge 39 2015-05-19 01:08
Official "all-Greek-to-me Fiction Literature and Cinema" Thread ewmayer Science & Technology 41 2014-04-16 11:54
Official "Lasciate ogne speranza" whinge-thread cheesehead Soap Box 56 2013-06-29 01:42
Official "Ernst is a deceiving bully and George is a meanie" thread cheesehead Soap Box 61 2013-06-11 04:30
Official "String copy Statement Considered Harmful" thread Dubslow Programming 19 2012-05-31 17:49

All times are UTC. The time now is 08:41.


Sun Nov 28 08:41:25 UTC 2021 up 128 days, 3:10, 0 users, load averages: 1.07, 0.96, 0.94

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.