mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-17 17:04:35 +00:00
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:
parent
0bae075928
commit
f587003fe9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user