mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-18 01:14:38 +00:00
263b2228e2
By mutually refining the thread count and group count, we can try to detect the most suitable setup for the current machine. Taskset is implicitly handled correctly. tgroups automatically adapt to the configured number of threads. cpu-map manages to limit tgroups to the smallest supported value. In fact this could even work without the rest of the changes for now, just ignoring CPU locations. Also it could be useful to calculate a "distance" to next CPU for each of them so that when trying to create multiple groups we could cut around the largest ones and evaluate for certain distances how many groups that would provide. Last, the per-core capacity and number of siblings would be useful to figure which groups to consider first. |
||
---|---|---|
.. | ||
haproxy | ||
import | ||
make |