]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cpu-topo: add "only-thread" and "drop-thread" to cpu-set
authorWilly Tarreau <w@1wt.eu>
Thu, 27 Feb 2025 09:59:10 +0000 (10:59 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 14 Mar 2025 17:33:16 +0000 (18:33 +0100)
commitc591c9d6a6a4ccdf463dd45e0359ef401566edf8
tree46cc6aa9ca8acd8c6ffaa42f04965ceec5d21791
parentc93ee250541320c3a9d7901b6157fabc21ae8bb1
MINOR: cpu-topo: add "only-thread" and "drop-thread" 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
thread number(s). It can be used to reserve even threads for HW IRQs
and odd threads for haproxy for example, or to evict efficient cores
that do only have thread #0.
doc/configuration.txt
src/cpu_topo.c