Fawkes Notes

Practical Notes on Linux FQ Pacing and BBR

When enabling TCP BBR on Linux, the congestion control module is only half of the story. The queuing discipline attached to the egress interface determines whether packet pacing happens smoothly in the kernel or falls back to internal TCP timers.

Why sch_fq Remains the Default Choice

With net.core.default_qdisc = fq, each flow gets its own pacing budget and burst limit rather than hitting line rate in sharp micro-bursts. On virtualized NICs where the hypervisor enforces an upstream shaper, smooth pacing reduces tail-drop retransmissions significantly.

net.core.default_qdisc = fq
net.ipv4.tcp_congestion_control = bbr

Verifying Live Interface State

Changing sysctl values does not automatically replace the qdisc on an already-configured NIC until the next link cycle or an explicit tc replacement:

tc qdisc show dev enp0s6
sudo tc qdisc replace dev enp0s6 root fq

If a network watchdog or DHCP client restarts the interface, appending the tc qdisc replace call in a post-up hook ensures the queuing discipline remains consistent across link resets.