pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tomas Vondra <tomas.vondra@2ndquadrant.com>
Cc: Peter Geoghegan <pg@bowt.ie>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: Rethinking MemoryContext creation
Date: Mon, 11 Dec 2017 13:09:42 -0500
Message-ID: <18351.1513015782@sss.pgh.pa.us> (raw)
In-Reply-To: <c0ecca0f-f8d3-211e-e044-2e5819a28d51@2ndquadrant.com>
References: <2264.1512870796@sss.pgh.pa.us>
	<CAH2-Wzk4FQq4SpzNp0ppJ78NVMtBSznG=WtU=pxqq=iMQfY1QQ@mail.gmail.com>
	<13309.1512920544@sss.pgh.pa.us>
	<c0ecca0f-f8d3-211e-e044-2e5819a28d51@2ndquadrant.com>

Tomas Vondra <tomas.vondra@2ndquadrant.com> writes:
> On 12/10/2017 04:42 PM, Tom Lane wrote:
>> Peter Geoghegan <pg@bowt.ie> writes:
>>> On Sat, Dec 9, 2017 at 5:53 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>>> Overall I'm seeing about a 5% improvement in a "pgbench -S" scenario,
>>>> although that number is a bit shaky since the run-to-run variation
>>>> is a few percent anyway.

> FWIW I've done some measurements, and while there is a improvement, it's
> far from 5%. ...
> So that's about 1.3% and 1.2% improvement. It seems fairly consistent,
> but it might easily be due to different in layout of the binaries.

Thanks for checking.  With these sorts of small-percentage improvements,
I would not be surprised for platform-to-platform results to be different.
At least you do see some improvement too.

Let me code up the change to avoid copying constant name strings,
and then we can see if that helps any.

			regards, tom lane




view thread (23+ messages)  latest in thread

Message-ID: <18351.1513015782@sss.pgh.pa.us>
Permalink:  ../18351.1513015782@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/18351.1513015782@sss.pgh.pa.us

 · 

reply

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-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, tomas.vondra@2ndquadrant.com, pg@bowt.ie
  Subject: Re: Rethinking MemoryContext creation
  In-Reply-To: <18351.1513015782@sss.pgh.pa.us>
  References: <2264.1512870796@sss.pgh.pa.us> <CAH2-Wzk4FQq4SpzNp0ppJ78NVMtBSznG=WtU=pxqq=iMQfY1QQ@mail.gmail.com> <13309.1512920544@sss.pgh.pa.us> <c0ecca0f-f8d3-211e-e044-2e5819a28d51@2ndquadrant.com> <18351.1513015782@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