Re: Possible performance regression in version 10.1 with pgbench read-write tests.

From: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Mithun Cy <mithun(dot)cy(at)enterprisedb(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Possible performance regression in version 10.1 with pgbench read-write tests.
Date: 2018-07-19 13:53:36
Message-ID: CAA4eK1LgGTgyAohv7tbS080NRgtmOM_kOTadkeOAASYJBu-7sA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Feb 22, 2018 at 7:55 PM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
> On Wed, Feb 21, 2018 at 10:03 PM, Mithun Cy <mithun(dot)cy(at)enterprisedb(dot)com> wrote:
>> seeing futex in the call stack andres suggested that following commit could
>> be the reason for regression
>>
>> commit ecb0d20a9d2e09b7112d3b192047f711f9ff7e59
>> Author: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
>> Date: 2016-10-09 18:03:45 -0400
>>
>> Use unnamed POSIX semaphores, if available, on Linux and FreeBSD.
>>
>> Commenting out same in src/template/linux I did run the benchmark tests
>> again
>> performance improved from 26871.567326 to 34286.620251 (both median of 3
>> TPS).
>
> Hmm. So that commit might not have been the greatest idea.
>

It appears so. I think we should do something about it as the
regression is quite noticeable.

--
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2018-07-19 14:07:26 Re: [COMMITTERS] pgsql: Give a better error message on invalid hostaddr option.
Previous Message Dmitry Dolgov 2018-07-19 13:50:59 Re: pgbench-ycsb