[lkml]   [2002]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch] O(1) scheduler-H6/H7/I0 and nice +19
On Tue, 2002-01-15 at 21:48, Ingo Molnar wrote:

> there is a way: renicing. Either use nice +19 on the compilation job or
> use nice -5 on the 'known good' tasks. Perhaps we should allow a nice
> decrease of up to -5 from the default level - and things like KDE or Gnome
> could renice interactive tasks, while things like compilation jobs would
> run on the default priority.

This isn't a bad idea, as long as we don't use it as a crutch or
excuse. That is, answer scheduling problems with "properly nice your
tasks" -- the scheduler should be smart enough, to some degree.

FWIW, Solaris actually implements a completely different scheduling
policy, SCHED_INTERACT or something. It is for windowed tasks in X --
they get a large interactivity bonus.

Robert Love

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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