This is the mail archive of the
glibc-linux@ricardo.ecn.wfu.edu
mailing list for the glibc project.
Re: Slow pthread_create() under high load
- To: drepper at cygnus dot com
- Subject: Re: Slow pthread_create() under high load
- From: Alan Cox <alan at lxorguk dot ukuu dot org dot uk>
- Date: Sat, 25 Mar 2000 21:46:59 +0000 (GMT)
- Cc: sasha at mysql dot com, kaz at ashi dot footprints dot net (Kaz Kylheku), glibc-linux at ricardo dot ecn dot wfu dot edu, linux-kernel at vger dot rutgers dot edu, mysql at lists dot mysql dot com, monty at mysql dot com
- Reply-To: glibc-linux at ricardo dot ecn dot wfu dot edu
> If you want to see this changes get the kernel changes in place.
> There are various patches floating around which combined will allow a
> correct and fast implementation. But they were not added.
The problem he is seeing however appears unrelated to the fact posix
threads is a braindamaged pile of crap. Its because the scheduler penalises
across forks as part of its fairness approach. Ingo showed that was in
fact wrong and posted some algorithm changes for 2.3.9x