Re: kqueue - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: kqueue
Date
Msg-id ca806d7b-325c-d012-b8aa-0387dff97b56@iki.fi
Whole thread Raw
In response to Re: kqueue  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 09/13/2016 04:33 PM, Tom Lane wrote:
> Heikki Linnakangas <hlinnaka@iki.fi> writes:
>> So, if I've understood correctly, the purpose of this patch is to
>> improve performance on a multi-CPU system, which has the kqueue()
>> function. Most notably, FreeBSD?
>
> OS X also has this, so it might be worth trying on a multi-CPU Mac.
>
>> If there's no measurable difference in performance, between kqueue() and
>> poll(), I think we should forget about this.
>
> I agree that we shouldn't add this unless it's demonstrably a win.
> No opinion on whether your test is adequate.

I'm marking this as "Returned with Feedback", waiting for someone to 
post test results that show a positive performance benefit from this.

- Heikki





pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: asynchronous and vectorized execution
Next
From: Andres Freund
Date:
Subject: Re: kqueue