[PATCH] guc-ify the formerly hard-coded MAX_SEND_SIZE to max_wal_send

From: Jonathon Nelson <jdnelson(at)dyn(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: [PATCH] guc-ify the formerly hard-coded MAX_SEND_SIZE to max_wal_send
Date: 2017-01-05 18:55:44
Message-ID: CACJqAM2uAUnEAy0j2RRJOSM1UHPdGxCr=U-HbqEf0aAcdhUoEQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Attached please find a patch for PostgreSQL 9.4 which changes the maximum
amount of data that the wal sender will send at any point in time from the
hard-coded value of 128KiB to a user-controllable value up to 16MiB. It has
been primarily tested under 9.4 but there has been some testing with 9.5.

In our lab environment and with a 16MiB setting, we saw substantially
better network utilization (almost 2x!), primarily over high bandwidth
delay product links.

--
Jon Nelson
Dyn / Principal Software Engineer

Attachment Content-Type Size
0001-guc-ify-the-formerly-hard-coded-MAX_SEND_SIZE-to-max.patch text/x-patch 3.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2017-01-05 19:01:19 Re: [PATCH] guc-ify the formerly hard-coded MAX_SEND_SIZE to max_wal_send
Previous Message Euler Taveira 2017-01-05 18:54:56 Re: ALTER SYSTEM for pg_hba.conf