Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aqLTC-0000sr-Ml for pgsql-hackers@arkaria.postgresql.org; Wed, 13 Apr 2016 14:08:38 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1aqLTB-0006iT-3Z for pgsql-hackers@arkaria.postgresql.org; Wed, 13 Apr 2016 14:08:37 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1aqLTA-0006iN-Kg for pgsql-hackers@postgresql.org; Wed, 13 Apr 2016 14:08:36 +0000 Received: from smtp-auth.no-ip.com ([8.23.224.61] helo=out.smtp-auth.no-ip.com) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1aqLT6-0000ED-Ce; Wed, 13 Apr 2016 14:08:35 +0000 X-No-IP: alvh.no-ip.org@noip-smtp X-Report-Spam-To: abuse@no-ip.com Received: from alvin.alvh.no-ip.org (unknown [186.11.40.18]) (Authenticated sender: alvh.no-ip.org@noip-smtp) by smtp-auth.no-ip.com (Postfix) with ESMTPA id 02372400D83; Wed, 13 Apr 2016 07:08:25 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 7BCFD270; Wed, 13 Apr 2016 11:08:21 -0300 (CLT) Date: Wed, 13 Apr 2016 11:08:21 -0300 From: Alvaro Herrera To: Robert Haas Cc: Andres Freund , Noah Misch , Kevin Grittner , Kevin Grittner , "pgsql-hackers@postgresql.org" Subject: Re: Re: [COMMITTERS] pgsql: Avoid extra locks in GetSnapshotData if old_snapshot_threshold < Message-ID: <20160413140821.GA6568@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -1.1 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Robert Haas wrote: > On Tue, Apr 12, 2016 at 11:05 PM, Andres Freund wrote: > > I didn't plan to do anything without a few +1's. I don't think we can > > release with the state of things as is though. I don't see a less > > intrusive way than to get rid of that spinlock on all platforms capable > > of significant concurrency. > > > > So, RMT, what are your thoughts on this? > > I think that a significant performance regression which affects people > not using snapshot_too_old would be a stop-ship issue, Agreed. > but I disagree that an issue which only affects people using the > feature is a must-fix. Agreed. > It's reasonable to fix some kinds of > issues after feature freeze, but not at the price of accepting > arbitrary amounts of new code that may have problems of its own. > Every release will have some warts. Agreed. The patch being proposed for commit is fiddly architecture-specific stuff which is likely to destabilize the tree for quite some time, and cause lots of additional work to Andres and anyone else likely to work on such low-level details, such as Robert, both of which already have plenty to do. The snapshot-too-old feature is said to be great and shows lots of improvement in certain cases, and no regression can be measured for those who have it turned off. The regression only seems to show up if you turn it on and have a crazily high rate of read-only transactions. I think this can wait for 9.7. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers