From: Tomas Vondra <tomas.vondra@2ndquadrant.com>
To: Andres Freund <andres@anarazel.de>
Cc: Alexander Korotkov <a.korotkov@postgrespro.ru>
Cc: Peter Geoghegan <pg@bowt.ie>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Subject: Re: Improving connection scalability: GetSnapshotData()
Date: Mon, 30 Mar 2020 00:52:43 +0200
Message-ID: <20200329225243.hogrvgs3jwpvrjxv@development> (raw)
In-Reply-To: <F0E7D264-FEA3-47D3-815E-C834569EBCDA@anarazel.de>
References: <20200301083601.ews6hz5dduc3w2se@alap3.anarazel.de>
<CAH2-WzmNpBm0vqOaxzJhd-31SZVU904xrZvWPp1RyGOEFZQTug@mail.gmail.com>
<CAPpHfdsJUWeZ=kCUZuA5oADyustFQfUrWMimpD4YL-n8tqShhQ@mail.gmail.com>
<F0E7D264-FEA3-47D3-815E-C834569EBCDA@anarazel.de>
On Sun, Mar 29, 2020 at 11:50:10AM -0700, Andres Freund wrote:
>Hi,
>
>On March 29, 2020 11:24:32 AM PDT, Alexander Korotkov
><a.korotkov@postgrespro.ru> wrote:
>> clearly a big win on majority
>>of workloads, I think we still need to investigate different workloads
>>on different hardware to ensure there is no regression.
>
>Definitely. Which workloads are you thinking of? I can think of those
>affected facets: snapshot speed, commit speed with writes, connection
>establishment, prepared transaction speed. All in the small and large
>connection count cases.
>
>I did measurements on all of those but prepared xacts, fwiw. That
>definitely needs to be measured, due to the locking changes around
>procarrayaddd/remove.
>
>I don't think regressions besides perhaps 2pc are likely - there's
>nothing really getting more expensive but procarray add/remove.
>
If I get some instructions what tests to do, I can run a bunch of tests
on my machinees (not the largest boxes, but at least something). I don't
have the bandwidth to come up with tests on my own, at the moment.
regards
--
Tomas Vondra http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
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-hackers@postgresql.org
Cc: tomas.vondra@2ndquadrant.com, andres@anarazel.de, a.korotkov@postgrespro.ru, pg@bowt.ie
Subject: Re: Improving connection scalability: GetSnapshotData()
In-Reply-To: <20200329225243.hogrvgs3jwpvrjxv@development>
* 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