[Devel] Re: Idle time statistics for a container

Srivatsa Vaddagiri vatsa at linux.vnet.ibm.com
Wed Oct 10 11:20:21 PDT 2007


On Wed, Oct 10, 2007 at 08:00:39PM +0200, Herbert Poetzl wrote:
> I think it makes perfectly sense to account that, and
> a smart version is required to get the statistics
> inside a container right :)

With the group cfs scheduler, it may be bit easy to provide this.
If I am not mistaken, se->sum_sleep_runtime would provide this idle
time, where 'se' is the group level schedulable entity representing
a container/control-group on a cpu.

-- 
Regards,
vatsa
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list