Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Mar 2009 10:15:00 -0800
From:      Mel Flynn <mel.flynn+fbsd.questions@mailing.thruhere.net>
To:        freebsd-questions@freebsd.org
Cc:        Matt Juszczak <matt@atopia.net>
Subject:   Re: MySQL 5.0 on FreeBSD 7
Message-ID:  <200903201015.00654.mel.flynn%2Bfbsd.questions@mailing.thruhere.net>
In-Reply-To: <alpine.BSF.2.00.0903201338190.29988@pluto.atopia.net>
References:  <alpine.BSF.2.00.0903201338190.29988@pluto.atopia.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 20 March 2009 09:38:27 Matt Juszczak wrote:
> I decided to install a 64 bit version of FreeBSD 7.x (to address the 8 GB
> RAM in the box) and attempt to build with pthreads enabled, as well as a
> static build and optimized compiler options.  Once again, got the
> error/warning in ports that the linux pthreads only works with the i386 32
> bit setup.

You're confusing linux-threads with pthreads. The performance boosts mentioned 
are done using the FreeBSD Posix threads ("pthreads") library, in FreeBSD 7.x 
they are implemented using libthr(3).
The benchmarks also assume you are using SCHED_ULE, rather then SCHED_4BSD. 
Nothing should be configured if you run GENERIC later then 7.0-RELEASE.

There are tips available here:
http://people.freebsd.org/~kris/scaling/mysql.html
-- 
Mel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903201015.00654.mel.flynn%2Bfbsd.questions>