From: Tom Lane <tgl@sss.pgh.pa.us>
To: Hiroshi Inoue <Inoue@tpf.co.jp>
Cc: Schmidt, Peter <peter.schmidt@prismedia.com>
Cc: pgsql-hackers@postgresql.org
Cc: pgsql-admin@postgresql.org
Subject: Re: [HACKERS] Re: v7.1b4 bad performance
Date: Tue, 20 Feb 2001 16:52:43 -0500
Message-ID: <6776.982705963@sss.pgh.pa.us> (raw)
In-Reply-To: <EKEJJICOHDIEMGPNIFIJKEJJDKAA.Inoue@tpf.co.jp>
References: <EKEJJICOHDIEMGPNIFIJKEJJDKAA.Inoue@tpf.co.jp>
"Hiroshi Inoue" <Inoue@tpf.co.jp> writes:
>> Hmm, you mean you set up a separate test database for each pgbench
>> "client", but all under the same postmaster?
> Yes. Different database is to make the conflict as less as possible.
> The conflict among backends is a greatest enemy of CommitDelay.
Okay, so this errs in the opposite direction from the original form of
the benchmark: there will be *no* cross-backend locking delays, except
for accesses to the common WAL log. That's good as a comparison point,
but we shouldn't trust it absolutely either.
>> What platform is this on --- in particular, how long a delay
>> is CommitDelay=1 in reality? What -B did you use?
> platform) i686-pc-linux-gnu, compiled by GCC egcs-2.91.60(turbolinux 4.2)
> min delay) 10msec according to your test program.
> -B) 64 (all other settings are default)
Thanks. Could I trouble you to run it again with a larger -B, say
1024 or 2048? What I've found is that at -B 64, the benchmark is
so constrained by limited buffer space that it doesn't reflect
performance at a more realistic production setting.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, Inoue@tpf.co.jp, peter.schmidt@prismedia.com, pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] Re: v7.1b4 bad performance
In-Reply-To: <6776.982705963@sss.pgh.pa.us>
References: <EKEJJICOHDIEMGPNIFIJKEJJDKAA.Inoue@tpf.co.jp> <6776.982705963@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox