FreeBSD MySQL still WAY slower than Linux

Pete French petefrench at ticketswitch.com
Mon Jun 13 15:09:43 GMT 2005


> You can set the environment variable LIBPTHREAD_SYSTEM_SCOPE to force
> libpthread to use system scope.  This is easier than rebuilding libpthread
> (with SYSTEM_SCOPE_ONLY defined) and allows you to use M:N for some
> applications and 1:1 for others.

Is the sysctl kern.threads.thr_scope_sys supposed to achieve the same
thing ? using the environment variable solves a different problem I
have, but setting the sysctl doesn't. Is there any way to force pthreads
to system scope by default ?

-pcf.


More information about the freebsd-stable mailing list