From 9db7444126e58714bb985ac1307091039ab24448 Mon Sep 17 00:00:00 2001 From: Laurent MAZET Date: Wed, 15 Oct 2025 18:11:31 +0200 Subject: [PATCH] adapt load to sched_other --- sync.sh | 2 +- test.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sync.sh b/sync.sh index 2681447..d05068d 100755 --- 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 6b6c267..a0c800b 100755 --- 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 -- 2.30.2