It seems like we ought to have a balancer component or at least basic balancing built into init. A lack of balancing is a huge performance issue on modern SMP CPUs. How could we go about this? Could a server do the balancing through the CPU session interface?
On Tue, Mar 13, 2018 at 3:40 AM, Norman Feske <norman.feske@...1...> wrote:
Hello Ben,
On 08.03.2018 20:23, Nobody III wrote:
On Genode, how do we ensure that CPU cores are being used efficiently?
it is not ensured.
What mechanisms are in place for thread balancing?
None. (well, except on base-linux where Linux performs the balancing)
The general idea is that the balancing is not a concern for the base system but should be solved at a higher level. E.g., when assigning multiple CPUs to a VM, the guest OS will do the balancing. In a similar way, noux could in principle spawn processes on different CPUs while monitoring CPU usage (e.g., via core's trace service).
Cheers Norman
-- Dr.-Ing. Norman Feske Genode Labs
https://www.genode-labs.com · https://genode.org
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ genode-main mailing list genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main