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

From: "Rady, Doug" <radydoug(at)amazon(dot)com>
To: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: PATCH: pgbench - option to build using ppoll() for larger connection counts
Date: 2017-09-25 18:01:40
Message-ID: 9EB91BFD-98CA-441B-AA51-D675CB2F1080@amazon.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

The patch has been implemented to introduce a minimal of #ifdef/#ifndef
clutter in the code.

Two patches attached.
One based on REL9_6_STABLE.
One based on 'master' which can also apply to REL_10_STABLE.

doug
--
Doug Rady
Amazon Aurora PostgreSQL
radydoug(at)amazon(dot)com

Attachment Content-Type Size
pgbench-96-ppoll.patch application/octet-stream 12.5 KB
pgbench-ppoll.patch application/octet-stream 11.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bossart, Nathan 2017-09-25 18:04:25 Enhancements to passwordcheck
Previous Message Stephen Frost 2017-09-25 17:57:03 Re: Reading backup label file for checkpoint and redo location during crash recovery