Linux Container Development
 help / color / mirror / Atom feed
From: Srivatsa Vaddagiri <vatsa-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
To: Herbert Poetzl <herbert-dBHVzrDq9nF4Lj/PQRBjDg@public.gmane.org>
Cc: containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org
Subject: Re: Idle time statistics for a container
Date: Wed, 10 Oct 2007 23:50:21 +0530	[thread overview]
Message-ID: <20071010182021.GB30708@linux.vnet.ibm.com> (raw)
In-Reply-To: <20071010180039.GG27755-ZD0Mn47LIGX0Pe/G4T7+5F6hYfS7NtTn@public.gmane.org>

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

      parent reply	other threads:[~2007-10-10 18:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-10 14:25 Idle time statistics for a container Srivatsa Vaddagiri
     [not found] ` <20071010142529.GA4690-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2007-10-10 15:35   ` Kirill Korotaev
2007-10-10 18:00   ` Herbert Poetzl
     [not found]     ` <20071010180039.GG27755-ZD0Mn47LIGX0Pe/G4T7+5F6hYfS7NtTn@public.gmane.org>
2007-10-10 18:20       ` Srivatsa Vaddagiri [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071010182021.GB30708@linux.vnet.ibm.com \
    --to=vatsa-23vcf4htsmix0ybbhkvfkdbpr1lh4cv8@public.gmane.org \
    --cc=containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org \
    --cc=herbert-dBHVzrDq9nF4Lj/PQRBjDg@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox