Re: [RFC PATCH] sched: START_NICE feature (temporarily nicedforks) (v4)

From: Mike Galbraith
Date: Wed Sep 22 2010 - 07:50:45 EST


On Tue, 2010-09-21 at 16:04 +0200, Mike Galbraith wrote:

> Perhaps take that vslice penalty, apply it to parent and child, and if
> present, deduct sleep time from their debt, and only credit sleep time
> if there's anything left over? In any case, seems to me that sleep time
> has to be included in the equation while the penalty is in effect.
>
> Guess I'll try that, see what happens.

Nothing good. Several flavors thereof.

> (but that will likely negate much of the benefit for your testcase,
> where parent and child sleep)

(yup, it did)

BTTODB.

-Mike

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