]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: cpu-topo: let the "group-by-cluster" split groups
authorWilly Tarreau <w@1wt.eu>
Thu, 13 Mar 2025 14:41:00 +0000 (15:41 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 14 Mar 2025 17:33:16 +0000 (18:33 +0100)
commit96cd420dc3c588f925bece5ef89e58e3e8d25f98
treec808cf7e877b710167eeae38705a67604bd996bb
parent8aeb0967402f7518004958192ccde582c83afc88
MEDIUM: cpu-topo: let the "group-by-cluster" split groups

When a cluster is too large to fit into a single group, let's split it
into two equal groups, which will still be allowed to use all the CPUs
of the cluster. This allows haproxy to start all the threads with a
minimum number of groups (e.g. 2x40 for 80 cores).
src/cpu_topo.c