Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aqQMZ-0004wX-Rc for pgsql-committers@arkaria.postgresql.org; Wed, 13 Apr 2016 19:22:07 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1aqQMZ-0007lk-EN for pgsql-committers@arkaria.postgresql.org; Wed, 13 Apr 2016 19:22:07 +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 1aqQMY-0007iC-TR for pgsql-committers@postgresql.org; Wed, 13 Apr 2016 19:22:07 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1aqQMW-0003RP-Hv for pgsql-committers@postgresql.org; Wed, 13 Apr 2016 19:22:05 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id EE2162080C for ; Wed, 13 Apr 2016 15:22:03 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute3.internal (MEProxy); Wed, 13 Apr 2016 15:22:03 -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=9d3D9eWCGNHZfInDc3vcbhriJVM=; b=u54RM /D2cxqm4hXxbnoZ6LX+MkJsyuZ0qunw1NLcdzkiOkG0WpXL8/ALLMVn8xUnLcXtz HLxGMfsmntlqV1sgn3sT/WowN3MXpO6H3pPkHkVmomwBcBkIroMzxC1w5GUbmyXU bzZ8gDj3FEc3HGOe51Vdy28Uz7A3GGDYvjqgQ0= X-Sasl-enc: kYmTduJ9MIFBlGXR0LVBMojLqJt2xXRjDGP3aKM1gh6r 1460575323 Received: from intern.anarazel.de (unknown [184.23.178.130]) by mail.messagingengine.com (Postfix) with ESMTPA id 7E8C9C0001A; Wed, 13 Apr 2016 15:22:03 -0400 (EDT) Date: Wed, 13 Apr 2016 12:22:02 -0700 From: Andres Freund To: Kevin Grittner Cc: 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: <20160413192202.3bf3l6zs4grlujml@alap3.anarazel.de> References: <20160412185625.g7ixnlpwaqvsqt7v@alap3.anarazel.de> <20160412192801.wffn2vjyszyw4qa4@alap3.anarazel.de> <20160413171955.i53me46fqqhdlztq@alap3.anarazel.de> <20160413185637.k4mg5w4ju6athydt@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-04-13 14:08:49 -0500, Kevin Grittner wrote: > On Wed, Apr 13, 2016 at 1:56 PM, Andres Freund wrote: > > > I'll run with -1 once the current (longer) run has finished. > > Just for the record, were any of the other results purporting to be > with the feature "off" also actually running with the feature set > for its fastest possible timeout? Yes, I'd only used 0 / 10. I think that shows that the contention, for me, is primarily the lwlock, not the spinlock. Greetings, Andres Freund -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers