Files
oam/docker/boinc-client/data/global_prefs_override.xml
2023-06-03 20:17:15 +02:00

65 lines
2.0 KiB
XML

<!--
${BOINC_DATA_DIR}/global_prefs_override.xml
Configuration file for the BOINC core client that can be used to override global
preferences locally.
See http://boinc.berkeley.edu/trac/wiki/PrefsOverride,
https://boinc.berkeley.edu/trac/wiki/PrefsImpl and
https://boinc.berkeley.edu/wiki/Global_prefs_override.xml for a complete list
of all preferences which can be overridden.
-->
<global_preferences>
<!-- Use the BoincStats account manager. -->
<source_project>http://bam.boincstats.com/</source_project>
<!-- Run always. -->
<start_hour>0</start_hour>
<end_hour>0</end_hour>
<suspend_if_no_recent_input>0</suspend_if_no_recent_input>
<!-- Always be active on the network. -->
<net_start_hour>0</net_start_hour>
<net_end_hour>0</net_end_hour>
<!--
Suspend computation if the user is active.
Wait 3 minutes before starting again.
-->
<run_if_user_active>0</run_if_user_active>
<run_gpu_if_user_active>0</run_gpu_if_user_active>
<idle_time_to_run>3</idle_time_to_run>
<!--
Limit resource usage.
The stricter ones have precedence.
-->
<max_cpus>1024</max_cpus>
<max_ncpus_pct>100</max_ncpus_pct>
<cpu_usage_limit>100</cpu_usage_limit>
<suspend_cpu_usage>75</suspend_cpu_usage>
<ram_max_used_idle_pct>100</ram_max_used_idle_pct>
<ram_max_used_busy_pct>90</ram_max_used_busy_pct>
<vm_max_used_pct>100</vm_max_used_pct>
<disk_max_used_gb>1024</disk_max_used_gb>
<disk_max_used_pct>90</disk_max_used_pct>
<disk_min_free_gb>1</disk_min_free_gb>
<max_bytes_sec_down>0</max_bytes_sec_down>
<max_bytes_sec_up>0</max_bytes_sec_up>
<!--
Avoid buffering tasks.
This is an ephemeral system after all.
-->
<work_buf_min_days>0</work_buf_min_days>
<work_buf_additional_days>0</work_buf_additional_days>
<!--
Save data and reschedule every often.
I do not expect a container to run too long.
-->
<cpu_scheduling_period_minutes>10</cpu_scheduling_period_minutes>
<disk_interval>60</disk_interval>
</global_preferences>