What's new

QoS in RT-N66U

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

vrapp

Senior Member
The Help on QoS in RT-N66U says that the way it works is that when QoS detects that certain connection has downloaded more than threshold amount of data, it assumes that this is file download, and drops its priority:

"There are two QoS rule for the 80 port, (1) Web surf and (2) File Transfer. If the each 80 port cumulated session size under 512 KB, it may be a normal web surfing.
If the cumulated session size over 512KB, it may be a file download via 80 port.
The purpose of our default rules is to set file transfer with low priority and it would not influence the web surfing. "

I wonder, how it's supposed to work with video streaming? it's certainly much more than the threshold, so if the description above gives full picture, then the streaming will be downgraded?

In fact this appears to be exactly the case. QoS is enabled in the router, and I start watching streaming video in Windows Media Player; it buffers in the content to 100% in about 7 seconds and then plays for about 50 seconds; at which point it stops and begins to buffer in more content - and now buffering goes many times slower, so now it reaches 100% in one minute, and after that watching the video is practically impossible. If I turn QoS off, I can watch the same video even with 4x times the bandwidth without a single delay. The problem also goes away if in QoS settings I specify my upload bandwidth 5-10 times more than what I really have (i.e. 5Mb instead of real 512Kb). So I wonder, is this some kind of glitch in the firmware, or Asus developers who came up with this algorithm forgot about HTTP streaming? It does look more like a glitch because this effect with slowing down happens even when the traffic is uncontested.
 
Last edited:
There's no "one-size-fit-all" set of QoS rules, as everyone's case is different. The default rules Asus created work for "most cases", but they are bound to not be suitable for other cases. Fortunately none of these rules are hardcoded, and you can modify them for your specific need.

QoS will always require investing a lot of time to tweak it to your specific needs. That's why personally I think people should first determine if they really need QoS or not for their particular case. If they do, then they will have to expect having to spend a lot of time finetuning them for their own use - there is no way around that unfortunately.

A few things to look at:

1) Make sure you did enter the correct down/upstream values. They are in bits, not in bytes. So, a 30 Mbits cable connection that can give you up to 3.9 Mbytes/s should be entered as "30" Mb.
2) Set your upstream to roughly 70% of your max upstream capacity. This will help ensure you don't starve your download by leaving no upstream bandwith to actually send back ACK packets and what-not.
 
If video stream and file download both use the same port, you won't get too far with fine-tuning QoS unless you have some way to tag the packets depending on the application, and have the router adjust the priorities depending on those tags. That's why I suggested that maybe you could look into implementing DSCP in your firmware.

Back to the N66: the bandwidth I have is 6M down / 512K up. Here are the diagrams of the traffic with different upstream bandwidth set in Traffic Manager/Auto, while watching a streaming video with WMP.

Specified upstream bandwidth = 350Kb

attachment.php


Specified upstream bandwidth = 2M

attachment.php


Specified upstream bandwidth = 4M

attachment.php


QoS is turned off

attachment.php


I think it's very clear that lower setting of the upstream bandwith puts a limit on the download bandwidth.
 

Attachments

  • 350.PNG
    350.PNG
    11.3 KB · Views: 1,332
  • 1024.PNG
    1024.PNG
    12.3 KB · Views: 602
  • 2048.PNG
    2048.PNG
    12.4 KB · Views: 1,498
  • 4m.PNG
    4m.PNG
    12.8 KB · Views: 1,316
  • Off.PNG
    Off.PNG
    20 KB · Views: 1,530
Last edited:
Here's the screenshot of the QoS settings:

attachment.php
 

Attachments

  • Capture-11-12-00001.png
    Capture-11-12-00001.png
    39.9 KB · Views: 1,464

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top