Re: [PATCH 2/2] CFS CGroup: Report usage

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Srivatsa Vaddagiri
Date: Tuesday, October 23, 2007 - 9:39 pm

On Tue, Oct 23, 2007 at 07:28:22PM -0700, Paul Menage wrote:

Ah ..yes.


agreed, we need to be reporting idle time in (milli)seconds, although
the requirement we had was to report it back in percentage. I guess the
percentage figure can be derived from the raw idle time number.

How about:

	idle time = t4-t3 (effectively sleep time)

in the above example?


I don't see how the idle time metric defined above (t4-t3) can be
affected by other cgroup activity, unless the execution pattern of one
cgroup is dependent on the others.

However the minute you tranlsate this idle time into a percentage wrt
wall-clock time, then yes a cgroup's idle percentage can be affected by
others. For idle percentage to be meaningfull, I would imagine that
user-space tools will need to calculate it after discarding a group's
wait time.


I think primarily for systems management tools to report back various
statistics about a OpenVZ/VServer-like container (just like top reports stats 
for a OS currently). Let me check if there are other uses envisoned for
it.

-- 
Regards,
vatsa
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 2/2] CFS CGroup: Report usage, Paul Menage, (Mon Oct 22, 5:49 pm)
Re: [PATCH 2/2] CFS CGroup: Report usage, Srivatsa Vaddagiri, (Mon Oct 22, 7:40 pm)
Re: [PATCH 2/2] CFS CGroup: Report usage, Balbir Singh, (Mon Oct 22, 8:17 pm)
Re: [PATCH 2/2] CFS CGroup: Report usage, Paul Menage, (Mon Oct 22, 11:06 pm)
Re: [PATCH 2/2] CFS CGroup: Report usage, Paul Menage, (Mon Oct 22, 11:09 pm)
Re: [PATCH 2/2] CFS CGroup: Report usage, Paul Menage, (Tue Oct 23, 12:21 am)
Re: [PATCH 2/2] CFS CGroup: Report usage, Balbir Singh, (Tue Oct 23, 12:49 am)
Re: [PATCH 2/2] CFS CGroup: Report usage, Paul Menage, (Tue Oct 23, 12:53 am)
Re: [PATCH 2/2] CFS CGroup: Report usage, Balbir Singh, (Tue Oct 23, 12:57 am)
Re: [PATCH 2/2] CFS CGroup: Report usage, Paul Menage, (Tue Oct 23, 1:08 am)
Re: [PATCH 2/2] CFS CGroup: Report usage, Srivatsa Vaddagiri, (Tue Oct 23, 9:41 am)
Re: [PATCH 2/2] CFS CGroup: Report usage, Paul Menage, (Tue Oct 23, 9:41 am)
Re: [PATCH 2/2] CFS CGroup: Report usage, Srivatsa Vaddagiri, (Tue Oct 23, 9:43 am)
Re: [PATCH 2/2] CFS CGroup: Report usage, Srivatsa Vaddagiri, (Tue Oct 23, 9:47 am)
Re: [PATCH 2/2] CFS CGroup: Report usage, Srivatsa Vaddagiri, (Tue Oct 23, 10:38 am)
Re: [PATCH 2/2] CFS CGroup: Report usage, Paul Menage, (Tue Oct 23, 7:28 pm)
Re: [PATCH 2/2] CFS CGroup: Report usage, Srivatsa Vaddagiri, (Tue Oct 23, 9:39 pm)
Re: [PATCH 2/2] CFS CGroup: Report usage, Paul Menage, (Thu Oct 25, 6:24 pm)