Prefs presets

A proposal for simplifying the prefs interface by providing a few "presets" - named preference sets - as the default interface.

Note: another design doc proposes more sweeping changes. This doc doesn't propose changing the preferences, just the interface.

Initially this would be in the web interface. Eventually the Manager should provide the same interface.

Proposed presets

Max computing

Allow computing on all CPUs and GPUs, all the time. Fan noise and power usage not issues.


Be inaudible and invisible (in particular, don't cause fans to go on high speed). Given that, compute as much as possible.

To implement this properly we need detection of fan speeds (system, CPU, GPU).

Need to not run VMs while busy (or maybe keep 1 core free), until VBox fixes priority issue.


Compute as energy-efficiently as possible.

To implement this properly we need to look at Peter Hannape's work and figure out how to put the CPU into the mode that maximizes FLOPS/watt.

Don't compute while idle; let the computer go into low-power mode or turn off

Proposed values

Max Standard Green
use at most X% of CPUs 100 85 60
use at most X% of CPU time 100 100 100
suspend when on battery yes yes yes
suspend when computer in use no no no
suspend GPU when computer in use no yes yes
in use means no input in X min 3 3 3
suspend when no input in X min --- --- 10
suspend when non-BOINC CPU above --- 50 50
store at least X days of work .1 .1 .1
store an extra X days of work .5 .5 .5
switch tasks every X min 60 60 60
request checkpoint every X sec 180 180 180
use no more than XGB disk --- --- ---
leave at least XGB free 1 1 1
use no more than X% total disk 90 90 90
when in use, use < X% RAM 70 50 50
when not in use, use < X% RAM 90 90 90
leave non-GPU tasks in mem yes no no
use at most X% swap file 75 75 75
download rate limit kb/sec --- --- ---
upload rate limit kb/sec --- --- ---


If a user selects a preset, we should store the preset name (max, standard, green) in user.global_prefs, rather than the prefs themselves. Example:

<venue name="home">

The scheduler can send the corresponding prefs in its reply. This will let us change/extend the meanings of the presets.

Initial implementation: for simplicity, support only presets. Enable this by PREFS_PRESETS in

PHP code only needs to know about preset names.

C++ code

Last modified 4 weeks ago Last modified on 09/27/17 23:42:56