adapt load to sched_other
authorLaurent MAZET <laurent.mazet@thalesgroup.com>
Wed, 15 Oct 2025 16:11:31 +0000 (18:11 +0200)
committerLaurent MAZET <laurent.mazet@thalesgroup.com>
Wed, 15 Oct 2025 16:11:31 +0000 (18:11 +0200)
sync.sh
test.sh

diff --git a/sync.sh b/sync.sh
index 2681447eb2de8df2b5e2d885a66617a69bf11255..d05068d3dcfda0d0f7c4fcfdf065b14cfc51192d 100755 (executable)
--- a/sync.sh
+++ b/sync.sh
@@ -7,7 +7,7 @@ HOST=mazet@192.168.1.1
 
 date $(ssh $HOST date +%m%d%H%M%Y)
 
-for f in cyclictest hackbench '*.awk' '*.exe' '*.sh'; do
+for f in '*.awk' '*.exe' '*.sh'; do
     scp $HOST:benchmarks/$f .
 done
 mv load.exe load
diff --git a/test.sh b/test.sh
index 6b6c2677be3b86d6d8ff7a095ca83e762608c55f..a0c800b229f800a825357a4a2b26d62630178e9e 100755 (executable)
--- a/test.sh
+++ b/test.sh
@@ -15,7 +15,7 @@ run() {
     echo "CPU load: $load% ($lcpu/$nbcpu)" | tee -a $name.log
     { ./$exe -d 1 -k $dcore -n 10000 -s -o $name.dat | tee -a $name.log; \
       kill -2 $(ps -e | awk '/[l]oad/ || /[s]leep/ { print $1 }') 2>/dev/null; } &
-    ./load -n $lcpu >/dev/null
+    ./load -r -1 -n $lcpu >/dev/null
     echo "Cleaning..."
     sleep 1
   done