Date: Mon, 13 Jun 2005 16:09:33 +0100 From: Pete French <petefrench@ticketswitch.com> To: eischen@vigrid.com, rwatson@freebsd.org Cc: steve@lonres.com, freebsd-stable@freebsd.org Subject: Re: FreeBSD MySQL still WAY slower than Linux Message-ID: <E1DhqZB-0000Jr-7s@dilbert.firstcallgroup.co.uk> In-Reply-To: <42AAFDB2.4010604@vigrid.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1DhqZB-0000Jr-7s>