Re: Move PinBuffer and UnpinBuffer to atomics

From: David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>
To: YUriy Zhuravlev <u(dot)zhuravlev(at)postgrespro(dot)ru>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Move PinBuffer and UnpinBuffer to atomics
Date: 2015-09-11 16:15:43
Message-ID: CAKJS1f9SzMBghNxHFZ+Sm70=nWgcovwX_cFnQEs7L1Rvq5mL=A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 11 September 2015 at 22:23, YUriy Zhuravlev <u(dot)zhuravlev(at)postgrespro(dot)ru>
wrote:

>
> Without patch we have 417523 TPS and with patch 965821 TPS for big x86
> server.
> All details here: https://gist.github.com/stalkerg/773a81b79a27b4d5d63f
>
>
Impressive!

I've run this on a single CPU server and don't see any speedup, so I assume
I'm not getting enough contention.
As soon as our 4 socket machine is free I'll try a pgbench run with that.

Just for fun, what's the results if you use -M prepared ?

Regards

David Rowley

--
David Rowley http://www.2ndQuadrant.com/
<http://www.2ndquadrant.com/>
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2015-09-11 16:24:41 Re: WIP: Make timestamptz_out less slow.
Previous Message Andres Freund 2015-09-11 16:14:21 Re: Move PinBuffer and UnpinBuffer to atomics