Date: Sun, 23 May 2004 20:46:57 +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: <40B0E391.4000504@he.iki.fi> In-Reply-To: <5.2.0.9.2.20040523102747.015557e8@mail.ojoink.com> References: <5.2.0.9.2.20040523090659.01628af8@mail.ojoink.com> <5.2.0.9.2.20040522135338.0158cc50@mail.ojoink.com> <5.2.0.9.2.20040522100318.01598f50@mail.ojoink.com> <5.2.0.9.2.20040522052606.0156fd70@mail.ojoink.com> <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> <5.2.0.9.2.20040522100318.01598f50@mail.ojoink.com> <5.2.0.9.2.20040522135338.0158cc50@mail.ojoink.com> <5.2.0.9.2.20040523090659.01628af8@mail.ojoink.com> <5.2.0.9.2.20040523102747.015557e8@mail.ojoink.com>
next in thread | previous in thread | raw e-mail | index | archive | help
JG wrote: > > You mean where I have the 3 instances of mysqld running in top? You > have ~30 instances? > Iīm running the supersmack with $1=30. > Why would your box use more? Is there any configuration or flag in > mysql that would cause this? > MySQL creates a thread per client. > How was your mysql compiled? What version of FreeBSD are you running? This is on -CURRENT from a few weeks ago. Cannot remember if I used optimized compilation. > > > I know that this FreeBSD/AMD64 reports that it is using ACPI... how do > I find out if its using timecounters, or using them properly? > kern.timecounter.hardware: ACPI-fast But I'm suspecting that the system call overhead between Linux and freebsd differs enough to cause the results. If anything can be done about it, I donīt know. Pete
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40B0E391.4000504>