Changes between Version 11 and Version 12 of ClientSim
- Timestamp:
- Apr 27, 2010, 1:30:26 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ClientSim
v11 v12 1 1 = BOINC client simulator = 2 2 3 The BOINC client simulator simulates a single BOINC client interacting with one or more projects. The simulator models the CPU scheduling and work-fetch policies of the BOINC client very closely - in fact it uses the same source code as the core client for these policies. The simulator implements several different scheduling policies: the ones currently in use, the ones used in the old (version 4) client, and several experimental policies that are under development. 3 The BOINC client simulator simulates a single BOINC client interacting with one or more projects. 4 The simulator models the CPU scheduling and work-fetch policies of the BOINC client very closely; 5 in fact it uses the same source code as the core client for these policies. 6 The simulator implements several different scheduling policies: the ones currently in use, 7 the ones used in the old (version 4) client, 8 and several experimental policies that are under development. 4 9 5 10 The intended uses of the simulator include: … … 36 41 <stdev>1e5</stdev> 37 42 </fpops> 38 <working_set>100000000</working_set> 43 <working_set>1e8</working_set> 44 [<avg_ncpus>x</avg_ncpus>] 45 [<natis>x</natis] 46 [<ncudas>x</ncudas>] 47 [<gpu_ram>x</gpu_ram>] 48 [<flops_est>x</flops_est>] 39 49 </app> 40 ... 50 ... other apps 41 51 <available> 42 52 <frac>.7</frac> … … 45 55 [<max_infeasible_count>N</max_infeasible_count>] 46 56 </project> 47 ... 57 ... other projects 48 58 </projects> 49 59 }}} 50 60 51 A project has one or more applications. Each application has a given latency bound and working-set size. The number of FP ops is a truncated normal distribution with the given mean and standard deviation. 61 A project has one or more applications. 62 Each application has a given latency bound and working-set size. 63 The number of FP ops is a truncated normal distribution with the given mean and standard deviation. 52 64 53 The availability of the projects (i.e. the periods when scheduler RPCs succeed) is modeled with two parameters: the duration of available periods are exponentially distributed with the given mean, and the unavailable periods are exponentially distributed achieving the given available fraction. 65 The availability of the projects (i.e. the periods when scheduler RPCs succeed) is modeled with two parameters: 66 the duration of available periods are exponentially distributed with the given mean, 67 and the unavailable periods are exponentially distributed achieving the given available fraction. 54 68 55 69 max_infeasible_count specifies how many jobs that are infeasible (due to deadline/workload) … … 65 79 <m_nbytes>x</m_nbytes> 66 80 <p_ncpus>x</p_ncpus> 81 [ <coproc> 82 <type>cuda</type> 83 <count>n</count> 84 <available_ram>x</available_ram> 85 </coproc> ] 67 86 <available> 68 87 <frac>.7</frac> … … 76 95 }}} 77 96 78 The available periods (i.e., when BOINC is running) and the idle periods (i.e. when there is no user input) are modeled as above. 97 The available periods (i.e., when BOINC is running) and the idle periods 98 (i.e. when there is no user input) are modeled as above. 79 99 80 100 === sim_prefs.xml === #input_sim_prefs … … 105 125 Use formula for DCF based on completion time mean/stdev. 106 126 --dirs d1 ...:: 107 chdir into each of the given directories, and runs a simulation based on the input files there. Prints summaries of each one separately, and a total summary. 127 chdir into each of the given directories, and runs a simulation based on the input files there. 128 Prints summaries of each one separately, and a total summary. 108 129 109 130 == Output files == #output … … 111 132 The simulator creates two output files: 112 133 113 '''sim_log.txt''': This is the message log (same as would be generated by the client). Its contents are controlled by [#input_cc_config cc_config.xml]. 134 '''sim_log.txt''': This is the message log (same as would be generated by the client). 135 Its contents are controlled by [#input_cc_config cc_config.xml]. 114 136 115 137 '''sim_out.html''': When viewed in a web browser, a 'time line' showing what's running when.