summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Alfonsi <laurent.alfonsi@linaro.org>2022-11-11 10:49:40 +0100
committerLaurent Alfonsi <laurent.alfonsi@linaro.org>2022-11-11 10:52:38 +0100
commite6f96807cc36f960c973b98d2f1187a6413f324d (patch)
tree1b5ef47287e3792beb32c3c560a2a28e62e17c1b
parentaebd01b81f8e0fe992770aa17a6f3bed99fa700a (diff)
tcwg_bmk-build.sh,tcwg-benchmark.sh: limit nb of parallel build/run jobs
Change-Id: Id17017a028e2f2e0a68ba2ac1cefd2ddec679485
-rwxr-xr-xtcwg-benchmark.sh9
-rwxr-xr-xtcwg_bmk-build.sh8
2 files changed, 15 insertions, 2 deletions
diff --git a/tcwg-benchmark.sh b/tcwg-benchmark.sh
index 0bab60d..6d36b3d 100755
--- a/tcwg-benchmark.sh
+++ b/tcwg-benchmark.sh
@@ -412,10 +412,17 @@ case "$bench_list" in
build|verify) input_size="test" ;;
benchmark) input_size="ref" ;;
esac
+
+ #spec_config follows run_profile
+ case "$run_profile" in
+ serial) config="serial" ;;
+ parallel|parallel_*) config="parallel" ;;
+ esac
+
remote_exec "$run_container_host:$run_container_port::-t -Snone" \
bmk-scripts/run.sh \
--bench "$bench_list" \
- --config "$run_profile" \
+ --config "$config" \
--cflags "$cflags" \
--ldflags "$ldflags" \
--ccprefix "$ccprefix" \
diff --git a/tcwg_bmk-build.sh b/tcwg_bmk-build.sh
index 6c7efd3..512e658 100755
--- a/tcwg_bmk-build.sh
+++ b/tcwg_bmk-build.sh
@@ -169,11 +169,17 @@ benchmark ()
run_profile="parallel"
bmk_mode="code_size"
;;
- *:*"VECT"*|*:*"SVE"*|*fx*:*)
+ *:*"VECT"*|*:*"SVE"*)
reboot=false
run_profile="parallel"
bmk_mode="code_speed"
;;
+ *fx*:*)
+ # parallel spec runs. No limit parallel build jobs. Limit run jobs to 4
+ reboot=false
+ run_profile="parallel_0x4"
+ bmk_mode="code_speed"
+ ;;
*)
reboot=true
run_profile="serial"