From: Cyrus Massoumi <cyrusm@gmx.net>
To: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: Diego Calleja <diegocg@gmail.com>,
Stephen Cuppett <cuppett@gmail.com>,
linux-kernel@vger.kernel.org, mingo@elte.hu,
a.p.zijlstra@chello.nl
Subject: Re: Performance versus FreeBSD 7.0
Date: Mon, 03 Mar 2008 20:02:23 +0100 [thread overview]
Message-ID: <47CC4B3F.8060405@gmx.net> (raw)
In-Reply-To: <200803040004.52299.nickpiggin@yahoo.com.au>
Nick Piggin wrote:
> On Saturday 01 March 2008 01:54, Diego Calleja wrote:
>> El Fri, 29 Feb 2008 08:38:00 -0500, "Stephen Cuppett" <cuppett@gmail.com>
> escribió:
>>> loads and 1500% at high loads. When compared with the best performing
>>> Linux kernel (2.6.22 or 2.6.24) performance is 15% better. Results are
>> There has been some performance problems with sysbench performance in linux
>> which made it slower than freebsd, there were some patches to speed things
>> up, not sure if they have been merged.
>
> There definitely were performance problems with threaded malloc/free
> in the Linux kernel and glibc. Fixes have been merged in both packages,
> and AFAIK the FreeBSD guys tested with those fixes in place.
>
> I think these were never really run into before in part due to MySQL's
> unscalable heap design makes it not scale well on higher numbers of
> CPUs anyway, and also made the malloc problems more pronounced (ie.
> they added a bit to the contention of the single heap lock, which is
> the big killer here).
IIRC, going to fine-grained file locking gave them a huge boost in this
particular benchmark (and maybe others).
As I said on lwn.net Peter Zijlstra posted a patch to break the global
file list lock about a year ago [1], but I don't think it was ever
merged. Here [2] are some numbers for the patchset.
[1] http://lkml.org/lkml/2007/1/28/29
[2] http://lkml.org/lkml/2007/1/28/116
> But it was very nice to be made aware of the problem and be able to
> improve it.
>
>
>> Myself I find fun that they look at Linux as the Leader That Must Be
>> Surpassed. All the performance highlights of freebsd 7.0 are things that
>> linux already did some years ago.
>
> I don't know very much about FreeBSD nor have verified the results
> for myself. But to their credit they seem to have done quite well at
> least on the smaller end of the scale.
next prev parent reply other threads:[~2008-03-03 19:02 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-29 13:38 Performance versus FreeBSD 7.0 Stephen Cuppett
2008-02-29 14:54 ` Diego Calleja
2008-03-03 13:04 ` Nick Piggin
2008-03-03 19:02 ` Cyrus Massoumi [this message]
2008-03-03 19:24 ` Nick Piggin
2008-03-03 22:47 ` Cyrus Massoumi
2008-03-03 23:23 ` Andi Kleen
2008-03-04 5:51 ` Cyrus Massoumi
2008-03-06 12:53 ` Nick Piggin
2008-03-06 13:12 ` Andi Kleen
2008-03-03 12:34 ` Andi Kleen
2008-03-06 17:29 ` debian developer
2008-03-06 17:34 ` debian developer
[not found] <a2dDb-60y-29@gated-at.bofh.it>
[not found] ` <a2eSt-7UK-1@gated-at.bofh.it>
2009-01-25 10:07 ` Lx
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47CC4B3F.8060405@gmx.net \
--to=cyrusm@gmx.net \
--cc=a.p.zijlstra@chello.nl \
--cc=cuppett@gmail.com \
--cc=diegocg@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=nickpiggin@yahoo.com.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.