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

From: Srivatsa Vaddagiri
Date: Thu May 31 2007 - 01:40:42 EST


On Wed, May 30, 2007 at 09:09:26PM -0700, William Lee Irwin III wrote:
> It's not all that tricky.

Hmm ..the fact that each task runs for a minimum of 1 tick seems to
complicate the matters to me (when doing group fairness given a single
level hierarchy). A user with 1000 (or more) tasks can be unduly
advantaged compared to another user with just 1 (or fewer) task because of this?

> 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.

--
Regards,
vatsa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/