Index  | Recent Threads  | Unanswered Threads  | Who's Active  | Guidelines  | Search
 

Quick Go »
No member browsing this thread
Thread Status: Active
Total posts in this thread: 5
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 1744 times and has 4 replies Next Thread
R.West
Cruncher
Joined: Jan 17, 2018
Post Count: 11
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Computing per day-of-week

Hello,

I run a small cluster of devices that I configure via the 'Device Profiles' page in 'Settings' on worldcommunitygrid.org. Now I'd like to make a configuration that I can't seem to find either within the 'Device Profiles' page or in the BOINC client itself.

I like to set the max CPU load on a different value, depending on the time-of-day and day-of-week.

Weekdays
06:00 - 22:00: 55% CPU load
22:00 - 06:00: 90% CPU load

Weekend
00:00 - 00:00: 90% CPU load


I hope someone can shed some light on the best way to enter these values in the BOINC settings.

Thank you.
[May 22, 2018 6:52:33 AM]   Link   Report threatening or abusive post: please login first  Go to top 
BladeD
Ace Cruncher
USA
Joined: Nov 17, 2004
Post Count: 28976
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Computing per day-of-week

In BOINC manager, under Tools, computing preferences, processor tab
----------------------------------------
[May 22, 2018 8:51:46 AM]   Link   Report threatening or abusive post: please login first  Go to top 
R.West
Cruncher
Joined: Jan 17, 2018
Post Count: 11
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Computing per day-of-week

I don't seem to have that option. 'Computing Preferences' sits under 'Options' in my client, and I only have these tabs:

- Computing
- Network
- Disk and memory
- Daily schedules

I run BOINC Manager 7.6.31 on Linux Mint, which seems to be the latest version in the repository.
[May 22, 2018 9:15:28 AM]   Link   Report threatening or abusive post: please login first  Go to top 
sunk818
Advanced Cruncher
Joined: May 10, 2018
Post Count: 66
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Computing per day-of-week

I see Daily Schedule too for when you want to crunch but you can not set a percentage of the CPU load based on time...

Workaround suggestion: Get two copies of the global_prefs.xml (/var/lib/boinc-client.xml). One for 50% and one for 90% cpu load. Update the XML files based on cronjobs you set. Restart boinc-client so new XML file is loaded and used.
[May 22, 2018 5:41:19 PM]   Link   Report threatening or abusive post: please login first  Go to top 
TonyEllis
Senior Cruncher
Australia
Joined: Jul 9, 2008
Post Count: 290
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Computing per day-of-week

You could just replace in place using sed - just a snippet of code below from my cron job that changes the allowable CPU utilization (according to CPU temp) to give you the idea...

... snipped
boinc_file="$BOINCHOME/global_prefs_override.xml"
... snipped
if [ $current_boinc_util -ge $util_upper_limit ]; then
echo "We need to reduce cpu utilization - currently above max_upper_limit..."
new_boinc_util=$(( $current_boinc_util - $change_value ))".000000"
sed -i "s/$current_boinc_util_full/$new_boinc_util/g" $boinc_file # --silent
... snipped

----------------------------------------
[May 22, 2018 10:47:41 PM]   Link   Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Post new Thread