Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 May 2003 12:17:08 -0400 (EDT)
From:      Adrian Filipi-Martin <adrian+freebsd-perf@ubergeeks.com>
To:        patpro <patpro@patpro.net>
Cc:        freebsd-performance@freebsd.org
Subject:   Re: threads and performances
Message-ID:  <20030522121542.H54052@lorax.ubergeeks.com>
In-Reply-To: <FE30BF34-8C47-11D7-B7BD-003065CDEB78@patpro.net>
References:  <FE30BF34-8C47-11D7-B7BD-003065CDEB78@patpro.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 22 May 2003, patpro wrote:

> Hello,
>
> I use MySQL on several machines running freeBSD, and I was quite
> surprised to read this :
> 	http://jeremy.zawodny.com/blog/archives/000697.html
> 	(and http://jeremy.zawodny.com/blog/archives/000203.html)
>
> here is the summary of the article :
>
> 	MySQL now runs very well on FreeBSD. I'm no longer steering people
> 	toward Linux. There are two important things you should do to make
> 	the FreeBSD/MySQL combo work well: (1) build MySQL with LinuxThreads
> 	rather than FreeBSD's native threads, and (2) use MySQL 4.x or newer.
> 	For more details, keep reading.
>
> Is this guy more or less wrong in his explanations about threads ? (I
> was said so)
> As I know nothing about threads, but I noticed a similar behavior on
> MacOSX, and MySQL performances are as bad on FreeBSD as on MacOSX,
> compared to linux.

	If you read further down you find that realpath(3) was one of the
treading problems when using native threads.  A thread-safe version is on
-CURRENT and looks to be scheduled for an MFC real soon.

	Adrian
--
[ adrian@ubergeeks.com ]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030522121542.H54052>