Anonymous huge pages status
Check if THP / hugepages are used and configured
grep -E 'HugePages|AnonHugePages|Transparent' /proc/meminfo
- tool
- linux133 commands
More linux commands
-
echo never > /sys/kernel/mm/transparent_hugepage/enabledDisable THP at runtime (fix for Redis, MongoDB latency spikes)
-
numactl --hardwareNUMA nodes, CPU assignment, and memory distribution
-
sysctl -w net.core.somaxconn=65535 net.ipv4.tcp_max_syn_backlog=65535Increase socket listen backlog for high-connection services
-
sysctl -w net.core.default_qdisc=fq net.ipv4.tcp_congestion_control=bbrEnable Google BBR congestion control for better throughput
-
ss -ulnpAll UDP listening sockets with process info