From: Ingo Molnar <mingo@elte.hu>
To: Jesper Juhl <jesper.juhl@gmail.com>
Cc: Roman Zippel <zippel@linux-m68k.org>,
linux-kernel@vger.kernel.org,
Andrew Morton <akpm@linux-foundation.org>,
John Stultz <johnstul@us.ibm.com>,
Thomas Gleixner <tglx@linutronix.de>
Subject: Re: [patch, v2.6.22-rc6] sys_time() speedup
Date: Tue, 26 Jun 2007 18:18:57 +0200 [thread overview]
Message-ID: <20070626161857.GA7178@elte.hu> (raw)
In-Reply-To: <9a8748490706251520g24ff7a9dk716d73e7dbfd9ec3@mail.gmail.com>
* Jesper Juhl <jesper.juhl@gmail.com> wrote:
> > Ingo provided no information about his test setup and his patch was
> > a little strange, so I can't say that yet.
>
> What did you find strange about it? I'm currious. Sure it needs
> testing and of course it would be nice with some more details on
> Ingo's test setup.
My patch improves MySQL wall-clock performance by ~10% on a dual-core
box [see the numbers i cited in my initial mail, they were ran on a T60
with a 1.83 GHz Core2Duo] and by 7% on an 8-way box:
2.6.22-rc6:
#threads
9: transactions: 8440 (843.29 per sec.)
9: transactions: 8423 (841.18 per sec.)
9: transactions: 8511 (849.98 per sec.)
9: transactions: 8473 (846.23 per sec.)
2.6.22-rc6 + sys_time.patch:
#threads
9: transactions: 9043 (903.36 per sec.)
9: transactions: 9020 (900.78 per sec.)
9: transactions: 8974 (896.61 per sec.)
9: transactions: 9007 (899.97 per sec.)
[ to reproduce it, run sysbench 0.4.8 with --test=oltp --num-threads=9.
The other tests show similar speedup, so this is in no way limited to
OLTP. ]
in other words, if you are using MySQL in a serious way then this patch
provides you a real-world speedup equivalent to upgrading a 1.66 GHz
Core2Duo to a 1.83 GHz Core2Duo. I'd call that anything but "slightly
improved performance" ;-)
if you are curious why Roman's reaction to this patch was so negative:
i'm extremely curious myself too! ;-) That man, with his eternal
negativism (i dare anyone to point me to a _single_ lkml posting of
Roman where he gives any positive feedback to anyone) is a pure walking
mystery to me ;)
( whether there is any correlation between a decade long fundamental
suckage and stagnation of the Linux time and NTP subsystem and Roman's
decade long negative feedback presence in that area of code is left up
to the reader. :)
This current ... interesting piece of Roman about a _single_ trivial
unlikely() branch in do_gettimeofday() borders on the ridiculous. My
patch might be wrong for various reasons, but that single
'if (unlikely())' statement is not one of those reasons =B-)
Ingo
next prev parent reply other threads:[~2007-06-26 16:19 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-25 20:06 [patch, v2.6.22-rc6] sys_time() speedup Ingo Molnar
2007-06-25 21:09 ` Roman Zippel
2007-06-25 21:17 ` Jesper Juhl
2007-06-25 22:00 ` Roman Zippel
2007-06-25 22:20 ` Jesper Juhl
2007-06-25 22:49 ` Roman Zippel
2007-06-26 16:18 ` Ingo Molnar [this message]
2007-06-26 16:39 ` Roman Zippel
2007-06-26 16:49 ` Andrea Arcangeli
2007-06-26 17:13 ` Ray Lee
2007-06-27 0:15 ` Andrea Arcangeli
2007-06-26 17:08 ` Roman Zippel
2007-06-26 17:35 ` Andrew Morton
2007-06-25 22:15 ` Andrew Morton
2007-06-26 2:20 ` Stephen Rothwell
2007-06-26 15:26 ` Ingo Molnar
2007-06-26 17:14 ` Andrew Morton
2007-06-27 0:22 ` Andrea Arcangeli
2007-06-26 15:43 ` Andrea Arcangeli
2007-06-26 17:36 ` Andrew Morton
2007-06-25 22:02 ` Eric Dumazet
2007-06-26 0:22 ` Mark Lord
2007-06-26 14:58 ` Ingo Molnar
2007-06-26 16:59 ` john stultz
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=20070626161857.GA7178@elte.hu \
--to=mingo@elte.hu \
--cc=akpm@linux-foundation.org \
--cc=jesper.juhl@gmail.com \
--cc=johnstul@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
--cc=zippel@linux-m68k.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox