mersenneforum.org  

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

Closed Thread
 
Thread Tools
Old 2013-01-19, 21:14   #188
flashjh
 
flashjh's Avatar
 
"Jerry"
Nov 2011
Vancouver, WA

1,123 Posts
Default

Looks like a great addition! The G72 option won't reduce also, correct? How will the G72 username/password work?
flashjh is offline  
Old 2013-01-19, 21:26   #189
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

23·101 Posts
Default

Quote:
Originally Posted by flashjh View Post
Looks like a great addition! The G72 option won't reduce also, correct? How will the G72 username/password work?
GPU72 pledge cannot be overridden like I allow with work fetched from GIMPS. In other words it specifically tells what GPU72 should assign to you so there is no reason to modify the assignments.

GPU72 credentials managed on the Security tab and the password is fully encrypted.
Attached Thumbnails
Click image for larger version

Name:	gpu72Creds.PNG
Views:	59
Size:	43.0 KB
ID:	9148  
swl551 is offline  
Old 2013-01-20, 01:28   #190
kracker
 
kracker's Avatar
 
"Mr. Meeseeks"
Jan 2012
California, USA

23·271 Posts
Default

Looking great!
kracker is offline  
Old 2013-01-21, 19:03   #191
flashjh
 
flashjh's Avatar
 
"Jerry"
Nov 2011
Vancouver, WA

1,123 Posts
Default

Along with the code you're adding for G72 fetching, can you work in some error handling changes? Since everything is automated now, I hardly check on the systems anymore and twice now I've had the workers run out of work because an error window was displayed. I did get an email about it, but I wasn't able to fix the problem for quite a long time. I know it probably would not be too big an issue if I got a lot of assignments at once, but I'm trying to get less now that fetching is automatic.

So, I was wondering, can you MISFIT try to clear non-critical errors on its own (maybe after 15 minutes or so). Like file-lock issues, you could run a file lock cleanup or network path not found, it could clear the error and try again in a while. If you need more info, let me know.
flashjh is offline  
Old 2013-01-21, 19:30   #192
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

230238 Posts
Default

Quote:
Originally Posted by flashjh View Post
So, I was wondering, can you MISFIT try to clear non-critical errors on its own (maybe after 15 minutes or so). Like file-lock issues, you could run a file lock cleanup or network path not found, it could clear the error and try again in a while. If you need more info, let me know.
Somewhat related...

A relatively new participant (no names -- we've communicated privately) had configured MISFIT to try to get work only below 60.5M from GPU72 every ten minutes, not realizing that there are only 33 left which we don't already own -- and only one or two become available every week and they're usually only available at about 0100 UTC.

Would it be possible for MISFIT to be a bit smarter when it needs work, but the parameters the user has set don't return any assignments? Offering the user two options ("Desired", "Fallback"), and/or simply falling back to the defaults ("What Makes Sense", "0", "100000000"), would be logical.

Secondly, could you please set a UserAgent string in the POST request? Then I could do what Primenet does for automatic Prime95/mprime fetch requests, and provide substitutions myself.

(Just to be clear... Writing spiders is hard work. Thanks for your work so far. )

Edit: Human languages can be so subtle and ambiguous... To be explicit the issue I raise immediately above is not directly related to flashjh's observations and request next immediately above....

Last fiddled with by chalsall on 2013-01-21 at 20:26
chalsall is offline  
Old 2013-01-21, 20:48   #193
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

14508 Posts
Default

I can do the following very easily
Quote:
Originally Posted by chalsall View Post
Somewhat related...

....Offering the user two options ("Desired", "Fallback"), and/or simply falling back to the defaults ("What Makes Sense", "0", "100000000"), would be logical.

Secondly, could you please set a UserAgent string in the POST request? Then I could do what Primenet does for automatic Prime95/mprime fetch requests, and provide substitutions myself.
It should be noted that the existing version could be wrapped in a bat file that checks the errorlevel (result) and initiates another call pointing to a different config file thereby providing a secondary request. However the coding of primary/secondary configuration scenario is very simple so I'll knock that out.


What do you want the userAgent string to be: "MISFITWorkFetcher" ?

Last fiddled with by swl551 on 2013-01-21 at 20:49
swl551 is offline  
Old 2013-01-21, 20:59   #194
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

23×101 Posts
Default

Quote:
Originally Posted by flashjh View Post
Along with the code you're adding for G72 fetching, can you work in some error handling changes? Since everything is automated now, I hardly check on the systems anymore and twice now I've had the workers run out of work because an error window was displayed. I did get an email about it, but I wasn't able to fix the problem for quite a long time. I know it probably would not be too big an issue if I got a lot of assignments at once, but I'm trying to get less now that fetching is automatic.

So, I was wondering, can you MISFIT try to clear non-critical errors on its own (maybe after 15 minutes or so). Like file-lock issues, you could run a file lock cleanup or network path not found, it could clear the error and try again in a while. If you need more info, let me know.
You should be seeing the non-blocking MISFIT alert panel when automation detects an error condition instead of a modal dialog box.

However a file-lock cleanup can be automated just by looking at the age of the lock file. If > 10 mins..... delete.
swl551 is offline  
Old 2013-01-21, 21:03   #195
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

33×192 Posts
Default

Quote:
Originally Posted by swl551 View Post
What do you want the userAgent string to be: "MISFITWorkFetcher" ?
Sure, that would work. Something unique is all we need.
chalsall is offline  
Old 2013-01-21, 21:10   #196
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

33·192 Posts
Default

Quote:
Originally Posted by swl551 View Post
It should be noted that the existing version could be wrapped in a bat file that checks the errorlevel (result) and initiates another call pointing to a different config file thereby providing a secondary request.
Is not the whole point of WinBlows to isolate the user(s) from needing to know about scary things like scripts?
chalsall is offline  
Old 2013-01-21, 21:13   #197
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

14508 Posts
Default

Quote:
Originally Posted by chalsall View Post
Is not the whole point of WinBlows to isolate the user(s) from needing to know about scary things like scripts?
Yes it is. Hardly anyone knows how to do Windows command shell scripting anymore..... The old days are gone.

Last fiddled with by swl551 on 2013-01-21 at 21:28
swl551 is offline  
Old 2013-01-21, 21:46   #198
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

23×101 Posts
Default Fallback to What Makes Sense configuration example

Since I am adding Fetching directly into MISFIT here is how it will look.
Attached Thumbnails
Click image for larger version

Name:	fallback.PNG
Views:	58
Size:	31.6 KB
ID:	9155  

Last fiddled with by swl551 on 2013-01-21 at 21:46
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:28.


Tue Jul 27 08:28:33 UTC 2021 up 4 days, 2:57, 0 users, load averages: 1.85, 1.79, 1.76

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.