haproxy/doc/internals/api
Willy Tarreau 284cfc67b8 MINOR: pool: make the thread-local hot cache size configurable
Till now it was only possible to change the thread local hot cache size
at build time using CONFIG_HAP_POOL_CACHE_SIZE. But along benchmarks it
was sometimes noticed a huge contention in the lower level memory
allocators indicating that larger caches could be beneficial, especially
on machines with large L2 CPUs.

Given that the checks against this value was no longer on a hot path
anymore, there was no reason for continuing to force it to be tuned at
build time. So this patch allows to set it by tune.memory-hot-size.

It's worth noting that during the boot phase the value remains zero so
that it's possible to know if the value was set or not, which opens the
possibility that we try to automatically adjust it based on the per-cpu
L2 cache size or the use of certain protocols (none of this is done yet).
2022-12-20 14:51:12 +01:00
..
appctx.txt CLEANUP: assorted typo fixes in the code and comments 2022-08-06 17:12:51 +02:00
buffer-api.txt
event_hdl.txt CLEANUP: assorted typo fixes in the code and comments 2022-12-07 09:08:18 +01:00
filters.txt
htx-api.txt CLEANUP: assorted typo fixes in the code and comments 2022-10-30 17:17:56 +01:00
initcalls.txt
ist.txt
layers.txt
list.txt
pools.txt MINOR: pool: make the thread-local hot cache size configurable 2022-12-20 14:51:12 +01:00
scheduler.txt MINOR: task: replace task_set_affinity() with task_set_thread() 2022-07-01 19:15:14 +02:00