pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dmitriy Sarafannikov <d.sarafannikov@bk.ru>
To: andres <andres@anarazel.de>
Cc: root@simply.name, pgsql-performance@postgresql.org, PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject:  Re: [HACKERS] [PERFORM] 9.4 -> 9.5 regression with queries through pgbouncer on RHEL 6
Date: Fri, 15 Jul 2016 12:24:21 +0300
Message-ID: <1468574661.605279425@f427.i.mail.ru> (raw)
In-Reply-To: <1468572683.710083822@f300.i.mail.ru>
References: <1468572683.710083822@f300.i.mail.ru>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>



>I don't really see anything suspicious in the profile. This looks more
>like a kernel scheduler issue than a postgres bottleneck one. It seems
>that somehow using nonblocking IO (started in 9.5) causes scheduling
>issues when pgbouncer is also local.
>
>Could you do perf stat -ddd -a sleep 10 or something during both runs? I
>suspect that the context switch ratios will be quite different.

Perf show that in 9.5 case context switches occurs about 2 times less.
Perf output is attached.

Regards,
Dmitriy Sarafannikov

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Attachments:

  perf.stat (application/octet-stream, 5.8K) download

view thread (15+ messages)

Message-ID: <1468574661.605279425@f427.i.mail.ru>
Permalink:  ../1468574661.605279425@f427.i.mail.ru/
Also on:    postgresql.org/message-id/1468574661.605279425@f427.i.mail.ru

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: d.sarafannikov@bk.ru, andres@anarazel.de, pgsql-hackers@postgresql.org
  Subject: Re:  Re: [HACKERS] [PERFORM] 9.4 -> 9.5 regression with queries through pgbouncer on RHEL 6
  In-Reply-To: <1468574661.605279425@f427.i.mail.ru>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox