lkml.org 
[lkml]   [2011]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/9] Remove parent field in cpuacct cgroup
From
Date
On Thu, 2011-09-22 at 20:41 +0530, Balbir Singh wrote:
> On Tue, Sep 20, 2011 at 10:59 PM, Srivatsa Vaddagiri
> <vatsa@linux.vnet.ibm.com> wrote:
> > * Peter Zijlstra <a.p.zijlstra@chello.nl> [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

But its a massive waste of time to have to iterate a double hierarchy,
cache-miss heaven.

Or so people really have independent cgroups as well? I thought people
just co-mount all this crap.


\
 
 \ /
  Last update: 2011-09-22 17:21    [W:0.133 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site