]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: thread: reimplement first numa node detection
authorWilly Tarreau <w@1wt.eu>
Thu, 20 Jul 2023 14:40:25 +0000 (16:40 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 14 Mar 2025 17:30:30 +0000 (18:30 +0100)
commite3aef4c9a479863f813290e2089ce229635b4a8f
tree0438acf1e72f8f7d6062ed00d5c2f5e662ff241b
parent4a525e8d27dc61c91f8cf191c1775dfb6f664796
MEDIUM: thread: reimplement first numa node detection

Let's reimplement automatic binding to the first NUMA node when thread
count is not forced. It's the same thing as is already done in
check_config_validity() except that this time it's based on the
collected CPU information. The threads are automatically counted
and CPUs from non-first node(s) are evicted.
src/thread.c