lkml.org 
[lkml]   [2011]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    Subject[patch 00/15] CFS Bandwidth Control V6
    [ Apologies if you're receiving this twice, the previous mailing did not seem 
    to make it to the list for some reason ].

    Hi all,

    Please find attached the latest iteration of bandwidth control (v6).

    Where the previous release cleaned up many of the semantics surrounding the
    update_curr() path and throttling, this release is focused on cleaning up the
    patchset itself. Elements such as the notion of expiring bandwidth from
    previous quota periods as well as some of the core accounting changes have
    been pushed up (and re-written for clarity) within the patchset reducing the
    patch-to-patch churn significantly.

    While this restructuring was fairly extensive in terms of the code touched,
    there are no major behavioral changes beyond bug fixes.

    Thanks to Hidetoshi Seto for identifying the throttle list corruption.

    Notable changes:
    - Runtime is now actively expired taking advantage of the bounds placed on
    sched_clock syncrhonization.
    - distribute_cfs_runtime() no longer races with throttles around the period
    boundary.
    - Major code cleanup

    Bug fixes:
    - several interactions with active load-balance have been corrected. This was
    manifesting previously in throttle_list corruption and crashes.

    Interface:
    ----------
    Three new cgroupfs files are exported by the cpu subsystem:
    cpu.cfs_period_us : period over which bandwidth is to be regulated
    cpu.cfs_quota_us : bandwidth available for consumption per period
    cpu.stat : statistics (such as number of throttled periods and
    total throttled time)
    One important interface change that this introduces (versus the rate limits
    proposal) is that the defined bandwidth becomes an absolute quantifier.
    Previous postings:
    -----------------
    v5:
    https://lkml.org/lkml/2011/3/22/477
    v4:
    https://lkml.org/lkml/2011/2/23/44
    v3:
    https://lkml.org/lkml/2010/10/12/44
    v2:
    http://lkml.org/lkml/2010/4/28/88
    Original posting:
    http://lkml.org/lkml/2010/2/12/393
    Prior approaches:
    http://lkml.org/lkml/2010/1/5/44 ["CFS Hard limits v5"]

    Thanks,

    - Paul




    \
     
     \ /
      Last update: 2011-05-07 08:37    [from the cache]
    ©2003-2011 Jasper Spaans