Date: Fri, 27 Jan 2006 15:22:02 -0500 From: Kris Kennaway <kris@obsecurity.org> To: Romeo Theriault <romeotheriault@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: mysql - linuxthreads Message-ID: <20060127202202.GA65737@xor.obsecurity.org> In-Reply-To: <DD408EDB-CC70-47BC-A8A9-3B0CE21596AD@gmail.com> References: <DD408EDB-CC70-47BC-A8A9-3B0CE21596AD@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--jI8keyz6grp/JLjh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 27, 2006 at 03:15:05PM -0500, Romeo Theriault wrote: > A week or so ago I wrote to the this list asking about Freebsd and =20 > Mysql, wondering if you still needed to compile Mysql with =20 > linuxthreads to get better performance under Freebsd 6. I didn't get =20 > much of a response so I looked around for the answer. I thought I'd =20 > write back to the mailing list to tell anyone interested what I found. Thanks, this is always useful! > In the Freebsd 6.0 is seems that to get the best MySQL performance =20 > you need to do a few things. > #compile your kernel with the ULE scheduler I'd be inclined to doubt this..all my measurements show ULE is slower than 4BSD except at negligible load. How did you measure it? > #use the TSC timecounter > #use the libthr threading library with mysql You definitely want libthr. Kris --jI8keyz6grp/JLjh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD2oDqWry0BWjoQKURAmPLAJ9gZ9OkLPTWfjK+4Yybgeqm7bjt3ACgsq03 EBc2U44ZDivnGB4duL9F+co= =fhuW -----END PGP SIGNATURE----- --jI8keyz6grp/JLjh--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060127202202.GA65737>