[lkml]   [2012]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [RFD] cgroup: about multiple hierarchies
    On Wed, 2012-02-22 at 11:57 -0500, Vivek Goyal wrote:
    > Again, it does not mean I am advocating flat hiearchy. I am just wondering
    > in case of fully nested hierarchies (task at same level as groups), how
    > does one explain it to a layman user who understands things in terms of
    > % of resources.

    If your complete control is % based then I would assume its a % of a %.
    Simple enough.

    If its bandwidth based then simply don't allow a child to consume more
    bandwidth than its parent, also simple.

    If your layman isn't capable of grokking that, he should stay the f*ck
    away from it.

    I'm really thinking that if we stick with the full hierarchical thing we
    should mandate all controllers be fully hierarchical. And yes that
    sucks, but so be it.

    The scheduler thing tries to be completely hierarchical and yes it will
    run into the ground if you push it hard enough simply because we're
    hitting the limits of fixed point arithmetic, fractions can only go so
    far, so the deeper you nest the crappier things get -- not that any
    userspace cares about this.

     \ /
      Last update: 2012-02-23 10:45    [W:0.021 / U:0.208 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site