]> git.kaiwu.me - haproxy.git/commit
MINOR: cpu-topo: add "only-cluster" and "drop-cluster" to cpu-set
authorWilly Tarreau <w@1wt.eu>
Thu, 27 Feb 2025 10:54:06 +0000 (11:54 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 14 Mar 2025 17:33:16 +0000 (18:33 +0100)
commit9a8e8af11a7fa605d9b43f1a39df5d0e71d49ac8
tree58e2b8dbd0ab8a472d7ed1ad32d50cbcf1cc8972
parenta946cfa8b5167ecde779a19574805f7387508840
MINOR: cpu-topo: add "only-cluster" and "drop-cluster" to cpu-set

These are processed after the topology is detected, and they allow to
restrict binding to or evict CPUs matching the indicated hardware
cluster number(s). It can be used to bind to only some clusters, such
as CCX or different energy efficiency cores. For this reason, here we
use the cluster's local ID (local to the node).
doc/configuration.txt
src/cpu_topo.c