[HACKERS] [PATCH] guc-ify the formerly hard-coded MAX_SEND_SIZE to max_wal_send - Mailing list pgsql-hackers

From Jonathon Nelson
Subject [HACKERS] [PATCH] guc-ify the formerly hard-coded MAX_SEND_SIZE to max_wal_send
Date
Msg-id CACJqAM2uAUnEAy0j2RRJOSM1UHPdGxCr=U-HbqEf0aAcdhUoEQ@mail.gmail.com
Whole thread Raw
Responses Re: [HACKERS] [PATCH] guc-ify the formerly hard-coded MAX_SEND_SIZEto max_wal_send  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Re: [HACKERS] [PATCH] guc-ify the formerly hard-coded MAX_SEND_SIZEto max_wal_send  (Andres Freund <andres@anarazel.de>)
List 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

pgsql-hackers by date:

Previous
From: Euler Taveira
Date:
Subject: Re: [HACKERS] ALTER SYSTEM for pg_hba.conf
Next
From: Andres Freund
Date:
Subject: Re: [HACKERS] [PATCH] guc-ify the formerly hard-coded MAX_SEND_SIZEto max_wal_send