Re: new group commit behavior not helping?

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Peter Geoghegan <peter(at)2ndquadrant(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: new group commit behavior not helping?
Date: 2012-04-01 05:41:29
Message-ID: CA+TgmobnRQd2ZBMcJx8e0MPjPc_90SUHzJKZ966SM4HtZgNWvg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Mar 31, 2012 at 8:31 PM, Peter Geoghegan <peter(at)2ndquadrant(dot)com> wrote:
> The exact benchmark that I ran was the update.sql pgbench-tools
> benchmark, on my laptop. The idea was to produce a sympathetic
> benchmark with a workload that was maximally commit-bound. Heikki
> reproduced similar numbers on his laptop, iirc. Presumably the default
> TPC-B-like transaction test has been used here.

OK, I ran pgbench-tools with your configuration file. Graphs
attached. Configuration otherwise as in my standard pgbench runs,
except max_connections=1000 to accommodate the needs of the test. I
now see the roughly order-of-magnitude increase you measured earlier.
There seem to be too relevant differences between your test and mine:
(1) your test is just a single insert per transaction, whereas mine is
pgbench's usual update, select, update, update, insert and (2) it
seems that, to really see the benefit of this patch, you need to pound
the server with a very large number of clients. On this test, 250
clients was the sweet spot.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Attachment Content-Type Size
image/png 6.4 KB
image/png 7.2 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2012-04-01 05:49:15 Re: new group commit behavior not helping?
Previous Message Jeff Janes 2012-04-01 05:40:17 new group commit behavior not helping?