Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Numa balancer in Linux

Is NUMA balancer enabled by default in recent Linux versions? If so how can I disable the NUMA balancer please let me know.

like image 213
Pradeep Jagadeesh Avatar asked Nov 23 '25 01:11

Pradeep Jagadeesh


1 Answers

The automatic NUMA balancing can be disabled by passing the numa_balancing=disable parameter to the kernel. The exact way of doing so depends on the boot loader in use. The same parameter could be controlled via the kernel.numa_balancing sysctl:

echo 0 > /proc/sys/kernel/numa_balancing

or

sysctl -w kernel.numa_balancing=0

It could also be set in /etc/sysctl.conf on distributions that process that file.

like image 65
Hristo Iliev Avatar answered Nov 25 '25 17:11

Hristo Iliev