Joined: 14 Oct 2006 Posts: 296 Location: Sector 001
Posted: Mon Mar 20, 2017 15:40 Post subject: QOS Clarification
I was going to play around with QOS on my Guest Wifi. After doing some reading, I was hoping to get some clarification.
1. In a few screen shots of QOS setups online, I've seen the "LAN Max" field was filled in with a number while another had it set to zero. What is the rule of thumb for that particular field?
2. What is the preferred method for actually setting up the QOS. Under the "Interface Priority" or the "Netmask Priority"? I've seen it setup with one or the other.
3. If the only thing I'm throttling is the guest network, does one still need to list the regular network?
I haven't done much testing yet but when I did have both list, initial speed tests seemed to bring down my regular network throughput. Disabled QOS and it went back up. Again, it was just a quick test.
Thanks for the assistance.
Currently installed:
Firmware: DD-WRT v3.0-r31221 giga (02/01/17)
Simple thing I use for guests network is Interface Priority.
Just select the correct interface (usually wl0.1) then set as 'Bulk'. No need for anything else. It will get full bandwidth if nothing else is using it or it will get as little as 1% of bandwidth if other clients are actively using it up. The boy brings lots friends over from time to time and I get 6 - 8 extra wireless devices connected but it never bothers me a bit
Joined: 14 Oct 2006 Posts: 296 Location: Sector 001
Posted: Mon Mar 20, 2017 16:55 Post subject:
Hmm, that's interesting. Never looked into the Priority dropdown before. So just leave all the other fields empty (see pic)? Don't need to include the regular network on the list? Only list the guest wifi?
I'm assuming one still needs to set Download and Upload kbps in the QOS section(which I read should be between 80% - 95% of actual).
Thanks!
2017-03-20 11_46_01-Main (build 31221) - Quality of Service.png
Yea that should work. AFAIK all connections get the standard priority unless otherwise changed....so what you have done is make sure nothing on the wl0.1 network can ever take priority over your other interfaces.
You can test it easy enough. Get a couple streams or such going on main network then connect to guests run speedtests.
You can of course put on manual and set specific limits but I never seen the point for my needs.
Joined: 14 Oct 2006 Posts: 296 Location: Sector 001
Posted: Tue Mar 21, 2017 3:28 Post subject:
Did a little bit of testing this evening and I must have something not quite configured correctly.
My ISP connection is rated for 75Mbps Down 7Mbps up
A quick speed test with my ISP speed test sight showed me 74.77 down and 7.6 up
When I turn on QOS with the bulk settings set for my Guest network, my throughput drops significantly on my regular network (PC connected not wifi)
36 down and 3.6 up
If I then disable QOS, speed returns to normal. I've attached what I have set for my QOS settings.
There were some issues with higher speeds & QOS. Not sure if they have all been worked out on the broadcom routers.
You should change queueing discipline to Fq_Codel.
That usually is better.
What router are you using? This makes a HUGE difference on which QoS parameters you need to use. For example, MIPS routers seem to work best with HFSC/FQ_Codel, and ARMv7 seem to work best with HTB/FQ_Codel.
So, unless you have a dual core Cpu router, I do not recommend you use HTB, as you will severely tank your bandwidth as you've noticed. It's showing at roughly half, correct?
Joined: 14 Oct 2006 Posts: 296 Location: Sector 001
Posted: Wed Mar 22, 2017 0:55 Post subject:
Ahh, I didn't try the HFSC. I just used HTB. I did as suggested with the check boxes as well. The speed test is better but not quite there. I'm now noticing about 6-10Mbps loss down and 1Mbps loss up. Better than half across the board I guess.
Would a beefier router help in the situation or is that just the state of QOS?
Ahh, I didn't try the HFSC. I just used HTB. I did as suggested with the check boxes as well. The speed test is better but not quite there. I'm now noticing about 6-10Mbps loss down and 1Mbps loss up. Better than half across the board I guess.
Would a beefier router help in the situation or is that just the state of QOS?
Thanks
Of course. This is simply because it requires processing power to control TCP packets, etc.
If you turn off QoS and run a speedtest, what are your results? I'm assuming you are on cable as well, correct?
Do 90-95% of your allotted bandwidth on the speedtest that you get. Not 90-95% of your provisioned speed. Because 67k down = 68608 Kbps. At this point, whenever you'd run something you'd over-saturate your allotment. Keep it under a bit, and it'll be just fine. So, for example...If you are provisioned for 75 Mbps, and get 72 from the speedtest, then do 72 * 1024 = 73728. Then 95% of that will be 70,041.
Your results that you are getting are spot on with what you input, and it's not going over.
I didn't multiply any of this by 1024 since the cable provider speed test already gives the results in kbps.
If averaging this sample and then taking 95% is a good method, looks like my original entry of 68608 (per your math) is near identical? The up speed could be increased it appears.
I'm still a newb on QOS and don't fully understand why it couldn't just ignore the regular packets speed and only throttle the packets to the interface I listed.
Perhaps instead of QOS, one can give priority to everything except the guest packets?
What is the maximum you have gotten on a speedtest? The lowest?
I'm not understanding what you are asking me. QoS is designed to control the bandwidth of a given interface. In this case, it's your WAN. The reason for limiting the download/upload is that because when you saturate all of the bandwidth to one device or many devices, you create latency.