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

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Mithun Cy <mithun(dot)cy(at)enterprisedb(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
Subject: Re: Possible performance regression in version 10.1 with pgbench read-write tests.
Date: 2018-02-22 14:25:28
Message-ID: CA+TgmoZYLrs3zV44R1gEYaJ2dAGvmYKMA_k5R5vrx0tW=t29BA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2018-02-22 14:25:59 Re: [doc fix] Correct calculation of vm.nr_hugepages
Previous Message Robert Haas 2018-02-22 13:55:43 Re: pgsql: Charge cpu_tuple_cost * 0.5 for Append and MergeAppend nodes.