general libthread questions [Was: Re: FreeBSD MySQL still WAY slower than Linux]

Emanuel Strobl Emanuel.strobl at gmx.net
Sat Jun 11 12:41:56 GMT 2005


Am Samstag, 11. Juni 2005 10:00 schrieb Robert Watson:
> On Fri, 10 Jun 2005, Steve Roome wrote:
[...]
> - Thread package.  In 5.x, you get process scope threads by default, but
>    it turns out MySQL is tuned for system scope threads, and this is
>    particularly visible in the supersmack benchmark, which competes many
>    client processes against a few server threads.  I'm not sure what the
>    condition is of libthr on 5.x, but you could give it a spin.  In 6.x,
>    libthr has been largely rewritten and is a great deal faster.  I
> think there's a compile-time option to make libpthread use system scope
> threads but the details ellude me.  The Linuxthreads library may well
> provide a substantial improvement -- not as good for MySQL as the 6.x
> libthr, but perhaps much more appropriate than libpthread.

OT, but can someone please gvie me a link which describes the pthread and 
lib_thr stuff. And how would I tell a port to compile with a specific 
threading library (if my understanding is correct)? Maybe one can name 
typical applications for specific threading libraries?

Thanks a lot,

-Harry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050611/a7ab3262/attachment.bin


More information about the freebsd-stable mailing list