From 25fcb81d462b4251242b4201860c1d8b8ea8be8a Mon Sep 17 00:00:00 2001 From: Michael Mueller Date: Thu, 17 Apr 2025 15:49:25 +0200 Subject: [PATCH] Changed core allocation experiment to use cells and more iterations of the complete benchmark. --- .../run/core_allocation_experiment.run | 91 +++++++++++++++++-- 1 file changed, 81 insertions(+), 10 deletions(-) diff --git a/repos/ealanos/run/core_allocation_experiment.run b/repos/ealanos/run/core_allocation_experiment.run index 4f916ca92b..5d9c947800 100644 --- a/repos/ealanos/run/core_allocation_experiment.run +++ b/repos/ealanos/run/core_allocation_experiment.run @@ -6,7 +6,7 @@ build $build_components create_boot_directory install_config { - + @@ -20,12 +20,13 @@ install_config { + - + @@ -33,10 +34,10 @@ install_config { - + - + 2022-07-20 14:30 @@ -45,11 +46,67 @@ install_config { - } @@ -57,4 +114,18 @@ install_config { build_boot_image [build_artifacts] append qemu_args " -nographic " -run_genode_until forever \ No newline at end of file +set succeeded 0 +set failed 0 + +for {set i 0} { $i < 3000 } { incr i } { + if { ! [catch {run_genode_until ".*Changing cell timer\'s affinity to .*0,0,64.*" 60} result ] } { + incr succeeded + puts "\n $succeeded of 3000 succeeded" + kill_spawned $qemu_spawn_id + } else { + incr failed + kill_spawned $qemu_spawn_id + } +} + +puts "\n $succeeded of $i succeeded. $failed of $i failed."