Page 1 of 1

QoS (Upload) Affecting Download Speed

Posted: Thu Mar 01, 2012 7:44 pm
by ERIC8585
When I enable QoS (Upload) on my TP-LINK TL-WR1043ND with Gargoyle 1.5.4 I do not get the maximum download speed I am provisioned with by my ISP. However, when I disable the upload QoS, I get my provisioned download speed. I do not have QoS for the downstream enabled.

Is there a bug in QoS?

Thanks

Re: QoS (Upload) Affecting Download Speed

Posted: Thu Mar 01, 2012 7:54 pm
by pbix
There is no known bug in QoS that I am aware of.

Is this a new phenomenon or has this always been the case?
How did you determine what your upload bandwidth is?
Please post a screen shot of your upload QoS page.
How do you know your download speed is affected?
By how much is it affected?

Re: QoS (Upload) Affecting Download Speed

Posted: Thu Mar 01, 2012 9:18 pm
by ERIC8585
I have only had one version (1.5.4) of Gargoyle installed on my router that I just purchased today, so it has always been the case for me. Here are some screenshots. As soon as a turn on QoS for upstream my download speed is affected by 10mbit on speedtest.net

QoS (Upload) page1
Image

QoS (Upload) page2
Image

Speedtest with QoS (Upload)
Image

Speedtest without QoS (Upload)
Image

Re: QoS (Upload) Affecting Download Speed

Posted: Thu Mar 01, 2012 9:52 pm
by ERIC8585
Same problem with firmware version 1.4.7 except to a lesser extent. On firmware 1.4.7 I get 56Mbps consistently on my download test with QoS (Upload) enabled with the same settings.

Re: QoS (Upload) Affecting Download Speed

Posted: Thu Mar 01, 2012 10:56 pm
by pbix
Lets check your CPU utilization while downloading and rather than using speedtest lets try downloading a large file like http://www.ubuntu.com/download/ubuntu/download so we get a good one minute average.

I suspect your router is running out of CPU time in both cases but with QoS enabled it will run out at a lower throughput because QoS requires more processing.

Re: QoS (Upload) Affecting Download Speed

Posted: Fri Mar 02, 2012 1:52 am
by ERIC8585
pbix wrote:Lets check your CPU utilization while downloading and rather than using speedtest lets try downloading a large file like http://www.ubuntu.com/download/ubuntu/download so we get a good one minute average.

I suspect your router is running out of CPU time in both cases but with QoS enabled it will run out at a lower throughput because QoS requires more processing.
That web server doesn't max out my downstream speed. So I tried downloading the file and doing the speed test at the same time. The average utilization went up to about .9 - 1.4 for a 1 minute average. Is this 1.4%? Is there any way to check the real time CPU utilization?

Re: QoS (Upload) Affecting Download Speed

Posted: Fri Mar 02, 2012 8:38 am
by pbix
Any number over 1.0 indicates your router is CPU bound. The reading of 1.4 means that 40% of the time processes were waiting for access to the CPU. As I said previously you may find the command line 'top' program more interesting for you for checking 'realtime' utilization.

Your router is CPU bound. Each new feature you enable in Gargoyle will likely further reduce your throughput.

Your choices are two, get a faster router or live with top end throughput below the maximum your ISP could deliver.

You may find this topic interesting http://www.gargoyle-router.com/phpbb/vi ... =11&t=2411 as another user report basically the same performance with that router.

Given that I live with a 1Mbps/400kbps link you will have to excuse my lack of sympathy for you :| .

Re: QoS (Upload) Affecting Download Speed

Posted: Fri Mar 02, 2012 11:53 am
by ERIC8585
Damn I should of bought one with a faster processor like the Netgear WNDR3700. Oh well. I'll live with this one for now. Not too much of a speed difference. I feel bad about your 1Mbps :shock:

Re: QoS (Upload) Affecting Download Speed

Posted: Fri Mar 02, 2012 6:19 pm
by mix
So is it iptables (or is it ebtables) using up all the cpu or what?