Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 May 2004 18:34:35 +0100
From:      Thomas Hurst <tom.hurst@clara.net>
To:        freebsd-threads@freebsd.org
Subject:   Re: Why is MySQL nearly twice as fast on Linux?
Message-ID:  <20040523173435.GB97724@voi.aagh.net>
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 (amd64list@jpgsworld.com) wrote:

> ... But I wish I knew how he ran super-smack, those numbers are
> insane.

Nothing special:

  super-smack smacks/select-key.smack 4 1000

Or so; change the number of clients and iterations to taste; you'll note
performance does improve slightly with more clients up to the number of
CPU's and then drops slowly as you add more, with system load apparantly
not increasing a whole lot; I'm not even sure it got past 50% most of
the time, despite there being plenty of active clients.

It'd be interesting to see this comparison with PgSQL; super-smack
supports it, and as a preforking database server it might do better on
FreeBSD.

-- 
Thomas 'Freaky' Hurst  -  freaky@aagh.net  -  http://www.aagh.net/



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