Re: [PATCH] O12.2int for interactivity

Con Kolivas
2003-08-15T16:41:51Z

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