Revert for cgroups CPU accounting subsystem patch

Paul Menage menage at
Mon Nov 12 22:05:24 PST 2007

On Nov 12, 2007 10:00 PM, Srivatsa Vaddagiri <vatsa at> wrote:
>         On second thoughts, this may be a usefull controller of its own.
> Say I just want to "monitor" usage (for accounting purpose) of a group of
> tasks, but don't want to control their cpu consumption, then cpuacct
> controller would come in handy.

That's plausible, but having two separate ways of tracking and
reporting the CPU usage of a cgroup seems wrong.

How bad would it be in your suggested case if you just give each
cgroup the same weight? So there would be fair scheduling between
cgroups, which seems as reasonable as any other choice in the event
that the CPU is contended.


More information about the Containers mailing list