]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: cpu-topo: Add the "per-thread" cpu_affinity
authorOlivier Houchard <ohouchard@haproxy.com>
Wed, 17 Dec 2025 17:58:51 +0000 (18:58 +0100)
committerOlivier Houchard <cognet@ci0.org>
Thu, 18 Dec 2025 17:52:52 +0000 (18:52 +0100)
commitc524b181a248520de3d0dc4e3dc4bcc56dafeac0
tree51fecf372ff533b71e015fd0ed195f6abde01dd6
parent7e22d9c484b6d2627b21f7d361e6c3c17ee02c2a
MEDIUM: cpu-topo: Add the "per-thread" cpu_affinity

Add a new cpu-affinity keyword, "per-thread".
If used, each thread will be bound to only one hardware thread of the
thread group.
If used in conjonction with the "threads-per-core 1" cpu_policy, then
each thread will be bound on a different core.
doc/configuration.txt
src/cpu_topo.c