login
Header Space

 
 

Re: cgroupstats, plans?

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Dhaval Giani <dhaval@...>
Cc: Balbir Singh <balbir@...>, lkml <linux-kernel@...>, libcg-devel <libcg-devel@...>, Balaji Rao <balajirrao@...>, Sudhir Kumar <skumar@...>, Srivatsa Vaddagiri <vatsa@...>, Peter Zijlstra <a.p.zijlstra@...>, <vivk@...>
Date: Thursday, May 1, 2008 - 9:52 pm

On Tue, Apr 29, 2008 at 5:20 AM, Dhaval Giani <dhaval@linux.vnet.ibm.com> wrote:

I've not really had mmore time to work on that since then.

Assuming people are happy with the basic ideas in that post then I
guess the important questions to focus on would be:

- what form should the API description to userspace take? Something
like the cgroup.api file that I proposed a while ago?

- how would the user specify and retrieve a specific set of stats?
should we just dump all stats on each read request, or will that be
too expensive for some stats?


I don't see why some of them can't be both. If a file has a numerical
value associated with it, is there any reason not to make it available
via the binary stats API, regardless of whether that value was
generated by userspace or the kernel?

Paul
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
cgroupstats, plans?, Dhaval Giani, (Tue Apr 29, 8:20 am)
Re: cgroupstats, plans?, Paul Menage, (Thu May 1, 9:52 pm)
Re: [Libcg-devel] cgroupstats, plans?, Balbir Singh, (Fri May 2, 5:14 am)
Re: [Libcg-devel] cgroupstats, plans?, Paul Menage, (Tue May 13, 2:10 am)
speck-geostationary