Re: Possible performance regression in version 10.1 with pgbenchread-write tests. - Mailing list pgsql-hackers

From Amit Kapila
Subject Re: Possible performance regression in version 10.1 with pgbenchread-write tests.
Date
Msg-id CAA4eK1LgGTgyAohv7tbS080NRgtmOM_kOTadkeOAASYJBu-7sA@mail.gmail.com
Whole thread Raw
In response to Re: Possible performance regression in version 10.1 with pgbenchread-write tests.  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Possible performance regression in version 10.1 with pgbenchread-write tests.
List pgsql-hackers
On Thu, Feb 22, 2018 at 7:55 PM, Robert Haas <robertmhaas@gmail.com> wrote:
> On Wed, Feb 21, 2018 at 10:03 PM, Mithun Cy <mithun.cy@enterprisedb.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@sss.pgh.pa.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


pgsql-hackers by date:

Previous
From: Dmitry Dolgov
Date:
Subject: Re: pgbench-ycsb
Next
From: Robert Haas
Date:
Subject: Re: [COMMITTERS] pgsql: Give a better error message on invalidhostaddr option.