PreferencesXml

From BOINC
Jump to: navigation, search

Specifying computing preferences in XML

In addition to the various GUIs, you can set computing preferences by creating and editing an XML document.

To do so, create a file global_prefs_override.xml in your BOINC data directory, with the following structure. All elements are optional; if you omit them, the BOINC defaults will be used.

<global_preferences>
  <run_on_batteries>0</run_on_batteries>
  <run_if_user_active>1</run_if_user_active>
  <run_gpu_if_user_active>0</run_gpu_if_user_active>
  <suspend_cpu_usage>25.000000</suspend_cpu_usage>
  <start_hour>0.000000</start_hour>
  <end_hour>0.000000</end_hour>
  <net_start_hour>0.000000</net_start_hour>
  <net_end_hour>0.000000</net_end_hour>
  <leave_apps_in_memory>0</leave_apps_in_memory>
  <confirm_before_connecting>0</confirm_before_connecting>
  <hangup_if_dialed>0</hangup_if_dialed>
  <dont_verify_images>0</dont_verify_images>
  <work_buf_min_days>0.100000</work_buf_min_days>
  <work_buf_additional_days>0.000000</work_buf_additional_days>
  <max_ncpus_pct>100.000000</max_ncpus_pct>
  <cpu_scheduling_period_minutes>60.000000</cpu_scheduling_period_minutes>
  <disk_interval>60.000000</disk_interval>
  <disk_max_used_gb>100.000000</disk_max_used_gb>
  <disk_max_used_pct>100.000000</disk_max_used_pct>
  <disk_min_free_gb>0.100000</disk_min_free_gb>
  <vm_max_used_pct>75.000000</vm_max_used_pct>
  <ram_max_used_busy_pct>90.000000</ram_max_used_busy_pct>
  <ram_max_used_idle_pct>90.000000</ram_max_used_idle_pct>
  <max_bytes_sec_up>0.000000</max_bytes_sec_up>
  <max_bytes_sec_down>0.000000</max_bytes_sec_down>
  <cpu_usage_limit>100.000000</cpu_usage_limit>
  <daily_xfer_limit_mb>0.000000</daily_xfer_limit_mb>
  <daily_xfer_period_days>0</daily_xfer_period_days>
  <day_prefs> ]
     <day_of_week>0</day_of_week>
     <start_hour>0.00</start_hour>
     <end_hour>24.00</end_hour>
     <net_start_hour>0.00</net_start_hour>
     <net_end_hour>6.00</net_end_hour>
  </day_prefs> ]
  <day_prefs> ]
     <day_of_week>6</day_of_week>
     <start_hour>0.00</start_hour>
     <end_hour>24.00</end_hour>
  </day_prefs>
</global_preferences>