I have upgraded my Linksys WRT54GL to Tomato to take advantage of QOS. I enabled QOS so that when my family streams media (Funshion, Youtube, Nexflix), my online games (BF3) won't lag. Since I have enabled QOS, I've noticed that my ping is very good while my family is streaming. However, I've noticed that I suddenly get huge lag spikes but my ping is still very low (~50ish). I have left all of my QOS settings as default.
Date: 01 Apr 2013 01:19
Number of posts: 17
RSS: New posts
I am using 1.28. After posting, I modified my QOS. Let me know if I need to provide any other screenshots.
imgur.com <slash> T6ECLt0
Very good screen shot, and an absolute mess of a rule set. Set a static IP address on your computer that is outside the range of the DHCP server.
Change default class from "Low" to "High"
Change your outbound rate limit from 400kbits to 600kbits.
Change inbound rate limit from 12,000kbits to 15,000kbits.
Changed "Highest" outbound category from 75%-100% to 100%-100%
Change "Highest" inbound category from 75% to 100%
Change "High" outbound to 5%-50%
"High" inbound to 65%
"Lowest" outbound to 1%-5%
"Lowest" inbound to 4%
From the existing list of rules, delete Rule #1, #3 and #4. This leaves only two rules.
Change the first rule "Transferred" from 512KB+ to 2048KB+. Change port type from "DST Port" to "SRC Port". Change class from "Low" to "Lowest".
Create two new rules for your computer.
Rule # 1 Destination IP = Your computer IP. Any Protocol. Class = "Highest"
Rule # 2 Source IP = Your computer IP. Any Protocol. Class = "Highest"
Move the new rules to the top of the rule list using the arrows that appear when you point to the left end of the rule.
You should now have four rules. These are all you should need.
Changing the rate limits allows you to specify rates that are faster than your available internet speed. All traffic is matched by order of the rules. Rule #1 and #2 at the top of the list matches all traffic to and from your computer. The specified speed limit for "Highest" class is above what you have available, so no slowing to your computer will ever occur. With your guaranteed minimum set for higher bandwidth than all other traffic, the QOS engine can nearly halt all other traffic if your computer wants it.
Rule #3 detects an unusually large amount of traffic from any other computer on your network besides your own computer and assigns that traffic to the "Lowest" speed category. The speed limit for "Lowest" traffic is capped at 30kbps Outbound and 600kbps Inbound.
Rule # 4 detects high outbound port ranges from any other computer on your network besides your own computer, which are typically used for torrent traffic, and assigns that traffic to the "Lowest" category.
All other normal traffic to the other clients on your network is matched at the default category of "High" which is 30kbps - 300kbps Outbound and up to 9,750kbps Inbound. DNS traffic is also matched at "High" which is fine. If you notice an abusive amount of DNS traffic from other stations then you can add another rule to detect a large quantity of bandwidth and slow it down, similar to rule #3.
Edit - Put a check in the box for the option "Reset class when changing settings". A reboot would also be a very good idea after making all these changes.
Edit #2, reversed port type for "Transfer" rule to be "Source".
Your screenshot ; http://i.imgur.com/T6ECLt0.jpg
Wow, thank you for the detailed post. I will try this tomorrow when I have more time :)
I also want to note that I also have another computer in the household that is used for gaming, and two other computers in the house used for web browsing. Additionally, we have several mobile phones that my family uses to occasionally stream Youtube or browse the web.
From reading your post, it seems like I would need to modify the Destination and Source IP for Rule #1 and #2 to include all of my gaming machines.
I also want to confirm that by following your very detailed instructions, I can most likely achieve the following three results at the same time (ie - if I am gaming, streaming, and browsing on different devices):
- My gaming machines will experience minimal lag
- It will still be possible to stream media (480p) on at most one device (my Media machine downstairs or a mobile device)
- My other devices will still be able to browse the internet (laptops and mobile devices)
Sorry about the delayed update. I have applied the settings you specified above and will be monitoring my network over the week to make sure it all works smoothly. I'll update you on my status :)
Thank you. I monitored the network after applying the settings you suggested but the media application, Funchion (asian P2P Media Streaming service) was not receiving enough bandwidth to work. I increased its class' bandwidth Outbound rate to 15% and inbound to 10%.
I've noticed that I get a lot of lag when our media computer is streaming off Funshion (take a look at the Youtube video for an example of the lag I get). My ping is excellent (always under 50), but I still receive lag which makes the game unplayable.
I've also included a screenshot of our log traffic.
192.168.1.20 is my gaming computer which has the highest priority.
192.168.1.122 is our media computer which is currently streaming off Funshion.
Other devices, such as 192.168.1.137, would be a cell phone.
Sample of lag:
youtube.com <slash> watch?v=WpJBwX3GMGg
i.imgur.com <slash> JnIvUW6.jpg