Bufferbloat is high latency (or lag) that occurs when there’s othertraffic on your network.This means that your network isn’t responsive under normal working conditions.It’s wasting your time.
How does bufferbloat apply to me?
Watch the Bufferbloat Videowhich presents an intuitive description of of Bufferbloat.Or read the somewhat more detailedBest Bufferbloat Analogy - Everblog post.
Most important - How do I get rid of Bufferbloat?
1. Measure the Bufferbloat:Use the Waveform Bufferbloat Testor Speedtest.net)to measure the latency under load.If Waveform shows a letter grade worse than a B,or if Speedtest.net shows more than 75 msec in either download or upload,you probably have bufferbloat.Some device at your bottleneck link(usually your router) is letting bulk traffic (uploads/downloads) interfere with(and delay) your time-sensitive traffic (gaming, video calls, Facetime, etc.)For more details about testing,read the Tests for Bufferbloat page.
2. Possible Solutions: There are lots of ways to throw time or money at this problem.Most won’t work.
- Your ISP would love to sell you a faster connection, but link speed isn’t the problem -it’s your router buffering more data than necessary.
- Buying an expensive router (even one for “gaming”) won’t necessarily help,since many commercial, off-the-shelf router manufacturers are clueless about Bufferbloat.
- Twiddling the router’s QoS might make a difference,but it’s a hassle, and only helps a bit.
- Instead…
3. Take Control of Your Network:No one else (not your router manufacturer,nor your ISP) has a strong incentive to fix Bufferbloat.But once you take control, the network will stay fixed for all time,and you can adapt to changing practices at your ISP or other vendors.
You need to find a router vendor that “understands”latency/responsiveness/bufferbloat,and has firmware that uses one of theSmart Queue Management algorithms such ascake, fq_codel, PIE, or others.Here are some options, from easy to harder:
Enable SQM settings if your router already has them.
First, measure the link speed without SQMusing Waveformor Speedtest.net.Each of these is good because they display latency when the line is idleand when there’s upload or download traffic.Then turn on SQM, setting the up and down speed to the measured values above.Keep running your speed test and adjusting the SQM speed settingsuntil the latency remains low while achieving good speeds.See, for example, this description of a tuning session.
Install an off-the-shelf router with SQM Several commercial router vendors have a clue.Here is a list of those we have found:
- Ubiquiti gear has fq_codel settings.People say its EdgeRouter will handle over 400 mbps.
- The eero mesh routers“optimize for conferencing and gaming” (their term for SQM.)Their third generation devicessupport SQM at speeds up to a gigabit/second.
- All Comcast/XfinityDOCSIS 3.1 RDK-B-based gateway models have now been updatedwith DOCSIS-PIE AQM and all are achieving dramaticallyimproved working latency.(See Footnote 59 ofImproving Latency with Active Queue Management (AQM) During COVID-19for model numbers.)
- Many other mesh router vendors claim to solve bufferbloat.Check their spec’s or ask them about latency.
- Untangle NG Firewall has fq_codel settings.
- ipfire.org has fq_codel settings.
- pfsense and OPNsensehave fq_codel and fq_PIE settings, courtesy of FreeBSD andipfw/dummynet
Upgrade your current router with custom firmware. All the projects below support some kindof queue management based on FQ-CoDel and/or Cake.
- OpenWrt (supported devices list, version 22.03 or newer).The Smart Queue Management guidetells how to configure the luci-app-sqm package.
- Asuswrt-Merlin (ASUS routers only).In Web GUI follow to Adaptive QoS → QoS.More customizations via Web GUI is available with CakeQOS-Merlin.
- DD-WRT
- Gargoyle
- Tomato
Call your router vendor’s support lineif none of the above are possible.You have the information from the latency tests.Mention that the ping times get really high when someone is up/downloadingfiles, and that it really hurts your network performance.Ask if they’re working on the problem.Ask when they’re going to release a firmware update that solves it.
Your network’s responsiveness is in your hands…
Read More…
- Why does SQM work so well?
- What’s wrong with simply configuring QoS?
- Setting up SQM on a Router Manually
- Best Bufferbloat Analogy — Ever
To edit this page, submit a pull request tothe Github repository.