mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
feat: added boinc global preferences override examples
This commit is contained in:
30
examples/boinc/global_prefs_override.container.xml
Normal file
30
examples/boinc/global_prefs_override.container.xml
Normal file
@@ -0,0 +1,30 @@
|
||||
<global_preferences>
|
||||
|
||||
<!-- Use the BoincStats account manager. -->
|
||||
<source_project>http://bam.boincstats.com/</source_project>
|
||||
|
||||
<!-- Run always. -->
|
||||
<run_if_user_active>1</run_if_user_active>
|
||||
<run_gpu_if_user_active>1</run_gpu_if_user_active>
|
||||
|
||||
<!-- Always be active on the network. -->
|
||||
<net_start_hour>0</net_start_hour>
|
||||
<net_end_hour>0</net_end_hour>
|
||||
|
||||
<!-- Do not use swap. -->
|
||||
<vm_max_used_pct>0.000000</vm_max_used_pct>
|
||||
|
||||
<!--
|
||||
Avoid buffering tasks.
|
||||
Containers are ephemeral, after all.
|
||||
-->
|
||||
<work_buf_min_days>0.000000</work_buf_min_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>
|
||||
23
examples/boinc/global_prefs_override.pi4.xml
Normal file
23
examples/boinc/global_prefs_override.pi4.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<global_preferences>
|
||||
|
||||
<!-- Use the BoincStats account manager. -->
|
||||
<source_project>http://bam.boincstats.com/</source_project>
|
||||
|
||||
<!-- Run always. -->
|
||||
<run_if_user_active>1</run_if_user_active>
|
||||
<run_gpu_if_user_active>1</run_gpu_if_user_active>
|
||||
|
||||
<!-- Keep 1 CPU free and some wiggle room for system use and management. -->
|
||||
<max_cpus>3</max_cpus>
|
||||
<suspend_cpu_usage>66.000000</suspend_cpu_usage>
|
||||
<disk_min_free_gb>2.000000</disk_min_free_gb>
|
||||
|
||||
<!-- Do not use swap. -->
|
||||
<vm_max_used_pct>0.000000</vm_max_used_pct>
|
||||
|
||||
<!-- Be easy on the SD card. -->
|
||||
<disk_interval>600.000000</disk_interval>
|
||||
<leave_apps_in_memory>1</leave_apps_in_memory>
|
||||
<work_buf_min_days>0.000000</work_buf_min_days>
|
||||
|
||||
</global_preferences>
|
||||
Reference in New Issue
Block a user