Re: [HACKERS] PATCH: pgbench - option to build using ppoll() forlarger connection counts - Mailing list pgsql-hackers

From Andres Freund
Subject Re: [HACKERS] PATCH: pgbench - option to build using ppoll() forlarger connection counts
Date
Msg-id 20170925180740.qoxus7jfwnegpqqh@alap3.anarazel.de
Whole thread Raw
In response to [HACKERS] PATCH: pgbench - option to build using ppoll() for larger connectioncounts  ("Rady, Doug" <radydoug@amazon.com>)
Responses Re: [HACKERS] PATCH: pgbench - option to build using ppoll() forlarger connection counts  ("Rady, Doug" <radydoug@amazon.com>)
List pgsql-hackers
On 2017-09-25 18:01:40 +0000, Rady, Doug wrote:
> This patch enables building pgbench to use ppoll() instead of select()
> to allow for more than (FD_SETSIZE - 10) connections.  As implemented,
> when using ppoll(), the only connection limitation is system resources.

Hm, is there any need of using ppoll over poll?  IIRC it's a good bit
more common and there's, also iirc, a number of platforms with buggy
ppoll implementations.


Greetings,

Andres Freund


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

pgsql-hackers by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: [HACKERS] PATCH: pgbench - break out timing data for initializationphases
Next
From: Fabien COELHO
Date:
Subject: Re: [HACKERS] PATCH: pgbench - option to build using ppoll() forlarger connection counts