Constant libmimalloc_sys::mi_option_use_numa_nodes
source · [−]pub const mi_option_use_numa_nodes: mi_option_t = 15;Expand description
Option (experimental) to pretend there are at most N NUMA nodes.
If not set, the actual NUMA nodes are detected at runtime. Setting N to 1 may avoid problems in some virtual environments. Also, setting it to a lower number than the actual NUMA nodes is fine and will only cause threads to potentially allocate more memory across actual NUMA nodes (but this can happen in any case as NUMA local allocation is always a best effort but not guaranteed).