Stop the kernel from throttling your packet processing
Performance Tuning & Kernel Parameters (Sysctl)
Stop the kernel from throttling your packet processing
🧩 The Challenge
You ever look at a server that’s barely pushing 20% CPU, but the network throughput is flatlining and the packet drop counters are climbing like crazy? I spent an entire weekend chasing “bad NIC firmware” only to realize the kernel’s default input queue was just way too small for the bursty traffic we were throwing at it.
💡 The Fix
Bumping up the netdev_max_backlog parameter gives the kernel more breathing room to buffer incoming packets before it starts tossing them out. It’s an easy win if you see those drops in netstat.
sysctl -w net.core.netdev_max_backlog=5000
⚙️ Why It Works
Increasing this value lets your system handle larger bursts of incoming traffic without losing frames during high-load periods. The default is often set conservatively low for smaller machines, but modern servers can easily handle a much higher limit without breaking a sweat.
🚀 Pro-Tip: Check /proc/net/softnet_stat to see if your CPUs are actually dropping packets in the queue before you go tweaking these values.
Linux Tips & Tricks | © ngelinux.com | 11/28/2026
