[Devel] [PATCH rh7] sched: Hide steal time from inside CT

Vladimir Davydov vdavydov at virtuozzo.com
Tue Oct 6 13:26:58 PDT 2015


On Tue, Oct 06, 2015 at 04:11:54PM +0300, Kirill Tkhai wrote:
> https://jira.sw.ru/browse/PSBM-26588
> 
> Port diff-sched-hide-steal-time-from-inside-CT from 2.6.32:
> 
> >From the BUG by Khorenko Konstantin:
> 
>         "FastVPS complains on incorrect idle time calculation
>         (PSBM-23431) and about high _steal_ time reported inside a CT.
>         Steal time is a time when a CT was ready to run on a physical CPU,
>         but the CPU was busy with processes which belong to another CT.
>         => in case we have 10 CTs which eat cpu time as much as possible,
>         then steal time in each CT will be 90% and execution time 10% only.
> 
> 	i suggest to make steal time always shown as 0 inside Containers in
> 	order not to confuse end users.  At the same time steal time for
> 	Containers should be visible from the HN (host), this is useful for
> 	development.
> 
>         No objections neither from Pasha Emelyanov nor from Maik".
> 
> So, we do this for not to scare users.
> 
> Signed-off-by: Kirill Tkhai <ktkhai at parallels.com>
> Acked-by: Vladimir Davydov <vdavydov at parallels.com>
> Signed-off-by: Kirill Tkhai <ktkhai at parallels.com>
> ---
> 
> Konstantin, please, review

I'm not Konstantin :-) but FWIW

Reviewed-by: Vladimir Davydov <vdavydov at virtuozzo.com>



More information about the Devel mailing list