From e0ce096b91271992ad7535f47fbf38fd141f56e6 Mon Sep 17 00:00:00 2001 From: Yong Cong Sin Date: Fri, 8 Nov 2024 13:04:16 +0800 Subject: [PATCH] tests: benchmarks/sched: limit CPU to 1 for Intel ADSP ACE Due to addition of busy threads running on other cores, and the simulator runs in single thread bouncing through all cores, we are wasting quite a bit of time just busy waiting. This makes each simulator run too long for CI. So limit CPU number to 1. Signed-off-by: Daniel Leung Signed-off-by: Yong Cong Sin --- .../benchmarks/sched/boards/intel_adsp_ace15_mtpm_sim.conf | 6 ++++++ tests/benchmarks/sched/boards/intel_adsp_ace20_lnl_sim.conf | 6 ++++++ tests/benchmarks/sched/boards/intel_adsp_ace30_ptl_sim.conf | 6 ++++++ 3 files changed, 18 insertions(+) create mode 100644 tests/benchmarks/sched/boards/intel_adsp_ace15_mtpm_sim.conf create mode 100644 tests/benchmarks/sched/boards/intel_adsp_ace20_lnl_sim.conf create mode 100644 tests/benchmarks/sched/boards/intel_adsp_ace30_ptl_sim.conf diff --git a/tests/benchmarks/sched/boards/intel_adsp_ace15_mtpm_sim.conf b/tests/benchmarks/sched/boards/intel_adsp_ace15_mtpm_sim.conf new file mode 100644 index 00000000000..bad81b9ffbf --- /dev/null +++ b/tests/benchmarks/sched/boards/intel_adsp_ace15_mtpm_sim.conf @@ -0,0 +1,6 @@ +# Due to addition of busy threads running on other cores, +# and the simulator runs in single thread bouncing through +# all cores, we are wasting quite a bit of time just busy +# waiting. This makes each simulator run too long for CI. +# So limit CPU number to 1. +CONFIG_MP_MAX_NUM_CPUS=1 diff --git a/tests/benchmarks/sched/boards/intel_adsp_ace20_lnl_sim.conf b/tests/benchmarks/sched/boards/intel_adsp_ace20_lnl_sim.conf new file mode 100644 index 00000000000..bad81b9ffbf --- /dev/null +++ b/tests/benchmarks/sched/boards/intel_adsp_ace20_lnl_sim.conf @@ -0,0 +1,6 @@ +# Due to addition of busy threads running on other cores, +# and the simulator runs in single thread bouncing through +# all cores, we are wasting quite a bit of time just busy +# waiting. This makes each simulator run too long for CI. +# So limit CPU number to 1. +CONFIG_MP_MAX_NUM_CPUS=1 diff --git a/tests/benchmarks/sched/boards/intel_adsp_ace30_ptl_sim.conf b/tests/benchmarks/sched/boards/intel_adsp_ace30_ptl_sim.conf new file mode 100644 index 00000000000..bad81b9ffbf --- /dev/null +++ b/tests/benchmarks/sched/boards/intel_adsp_ace30_ptl_sim.conf @@ -0,0 +1,6 @@ +# Due to addition of busy threads running on other cores, +# and the simulator runs in single thread bouncing through +# all cores, we are wasting quite a bit of time just busy +# waiting. This makes each simulator run too long for CI. +# So limit CPU number to 1. +CONFIG_MP_MAX_NUM_CPUS=1