OpenVZ Forum


Home » Mailing lists » Devel » [PATCH v3 2/6] account guest time per-cgroup as well.
Re: [PATCH v3 2/6] account guest time per-cgroup as well. [message #46612 is a reply to message #46608] Wed, 30 May 2012 10:36 Go to previous messageGo to previous message
Glauber Costa is currently offline  Glauber Costa
Messages: 916
Registered: October 2011
Senior Member
On 05/30/2012 02:32 PM, Peter Zijlstra wrote:
> On Wed, 2012-05-30 at 13:48 +0400, Glauber Costa wrote:
>> > We already track multiple tick statistics per-cgroup, using
>> > the task_group_account_field facility. This patch accounts
>> > guest_time in that manner as well.
> So this leaves IOWAIT and IDLE the only fields not using
> task_group_account_field(), right?

Yes, because they are essentially global, and their meaning is
ill-defined from within a cgroup.

If you look further out in the patchset, I intend to export idle from
cpu, instead of cpuacct, because something that can be used as idle
value is already computed anyway from the schedstats, so I'm just using it.

iowait will be left blank for now. Me and Paul agreed last time we
talked that it is not uber important to have iowait values per-cgroup.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: [PATCH v3 05/28] memcg: Reclaim when more than one page needed.
Next Topic: [PATCH v3 0/6] per cgroup /proc/stat statistics
Goto Forum:
  


Current Time: Fri Oct 11 23:55:45 GMT 2024

Total time taken to generate the page: 0.07613 seconds