mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-26 22:29:19 +00:00
04cbee4c76
This change allows for the testing of cli_monitor's automatic resource balancing by executing the following command: start ram_eater --ram-limit 1G --count 5 The command starts 5 instances of a RAM-eating process, which is, however, able to yield resources when instructed. The RAM quota for the processes gets automatically extended because of the overly large limit of 1 GiB, which is far more than CLI monitor's RAM resources (100 MiB). When the RAM usage hits the preservation limit, CLI monitor broadcasts yield requests to each ram_eater instance, which allow the scenario to remain alive.