Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 May 2004 20:53:17 +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:  <40AF938D.5040400@he.iki.fi>
In-Reply-To: <5.2.0.9.2.20040522094946.01588470@mail.ojoink.com>
References:  <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.20040522094946.01588470@mail.ojoink.com>

next in thread | previous in thread | raw e-mail | index | archive | help
JG wrote:

>
> The best FreeBSD config I've got on my AMD64 64-bit hardware was
> running 32-bit i386 FreeBSD with MySQL compiled with Linuxthreads.
> And those results were poor compared to  Linux tests -  they were
> just much higher than any other FreeBSD config.
>
Sure. I run mysql with linuxthreads because that was the only viable 
option a while ago.

>
> I's been established on the other lists that threading is not being 
> handled properly to begin with.
> That has been the longtime crux with MySQL on FreeBSD, and why 
> "Linuxthreads" has been
> recommended for so long as well, no?
>
> Also,  we see almost nearly the same results running on a single CPU 
> as we do when we run SMP
>
>  - I don't believe the HD is to blame here.
>
People with religion donīt do well on science. You have to pick if you 
are open to the truth or if you have made your mind up already.
If you read my message again and follow itīs logic, youīll find it does 
not "blame the HD" but if you are disk-bound it does not help if you 
have one, two, four or a gazillion CPU's because they are not going to 
go any faster.  Most linuxen sacrifice data integrity over performance 
by default. FreeBSD is the other way around. I donīt have an opinion of 
32 vs 64 bit mode but with Opteron CPU's the performance in both 
environments is very close, you should not expect 64 bit mode to run 
double the speed of 32 bit mode.

Pete



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