mersenneforum.org  

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

Closed Thread
 
Thread Tools
Old 2013-02-12, 19:16   #507
TObject
 
TObject's Avatar
 
Feb 2012

19516 Posts
Default

I got the following error after running MISFIT for 13 days non-stop:
2/10/2013 3:47:17 PM Error during ProcessAutoGIMPSFetch:Index was outside the bounds of the array.

Edit: MISFIT version number 2.4b12

Last fiddled with by TObject on 2013-02-12 at 19:20
TObject is offline  
Old 2013-02-12, 19:50   #508
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

23·101 Posts
Default

Quote:
Originally Posted by TObject View Post
I got the following error after running MISFIT for 13 days non-stop:
2/10/2013 3:47:17 PM Error during ProcessAutoGIMPSFetch:Index was outside the bounds of the array.

Edit: MISFIT version number 2.4b12
Look in WEB_LOGS for your GPU72 fetching HTML file. You will see it returned NO results.

You are on a BETA version and I believe I fixed that error so it says "No results were available, check log file"
swl551 is offline  
Old 2013-02-13, 00:31   #509
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

14508 Posts
Default Let GPU72 assign what is needed most

When the override is selected (see screenshot) MISFIT will disable all input boxes to signify they won't be honored, and will perform an OPTION [0] POST with a modified WebAgent string.

Normally MISFIT sends
web.UserAgent = "MISFIT-TF-FETCHER";

in override mode it will send

web.UserAgent = "MISFIT-TF-FETCHER-U-DECIDE";

This will allow GPU72 to identify MISFIT traffic in general, and when to actually make all the assignment decisions for the caller.

This implementation is a close as I can come to manipulating the system as if there was an OPTION[5].

Additionally this implementation of (xxxx-U-DECIDE) could be used by other utilities not in the MISFIT family and of course the stand-alone work fetcher could have this implementation as part of its configuration file.

No code has been written yet, so now is the time to hammer out the final implementation details.
Attached Thumbnails
Click image for larger version

Name:	WMSoverride.PNG
Views:	92
Size:	54.5 KB
ID:	9320  

Last fiddled with by swl551 on 2013-02-13 at 00:32
swl551 is offline  
Old 2013-02-13, 02:35   #510
flashjh
 
flashjh's Avatar
 
"Jerry"
Nov 2011
Vancouver, WA

1,123 Posts
Default

Like it.

In your screen shot you have it set to 1st time tests, but when the option is clicked it will default to WMS, right?

Last fiddled with by flashjh on 2013-02-13 at 02:39
flashjh is offline  
Old 2013-02-13, 03:24   #511
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

23×101 Posts
Default

Quote:
Originally Posted by flashjh View Post
Like it.

In your screen shot you have it set to 1st time tests, but when the option is clicked it will default to WMS, right?
"First time tests" and "Double Check Test" resolve to different URLs. The lower box "Preference" selection is what is overridden regardless of what URL is called. This means GPU72 has to put the web.UserAgent check on both pages for consistency. ( I think Chalsall stated both pages would have the web.UserAgent check)
swl551 is offline  
Old 2013-02-13, 12:56   #512
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

32816 Posts
Default

Quote:
Originally Posted by swl551 View Post
"First time tests" and "Double Check Test" resolve to different URLs. The lower box "Preference" selection is what is overridden regardless of what URL is called. This means GPU72 has to put the web.UserAgent check on both pages for consistency. ( I think Chalsall stated both pages would have the web.UserAgent check)
Example screenshot show WMS chosen where it would function exactly as it has in the past because. In this configuration MISFIT would not include the -UDECIDE suffix in the web.UserAgent string so GPU72 would honor the fetch parameters exactly as supplied.

In other words WMS is not the trigger for GPU72 to override. It is all based on the -UDECIDE suffix in the web.UserAgent string. Or the page just accept an OPTION[5] as the trigger for making all decisions.

I hope that clears up the desired implementation of the override.
Attached Thumbnails
Click image for larger version

Name:	NOoverride.PNG
Views:	73
Size:	44.7 KB
ID:	9323  

Last fiddled with by swl551 on 2013-02-13 at 13:02
swl551 is offline  
Old 2013-02-13, 14:35   #513
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

230238 Posts
Default

Quote:
Originally Posted by swl551 View Post
Example screenshot show WMS chosen where it would function exactly as it has in the past because. In this configuration MISFIT would not include the -UDECIDE suffix in the web.UserAgent string so GPU72 would honor the fetch parameters exactly as supplied.
This seems like a reasonable solution space.

So everyone knows, WMS is usually the same as Lowest Exponent. But sometimes it makes decisions based on the pledge level. For example, in DCTF right now if someone pledges to 71, the Low range is moved up to 33M. However, if any other Option is set the ranges are not modified.

I will wait for this to be released and deployed, and then I'll revert my WMS modification and implement the override based on the "UDECIDE" UA.

Actually, an extension to the idea... When the "Let GPU72 decide" option is enabled, leave the Pledge field "unghosted", but change it to be something like "Maximum Pledge". Then GPU72 will never assign work past this level, but has the option of lowering it.

My thinking is we may be able to go to 74 (at least, occasionally) in a month or so, but some may not want to do that work. So, for example, if someone is only wanting to go to a maximum of 73, that's what they'd get even if the system as a whole wants to go to 74.

Thanks Scott et al.
chalsall is offline  
Old 2013-02-13, 17:31   #514
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

261316 Posts
Default

Quote:
Originally Posted by flashjh View Post
Since the fetcher and the distribution are based on GHzDays of work now, can the WMS form take a field for how many GHzDays the requester wants instead of how many?
OK, this has now been implemented on the LLTF form (including the preview). Adding to the DCTF form shortly. Note that you are still constrained by the maximum number of assignments allowed per request (as given on the form; 100 for most people, 1,000 for a few).

Also please note that the number of assignments are rounded up -- as in if you only ask for, as an example, 10 GHzDays of WMS LLTF you'll be assigned one candidate worth ~27 GHz Days of work.

Scott, the field is named (predictably) "GHzDays".

Please let me know if anyone sees any regressions; AKA SPEs.
chalsall is offline  
Old 2013-02-13, 18:11   #515
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

23×101 Posts
Default

Quote:
Originally Posted by chalsall View Post
OK, this has now been implemented on the LLTF form (including the preview). Adding to the DCTF form shortly. Note that you are still constrained by the maximum number of assignments allowed per request (as given on the form; 100 for most people, 1,000 for a few).

Also please note that the number of assignments are rounded up -- as in if you only ask for, as an example, 10 GHzDays of WMS LLTF you'll be assigned one candidate worth ~27 GHz Days of work.

Scott, the field is named (predictably) "GHzDays".

Please let me know if anyone sees any regressions; AKA SPEs.
Just to confirm I would never send both "number" and "ghzDays" where each had a value > 0. Only one of them can be > 0 and that is the way the page will determine the total count of assignments to return. If both are > 0 the page might reply with something like {ambiguous count request} (however that is just to protect against bugs in my code).

swl551 is offline  
Old 2013-02-13, 18:18   #516
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

33×192 Posts
Default

Quote:
Originally Posted by swl551 View Post
Just to confirm I would never send both "number" and "ghzDays" where each had a value > 0. Only one of them can be > 0 and that is the way the page will determine the total count of assignments to return. If both are > 0 the page might reply with something like {ambiguous count request} (however that is just to protect against bugs in my code).
Nope... The way I've coded it is if GHzDays is >0, then it overrides Number.

And, this has now been implemented on DCTF as well.

Edit: And I believe (haven't tested) that the case for the form fields matter.

Last fiddled with by chalsall on 2013-02-13 at 18:22
chalsall is offline  
Old 2013-02-13, 18:21   #517
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

14508 Posts
Default

Quote:
Originally Posted by chalsall View Post
Nope... The way I've coded it is if GHzDays is >0, then it overrides Number.

And, this has now been implemented on DCTF as well.
Got it. Now I know how to unit test.

Thanks!
swl551 is offline  
Closed Thread



Similar Threads
Thread Thread Starter Forum Replies Last Post
questions about misfit jschwar313 MISFIT 1 2016-02-02 00:32
Help with Misfit TheMawn MISFIT 18 2015-06-21 22:00
Misfit feature request. Aramis Wyler MISFIT 15 2015-03-04 21:13
MISFIT 2.9 swl551 MISFIT 44 2014-12-15 12:46
MISFIT for MFAKTx swl551 MISFIT 186 2014-02-05 23:27

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


Tue Jul 27 08:30:12 UTC 2021 up 4 days, 2:59, 0 users, load averages: 2.07, 1.87, 1.80

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.