eFMer - BoincTasks and TThrottle forum

BoincTasks For Window, Mac & Linux => Wish List => Topic started by: JStateson on April 25, 2019, 01:28:45 AM

Title: test for out of work
Post by: JStateson on April 25, 2019, 01:28:45 AM
Would like to know when there are no work units left along with a parameter such as time elapsed since queue was empty.  Currently there is a problem being discussed at milkyway (https://milkyway.cs.rpi.edu/milkyway/forum_thread.php?id=4424) where fast computers complete too soon and ask too often so they get banned and end up not getting any work until a manual update is issued.  Maybe the problem can be fixed at their end, no telling when though.

I would use the rule to issue a manual update and the rule would then be disabled and only re-enabled if more work actually arrived.

some projects go offline for maintenance but  I have %shares set to allow other projects to start.  The problem is fast systems getting "banned" and then needing an update to get more work.

Obviously this is a problem on the project server, but you might consider adding a rule to cover this.

[EDIT] Looks like there is a fix on the server side as discussed HERE (https://milkyway.cs.rpi.edu/milkyway/forum_thread.php?id=4424).  Not the same fix as the topic suggests as one fix requires another as is usual.
Title: Re: test for out of work
Post by: fred on April 28, 2019, 01:33:39 AM
Quote from: BeemerBiker on April 25, 2019, 01:28:45 AM
Would like to know when there are no work units left along with a parameter such as time elapsed since queue was empty.  Currently there is a problem being discussed at
There is an old function in config.xml
   <refresh>
      <auto>   4000   </auto>
   </refresh>
From what I remember it does a refresh in the set interval like 4000 I think those are seconds.
Title: Re: test for out of work
Post by: JStateson on May 03, 2019, 03:48:01 PM
Found a way to test for out of work - it was in BT already, just was unaware of it
Discussion is here
https://boinc.berkeley.edu/forum_user_posts.php?userid=3749 (https://boinc.berkeley.edu/forum_user_posts.php?userid=3749)

Unfortunately, BT cannot do an update as that is not one of the options.  However, it can run a batch file which can then do an update.
I put together a tool to do an update across the internet from the batch file.
https://github.com/BeemerBiker/MilkywayRPCupdate/tree/master/RPCupdate (https://github.com/BeemerBiker/MilkywayRPCupdate/tree/master/RPCupdate)