Interview Prep/Linux/Logs, Limits & High-Traffic Tuning

What does `net.core.netdev_max_backlog` do?

AdvancedProductionLogs, Limits & High-Traffic Tuning
Answer

It is the maximum number of packets queued per CPU when the NIC receives packets faster than the kernel can process them (softirq input queue). Overflows show in the second column of /proc/net/softnet_stat (per CPU, hex). Raise it on high packet-rate hosts, together with net.core.netdev_budget and spreading load across CPUs (RSS/RPS).

All Linux questions Roadmap: Linux

More on Logs, Limits & High-Traffic Tuning