Date: Mon, 13 Jun 2005 11:34:24 -0400 (EDT) From: Daniel Eischen <deischen@freebsd.org> To: Pete French <petefrench@ticketswitch.com> Cc: freebsd-stable@freebsd.org, rwatson@freebsd.org, steve@lonres.com Subject: Re: FreeBSD MySQL still WAY slower than Linux Message-ID: <Pine.GSO.4.43.0506131123090.23852-100000@sea.ntplx.net> In-Reply-To: <E1DhqZB-0000Jr-7s@dilbert.firstcallgroup.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 13 Jun 2005, Pete French wrote: > > 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 ? kern.threads.thr_scope_sys is for libthr only. Reread the above for the answer to your last question. -- DE
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.43.0506131123090.23852-100000>