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

Поиск
Список
Период
Сортировка
От Rady, Doug
Тема Re: [HACKERS] PATCH: pgbench - option to build using ppoll() forlarger connection counts
Дата
Msg-id FA4D8514-E9C9-47ED-8205-67F27756210B@amazon.com
обсуждение исходный текст
Ответ на Re: [HACKERS] PATCH: pgbench - option to build using ppoll() forlarger connection counts  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On 9/25/17, 11:07, "Andres Freund" <andres@anarazel.de> wrote:
   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
connectionlimitation is system resources.      Hm, is there any need of using ppoll over poll?  IIRC it's a good bit
morecommon and there's, also iirc, a number of platforms with buggy   ppoll implementations.         Greetings,
AndresFreund   
 

I used ppoll() as it can support the microseconds duration for \SLEEP meta command.

thanks!
doug
--
Doug Rady
Amazon Aurora PostgreSQL
radydoug@amazon.com



--
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 по дате отправления:

Предыдущее
От: Thomas Munro
Дата:
Сообщение: Re: [HACKERS] Server crash due to SIGBUS(Bus Error) when trying toaccess the memory created using dsm_create().
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: [HACKERS] Server crash due to SIGBUS(Bus Error) when trying toaccess the memory created using dsm_create().