Re: [PATCH][RSDL-mm 4/6] sched: dont renice kernel threads

From: Con Kolivas
Date: Fri Mar 16 2007 - 17:16:22 EST


On Saturday 17 March 2007 02:14, Chris Friesen wrote:
> Con Kolivas wrote:
> > The practice of renicing kernel threads to negative nice values is of
> > questionable benefit at best, and at worst leads to larger latencies when
> > kernel threads are busy on behalf of other tasks.
>
> What about the priority implications of the renicing? It seems a bit
> iffy letting kernel threads compete for cpu time on an equal basis with
> your default shell.

Lots of things we do because we just assume they're a good idea without any
evidence. Renicing kernel threads was always considered a good idea on this
basis. I'm certain noone has ever proven that it's a good thing though.
Either way, the latest version of rsdl is robust enough that it works fine
with reniced kernel threads if you still believe that's advantageous. This is
definitely open for discussion/opinion.

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