mysql - linuxthreads

Kris Kennaway kris at obsecurity.org
Sat Jan 28 10:49:10 PST 2006


On Sat, Jan 28, 2006 at 01:03:31PM +0000, Chris wrote:
> On 27/01/06, Kris Kennaway <kris at obsecurity.org> wrote:
> >
> > 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
> > > Mysql, wondering if you still needed to compile Mysql with
> > > linuxthreads to get better performance under Freebsd 6. I didn't get
> > > much of a response so I looked around for the answer. I thought I'd
> > > 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
> > > 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
> >
> >
> >
> is there large differences between libthr on 6.x and 5.x, I mean is libthr
> the best option for 5.x also?

I don't know, sorry.  You should try it and see - it's easy to switch
in using libmap.conf.

Kris

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060128/5ac08790/attachment.bin


More information about the freebsd-questions mailing list