mersenneforum.org  

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

Closed Thread
 
Thread Tools
Old 2012-12-28, 19:33   #133
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

23×101 Posts
Default 2.3.x feature... discussion

In version 2.3.x the focus is on preventing IO with GIMPS during peak times. I have defined peak time (in my code) as 5 mins before the hour to 10 mins after the hour.

During this restricted window anything done via button clicks will get a dialog error indicating cannot perform task during peak time.

For automation it is more complicated.
Schedule exports/uploads can no longer be scheduled during that time frame. Existing schedule will be challenged during startup and you'd have to reschedule.

Time interval based exports/uploads will auto delay to past the restricted window if the event occurs within the restricted window.. this will cause the timer to drift past the window and future uploads won't fall in the window at all.

GIOM retries (if GIMPS is down) will also auto delay to past the restricted window if the event occurs within the restricted window. So if you have a schedule upload at 3:30 and it fails due to some primenet problem it retries every 30 mins. this puts the next retry right at peak time (4:00). In this case GIOM will delay that retry to after peak time.

In all automation scenarios the delay past peak time is randomized between 0 and 5 minutes. This delay is to prevent the thousands of MISFIT instances from uploading results at the same time after the peak window has passed.

So is everyone OK with this?

screenshot shows interval based upload occuring at peak time and then being delayed.
Attached Thumbnails
Click image for larger version

Name:	delayed.PNG
Views:	98
Size:	56.8 KB
ID:	9065  

Last fiddled with by swl551 on 2012-12-28 at 19:43
swl551 is offline  
Old 2012-12-29, 06:25   #134
flashjh
 
flashjh's Avatar
 
"Jerry"
Nov 2011
Vancouver, WA

100011000112 Posts
Default

Quote:
Originally Posted by swl551 View Post
So is everyone OK with this?
Works for me.

Last fiddled with by flashjh on 2012-12-29 at 06:26
flashjh is offline  
Old 2012-12-29, 15:28   #135
axn
 
axn's Avatar
 
Jun 2003

507610 Posts
Default

Quote:
Originally Posted by swl551 View Post
I have defined peak time (in my code) as 5 mins before the hour to 10 mins after the hour.
How does the program determine this? Does it use local time, server time or perhaps a standard timezone like UTC? I ask this because not all time zones are an integral multiple away from UTC.
axn is online now  
Old 2012-12-29, 15:57   #136
kracker
 
kracker's Avatar
 
"Mr. Meeseeks"
Jan 2012
California, USA

23×271 Posts
Default

Quote:
Originally Posted by axn View Post
How does the program determine this? Does it use local time, server time or perhaps a standard timezone like UTC? I ask this because not all time zones are an integral multiple away from UTC.
I think UTC, but I am not sure.
kracker is offline  
Old 2012-12-29, 16:10   #137
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

23×101 Posts
Default

Quote:
Originally Posted by axn View Post
How does the program determine this? Does it use local time, server time or perhaps a standard timezone like UTC? I ask this because not all time zones are an integral multiple away from UTC.

Good point! I was just using PC's local time, but now will convert it to UTC.

Last fiddled with by swl551 on 2012-12-29 at 16:11
swl551 is offline  
Old 2012-12-29, 17:35   #138
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

23·101 Posts
Default 2.3.0 beta-1 is out there.

Changed peak time definition to

2 mins before to 10 mins after the hour (UTC).

Last fiddled with by swl551 on 2012-12-29 at 17:54
swl551 is offline  
Old 2013-01-03, 02:41   #139
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

32816 Posts
Default Auto-Assigning work from MISFITworkToDo

Suggestion from flashjh... Screenshot highlights the concept. Open for comments.
Attached Thumbnails
Click image for larger version

Name:	AssigningWork.PNG
Views:	103
Size:	36.5 KB
ID:	9085  

Last fiddled with by swl551 on 2013-01-03 at 02:52
swl551 is offline  
Old 2013-01-03, 02:44   #140
flashjh
 
flashjh's Avatar
 
"Jerry"
Nov 2011
Vancouver, WA

1,123 Posts
Default

Quote:
Originally Posted by swl551 View Post
Suggestion from flashjh... Screenshot highlights the concept. Open for comments.
Looks good, but I don't know about the 'assing-out' during event ;)
flashjh is offline  
Old 2013-01-03, 02:45   #141
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

23·101 Posts
Default

Quote:
Originally Posted by flashjh View Post
Looks good, but I don't know about the 'assing-out' during event ;)
Time for new glasses!
swl551 is offline  
Old 2013-01-03, 02:48   #142
flashjh
 
flashjh's Avatar
 
"Jerry"
Nov 2011
Vancouver, WA

1,123 Posts
Default

Quote:
Originally Posted by swl551 View Post
Time for new glasses!
I see you had deleted the picture when I posted that, if I had waited just a few minutes, I wouldn't have ever seen it

Last fiddled with by flashjh on 2013-01-03 at 02:49
flashjh is offline  
Old 2013-01-03, 03:18   #143
kracker
 
kracker's Avatar
 
"Mr. Meeseeks"
Jan 2012
California, USA

23·271 Posts
Default

Goddamnit. I wanted to see that!
kracker 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:31.


Tue Jul 27 08:31:32 UTC 2021 up 4 days, 3 hrs, 0 users, load averages: 1.65, 1.79, 1.77

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.