Something we overlooked with MySQL and FreeBSD vs Linux?

Daniel Eischen eischen at vigrid.com
Mon May 31 08:35:40 PDT 2004


On Mon, 31 May 2004, Chris Elsworth wrote:

> Sorry to drag this up again :)
> 
> I would check myself, but I don't have access to a HT enabled machine
> with FreeBSD on it anymore to check the now-default setting of this
> sysctl. The last entry in UPDATING records that
> machdep.hlt_logical_cpus is 1, stopping user processes from using the
> logical CPUs.
> 
> Is this still the case? I never knew about that to tweak it. I know, I
> should have read UPDATING.
> 
> If that is still 1 as default, that might explain my 50% performance
> loss on FreeBSD.

I don't either, but FreeBSD's performance on HT machines is not
very good yet.  I seem to recall some earlier reports of disabling
HT and getting better performance.  I think the kernel scheduler
isn't yet tuned to handle HT well.

-- 
DE



More information about the freebsd-threads mailing list