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.
This commit is contained in:
Willy Tarreau 2021-03-02 20:11:29 +01:00
parent 0bae075928
commit f587003fe9

View File

@ -371,7 +371,7 @@
/* default per-thread pool cache size when enabled */
#ifndef CONFIG_HAP_POOL_CACHE_SIZE
#define CONFIG_HAP_POOL_CACHE_SIZE 524288
#define CONFIG_HAP_POOL_CACHE_SIZE 1048576
#endif
/* Number of samples used to compute the times reported in stats. A power of