Re: Perf Benchmarking and regression.

From: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Ashutosh Sharma <ashu(dot)coek88(at)gmail(dot)com>, Mithun Cy <mithun(dot)cy(at)enterprisedb(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Perf Benchmarking and regression.
Date: 2016-05-14 04:52:52
Message-ID: CAA4eK1JiOCSd7dpOof95E6GBd2nyk+_n-6bGUD=ate7wCUwj6g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, May 13, 2016 at 11:13 PM, Andres Freund <andres(at)anarazel(dot)de> wrote:
>
> On 2016-05-13 10:20:04 -0400, Robert Haas wrote:
> > On Fri, May 13, 2016 at 7:08 AM, Ashutosh Sharma <ashu(dot)coek88(at)gmail(dot)com>
wrote:
> > > Following are the performance results for read write test observed
with
> > > different numbers of "backend_flush_after".
> > >
> > > 1) backend_flush_after = 256kb (32*8kb), tps = 10841.178815
> > > 2) backend_flush_after = 512kb (64*8kb), tps = 11098.702707
> > > 3) backend_flush_after = 1MB (128*8kb), tps = 11434.964545
> > > 4) backend_flush_after = 2MB (256*8kb), tps = 13477.089417
> >
> > So even at 2MB we don't come close to recovering all of the lost
> > performance. Can you please test these three scenarios?
> >
> > 1. Default settings for *_flush_after
> > 2. backend_flush_after=0, rest defaults
> > 3. backend_flush_after=0, bgwriter_flush_after=0,
> > wal_writer_flush_after=0, checkpoint_flush_after=0
>
> 4) 1) + a shared_buffers setting appropriate to the workload.
>

If by 4th point, you mean to test the case when data fits in shared
buffers, then Mithun has already reported above [1] that it didn't see any
regression for that case

[1] -
http://www.postgresql.org/message-id/CAD__OuiObzNVTt_hO__P5AEnU4iNqcFWgArXR4TbLKe-UXyukQ@mail.gmail.com
Read line - Even for READ-WRITE when data fits into shared buffer
(scale_factor=300 and shared_buffers=8GB) performance has improved.

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dilip Kumar 2016-05-14 05:35:04 Re: [sqlsmith] Failed assertion in parallel worker (ExecInitSubPlan)
Previous Message Anderson Carniel 2016-05-14 04:35:30 Losing memory references - SRF + SPI