CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
examplePerfClientServerCfg.py
Go to the documentation of this file.
1 # This config file is used to define a set of perfsuite jobs
2 # These may be run on a single machine or multiple machines depending on the inputs to cmsPerfClient.py
3 # The set of jobs is defined as a variable called listperfsuitekeywords
4 #
5 # listperfsuitekeywords items must all be dictionaries. Each dictionary can only use the following valid keywords:
6 # "castordir" (Path String), "TimeSizeEvents" (int), "IgProfEvents" (int), "ValgrindEvents" (int),
7 # "cmsScimark" (int), "cmsScimarkLarge" (int), "cmsdriverOptions" (string), "stepOptions" (string), "quicktest" (boolen),
8 # "profilers" (string of ints), "cpus" list of (int)s, "cores" (int), "prevrel" (path string), "isAllCandles" (boolean),
9 # "candles" list of (string)s, "bypasshlt" (boolean), "runonspare" (boolean)
10 #
11 # Consult cmsPerfSuite.py --help for an explanation of these options
12 #
13 # For example a default perfsuite run followed by a default run with only 50 TimeSize events would be
14 #
15 # listperfsuitekeywords = [{}, # An empty dictionary means run the default values
16 # {"TimeSizeEvents" : 50}]
17 #
18 #
19 # A set of commands that:
20 # 1) Runs a default perfsuite run
21 # 2) Runs perfsuite with 25 TimeSize Events, on cores 1 & 2, for only MinBias candle and for the GEN-SIM step only
22 # 3) Runs perfsuite with 10 TimeSize Events, without running Scimark on the spare cores and passing fake conditions to cmsDriver.py
23 # can be defined as:
24 
25 global listperfsuitekeywords
26 listperfsuitekeywords = [{ }, # empty dictionary = default run
27  {"TimeSizeEvents": 25, "IgProfEvents" :0, "ValgrindEvents":0, "cores": [1,2], "candles": ["MinBias"] },
28  {"TimeSizeEvents": 10, "IgProfEvents" :0, "ValgrindEvents":0, "runonspare": False, "cmsdriverOptions": "--conditions=FakeConditions"}]