pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marco Pfatschbacher <Marco_Pfatschbacher@genua.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Pg Hackers <pgsql-hackers@postgresql.org>
Subject: Re: PATCH: Keep one postmaster monitoring pipe per process
Date: Fri, 16 Sep 2016 09:46:43 +0200
Message-ID: <20160916074642.GB15576@genua.de> (raw)
In-Reply-To: <13774.1473972000@sss.pgh.pa.us>
References: <20160915135755.GC19008@genua.de>
	<CAEepm=27K-2AP1th97kiVvKpTuria9ocbjT0cXCJqnt4if5rJQ@mail.gmail.com>
	<13774.1473972000@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On Thu, Sep 15, 2016 at 04:40:00PM -0400, Tom Lane wrote:
> Thomas Munro <thomas.munro@enterprisedb.com> writes:
> > Very interesting.  Perhaps that is why NetBSD shows a speedup with the
> > kqueue patch[1] but FreeBSD doesn't.  I guess that if I could get the
> > kqueue patch to perform better on large FreeBSD systems, it would also
> > be a solution to this problem.
> 
> I just noticed that kqueue appears to offer a solution to this problem,
> ie one of the things you can wait for is exit of another process (named
> by PID, looks like).  If that's portable to all kqueue platforms, then
> integrating a substitute for the postmaster death pipe might push that
> patch over the hump to being a net win.
 
That sounds plausible.
I could give this a try after I get back from my vacation :)

   Marco


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (37+ messages)  latest in thread

Message-ID: <20160916074642.GB15576@genua.de>
Permalink:  ../20160916074642.GB15576@genua.de/
Also on:    postgresql.org/message-id/20160916074642.GB15576@genua.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-hackers@postgresql.org
  Cc: Marco_Pfatschbacher@genua.de, tgl@sss.pgh.pa.us, thomas.munro@enterprisedb.com
  Subject: Re: PATCH: Keep one postmaster monitoring pipe per process
  In-Reply-To: <20160916074642.GB15576@genua.de>
  References: <20160915135755.GC19008@genua.de> <CAEepm=27K-2AP1th97kiVvKpTuria9ocbjT0cXCJqnt4if5rJQ@mail.gmail.com> <13774.1473972000@sss.pgh.pa.us> <20160916074642.GB15576@genua.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