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

Rik van Riel (riel@conectiva.com.br)
Tue, 31 Dec 2002 02:45:21 -0200 (BRST)


On Mon, 30 Dec 2002, Ed Tomlinson wrote:
> On December 30, 2002 06:00 pm, David Schwartz wrote:
> >
> > 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.
>
> That would be better - I cannot see a way to do it using O(1).

I've been thinking about this problem for a while, but haven't
found a good solution yet. I've got a long way to go before I
can port the per-user fair scheduling stuff to the O(1) base.

cheers,

Rik

-- 
Bravely reimplemented by the knights who say "NIH".
http://www.surriel.com/		http://guru.conectiva.com/
Current spamtrap:  <a href=mailto:"october@surriel.com">october@surriel.com</a>
-
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/