Disable Transparent Huge Pages linux
Disable THP at runtime (fix for Redis, MongoDB latency spikes)
echo never > /sys/kernel/mm/transparent_hugepage/enabled
more linux
all 133 commands →
Show NUMA topology
numactl --hardware
TCP tuning: increase backlog
sysctl -w net.core.somaxconn=65535 net.ipv4.tcp_max_syn_backlog=65535
TCP tuning: enable BBR
sysctl -w net.core.default_qdisc=fq net.ipv4.tcp_congestion_control=bbr
Show open UDP sockets
ss -ulnp
Bind process to CPU cores
taskset -cp 0,1 <pid>