Re: Perf Benchmarking and regression.

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Ashutosh Sharma <ashu(dot)coek88(at)gmail(dot)com>, Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>, Mithun Cy <mithun(dot)cy(at)enterprisedb(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
Subject: Re: Perf Benchmarking and regression.
Date: 2016-05-31 20:03:46
Message-ID: CA+TgmoZXXK4M95UOoBQyOhW-w4goqQBJPSvrh4X+PuO=w2htRQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, May 27, 2016 at 12:37 AM, Andres Freund <andres(at)anarazel(dot)de> wrote:
> I don't think the situation is quite that simple. By *disabling* backend flushing it's also easy to see massive performance regressions. In situations where shared buffers was configured appropriately for the workload (not the case here IIRC).

On what kind of workload does setting backend_flush_after=0 represent
a large regression vs. the default settings?

I think we have to consider that pgbench and parallel copy are pretty
common things to want to do, and a non-zero default setting hurts
those workloads a LOT. I have a really hard time believing that the
benefits on other workloads are large enough to compensate for the
slowdowns we're seeing here. We have nobody writing in to say that
backend_flush_after>0 is making things way better for them, and
Ashutosh and I have independently hit massive slowdowns on unrelated
workloads. We weren't looking for slowdowns in this patch. We were
trying to measure other stuff, and ended up tracing the behavior back
to this patch. That really, really suggests that other people will
have similar experiences.

--
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 Tom Lane 2016-05-31 20:04:41 Re: Rename max_parallel_degree?
Previous Message Peter Geoghegan 2016-05-31 19:57:51 Re: Rename max_parallel_degree?