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

David Schwartz (davids@webmaster.com)
Mon, 30 Dec 2002 15:00:29 -0800


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/