Page 1 of 1

QOS upload question

Posted: Mon Mar 02, 2015 5:47 am
by phgerin
Hello,

I have 3 rules (upload QOS) based on Connection bytes in my WDR3600, v1.71
The goal is to give priority to short connections.
1.jpg
But when I look to the Current connections in the router, the QOS classes doesn't seem to be right:
2.jpg
why is the 1st connection set to 'cap"' and not to 'fast' ?
Why is the 3rd not set to 'fast' ?

I have the similar rules for the download QOS and they work.

Thanks for the help.

Re: QOS upload question

Posted: Mon Mar 02, 2015 7:28 am
by nworbnhoj
It might help to see the definition of your QoS (Upload) Service Classes.

Re: QOS upload question

Posted: Mon Mar 02, 2015 7:41 am
by phgerin
Ok:
3.jpg

btw, same problem with 1.6.2

Re: QOS upload question

Posted: Mon Mar 02, 2015 7:12 pm
by pbix
Connection bytes refers to the number of bytes transferred through the connection. A connection consists of an upload and download flow.

Since the download flow of your connection has more than 4096k bytes the connection has more than 4096k bytes and your upload rule is matched.

Re: QOS upload question

Posted: Tue Mar 03, 2015 3:44 am
by phgerin
Ok, thank you !
So, is there a way to detect a user uploading a large file ?

Re: QOS upload question

Posted: Tue Mar 03, 2015 4:40 am
by nworbnhoj
Thanks pbix - I learned something :-)
phgerin wrote:So, is there a way to detect a user uploading a large file ?
If I understand it correctly - you are doing it right already! Just that the Download is trumping your upload rule on your first example ...
phgerin wrote:why is the 1st connection set to 'cap"' and not to 'fast' ?
Connection (384+14620) > 4096 therefore Upload Cap rule is matched. It would also have matched if a user uploaded a large file (to your question).
phgerin wrote:Why is the 3rd not set to 'fast' ?
I do not understand (yet) why this shows NA. By pbix post is seems to me that this should also show Up=Cap and Down=Fast? Some quirk of udp or that upload=0k?

Re: QOS upload question

Posted: Tue Mar 03, 2015 1:48 pm
by pbix
The third connection shows flows between the router and a WAN address.

QoS rules do not match such flows. Only flows between addresses on your LAN and WAN addresses can be matched.

There is no way to specifically detect large files being uploaded. What you have done is the best that can be done IMHO.