Systems & Kernel Networking Notes

Personal archive on Linux 6.12 LTS, eBPF TC pipelines, nftables, and TCP congestion control.

Tuning TCP BDP Buffers on Linux 6.12 LTS

When operating high-latency, high-bandwidth links (150ms+ RTT), default socket buffer ceilings cap single-flow throughput well below line rate. Pairing tcp_bbr with sch_fq and disabling tcp_slow_start_after_idle prevents window collapse after brief pauses.

sysctl -w net.core.default_qdisc=fq
sysctl -w net.ipv4.tcp_congestion_control=bbr
sysctl -w net.ipv4.tcp_slow_start_after_idle=0

Migrating Legacy iptables Rulesets to Atomic nftables

Unlike legacy iptables chains evaluated linearly per table, nftables supports atomic reloads via nft -f /etc/nftables.conf, native inet dual-stack tables, and named counters for lightweight observability without external polling daemons.

Eliminating Bufferbloat on Asymmetric Home Uplinks with CAKE

On asymmetric broadband connections, bulk uploads frequently saturate modem queues and inflate interactive RTT from 12ms to over 250ms. Replacing the root qdisc on the WAN egress interface with sch_cake enforces per-host fairness and keeps latency bounded.