Re: [HACKERS] kqueue
Thomas Munro <thomas.munro@enterprisedb.com>
From: Thomas Munro <thomas.munro@enterprisedb.com>
To: Torsten Zuehlsdorff <mailinglists@toco-domains.de>
Cc: Keith Fiske <keith@omniti.com>, Matteo Beccati <php@beccati.com>,
Tom Lane <tgl@sss.pgh.pa.us>, Andres Freund <andres@anarazel.de>, Heikki Linnakangas <hlinnaka@iki.fi>,
Marko Tiikkaja <marko@joh.to>, Alvaro Herrera <alvherre@2ndquadrant.com>,
Robert Haas <robertmhaas@gmail.com>, Pg Hackers <pgsql-hackers@postgresql.org>, Noah Misch <noah@leadboat.com>, Mateusz Guzik <mjguzik@gmail.com>
Date: 2018-05-21T07:03:57Z
Lists: pgsql-hackers
On Wed, Apr 11, 2018 at 1:05 PM, Thomas Munro <thomas.munro@enterprisedb.com> wrote: > I heard through the grapevine of some people currently investigating > performance problems on busy FreeBSD systems, possibly related to the > postmaster pipe. I suspect this patch might be a part of the solution > (other patches probably needed to get maximum value out of this patch: > reuse WaitEventSet objects in some key places, and get rid of high > frequency PostmasterIsAlive() read() calls). The autoconf-fu in the > last version bit-rotted so it seemed like a good time to post a > rebased patch. Once I knew how to get a message resent to someone who wasn't subscribed to our mailing list at the time it was sent[1] so they could join an existing thread. I don't know how to do that with the new mailing list software, so I'm CC'ing Mateusz so he can share his results on-thread. Sorry for the noise. [1] https://www.postgresql.org/message-id/CAEepm=0-KsV4Sj-0Qd4rMCg7UYdOQA=TUjLkEZOX7h_qiQQaCA@mail.gmail.com -- Thomas Munro http://www.enterprisedb.com
Commits
-
Add kqueue(2) support to the WaitEventSet API.
- 815c2f0972c8 13.0 landed
-
Add WL_EXIT_ON_PM_DEATH pseudo-event.
- cfdf4dc4fc96 12.0 cited
-
Be conservative about alignment requirements of struct epoll_event.
- a3b30763cc86 9.6.0 cited
-
Make idle backends exit if the postmaster dies.
- ac1d7945f866 9.6.0 cited