LWN.net Logo

Conflicting goals?

Conflicting goals?

Posted Nov 15, 2012 16:23 UTC (Thu) by ottuzzi (subscriber, #74496)
In reply to: Conflicting goals? by NAR
Parent article: LCE: The failure of operating systems and how we can fix it

Hi,

Solaris containers respects imposed limits only when there are competing resources.
Say you have container A with a CPU limit of 80 and a container B with a CPU limit of 70: if container A is not using CPU container B can use all the CPU available; same if B is doing anything on CPU A can use all the CPU.
But when both A and B are using all the CPU available then they are balanced proportionally to their weight.
I think Linux is implemented the same way.

Hope I was clear
Bye
Piero


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds