Sniper configuration
Jump to navigation
Jump to search
Sniper is configured using command-line parameters and/or configuration files. The default configuration is stored in sniper/config/base.cfg. The run-sniper script accepts the -c configfile and -g configsetting commandline parameters to modify this. Configuration files or parameters are evaluated from left to right on the commandline, newer values override older ones.
-c configfile: includes the configfile configuration file. If no-coption is used,gainestownis automatically assumed which models a Nehalem-like system.configfilecan be either an existing filename in the current path (e.g.-c ./myconf.cfg), or it can be the name of a predefined config file insniper/configwithout its.cfgextension (e.g.-c gainestownto includesniper/config/gainestown.cfg)-g --section/parameter=value: set a single parameter value (e.g.--perf_model/core/frequency=2.66).
At the start of each simulation, a file sim.cfg is written which contains the complete configuration details used in this run.