On Mon, 2010-12-27 at 12:13 +0530, Bharata B Rao wrote: > > Do others have some idea and/or comments about that? This is > > ABI/interface, and that really scares me! :-P > > You might want to note that CFS bandwidth control patches export some > such stats via a new per-cgroup file cpu.stat. It exports 3 statistics: > Yeah, I saw that. What can be also done is to extend schedstats and then apply it to cgroups as well... I think Dhaval told me he has some plans about that, am I wrong? > nr_periods: Number of enforcement intervals that have elapsed. > nr_throttled: Number of times the group has been throttled/limited. > throttled_time: The total time duration (in nanoseconds) for which the group > remained throttled. > More than reasonable reporting, to me at least. :-) Regards, Dario -- <> (Raistlin Majere) ---------------------------------------------------------------------- Dario Faggioli, ReTiS Lab, Scuola Superiore Sant'Anna, Pisa (Italy) http://retis.sssup.it/people/faggioli -- dario.faggioli@jabber.org