Re: PATCH: pgbench - option to build using ppoll() for larger connection counts

From: Andres Freund <andres(at)anarazel(dot)de>
To: "Rady, Doug" <radydoug(at)amazon(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PATCH: pgbench - option to build using ppoll() for larger connection counts
Date: 2017-09-25 18:07:40
Message-ID: 20170925180740.qoxus7jfwnegpqqh@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabien COELHO 2017-09-25 18:10:17 Re: PATCH: pgbench - option to build using ppoll() for larger connection counts
Previous Message Fabien COELHO 2017-09-25 18:07:03 Re: PATCH: pgbench - break out timing data for initialization phases