Re: [PATCH 1/9] Remove parent field in cpuacct cgroup

From: Balbir Singh
Date: Thu Sep 22 2011 - 11:11:20 EST


On Tue, Sep 20, 2011 at 10:59 PM, Srivatsa Vaddagiri
<vatsa@xxxxxxxxxxxxxxxxxx> wrote:
> * Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> [2011-09-19 20:40:53]:
>
>> > Note I was talking about cpuusage. Well, in this case, I myself fail
>> > to see the value of the whole cpuusage thing...
>
> If I recall, cpuacct was prototyped by Paul Menage (and later modified
> by Balbir) as a way to demonstrate cgroup controller ..It was one
> of those "first" cgroups controllers written to demonstrate how cgroups worked.
>
> With regard to its value, it does provide a handy interface to measure
> cpu utilization of cgroups (vs having to manually sum up task's
> utilization) and afaik libvirt makes use of it (although I
> don't think anyone reads it at "high" frequency).
>

Android makes heavy use of cpuacct as well. We invented it to do cpu
accounting independent of control

Balbir
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/