Changes between Version 4 and Version 5 of Prefs2
- Timestamp:
- Sep 9, 2019, 12:08:01 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Prefs2
v4 v5 5 5 Various parameters control and limit 6 6 BOINC's use of computing, memory, storage, and network communication. 7 "Static parameters"don't vary over time;7 "Static" parameters don't vary over time; 8 8 for example storage-related parameters are static. 9 9 "Dynamic" parameters can change in response to factors external to BOINC 10 10 (such as time of day, non-BOINC CPU usage, etc.). 11 Dynamic parameters include limits on #CPUs, RAM usage, network throughput, etc.11 Dynamic parameters include limits on #CPUs, RAM usage, and network throughput. 12 12 13 13 This document describes a new system for "computing preferences" in BOINC. 14 This system lets users express, using a set of logical rules, 15 how dynamic parameters change in response 16 to external factors. 14 This system lets users express, as a set of logical rules, 15 how dynamic parameters vary as a function of external factors. 17 16 18 17 The goals of this system include: … … 22 21 (such as the current cost of electricity) without modifying the client. 23 22 24 The XML representation sof parameters:23 The XML representation of parameters: 25 24 {{{ 26 25 <static_params> … … 37 36 All elements are optional; 38 37 a parameter set can define some elements but not others. 39 If A and B are parameter sets, the "overlay " of A on Bis defined as38 If A and B are parameter sets, the "overlay of A on B" is defined as 40 39 A together with any elements in B that are not defined in A. 41 40 42 41 == Prefs dictionary == 43 42 44 The "prefs dictionary" is a name -> value map,45 containing values that can affect dynamic params.43 External factors are stored in a "prefs dictionary", 44 which is a name -> value map. 46 45 Examples: 47 46 … … 128 127 {{{ 129 128 <computing_prefs> 129 [ <static_params> ... </static_params> ] 130 130 <clause> ... </clause> 131 131 ...