Automating NNT scheduling?

Message boards : Number crunching : Automating NNT scheduling?
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Tom M
Volunteer tester

Send message
Joined: 28 Nov 02
Posts: 5124
Credit: 276,046,078
RAC: 462
Message 1988694 - Posted: 4 Apr 2019, 10:15:38 UTC

I have looked at the boinc command line info here: https://boinc.berkeley.edu/wiki/Boinccmd_tool and it looks like it should be possible to toggle the No New Tasks/Resume on a project basis.

What I would like to see is a practical example of a shell script (that is presumably executed by a time daemon) that would toggle NNT based on the number of tasks currently available and/or the day of the week/time?

I would like to have is say World Community Grid "resume" about 8am local time and goto NNT about 8pm local time on Tuesday.
World Community Grid has settings on the Website that can limit the total# downloaded. But for projects that don't have that. being able to toggle NNT might automate the average "flood level"?

Tom
A proud member of the OFA (Old Farts Association).
ID: 1988694 · Report as offensive
W3Perl Project Donor
Volunteer tester

Send message
Joined: 29 Apr 99
Posts: 251
Credit: 3,696,783,867
RAC: 12,606
France
Message 1988706 - Posted: 4 Apr 2019, 12:50:59 UTC - in response to Message 1988694.  

You could add an entry in your crontab to launch the following command to suspend/resume boinc

boinccmd --host FQDN:BOINC_PORT --passwd BOINC_PASS_VALUE --project http://setiathome.berkeley.edu/ suspend
boinccmd --host FQDN:BOINC_PORT --passwd BOINC_PASS_VALUE --project BOINC_PROJECT_URL resume

If you want to know how much wu is running/waiting, you can use my cpu2gpu.pl perl script available at http://www.w3perl.com/seti/
cpu2gpu.pl -i will display cpu/gpu wu
cpu2gpu.pl -j will display wu status (Download stalled,Ready to start,Completed with error,Upload stalled,Completed,Cancelled)
ID: 1988706 · Report as offensive
Richard Haselgrove Project Donor
Volunteer tester

Send message
Joined: 4 Jul 99
Posts: 14650
Credit: 200,643,578
RAC: 874
United Kingdom
Message 1988711 - Posted: 4 Apr 2019, 13:28:53 UTC - in response to Message 1988706.  

You could add an entry in your crontab to launch the following command to suspend/resume boinc

boinccmd --host FQDN:BOINC_PORT --passwd BOINC_PASS_VALUE --project http://setiathome.berkeley.edu/ suspend
boinccmd --host FQDN:BOINC_PORT --passwd BOINC_PASS_VALUE --project BOINC_PROJECT_URL resume
I think the question as posed would require

boinccmd --host FQDN:BOINC_PORT --passwd BOINC_PASS_VALUE --project BOINC_PROJECT_URL nomorework
boinccmd --host FQDN:BOINC_PORT --passwd BOINC_PASS_VALUE --project BOINC_PROJECT_URL allowmorework
ID: 1988711 · Report as offensive

Message boards : Number crunching : Automating NNT scheduling?


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.