From 7c77a98118c45847d48a7d2f8271482527839968 Mon Sep 17 00:00:00 2001 From: Alexander Boettcher Date: Fri, 14 Jul 2023 11:30:49 +0200 Subject: [PATCH] cpu_balancer: make test reliable by just test the migration feature, without relying on load measured on the CPUs. On Qemu (and depending on other load in the Linux system), the migration feature gets not triggered in time reliable. --- repos/os/run/cpu_balancer.run | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/repos/os/run/cpu_balancer.run b/repos/os/run/cpu_balancer.run index 5add4f1d65..b3e1abd7ba 100644 --- a/repos/os/run/cpu_balancer.run +++ b/repos/os/run/cpu_balancer.run @@ -86,8 +86,8 @@ install_config { +--> @@ -100,10 +100,10 @@ install_config { trace="} $use_trace {" verbose="no"> - + @@ -174,4 +174,4 @@ build_boot_image [build_artifacts] append qemu_args " -nographic" append qemu_args " -smp [expr $cpu_width * $cpu_height],cores=$cpu_width,threads=$cpu_height" -run_genode_until {.*thread xpos="[1-9]" ypos="0" name="signal handler" policy="max-utilize".*\n} 60 +run_genode_until {.*thread xpos="[1-9]" ypos="0" name="signal handler" policy="pin".*\n} 60