mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-08 04:33:35 +02:00
MINOR: global: add option to disable numa detection
Render numa detection optional with a global configuration statement 'no numa-cpu-mapping'. This can be used if the applied affinity of the algorithm is not optimal. Also complete the documentation with this new keyword.
This commit is contained in:
@@ -166,6 +166,7 @@ struct global {
|
||||
struct hap_cpuset thread[MAX_THREADS]; /* list of CPU masks for the 32/64 first threads of the 1st process */
|
||||
} cpu_map;
|
||||
#endif
|
||||
int numa_cpu_mapping;
|
||||
/* The info above is config stuff, it doesn't change during the process' life */
|
||||
/* A number of the elements below are updated by all threads in real time and
|
||||
* suffer high contention, so we need to put them in their own cache lines, if
|
||||
|
||||
Reference in New Issue
Block a user