]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: cpu-topo: prefer grouping by CCX for "performance" and "efficiency"
authorWilly Tarreau <w@1wt.eu>
Tue, 13 May 2025 14:20:53 +0000 (16:20 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 13 May 2025 14:48:30 +0000 (16:48 +0200)
commit158da59c342b7f2611e326d2bee9b5e213a3ee74
tree0923a65a7ff43312bfbe4476f9a1aed5618f8e5f
parent70b0dd6b0fafa95f8bebd440406f62611fea118c
MEDIUM: cpu-topo: prefer grouping by CCX for "performance" and "efficiency"

Most of the time, machines made of multiple CPU types use the same L3
for them, and grouping CPUs by frequencies to form groups doesn't bring
any value and on the opposite can impair the incoming connection balancing.
This choice of grouping by cluster was made in order to constitute a good
choice on homogenous machines as well, so better rely on the per-CCX
grouping than the per-cluster one in this case. This will create less
clusters on machines where it counts without affecting other ones.

It doesn't seem necessary to change anything for the "resource" policy
since it selects a single cluster.
doc/configuration.txt
src/cpu_topo.c