LKML Archive on
help / color / mirror / Atom feed
From: Nick Piggin <>
To: Andi Kleen <>
Cc: Cyrus Massoumi <>,
	Diego Calleja <>,
	Stephen Cuppett <>,,,
Subject: Re: Performance versus FreeBSD 7.0
Date: Thu, 6 Mar 2008 23:53:06 +1100	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On Tuesday 04 March 2008 10:23, Andi Kleen wrote:

> You're totally on the wrong path here I think.

In my testing, I found that Linux is a bit faster and more scalable
than FreeBSD on MySQL sysbench.

I think since the mmap_sem madvise problem was solved, the kernel
didn't really have any further problems with this workload.

It is doing a lot of context switches, no IO, and not a lot of
real work. The DBMS runs into some scalability problems in this
workload, but to be fair it is probably not one that the MySQL
guys care about too much. But it sometimes seems a bit sloppy...
eg. a full 35% of the syscalls the MySQL server makes are failed
sched_setparam calls that are passing in invalid values.

So I don't really consider it a big victory to be slightly faster
here; nobody really noticed until this test that we had the silly
performance bug in our malloc/free paths in glibc and the kernel.

  parent reply	other threads:[~2008-03-06 12:53 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-29 13:38 Stephen Cuppett
2008-02-29 14:54 ` Diego Calleja
2008-03-03 13:04   ` Nick Piggin
2008-03-03 19:02     ` Cyrus Massoumi
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 [this message]
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] <>
     [not found] ` <>
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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \
    --subject='Re: Performance versus FreeBSD 7.0' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).