pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Kevin Grittner <kgrittn@gmail.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Kevin Grittner <kgrittn@postgresql.org>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Cc: pgsql-committers@postgresql.org <pgsql-committers@postgresql.org>
Subject: Re: [HACKERS] Re: pgsql: Avoid extra locks in GetSnapshotData if old_snapshot_threshold <
Date: Wed, 13 Apr 2016 12:22:02 -0700
Message-ID: <20160413192202.3bf3l6zs4grlujml@alap3.anarazel.de> (raw)
In-Reply-To: <CACjxUsMbkQjzQJy3kqHcfsSAaSPwGjA3=CVE0qazX_Vz9Vw+bw@mail.gmail.com>
References: <CACjxUsMkZTuMNDsDdM3WwQZDcpmgQqSe8ngORk=jRH1mqBwwPw@mail.gmail.com>
	<20160412185625.g7ixnlpwaqvsqt7v@alap3.anarazel.de>
	<CACjxUsOAAbC=MbPguUtSYJdTBNDwnTAxkMhb5+Cm8MwhBSRuRA@mail.gmail.com>
	<20160412192801.wffn2vjyszyw4qa4@alap3.anarazel.de>
	<CACjxUsP=RaV1ue3ccbq4bA0LbN3e7cJJHYj_MCZr1XTKWAZzAQ@mail.gmail.com>
	<20160413171955.i53me46fqqhdlztq@alap3.anarazel.de>
	<CA+Tgmoako8yQh5HE8qK04_oCBkY3C-AncPkSjaVJvWoOuSqzuA@mail.gmail.com>
	<CACjxUsNvVsjJiFy=d2jXZYpo8Evq89YHVjFnLRv5fTF2F5OWPA@mail.gmail.com>
	<20160413185637.k4mg5w4ju6athydt@alap3.anarazel.de>
	<CACjxUsMbkQjzQJy3kqHcfsSAaSPwGjA3=CVE0qazX_Vz9Vw+bw@mail.gmail.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

On 2016-04-13 14:08:49 -0500, Kevin Grittner wrote:
> On Wed, Apr 13, 2016 at 1:56 PM, Andres Freund <andres@anarazel.de> 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



view thread (195+ messages)  latest in thread

Message-ID: <20160413192202.3bf3l6zs4grlujml@alap3.anarazel.de>
Permalink:  ../20160413192202.3bf3l6zs4grlujml@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20160413192202.3bf3l6zs4grlujml@alap3.anarazel.de

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de, kgrittn@gmail.com, robertmhaas@gmail.com, kgrittn@postgresql.org, pgsql-hackers@postgresql.org
  Subject: Re: [HACKERS] Re: pgsql: Avoid extra locks in GetSnapshotData if old_snapshot_threshold <
  In-Reply-To: <20160413192202.3bf3l6zs4grlujml@alap3.anarazel.de>
  References: <CACjxUsMkZTuMNDsDdM3WwQZDcpmgQqSe8ngORk=jRH1mqBwwPw@mail.gmail.com> <20160412185625.g7ixnlpwaqvsqt7v@alap3.anarazel.de> <CACjxUsOAAbC=MbPguUtSYJdTBNDwnTAxkMhb5+Cm8MwhBSRuRA@mail.gmail.com> <20160412192801.wffn2vjyszyw4qa4@alap3.anarazel.de> <CACjxUsP=RaV1ue3ccbq4bA0LbN3e7cJJHYj_MCZr1XTKWAZzAQ@mail.gmail.com> <20160413171955.i53me46fqqhdlztq@alap3.anarazel.de> <CA+Tgmoako8yQh5HE8qK04_oCBkY3C-AncPkSjaVJvWoOuSqzuA@mail.gmail.com> <CACjxUsNvVsjJiFy=d2jXZYpo8Evq89YHVjFnLRv5fTF2F5OWPA@mail.gmail.com> <20160413185637.k4mg5w4ju6athydt@alap3.anarazel.de> <CACjxUsMbkQjzQJy3kqHcfsSAaSPwGjA3=CVE0qazX_Vz9Vw+bw@mail.gmail.com> <20160413192202.3bf3l6zs4grlujml@alap3.anarazel.de>

* 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