[HACKERS] PATCH: pgbench - option to build using ppoll() for larger connectioncounts

Поиск
Список
Период
Сортировка
От Rady, Doug
Тема [HACKERS] PATCH: pgbench - option to build using ppoll() for larger connectioncounts
Дата
Msg-id F6C5AD9B-0262-4C35-BE59-06C3EE6E7F87@amazon.com
обсуждение исходный текст
Список pgsql-hackers

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.

 

To maintain the microseconds duration of \SLEEP meta command, ppoll() was used instead of poll().

 

The patch has been implemented to introduce a minimal of #ifdef/#ifndef

clutter in the code.

 

(this is just a re-send w/o the 9.6 patch as commitfest latched onto the 9.6 patch)

 

doug

--

Doug Rady

Amazon Aurora PostgreSQL

radydoug@amazon.com

 

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: [HACKERS] CREATE COLLATION does not sanitize ICU's BCP 47language tags. Should it?
Следующее
От: Nico Williams
Дата:
Сообщение: Re: [HACKERS] COMMIT TRIGGERs, take n, implemented with CONSTRAINTTRIGGERS