Numactl
lastmod 2025-06-02created 2024-08-193 edits
Example
Options:
-
--cpunodebind=N- Restrict CPU execution to NUMA node N -
--membind=N- Restrict memory allocation to NUMA node N -
--physcpubind=0,1- Can specify physical CPU numbers directly -
--interleave=0,1- Allocate memory in interleaved mode
How to check NUMA settings
-
lscpu | grep NUMA -
numactl --hardware