• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2    /* Devlib modules to enable/disbale for all the experiments */
3    "modules"         : [ "cpufreq" ],
4    "exclude_modules" : [ ],
5
6    /* Binary tools required by the experiments */
7    "tools"    : ["rt-app"],
8
9    /* FTrace events required by the experiments */
10    /* NOTE: "ftrace" has to be specified in the "conf" flags to */
11    /* enable tracing of ftrace events while workloads are executed */
12    "ftrace"    : {
13        "events" : [
14            // "cpu_idle",
15            // "cpu_capacity",
16            // "cpu_frequency",
17            // "sched_tune_config",
18            // "sched_boost_cpu",
19            // "sched_boost_task",
20            // "sched_wakeup",
21            // "sched_wakeup_new",
22            // "sched_load_avg_cpu",
23            // "sched_load_avg_task",
24            // "sched_energy_diff",
25            // "sched_contrib_scale_f",
26            "sched_switch"
27        ],
28        "buffsize" : 10240
29    },
30
31    /* Set of platform configuraitons to test */
32    /* The kernel/dtb specified files will be copied in the corresponding */
33    /* TFTP path defined by the target.config file in the root folder */
34    "confs" : [
35        {
36            "tag"               : "noeas",
37            "kernel"            : "/opt/git/kernel.org/arch/arm64/boot/Image",
38            "dtb"               : "/opt/git/kernel.org/arch/arm64/boot/dts/arm/juno.dtb",
39            "sched_features"    : "NO_ENERGY_AWARE",
40            "flags"             : "", /* "ftrace" to enable tracing */
41            "cpufreq" : {
42                "governor"    : "ondemand",
43                "params"      : {
44                    "sampling_rate" : 20000
45                }
46            }
47        },
48        {
49            "tag"               : "eas",
50            "kernel"            : "/opt/git/kernel.org/arch/arm64/boot/Image",
51            "dtb"               : "/opt/git/kernel.org/arch/arm64/boot/dts/arm/juno.dtb",
52            "sched_features"    : "ENERGY_AWARE",
53            "flags"             : "",  /* "ftrace" to enable tracing */
54            "cpufreq" : {
55                "governor"  : "ondemand",
56                "params"    : {
57                    "sampling_rate" : 20000
58                }
59            }
60        }
61    ],
62
63    /* Set of workloads to run on each platform configuration */
64    "wloads" : {
65        "06_pct" : {
66            "type": "rt-app",
67            "conf" : {
68                "class"  : "periodic",
69                "params" : {
70                    "duty_cycle_pct" :  6,
71                    "duration_s"     : 30,
72                    "period_ms"      :  2
73                },
74		"tasks"   : "cpus",
75                "prefix"  : "task"
76           }
77        },
78        "13_pct" : {
79            "type": "rt-app",
80            "conf" : {
81                "class"  : "periodic",
82                "params" : {
83                    "duty_cycle_pct" : 13,
84                    "duration_s"     : 30,
85                    "period_ms"      :  2
86                },
87		"tasks"   : "cpus",
88                "prefix"  : "task"
89            }
90        },
91        "19_pct" : {
92            "type": "rt-app",
93            "conf" : {
94                "class"  : "periodic",
95                "params" : {
96                    "duty_cycle_pct" : 19,
97                    "duration_s"     : 30,
98                    "period_ms"      :  2
99                },
100		"tasks"   : "cpus",
101                "prefix"  : "task"
102            }
103        },
104        "25_pct" : {
105            "type": "rt-app",
106            "conf" : {
107                "class"  : "periodic",
108                "params" : {
109                    "duty_cycle_pct" : 25,
110                    "duration_s"     : 30,
111                    "period_ms"      :  2
112                },
113		"tasks"   : "cpus",
114                "prefix"  : "task"
115            }
116        },
117        "31_pct" : {
118            "type": "rt-app",
119            "conf" : {
120                "class"  : "periodic",
121                "params" : {
122                    "duty_cycle_pct" : 31,
123                    "duration_s"     : 30,
124                    "period_ms"      :  2
125                },
126		"tasks"   : "cpus",
127                "prefix"  : "task"
128            }
129        },
130        "38_pct" : {
131            "type": "rt-app",
132            "conf" : {
133                "class"  : "periodic",
134                "params" : {
135                    "duty_cycle_pct" : 38,
136                    "duration_s"     : 30,
137                    "period_ms"      :  2
138                },
139		"tasks"   : "cpus",
140                "prefix"  : "task"
141            }
142        },
143        "44_pct" : {
144            "type": "rt-app",
145            "conf" : {
146                "class"  : "periodic",
147                "params" : {
148                    "duty_cycle_pct" : 44,
149                    "duration_s"     : 30,
150                    "period_ms"      :  2
151                },
152		"tasks"   : "cpus",
153                "prefix"  : "task"
154            }
155        },
156        "50_pct" : {
157            "type": "rt-app",
158            "conf" : {
159                "class"  : "periodic",
160                "params" : {
161                    "duty_cycle_pct" : 50,
162                    "duration_s"     : 30,
163                    "period_ms"      :  2
164                },
165		"tasks"   : "cpus",
166                "prefix"  : "task"
167            }
168        }
169    },
170
171    /* Number of iterations for each workload */
172    "iterations" : 4,
173
174    /* This must be the last entry */
175    "__last__" : ""
176}
177