On 08/17/16 22:13, Mike Holmes wrote:
A recent bug showed the limitations of using powers of two, add a prime
number of threads as a new test case.
Signed-off-by: Mike Holmes <[email protected]>
---
test/common_plat/performance/odp_scheduling_run.sh | 1 +
test/linux-generic/performance/odp_scheduling_run_proc.sh | 1 +
2 files changed, 2 insertions(+)
diff --git a/test/common_plat/performance/odp_scheduling_run.sh
b/test/common_plat/performance/odp_scheduling_run.sh
index 755b0c1..29c1929 100755
--- a/test/common_plat/performance/odp_scheduling_run.sh
+++ b/test/common_plat/performance/odp_scheduling_run.sh
@@ -20,6 +20,7 @@ run()
}
run 1
+run 7
run 8
it will use cpu number threads if cpu number is lower that that value.
Setting 7 you need at least 7 cpus (or even 7 + 2 (if I remember 2
threads there not doing processing.)).
So I think it has to be 3 processing threads. (value 3 or 5 check what
log says.).
Maxim.
exit $ret
diff --git a/test/linux-generic/performance/odp_scheduling_run_proc.sh
b/test/linux-generic/performance/odp_scheduling_run_proc.sh
index b3ef26f..3f578f7 100755
--- a/test/linux-generic/performance/odp_scheduling_run_proc.sh
+++ b/test/linux-generic/performance/odp_scheduling_run_proc.sh
@@ -21,6 +21,7 @@ run()
}
run 1
+run 7
run 8
exit $ret