Re: Slow pthread_create() under high load

From: Khimenko Victor (khim@sch57.msk.ru)
Date: Mon Mar 27 2000 - 15:15:10 EST


In <m3em8wjkpg.fsf@localhost.localnet> Ulrich Drepper (drepper@redhat.com) wrote:
UD> "Khimenko Victor" <khim@sch57.msk.ru> writes:

>> You'll need additional thread as it's now. Just for emergency cases.
>>
>> UD> If one threads dies of a SEGFAULT all the others must, too.
>>
>> Control thread will do it.

UD> But then it's not worth it. I want to get rid of the manager thread
UD> since it is what makes the implementation slow. And in your list of
UD> requirements you haven't listed anything which could solve the problem.

Hm. Control thread does not make implementation slow. It's context switching
makes the implementation slow. If control thread used ONLY in exceptional cases
it'll not slow anything.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 31 2000 - 21:00:20 EST