From: Ingo Molnar <mingo@elte.hu>
To: Peter Zijlstra <peterz@infradead.org>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>, Willy Tarreau <w@1wt.eu>,
Ray Lee <ray-lk@madrabbit.org>,
"LKML," <linux-kernel@vger.kernel.org>,
Mike Galbraith <efault@gmx.de>
Subject: Re: Poor PostgreSQL scaling on Linux 2.6.25-rc5 (vs 2.6.22)
Date: Mon, 17 Mar 2008 11:16:12 +0100 [thread overview]
Message-ID: <20080317101612.GA23575@elte.hu> (raw)
In-Reply-To: <1205746084.8514.301.camel@twins>
* Peter Zijlstra <peterz@infradead.org> wrote:
> The latest sched code contains a few patches in this direction
> (.25-rc6), and they seem to have the desired effect on 1 socket single
> and dual core and 8 socket single core and dual core. On quad core we
> seem to have some load balance problems that destroy the workload in
> other interresting ways - looking into that now.
here's a performance comparison between 2.6.21 and -rc6, on a
8-socket/16-core system:
http://redhat.com/~mingo/misc/sysbench-rc6.jpg
[transactions/sec, higher is better]
2.6.21 2.6.25-rc5 2.6.25-rc6
-------------------------------------------------------
1: 383.26 270.47 269.69
2: 741.02 527.67 560.52
4: 1880.79 1049.59 1184.44
8: 3815.59 2901.07 3881.78
16: 8944.81 8993.24 9000.81
32: 8647.19 8568.66 8638.64
64: 8058.10 7624.46 8212.92
128: 6500.06 5804.75 8182.71
256: 5625.27 3656.52 7661.02
[ Postgresql 8.3, default scheduler parameters, sysbench parameters:
--test=oltp --db-driver=psql --max-time=60 --max-requests=0
--oltp-read-only=on. Ask if you need more info about the test. ]
as you can see near and after the saturation point .25 not only has
fixed any regression but rules the picture and is 35%+ faster at 256
clients and shows no breakdown at all at high client counts.
( i also have to observe that while running with 256 clients overload,
the 2.6.25 system was totally serviceable, while 2.6.21 showed bad
lags. )
The "early rampup" phase [less than 25% utilized] is still not as good
as we'd like it to be - our idle balancing force is still a tad too
strong for this workload. (But that is relatively easy to solve in
general and we are working on those bits.)
in any case, we welcome any help from you with these tuning efforts.
It's certainly fun :)
Ingo
next prev parent reply other threads:[~2008-03-17 10:16 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-11 6:49 Poor PostgreSQL scaling on Linux 2.6.25-rc5 (vs 2.6.22) Nick Piggin
2008-03-11 7:58 ` Ingo Molnar
2008-03-11 8:28 ` Nick Piggin
2008-03-11 9:59 ` Ingo Molnar
2008-03-11 21:07 ` Nicholas Miell
2008-03-11 21:34 ` Cyrus Massoumi
2008-03-11 23:12 ` Nicholas Miell
2008-03-11 23:42 ` Nick Piggin
2008-03-11 23:47 ` Stephen Hemminger
2008-03-12 9:00 ` Zhang, Yanmin
[not found] ` <20080311102538.GA30551@elte.hu>
[not found] ` <20080311120230.GA5386@elte.hu>
2008-03-12 1:21 ` Nick Piggin
2008-03-12 7:58 ` Peter Zijlstra
2008-03-17 0:44 ` Nick Piggin
2008-03-17 5:16 ` Ray Lee
2008-03-17 5:21 ` Willy Tarreau
2008-03-17 7:19 ` Nick Piggin
2008-03-17 8:26 ` Willy Tarreau
2008-03-17 8:54 ` Nick Piggin
2008-03-17 9:28 ` Peter Zijlstra
2008-03-17 9:56 ` Nick Piggin
2008-03-17 10:16 ` Ingo Molnar [this message]
2008-03-17 5:34 ` Nick Piggin
-- strict thread matches above, loose matches on Subject: below --
2008-03-14 15:42 Xose Vazquez Perez
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=20080317101612.GA23575@elte.hu \
--to=mingo@elte.hu \
--cc=efault@gmx.de \
--cc=linux-kernel@vger.kernel.org \
--cc=nickpiggin@yahoo.com.au \
--cc=peterz@infradead.org \
--cc=ray-lk@madrabbit.org \
--cc=w@1wt.eu \
/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