This took a bit of research so I thought I’d share the steps.
What is Bufferbloat?
Bufferbloat is the undesirable latency that comes from a router or other network equipment buffering too much data. – www,bufferbloat.net
The most common effects are sluggish Internet, poor audio, SIP, and video calls, “Buffering” in Netflix / Hulu / etc.
First, let’s make sure you’re even having a problem with buffer bloat. Head over to DSL Reports. Their test will verify your speed and check if bufferbloat is causing issues. It will give you a rating indicating how well your connection is doing.
You will get 3 scores at the end of the test, Quality, Bloat, and Overall. If you have nothing below a B, then you’re in great shape and can skip the rest.
Here’s how to resolve Bloat in 15 minutes or less.
First, write down your download and upload speeds. We’ll use those later to make an educated guess on some settings.
Now let’s install SQM. Open your router’s Web management, log in and go all the way to the bottom. Open More Settings and select Advanced.
You’ll be asked to log on again. Use the same password you selected for your router.
Go to Network > Interfaces. You will see something like this.
Under the WAN tile there will be an Interface Name, usually eth0 or eth1. Write it down. This is your connection to the Internet and we’ll need it in a moment.
Go to System > Software. Click on UPDATE LISTS and wait while it gathers information from GL-iNet about available software.
When done you should see something like this.
Now we’ll install SQM (Smart Queue Management) which monitors and adjusts speed to make everything run smoother and enforces fair sharing across all your devices.
Go to System > Software.
In Download and Install package, enter luci-app-sqm and click OK.
When that completes, enter sqm-scripts and click OK.
Now we need to tell the router to start SQM. Go to System > Startup. Scroll down to find sqm.
The first button should read Enabled. If it doesn’t, click it once to enable. Next click Start.
Time to configure SQM. Go to Network > SQM QoS. Remember we wrote 3 things down? Download Speed, Upload Speed and our WAN Interface Name. Here’s where we use them. Multiple your Download Speed by 0.90 and Upload Speed by 0.90. See the following picture for where they belong.
Click on Queue Discipline. Set Queuing disciplines to codel and Queue setup script to nxt_routed_hfsc.qos.
Click on Link Layer Adaptation. If you have ADSL, choose ATM from the list.MOST of us will select NONE for Cable, WiFi, and Fiber Internet delivery.
Click Save and Apply.
Now you can return to DSL Reports and run that speed test again. You can play with the download and upload speeds the Network > SQM QoS > Basic Settings page to find tune speed vs bufferbloat.
Congratulations. You’ve just improved your Internet experience!
If you ever need to disable SQM go to Software > Startup, find sqm, and click the enabled button to disable it