Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1azARa-0001t1-3J for pgsql-committers@arkaria.postgresql.org; Sat, 07 May 2016 22:11:26 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1azARZ-0002Qf-9m for pgsql-committers@arkaria.postgresql.org; Sat, 07 May 2016 22:11:25 +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 1azARL-00025I-5Y for pgsql-committers@postgresql.org; Sat, 07 May 2016 22:11:11 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1azARI-0001TF-5L for pgsql-committers@postgresql.org; Sat, 07 May 2016 22:11:10 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 9FFD9206CD for ; Sat, 7 May 2016 18:11:06 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute3.internal (MEProxy); Sat, 07 May 2016 18:11:06 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=XrLt2WcL07go0BFFTSMQZbZDf0k=; b=W9B2j F68y7iug/y96mk58aliGEztqAEV1Q0zEVulVJBn2tTpMyVIEHczOUymMggvQDx+/ rolnMmxngrEDTn1dNAtDhyAgDdU2C5f8nHPm83CRhLF+YxifDy+LNWIF0F0kbusR jIn8oNbY26/mzFBk5gwiyBtNwggemCxsQWrHIc= X-Sasl-enc: euFnQsqwdoUUOfVmDzhF7MqJWa9EmwPyKJn/BBmlP9rI 1462659066 Received: from intern.anarazel.de (unknown [192.77.237.104]) by mail.messagingengine.com (Postfix) with ESMTPA id 3C184C00017; Sat, 7 May 2016 18:11:06 -0400 (EDT) Date: Sat, 7 May 2016 15:11:05 -0700 From: Andres Freund To: Kevin Grittner Cc: Ants Aasma , Amit Kapila , Noah Misch , Robert Haas , Kevin Grittner , "pgsql-hackers@postgresql.org" , "pgsql-committers@postgresql.org" Subject: Re: [HACKERS] Re: pgsql: Avoid extra locks in GetSnapshotData if old_snapshot_threshold < Message-ID: <20160507221105.rjjtdir65obkjn2g@alap3.anarazel.de> References: <20160416204452.GA1910190@tornado.leadboat.com> <20160416205630.puxsglckxi3sn5ec@alap3.anarazel.de> <171569342.34745.1461078735421@RIA> <20160506220728.bgyxet73t6s3hjiw@alap3.anarazel.de> <20160507004844.wbze4nhjqa67io2a@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Pg-Spam-Score: -2.6 (--) 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 2016-05-06 20:28:27 -0500, Kevin Grittner wrote: > On Fri, May 6, 2016 at 7:48 PM, Andres Freund wrote: > > On 2016-05-06 19:43:24 -0500, Kevin Grittner wrote: > >> It's disappointing that I am not getting more consistent numbers, > >> but NUMA can be hard to manage that way. > > > > FWIW, in my experience, unless you disable autovacuum (or rather > > auto-analyze), the effects from non-predicable analyze runs with > > long-running snapshots are worse. I mean the numa effects suck, but in > > r/w workload effects of analyze are often much worse. > > Hm. But the benefits of the patch are not there if autovacuum is > off. I'm gonna need to ponder the best way to test given all that. It's sufficient to set the threshhold for analyze very high, as vacuum itself doesn't have that problem. I basically just set autovacuum_analyze_threshold to INT_MAX , that alleviates the problem for normal runs. Andres -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers