]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cpu-topo: add a new "resource" cpu-policy
authorWilly Tarreau <w@1wt.eu>
Fri, 14 Mar 2025 17:16:52 +0000 (18:16 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 14 Mar 2025 17:33:16 +0000 (18:33 +0100)
commite3fd9970a9ab09348fd676cb430f8d1902f3afb1
treef74c9b4a9228006251cdb09fb093a15205e418e0
parentad3650c3542078550dd6950bead0cc986875b2a1
MINOR: cpu-topo: add a new "resource" cpu-policy

This cpu policy keeps the smallest CPU cluster. This can
be used to limit the resource usage to the strict minimum
that still delivers decent performance, for example to
try to further reduce power consumption or minimize the
number of cores needed on some rented systems for a
sidecar setup, in order to scale the system down more
easily. Note that if a single cluster is present, it
will still be fully used.

When started on a 64-core EPYC gen3, it uses only one CCX
with 8 cores and 16 threads, all in the same group.
doc/configuration.txt
src/cpu_topo.c