mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-29 15:44:02 +00:00
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.
This commit is contained in:
parent
ec60ad3a80
commit
7c77a98118
@ -86,8 +86,8 @@ install_config {
|
||||
<component label="cpu_burner -> " default_policy="none">
|
||||
<!--
|
||||
<thread name="signal handler" policy="pin" xpos="1" ypos="0"/>
|
||||
-->
|
||||
<thread name="signal handler" policy="max-utilize"/>
|
||||
-->
|
||||
<thread name="burn_0x0" policy="round-robin"/>
|
||||
<thread name="burn_1x0" policy="round-robin"/>
|
||||
</component>
|
||||
@ -100,10 +100,10 @@ install_config {
|
||||
trace="} $use_trace {"
|
||||
verbose="no">
|
||||
<component label="cpu_burner -> " default_policy="none">
|
||||
<!--
|
||||
<thread name="signal handler" policy="pin" xpos="1" ypos="0"/>
|
||||
-->
|
||||
<!--
|
||||
<thread name="signal handler" policy="max-utilize"/>
|
||||
-->
|
||||
<thread name="burn_0x0" policy="round-robin"/>
|
||||
<thread name="burn_1x0" policy="round-robin"/>
|
||||
<thread name="not_existent" policy="round-robin"/>
|
||||
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user