Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux_router:tc [2026-05-13 Wed wk20 21:42] – [Persist Across Reboots] baumkp | linux_router:tc [2026-07-12 Sun wk28 21:14] (current) – [Monitor CAKE statistics] baumkp | ||
|---|---|---|---|
| Line 23: | Line 23: | ||
| Test your connection at the [[https:// | Test your connection at the [[https:// | ||
| - | CAKE (Common Applications Kept Enhanced) is the modern Linux qdisc that fixes this. It combines Active Queue Management (AQM), Fair Queuing (FQ), and traffic shaping into a single qdisc. CAKE has been in the mainline kernel since 4.19, so no extra kernel modules are required on any modern distro. It replaced the older approach of combining fq_codel with htb shaping - CAKE does everything in one shot with less configuration. | + | [[https:// |
| ====Upload Shaping==== | ====Upload Shaping==== | ||
| Apply CAKE to your WAN interface with your upload bandwidth set to 90-95% of measured speed: | Apply CAKE to your WAN interface with your upload bandwidth set to 90-95% of measured speed: | ||
| - | + | *'' | |
| - | '' | + | |
| Key options: | Key options: | ||
| Line 90: | Line 89: | ||
| ====Verify It Works==== | ====Verify It Works==== | ||
| - | After applying CAKE, rerun the Waveform Bufferbloat Test . You should see latency under load drop from 200-500ms down to 5-15ms. Video calls stop freezing mid-sentence and game ping stays flat even during large transfers. | + | After applying CAKE, rerun the [[https:// |
| ====Monitor CAKE statistics==== | ====Monitor CAKE statistics==== | ||
| - | *'' | + | *'' |
| *'' | *'' | ||
| This shows drops, ECN marks, and per-tin flow counts. If you see high drop rates, your bandwidth setting may be too close to the actual line speed. Lower it by another 5%. | This shows drops, ECN marks, and per-tin flow counts. If you see high drop rates, your bandwidth setting may be too close to the actual line speed. Lower it by another 5%. | ||
| + | |||
| ====Links==== | ====Links==== | ||
| *CAKE SQM | *CAKE SQM | ||
| *[[https:// | *[[https:// | ||
| *[[https:// | *[[https:// | ||
| + | *[[https:// | ||
| + | *[[https:// | ||
| + | *[[https:// | ||
| + | *[[https:// | ||
| + | *[[https:// | ||
| *tc-fq_codel | *tc-fq_codel | ||
| *[[https:// | *[[https:// | ||
| Line 118: | Line 123: | ||
| *Funtoo [[https:// | *Funtoo [[https:// | ||
| *[[https:// | *[[https:// | ||
| + | *[[https:// | ||
| + | *[[https:// | ||
| + | | ||
| *[[https:// | *[[https:// | ||
| + | *ethtools | ||
| + | *[[https:// | ||
| + | *[[https:// | ||
| + | *[[https:// | ||
| + | *[[https:// | ||
| + | *[[https:// | ||
| + | *[[https:// | ||
| + | *[[https:// | ||
| ---- | ---- | ||
| <- linux_router: | <- linux_router: | ||