Re: CFS Bandwidth Control - Test results of cgroups tasks pinned vsunpinnede

From: Srivatsa Vaddagiri
Date: Tue Sep 13 2011 - 14:02:20 EST


* Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> [2011-09-13 16:19:39]:

> > Booting with "nohz=off" also helps significantly.
> >
> > With nohz=on, average idle time (over 1 min) is 10.3%
> > With nohz=off, average idle time (over 1 min) is 3.9%
>
> So we should put the cpufreq/idle governor into the nohz/idle path, it
> already tries to predict the idle duration in order to pick a C state,
> that same prediction should be used to determine if stopping the tick is
> worth it.

Hmm ..I tried performance governor and found that it slightly increases
idle time.

With nohz=off && ondemand governor, idle time = 4%
With nohz=off && performance governor on all cpus, idle time = 6%

I can't see obvious reasons for that ..afaict bandwidth capping should
be independent of frequency (i.e task gets capped by "used" time,
irrespective of frequency at which it was "using" the cpu)?

- vatsa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/