Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1arX5U-00057N-1R for pgsql-committers@arkaria.postgresql.org; Sat, 16 Apr 2016 20:45:04 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1arX5S-0005XG-Fl for pgsql-committers@arkaria.postgresql.org; Sat, 16 Apr 2016 20:45:02 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1arX5Q-0005Wa-Dd for pgsql-committers@postgresql.org; Sat, 16 Apr 2016 20:45:00 +0000 Received: from mail-pa0-x233.google.com ([2607:f8b0:400e:c03::233]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1arX5M-0005JQ-Uj for pgsql-committers@postgresql.org; Sat, 16 Apr 2016 20:44:58 +0000 Received: by mail-pa0-x233.google.com with SMTP id zm5so65997537pac.0 for ; Sat, 16 Apr 2016 13:44:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=hm4YcYF5RGpqgSh2CB0E0GZc+FR4XlGfm2GKDf3uZuo=; b=RW0F+Lq3TyepYJarSUw9X5+wI6Qa4KHJ96fi56A6ZwYhRaNUahAUXdR3wFhubGxtT6 EbDOfu7QwgeUcPBI04utLi43/F1GaG1eJEVHBc9BOZjo4MgC8qY3wtuJCfahQrlvt9hB sccx3D7MxNOg4gAbuOCpa3TyLFrTy87l4+ISE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=hm4YcYF5RGpqgSh2CB0E0GZc+FR4XlGfm2GKDf3uZuo=; b=WjjJitkLNzIDGTAmeW10RfzKpORrJun1d0ZqiNYKSoUQX1ZIM0sscL2PgWvRz+4mLl /ePGqX7WO7kQu9cU1g455BJRMhcWBtX9DAkfSBUFrPLcshTbomGDIhKIxACuzrQ0lb+B 4X0ylE7E5u24Qcma+WvjXrafbph1sibDfqJ0ui0Z68xgf5Hmucc46yf9TC4ag6TggqJy uYwljs6W8kClPJ7oIFLZ+ELU/8hE58zt37MikjQCv7C1TLqOQKChaEfQLsv+nrGqTlmH j3GsmA+lzlM35P0MJJHVAKDM0zn2GNdxtee+FdKquzxWbMA1YV/BXlYY0VWRmC6rZDSu Evbg== X-Gm-Message-State: AOPr4FUxOxME91+xDmDU0snDnQXT4tYHtWNQpFoZS0SM0Rzbrgq6ajSsGnGSdQktJZ1UwQ== X-Received: by 10.66.90.226 with SMTP id bz2mr39352751pab.31.1460839495155; Sat, 16 Apr 2016 13:44:55 -0700 (PDT) Received: from tornado.leadboat.com (c-98-248-47-228.hsd1.ca.comcast.net. [98.248.47.228]) by smtp.gmail.com with ESMTPSA id zu10sm73574528pab.31.2016.04.16.13.44.53 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 16 Apr 2016 13:44:54 -0700 (PDT) Date: Sat, 16 Apr 2016 16:44:52 -0400 From: Noah Misch To: Kevin Grittner Cc: Andres Freund , Robert Haas , Kevin Grittner , "pgsql-hackers@postgresql.org" , "pgsql-committers@postgresql.org" Subject: Re: pgsql: Avoid extra locks in GetSnapshotData if old_snapshot_threshold < Message-ID: <20160416204452.GA1910190@tornado.leadboat.com> References: <20160412185625.g7ixnlpwaqvsqt7v@alap3.anarazel.de> <20160412192801.wffn2vjyszyw4qa4@alap3.anarazel.de> <20160413171955.i53me46fqqhdlztq@alap3.anarazel.de> <20160413192110.fogwesjti3kxycnu@alap3.anarazel.de> <20160413200148.bawmwjdmggbllhha@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org On Wed, Apr 13, 2016 at 03:21:31PM -0500, Kevin Grittner wrote: > If 2201d801 was not included in your -1 tests, have you identified > where the 2% extra run time is going on -1 versus reverted? Since > several other threads lately have reported bigger variation than > that based on random memory alignment issues, can we confirm that > this is a real difference in what is at master's HEAD? If anyone wishes to confirm that, I recommend this method: http://www.postgresql.org/message-id/87vbitb2zp.fsf@news-spur.riddles.org.uk PostgreSQL has not required that from contributors, though. For putative regressions this small, we've either analyzed them theoretically or just dismissed them. The key judgment to finalize here is whether it's okay to release this feature given its current effect[1], when enabled, on performance. That is more controversial than the potential ~2% regression for old_snapshot_threshold=-1. Alvaro[2] and Robert[3] are okay releasing that way, and Andres[4] is not. If anyone else wants to weigh in, now is the time. [1] http://www.postgresql.org/message-id/20160413192110.fogwesjti3kxycnu@alap3.anarazel.de [2] http://www.postgresql.org/message-id/20160413140821.GA6568@alvherre.pgsql [3] http://www.postgresql.org/message-id/CA+TgmoZqN0xevR+1pZ6j-99-ZCBoOphr-23tiREb+QW1Eu=KOA@mail.gmail.com [4] http://www.postgresql.org/message-id/20160413212356.uv4velailmivnihh@alap3.anarazel.de -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers