Re: [PATCH] O12.2int for interactivity

Mike Fedyk
2003-08-17T18:00:48Z

On Fri, Aug 15, 2003 at 02:12:32PM -0400, Timothy Miller wrote:
> And for a higher priority, in addition to begin run before all tasks of
> lower priority, they also get a longer timeslice?

With priority there are two values. One that can be set from userspace (the
nice value), and one that is purely kept in the kernel (the priority value).

The interactivity estimating changes the priority value based on heuristics.

The nice value (by default zero), determines the range of priorities the
kernel will give to a task (based on its "interactivity rating"). And it is
this relativly static nice value that determines the time slice size also.