QoS slowing down upload...


Greebo

Network Guru
Member
I've just installed Tomato 1.02 on my WRT54GL 1.1, and was looking forward to both bandwith-monitoring and QoS. The bandwith monitor was just strange, it always showed about 10mb/s AVG inbound (my line is only 6/6mb...) on the WAN port (the eth0 was crazier...)

Worst was QoS, I loved the menus, and the possibilities :biggrin: , but quickly realized something was wrong. I took a internet speed test, and with QoS disabled got about 7000kbps upload (only 6400down...:redface: ). When I enabled QoS, the upload speed dropped to about 3440kbps:confused: , no matter what I did with the settings.

-I tried to disable all classifications, no difference.
-Set the default class to highest; no difference.
-Tried different upload speed (from 3600 to 10000); no difference.
-With and without ack and icmp priority; no difference.

When I disable QoS, my upload speed goes back up to 6-7mbps, and I can't think of more things to try...

So, does anyone have any suggestions for more things to try??? A loss of 2600kbps upload is just a little to much......:frown:


Greebo :cool:
 
I'm using QoS extensively with no issues, my bandwidth up is the same when using QoS or not. I really love the features of QoS in this firmware! Did you make sure to clear NVRAM when you updated to the Tomato firmware?
 
I've just installed Tomato 1.02 on my WRT54GL 1.1, and was looking forward to both bandwith-monitoring and QoS. The bandwith monitor was just strange, it always showed about 10mb/s AVG inbound (my line is only 6/6mb...) on the WAN port (the eth0 was crazier...)

Worst was QoS, I loved the menus, and the possibilities :biggrin: , but quickly realized something was wrong. I took a internet speed test, and with QoS disabled got about 7000kbps upload (only 6400down...:redface: ). When I enabled QoS, the upload speed dropped to about 3440kbps:confused: , no matter what I did with the settings.

-I tried to disable all classifications, no difference.
-Set the default class to highest; no difference.
-Tried different upload speed (from 3600 to 10000); no difference.
-With and without ack and icmp priority; no difference.

When I disable QoS, my upload speed goes back up to 6-7mbps, and I can't think of more things to try...

So, does anyone have any suggestions for more things to try??? A loss of 2600kbps upload is just a little to much......:frown:


Greebo :cool:

Did you clear the NVRAM after you flashed to Tomato? Also, in the QoS Basic Settings for Outbound you could try putting the Max Bandwidth at 90% of your total upload and widen out the percentages for all the bandwidth priorities and test it that way. I currently have everything checked at the top with my Default Class set to Low and it's been working good for me.

I've also had experiences especially when changing firmwares between Stock to Thibor to Tomato where I've had to reboot my PC and cable modem to get the speeds to properly work.
 
Ah, sorry, forgot to mention:
I "upgraded" to Tomato from Thibor 15c, and the last thing I did before upgrading was fact.def.+ clear NVRAM. The first thing I did after installing Tomato was to clear NVRAM....

QoS functions are working perfectly EXCEPT that I'm "losing" 2,6mbps upload bandwidth....


Greebo



edit: I'll try clearing NVRAM, rebooting PC and cablemodem tomorrow...
I've tried lots of Max Bandwidth settings (including 90% of upload= 5528kbps), no difference at all...
Why should I widen out percentages? (They're still at default).
 
edit: I'll try clearing NVRAM, rebooting PC and cablemodem tomorrow...
I've tried lots of Max Bandwidth settings (including 90% of upload= 5528kbps), no difference at all...
Why should I widen out percentages? (They're still at default).

I'm still a little fuzzy on what the outbound classification % settings do in Basic Settings. From my understanding you can allocate bandwidth to a particular class (ie Highest, High, etc.). What that exactly does for you is the part I'm not completely sure of. You can widen those percentages so the classes all are set to use all of the uploaded bandwidth and only use the Classification tab to determine which applications you want to give outbound priority to. Just something to test. If you do decide to play around with the Basic Settings I would then Save your settings, reboot the router and reboot the cable modem...just to factor out any other variables.
 
i started having problems today with the QoS (after 4 days no probs)

my lowest class (www) is getting all the bw while my hightes (xbox live) is getting almost nothing, the classes where switch.


is there a way to prioritize by mac addy or ip?
 
I'm still a little fuzzy on what the outbound classification % settings do in Basic Settings. From my understanding you can allocate bandwidth to a particular class (ie Highest, High, etc.). What that exactly does for you is the part I'm not completely sure of.

Here is my understanding of these settings...

Each classification has two percentage values, which you can edit.

The first percentage value is how much of a completely saturated upstream would be allocated to this class of traffic. This guarantees that the traffic will always have at least this amount of upstream bandwidth.

The second value is the maximum portion of the upstream the classification can use if the connection is idle (i.e. set this to 100% unless you want to limit a class of traffic at all times).

Once you've edited the values, you can see the bandwidth ranges for each classification on the right, calculated using the value you entered for your upstream bandwidth.

For QOS to work properly and efficiently, the sum of all the values in the first column of percentage boxes should be 100%, and you must enter an accurate value for your upstream bandwidth. (Unless your upstream is extremely stable at a fixed value, it's usually best to err on the low side of your ISP's quoted upstream bandwidth by 10% or so. This may 'waste' up to 10% of your upstream bandwidth, but you should have very reliable QOS.)

Hope this helps!
 
Still no go.....

I cleared nvram, rebooted router + modem + pc, and I'm still losing the 30-40% of my upload bandwidth the moment I turn on QoS :frown:

I tried changing some of the bandwidth percentages, but it didn't change anything (it shouldn't either, with only one upload connection (speed test) that connection should get all bandwidth... i think....)

So it seems to work perfectly as long as upload bandwidth is below 3600kbps, anything above, it just caps... I'll probably have to chose between QoS or bandwidth then :wink:
Oh well, if anyone has other ideas I could try, please let me know, else I'll just assume its my wrt54gl thats broken... :frown:


Greebo
 
tis weird.. i have no such problems, though my line's a 10/1 mbps. i tried adjusting the qos uploads when someone was dling off my server, and i can see the results immediately in the real-time bandwidth charts.

i'm actually getting 13.8mbps down :p me have a nice isp
 
Has anyone else tried/testet QoS who have a upload speed greater then 3600kbps?? My downloads work ok, of course, but for some strange reason my uploads are capped when QoS is enabled.....


Greebo
 
For what it's worth, I ran a few quick SpeekEasy tests...
Cable Modem straight to PC
Download Speed: 11099 kbps (1387.4 KB/sec transfer rate)
Upload Speed: 369 kbps (46.1 KB/sec transfer rate)
Download Speed: 11338 kbps (1417.3 KB/sec transfer rate)
Upload Speed: 369 kbps (46.1 KB/sec transfer rate)
Download Speed: 13947 kbps (1743.4 KB/sec transfer rate)
Upload Speed: 369 kbps (46.1 KB/sec transfer rate)

Router, No QOS
Download Speed: 14801 kbps (1850.1 KB/sec transfer rate)
Upload Speed: 367 kbps (45.9 KB/sec transfer rate)
Download Speed: 15006 kbps (1875.8 KB/sec transfer rate)
Upload Speed: 367 kbps (45.9 KB/sec transfer rate)
Download Speed: 14864 kbps (1858 KB/sec transfer rate)
Upload Speed: 368 kbps (46 KB/sec transfer rate)

Router, with QOS
Download Speed: 8994 kbps (1124.3 KB/sec transfer rate)
Upload Speed: 217 kbps (27.1 KB/sec transfer rate)
Download Speed: 9138 kbps (1142.3 KB/sec transfer rate)
Upload Speed: 218 kbps (27.3 KB/sec transfer rate)
Download Speed: 9036 kbps (1129.5 KB/sec transfer rate)
Upload Speed: 216 kbps (27 KB/sec transfer rate)

All of these are taken with Tomato 1.04 on a Buffalo WHR-G54S. It appears that the Tomato flashed router has no effect on in/out speeds as long as QoS is disabled. Enable QoS and there's an instant hit on throughput in both directions. I'd be happy to post any QoS settings info that might be relevant...
 
Hi fastpakr,

what are your max upload/download bandwidth settings ? Maybe you define outbound rate to low ? What are your QoS settings ? Maybe here is the problem. Please recheck your Setup !

der_Kief
 
Nice catch, and yes - I feel like a moron. Settings were 1000 in/200 out. Switched to 14000 in/350 out and got this:

Download Speed: 12599 kbps (1574.9 KB/sec transfer rate)
Upload Speed: 330 kbps (41.3 KB/sec transfer rate)

Question though - given that the first three tests without the router in place were below 14k, what would you suggest setting as inbound max?
 
...what would you suggest setting as inbound max?
Hi,
why limit the inbound bandwidth ? This is from the readme:
Although there is an option to limit the download speed, it's not really recommended in most cases since what the router is really doing is dropping packets, which means they may need to be re-sent again over a slow Internet link.

der_Kief
 
Hi,
why limit the inbound bandwidth ? This is from the readme:
Although there is an option to limit the download speed, it's not really recommended in most cases since what the router is really doing is dropping packets, which means they may need to be re-sent again over a slow Internet link.

der_Kief
Because usually dropped packets means (to the server) that the connection is slower, so after the initial commotion the server will send the packets slower. At least, that's the way it is supposed to work. It isn't very good when trying to limit different classifications in a dynamic fashion though.
 
What der_Kief states from the Readme is correct since the router is dropping packets that might have to be re-sent again. Initially I fooled around with limiting inbound packets, but found it wasteful and wasn't very efficient. It's kinda like putting a "speed limiter" in your car when the goal is really trying to go faster. I found the best thing to do is to decrease the number of connections and/or speed inside your bulk download applications (bittorrent, download mgrs, etc ...), while keeping the overall internet "flow" to your computer constant. Remember, the default settings on most torrent applications don't consider anything else you might be doing on your computer. Resource synchronization is achieved by lowering/decreasing many of these settings.

Hope this helps.
 
well the way i do qos is to put my bulk connections like p2p and bt together with other bulk traffic, and pirotize other specific traffic above them. seems to work well for me with >4096 concurrent connections. i'm on a 10,000/1,000 line here
 
Azeari,

That's kind of what everyone is doing for controlling UPLOAD bandwidth and it does work fine. What people shouldn't be doing is "castrating" themselves by messing with the firmware's DOWNLOAD bandwidth -- it's best to control this as I mentioned above by throttling back number of connections/speed in the torrent/download application. :)
 

Back
Top