[ckrm-tech] [RFC] [PATCH 0/3] Add group fairness to CFS

William Lee Irwin III wli at holomorphy.com
Wed May 30 21:09:26 PDT 2007


On Wed, May 30, 2007 at 01:13:59PM -0700, William Lee Irwin III wrote:
>> The step beyond was to show how nice numbers can be done with all that
>> hierarchical task grouping so they have global effects instead of
>> effects limited to the scope of the narrowest grouping hierarchy
>> containing the task. I had actually assumed the weighting and
>> flattening bits were already in your plans from some other post you
>> made and was building upon that.

On Thu, May 31, 2007 at 08:56:57AM +0530, Srivatsa Vaddagiri wrote:
> I would definitely be willing to try out any experiments you think of,
> esp those that allow the hierarchy to be flattened. atm fair_key
> calculation (in the context of cfs) seem to be the biggest challenge to 
> surmount for this to work.

It's not all that tricky. The ->fair_key computations are already
parametrized on load weights. The "task weights" here are just what
Linux calls "load weight," so we're largely done once task weights
are calculated.

The tricky part (if any) is essentially what you've already got nailed
down, that is, creating and manipulating the accounting objects for the
task groups or whatever you're calling them.


-- wli


More information about the Containers mailing list