Usage
sim [--duration X] [--delta X] [--dirs d1 ...]
runs the simulator with the given duration and time step.

When run with --dirs, chdirs 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.

Output files

The simulator creates two output files:

sim_log.txt: This is the message log (same as would be generated by the client). Its contents are controlled by cc_config.xml. sim_out.html: When viewed in a web browser, a 'time line' showing what's running when.

Input files

The input consists of four files.

sim_projects.xml

This describes a set of attached projects. ".html_text(" P1 100 1000 1e9 1e9 1e5 100000000 ... .7 1000 ... ")." 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.

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.

sim_host.xml

This describes the host hardware and availability. ".html_text(" x x x .7 1000 .7 1000 ")." 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.

sim_prefs.xml

Same format as the global_prefs.xml file.

cc_config.xml

Same format as the client's cc_config.xml file. "; page_tail(); ?>