From ba4e084cc3c4411b8acede7c837743c73d942f32 Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Mon, 29 Jul 2019 15:55:39 -0400 Subject: [PATCH] Tune kernel parameter for babeltrace benchmarking idle=poll prevent the kick in of sleep state. This is not that important for babeltrace since it is mostly userpsace, single threaded and cpu bound. cpufreq.off=1 ensures that we do not play with the frequency of the cpu. numa_balancing=disable makes sure weird numa interaction happens. Signed-off-by: Jonathan Rajotte --- .../babeltrace-benchmark/template_lava_job_bt_benchmark.jinja2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/babeltrace-benchmark/template_lava_job_bt_benchmark.jinja2 b/scripts/babeltrace-benchmark/template_lava_job_bt_benchmark.jinja2 index 4b7d724..e1f88f7 100644 --- a/scripts/babeltrace-benchmark/template_lava_job_bt_benchmark.jinja2 +++ b/scripts/babeltrace-benchmark/template_lava_job_bt_benchmark.jinja2 @@ -13,7 +13,7 @@ timeouts: priority: medium visibility: public context: - extra_kernel_args: cpuidle.off=1 + extra_kernel_args: "cpuidle.off=1 idle=poll cpufreq.off=1 numa_balancing=disable" extra_nfsroot_args: ",nfsvers=3 nfsrootdebug" tags: -- 2.34.1