[M3devel] userthreads vs. pthreads performance?

Mika Nystrom mika at async.async.caltech.edu
Sun Mar 28 21:11:16 CEST 2010


Well I have run programs on PPC_DARWIN and FreeBSD<X> and seen these sorts of things...

=?UTF-8?Q?Dragi=C5=A1a_Duri=C4=87?= writes:
>Which platform?
>
>On Sun, 2010-03-28 at 11:57 -0700, Mika Nystrom wrote:
>> Yep, sounds right.  
>> 
>> I was profiling some other thread-using code that slowed down
>> enormously
>> because of pthreads and it turned out the program was spending ~95%
>> of its time in accessing the thread locals via one of the pthread_
>> functions.
>> (The overhead of entering the kernel.)
>-- 
>Dragiša Durić <dragisha at m3w.org>



More information about the M3devel mailing list