CPU usage is moderate, but the app's latency doubled after moving to a larger VM with two NUMA nodes.
AdvancedTroubleshootingLoad, CPU and I/O performance
Answer
Likely causes → Memory accessed across NUMA nodes (remote memory is slower), or threads bouncing between sockets.
Diagnose →
lscpu | grep -i numa
numactl --hardware
numastat -p <PID> # memory per node
perf stat -e cache-misses -p <PID> -- sleep 10
Fix → Pin the process and its memory to a node: numactl --cpunodebind=0 --membind=0 app, or run one instance per node. Check kernel.numa_balancing settings for your workload.
Prevent → Test on the target instance type; for latency-sensitive services consider instances that fit in one NUMA node.
More on Load, CPU and I/O performance
Load average is 35 on an 8-core server, but `top` shows CPU 85% idle.Intermediate`top` shows `wa` at 60% and the application is crawling.Beginner`iostat` shows a disk at `%util 100` but throughput is only 5 MB/s.IntermediateA server's CPU usage is 100% and `top` shows `kworker` or `ksoftirqd` at the top.AdvancedOne CPU core sits at 100% while the others are idle, and the app can't go faster.Intermediate`uptime` shows load averages `0.5, 4.0, 12.0`. What does that tell you?Beginner