MINOR: pools: double the local pool cache size to 1 MB
authorWilly Tarreau <w@1wt.eu>
Tue, 2 Mar 2021 19:11:29 +0000 (20:11 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 10 Mar 2021 14:11:16 +0000 (15:11 +0100)
commit85ec291f46bbda8bb7073347d0e6d2b950cdb7a2
tree289d7a7e30bc005db0649f2c89f3f1abf6582387
parentc0457dc81e0d0698fcf86148b7c79eb29434ada2
MINOR: pools: double the local pool cache size to 1 MB

The reason is that H2 can already require 32 16kB buffers for the mux
output at once, which will deplete the local cache. Thus it makes sense
to go further to leave some time to other connection to release theirs.
In addition, the L2 cache on modern CPUs is already 1 MB, so this change
is welcome in any case.

(cherry picked from commit f587003fe916315e77e130339e21fc8d3a4a7248)
Signed-off-by: Willy Tarreau <w@1wt.eu>
include/haproxy/defaults.h