]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: mux-h2: change the default initial window to 16kB
authorWilly Tarreau <w@1wt.eu>
Wed, 9 Oct 2024 06:43:31 +0000 (08:43 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 12 Oct 2024 14:38:26 +0000 (16:38 +0200)
commit0fd66703c2e580cdf009564cca21e9878aa98066
tree904f6892430ac853f1e2b1d76723a8e3211c3c27
parent1ed9d37c88ba9d0337394887572bed3e2243d0b7
MEDIUM: mux-h2: change the default initial window to 16kB

Now that we're using all available rx buffers for transfers, there's
no point anymore in advertising more than the minimum value we can
safely buffer. Let's be conservative and only rely on the dynamic
buffers to improve speed beyond the configured value, and make sure
than many streams will no longer cause unfairness.

Interestingly, the total number of wakeups has further shrunk down, but
with a different distribution. From 128k for 1000 1M transfers, it went
down to 119k, with 96k from restart_reading, 10k from done_ff and 2.6k
from snd_buf. done_ff went up by 30% and restart_reading went down by
30%.
doc/configuration.txt
src/mux_h2.c