GUIDES
Linux Kernel Tuning Guide
A reference guide for Linux kernel tuning covering virtual memory management, the OOM killer, transparent and explicit hugepages, NUMA topology, CPU scheduling, and network stack sysctl parameters for high-throughput and low-latency workloads.
View the full interactive guide: Linux Kernel Tuning Guide
Topics covered:
- Virtual Memory — vm.swappiness, vm.dirty_ratio, overcommit, page reclaim, kswapd
- OOM Killer — OOM score, oom_score_adj, cgroup OOM, disabling OOM, debugging
- Hugepages — Transparent hugepages (THP), explicit hugepages, 1GB pages, NUMA interaction
- NUMA — Topology, numactl, numastat, NUMA-aware allocation, interleaving
- CPU Scheduler — CFS, nice/renice, cgroups cpu.weight, real-time scheduling, taskset/cpuset
- Network Stack — Socket buffers, tcp_rmem/wmem, backlog, TIME_WAIT, BBR, offloads
- I/O Scheduler — mq-deadline, kyber, bfq, none (NVMe), blktrace
- Persistent Tuning — sysctl.d, tuned profiles, systemd-tuned, kernel cmdline
- Reference — Tuning cheat sheet, workload-specific profiles