<div dir="ltr">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?</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 13, 2018 at 3:40 AM, Norman Feske <span dir="ltr"><<a href="mailto:norman.feske@...1..." target="_blank">norman.feske@...1...</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Ben,<br>
<span class=""><br>
On 08.03.2018 20:23, Nobody III wrote:<br>
> On Genode, how do we ensure that CPU cores are being used efficiently?<br>
<br>
</span>it is not ensured.<br>
<span class=""><br>
> What mechanisms are in place for thread balancing?<br>
<br>
</span>None. (well, except on base-linux where Linux performs the balancing)<br>
<br>
The general idea is that the balancing is not a concern for the base<br>
system but should be solved at a higher level. E.g., when assigning<br>
multiple CPUs to a VM, the guest OS will do the balancing. In a similar<br>
way, noux could in principle spawn processes on different CPUs while<br>
monitoring CPU usage (e.g., via core's trace service).<br>
<div class="HOEnZb"><div class="h5"><br>
Cheers<br>
Norman<br>
<br>
--<br>
Dr.-Ing. Norman Feske<br>
Genode Labs<br>
<br>
<a href="https://www.genode-labs.com" rel="noreferrer" target="_blank">https://www.genode-labs.com</a> · <a href="https://genode.org" rel="noreferrer" target="_blank">https://genode.org</a><br>
<br>
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden<br>
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth<br>
<br>
------------------------------<wbr>------------------------------<wbr>------------------<br>
Check out the vibrant tech community on one of the world's most<br>
engaging tech sites, Slashdot.org! <a href="http://sdm.link/slashdot" rel="noreferrer" target="_blank">http://sdm.link/slashdot</a><br>
______________________________<wbr>_________________<br>
genode-main mailing list<br>
<a href="mailto:genode-main@lists.sourceforge.net">genode-main@...172...<wbr>net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/genode-main" rel="noreferrer" target="_blank">https://lists.sourceforge.net/<wbr>lists/listinfo/genode-main</a><br>
</div></div></blockquote></div><br></div>