]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: cpu-topo: Add a "threads-per-core" keyword to cpu-policy
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 27 Nov 2025 22:33:48 +0000 (23:33 +0100)
committerOlivier Houchard <cognet@ci0.org>
Thu, 18 Dec 2025 17:52:52 +0000 (18:52 +0100)
commit3671652bc95a2329f83aff7171ea571064460e9b
treea36df1a3be083e41e9cc987b8b214c5e1e40aab6
parent58f04b46151c9da560e0996a431b535c2b163a7e
MEDIUM: cpu-topo: Add a "threads-per-core" keyword to cpu-policy

Add a new, optional key-word to "cpu-policy", "threads-per-core".
It takes one argument, "1" or "auto". If "1" is used, then only one
thread per core will be created, no matter how many hardware thread each
core has. If "auto" is used, then one thread will be created per
hardware thread, as is the case by default.

for example: cpu-policy performance threads-per-core 1
doc/configuration.txt
src/cpu_topo.c