haproxy/include
Willy Tarreau daf8aa62a8 MINOR: pools: increase MAX_BASE_POOLS to 64
When not sharing pools (i.e. when building with -DDEBUG_DONT_SHARE_POOLS)
we have about 47 pools right now, while MAX_BASE_POOLS is only 32, meaning
that only the first 32 ones will benefit from a per-thread cache entry.
This totally kills performance when pools are not shared (roughly -20%).

Let's double the limit to gain some margin, and make it possible to set
it as a build option.

It might be useful to backport this to stable versions as they're likely
to be affected as well.
2020-06-30 14:29:02 +02:00
..
haproxy MINOR: pools: increase MAX_BASE_POOLS to 64 2020-06-30 14:29:02 +02:00
import CLEANUP: assorted typo fixes in the code and comments 2020-06-26 11:27:28 +02:00