Another daemon for managing control groups
Another daemon for managing control groups
Posted Dec 5, 2013 16:43 UTC (Thu) by mezcalero (subscriber, #45103)In reply to: Another daemon for managing control groups by raven667
Parent article: Another daemon for managing control groups
http://www.freedesktop.org/wiki/Software/systemd/ControlG...
We introduced higher-level concepts of "slices" and "scopes" which will map to cgroup sin the end, but in more complex ways. For example, there's propagation of features between siblings and from child to parent, there are high-level properties which have an effect on much more than just one property of one cgroup. Not even the low-level naming of things is exposed, we have to escape some names in order not to clash with the names of the kernel-provided cgroup attributes. The APIs we expose hence are very high-level and they make use of a lot of concepts that systemd already knows like the execution queue, units or dependencies between units. It ultimately hides a lot of complexity with a simple interface (heck, we only added a *single* new bus call to systemd to cover the cgroup usescases!). OTOH the stuff the Ubuntu folks are working on goes in a completely different direction: they are much lower-level and closer to what the kernel provides itself. Trying to find an abstraction that works for both is not realistic. Sorry.
