Re: kqueue

From: Andres Freund <andres(at)anarazel(dot)de>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Noah Misch <noah(at)leadboat(dot)com>
Subject: Re: kqueue
Date: 2016-04-21 18:22:53
Message-ID: 20160421182253.fklkh72rldr2n7ui@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2016-04-21 14:15:53 -0400, Robert Haas wrote:
> On Tue, Mar 29, 2016 at 7:53 PM, Thomas Munro
> <thomas(dot)munro(at)enterprisedb(dot)com> wrote:
> > On the WaitEventSet thread I posted a small patch to add kqueue
> > support[1]. Since then I peeked at how some other software[2]
> > interacts with kqueue and discovered that there are platforms
> > including NetBSD where kevent.udata is an intptr_t instead of a void
> > *. Here's a version which should compile there. Would any NetBSD
> > user be interested in testing this? (An alternative would be to make
> > configure to test for this with some kind of AC_COMPILE_IFELSE
> > incantation but the steamroller cast is simpler.)
>
> Did you code this up blind or do you have a NetBSD machine yourself?

RMT, what do you think, should we try to get this into 9.6? It's
feasible that the performance problem 98a64d0bd713c addressed is also
present on free/netbsd.

- Andres

In response to

  • Re: kqueue at 2016-04-21 18:15:53 from Robert Haas

Responses

  • Re: kqueue at 2016-04-21 18:25:06 from Robert Haas

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2016-04-21 18:25:06 Re: Reducing the size of BufferTag & remodeling forks
Previous Message Andres Freund 2016-04-21 18:20:38 Re: checkpoint_flush_after documentation inconsistency