Date: Sat, 22 May 2004 19:46:29 +0300 From: Petri Helenius <pete@he.iki.fi> To: JG <amd64list@jpgsworld.com> Cc: freebsd-threads@freebsd.org Subject: Re: Why is MySQL nearly twice as fast on Linux? Message-ID: <40AF83E5.3090303@he.iki.fi> In-Reply-To: <5.2.0.9.2.20040522052606.0156fd70@mail.ojoink.com> References: <5.2.0.9.2.20040521154458.01627688@127.0.0.1> <5.2.0.9.2.20040521154458.01627688@127.0.0.1> <5.2.0.9.2.20040522052606.0156fd70@mail.ojoink.com>
next in thread | previous in thread | raw e-mail | index | archive | help
JG wrote: > > > I haven't personally tested with libthr, but others have and their > results were poor as well. > > I wanted to avoid reposting pages of benchmarks, but I guess it's not > going to happen. > It would be interesting if mysql is cpu-bound or disk bound in your tests and if disk-bound, the relevant lines from dmesg would be appreciated. FreeBSD (if I remember correctly) does not do elevator on disks by default while most if not all linuxen do. That makes quite a difference on disk-bound loads. There are other things, like flush policy which behave differently by default, since linux mounts filesystems asynchronously by default. So if you want a fair comparison, all relevant parameters should be set to same, if they are not by default. Pete
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40AF83E5.3090303>