]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-h2: add tune.h2.be.rxbuf and tune.h2.fe.rxbuf global settings
authorWilly Tarreau <w@1wt.eu>
Wed, 9 Oct 2024 06:30:38 +0000 (08:30 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 12 Oct 2024 14:29:16 +0000 (16:29 +0200)
commit1ed9d37c88ba9d0337394887572bed3e2243d0b7
treee9a47c3235cd882f306ab218356357b930f04d69
parente018d9a0cfa00e722df28b5850d5f0d3543689f0
MINOR: mux-h2: add tune.h2.be.rxbuf and tune.h2.fe.rxbuf global settings

These settings allow to change the total buffer size allocated to the
backend and frontend respectively. This way it's no longer necessary to
play with tune.bufsize nor increase the number of streams to benefit from
more buffers.

Setting tune.h2.fe.rxbuf to 4m to match a sender's max tcp_wmem resulted
in 257 Mbps for a single stream at 103ms vs 121 Mbps default (or 5.1 Mbps
with a single buffer and 64kB window).
doc/configuration.txt
src/mux_h2.c