lkml.org 
[lkml]   [2003]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] O12.2int for interactivity
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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.086 / U:0.620 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site