cgroup: status-quo and userland efforts

Glauber Costa glommer at
Mon Apr 8 13:46:09 UTC 2013

On 04/06/2013 05:21 AM, Tejun Heo wrote:
> Hello, guys.
Hello Tejun, how are you?

>  Status-quo
>  ==========
tl;did read;

This is mostly sensible. There is still one problem that we hadn't yet
had the bandwidth to tackle that should be added to your official TODO list.

The cpu cgroup needs a real-time timeslice to accept real time tasks. It
defaults to 0, meaning that a newly created cpu cgroup cannot accept
tasks (rt tasks) without the user having to manually configure it.
As far as I know, this problem hasn't yet been fixed.

The fix of course, is as trivial as setting a new value instead of 0 as
a default. The complication lies in determining which value should that be.

There are many things that we should ask from a controller to implement
in order to be able to handle fully joint hierarchies. One of them,
IMHO, is that if you drop a task into a newly created cgroup it should
run without the user having to do anything for it.

More information about the Containers mailing list