Re: [PATCH,RFC] fix o(1) handling of threads

From: David Schwartz (davids@webmaster.com)
Date: Mon Dec 30 2002 - 18:00:29 EST


On Mon, 30 Dec 2002 16:45:50 -0500, Ed Tomlinson wrote:

>What this patches does is recognise threads as process that clone both
>mm and files. For these 'threads' it tracks how many are active in a
>given group. When many are active it reduces their timeslices as below

        In general, changes that cause the system to become less efficient as load
increases are not such a good idea. By reducing timeslices, you increase
context-switching overhead. So the busier you are, the less efficient you
get. I think it would be wiser to keep the timeslice the same but assign
fewer timeslices.

        DS

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



This archive was generated by hypermail 2b29 : Tue Dec 31 2002 - 22:00:17 EST