lkml.org 
[lkml]   [2010]   [Dec]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: Sending some form of notifaction when sched_fifo throttling kicks in...
    From
    Date
    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

    --
    <<This happens because I choose it to happen!>> (Raistlin Majere)
    ----------------------------------------------------------------------
    Dario Faggioli, ReTiS Lab, Scuola Superiore Sant'Anna, Pisa (Italy)
    http://retis.sssup.it/people/faggioli -- dario.faggioli@jabber.org
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2010-12-28 11:33    [W:0.229 / U:0.308 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site