Re: [PATCH] O12.2int for interactivity

From: Con Kolivas
Date: Fri Aug 15 2003 - 14:01:41 EST


On Fri, 15 Aug 2003 06:03, Timothy Miller wrote:
> Con Kolivas wrote:
> > Thus tasks that never sleep are always below the interactive delta
> > so each time they use up their timeslice they go onto the expired array.
> > Tasks with enough bonus points can go back onto the active array if they
> > haven't used up those bonus points.
>
> How does a bonus point translate to a priority level? How many bonus
> points can you collect?

That depends entirely on the algorithm used, and that's where my patches
differ from the main kernel tree. In the main kernel tree, you need to
accumulate about one second worth of sleep before being elevated one priority
(woefully long), and use up one second before dropping. Mine is non linear so
it's not a simple relationship.

Con

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