Re: kqueue - Mailing list pgsql-hackers

From Tom Lane
Subject Re: kqueue
Date
Msg-id 27393.1473773635@sss.pgh.pa.us
Whole thread Raw
In response to Re: kqueue  (Heikki Linnakangas <hlinnaka@iki.fi>)
Responses Re: kqueue  (Heikki Linnakangas <hlinnaka@iki.fi>)
List pgsql-hackers
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.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: _hash_alloc_buckets() safety
Next
From: Tom Lane
Date:
Subject: Re: 9.6 TAP tests and extensions