This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

QOS recommendations to combat bufferbloat

I have a network at home with 3 VLANS and wired into an Atom based appliance running Sophos XG Home.  The traffic on the network is a mixture of IOT, Windows 10, Server 2022 and such.  Netflix, Amazon Prime, etc. for family internet usage.

Connection is Virgin 100/10 cable connection, are there general QOS recommendations for applying against rules etc?  Bufferbloat is a problem on the connection, but traffic shaping rules haven't been enabled as of yet.

Speed isn't the issue, it's latency..



This thread was automatically locked due to age.

Top Replies

  • There's isn't a lot to configure unless you want to do web category or application based QoS.

    In general you can either create a User/Group or Network QoS policy, It depends if you have authenticated/clientess users or not in your home network.

    For your setup, I recommend you to create three policies, one for IoT, another for the servers and a last one for family/general usage.

    On the basics:

    • Always use the "Shared" option at bandwidth usage type. (For home usage.)
    • Remember to set the priority correctly on each rule.
    • Set the Upload/Download limits separately since you don't have a symmetric connection.
    • Be aware It uses KB/s (Kilobytes per second)

    For the priorities you can use (0) for the family internet usage, (1) for the servers and (2) for the IoT stuff.

    This should be enough to help with bufferbloat, here's a test I've made with my laptop over WiFi: (Using the Firewall QoS.)

    Jump to answer
  • OK, I reworked everything to work I think the way @Prism does it. I am getting a lower maximum laptop download speed -- I think because Streaming Video's (priority 0) reserved bandwidth trumps High Bandwidth's (priority 1) reservation and so 20Mbps (Streaming Video's reserved download) is being left on the table. The other way didn't do this, but to be honest maybe what I thought was reserved for streaming video wasn't actually reserved. Or maybe priorities were equal (though done in a much different manner)?

    The good news is that I did lower loaded latency considerably. The bad news is that download loaded latency is +10 ms (was +29 ms) which still not low enough for an A+, but it's quite nice. Thanks @Prism!

  • One way to get closer to an A+ score - assuming it is fq_codel/cake derived - is to enable ECN on the clients. That uses RFC3168 to mark, rather than drop, packets, for congestion control. To enable it on osx, sudo sysctl -w net.inet.tcp.disable_tcp_heuristics=1, on linux or windows, see: www.bufferbloat.net/.../

    69% or so of web servers support it. Only osx turns it on (sometimes) Do a big upload or download, with a packet capture, and see if the ect or ECN field gets set to 3 at any given point in wireshark