Limiting Netflix with QoS

BryceBT

Honorable
Dec 4, 2013
86
0
10,630
When people on my network stream netflix, my latency while gaming goes to a constant 500+ms, making any online game completely unplayable. I'm going to set up a QoS to limit the bandwidth it can use and had a couple of questions about how to do this.

In the QoS section there is a "General" section that has Rx bandwidth and Tx bandwidth boxes, what values should I enter into these boxes?

There is also a "Gamer" setting that says
""I play games over the Internet and want the games-related traffic to be as fast as possible."

Games Related Traffic: Medium
Other: Low "

Will this help at all?

And there is also a traffic shaping area but I have no networking experience and don't know what to do to limit netflix from hogging all of the bandwidth.
 
Solution
Do not use DD-wrt. I don't know if it works well, but I do know it's hard to tell if the changes you make are properly implemented.

Tomato I find far superior at sniffing and analyzing connection data.
Dst Port: 80,443,8080
So the following is Tomato talk. based on my isp connection

In your case it's quite simple. Netflix will max out my 7.5mb (100%) connection streaming with 200kbps (40%) of upload traffic. That is sufficient for 1 person to HD whatever they are seeing.

Gaming doesn't use very much data so set that computer in a class higher than the class that has netflix on it.

Then set the gaming class at 100% for both upload and download.

Then set the netflix class at 80% of your download speed. If you are lazy, you can also...

RealBeast

Titan
Moderator
You cannot game and stream video over wireless, and your QoS is unlikely to help much.

First question: what ISP plan do you have, if it is just some 3Mpbs plan your options are limited. Who is your provider and what is your download/upload plan?

What is your budget if you could always have low latency and let the others fight over streaming garbage?
 

fefrie

Honorable
Feb 13, 2014
11
0
10,520
Do not use DD-wrt. I don't know if it works well, but I do know it's hard to tell if the changes you make are properly implemented.

Tomato I find far superior at sniffing and analyzing connection data.
Dst Port: 80,443,8080
So the following is Tomato talk. based on my isp connection

In your case it's quite simple. Netflix will max out my 7.5mb (100%) connection streaming with 200kbps (40%) of upload traffic. That is sufficient for 1 person to HD whatever they are seeing.

Gaming doesn't use very much data so set that computer in a class higher than the class that has netflix on it.

Then set the gaming class at 100% for both upload and download.

Then set the netflix class at 80% of your download speed. If you are lazy, you can also set uploads at 80%, but at that rate, if more than one person is streaming, then upload requests will saturate download links and your download gaming packets will get lost with the netflix traffic. That will increase latency, but will be nicer to the people on your network to stream the most bandwidth at any given time with some increase to your latency.

I recommend 150kbps upload per 6mbps of traffic. So if you have a 9mbps download speed, then I recommend max 225kbps upload for netflix requests. This will provide more than enough overhead for your gaming traffic uploads, but download traffic for both gaming and netflix may get congested at the router or the ISP. If you find your latency is still high, then lower the upload limit for netflix traffic.

You can't really controll the traffic you get on downstream, it's mostly via upstream.

Read the tomato toastman's thread. IT's pretty comprehensive and will provide you an eye opening experience to QOS.

This all sounds strange to you, but once you try tomato, you'll realize that DDWRT works QOS like a dull machete, while Tomato let's you at it with a surgical knife.

With all this talk though, the real issue is torrenting. Not the bandwidth, but the number of connections. An inconsiderate torrenter can saturate all the connections (up to 4096) of most routers, low end or high.

With Tomato, you can see what kind of traffic people are on and start making solutions to them. When I have a person just blatantly abusing torrenting with poor torrenting practices, I put that person into torrenting jail in a low class with low upload capacity, and they shut down torrenting pretty quick.

Update:

Here are the modified classes and priorities you need to know.

TCP
Dst Port: 80,443,8080
Transferred: 0 - 512KB High Web Surfing 8 Max Speed 10000/425

TCP
Dst Port: 80,443,8080
Transferred: 8192KB+ Med Netflix 10 Max Speed 6000/150
TCP
Dst Port: 80,443,8080
Transferred: 512 - 8192KB Low Web Surfing 11 Max Speed 10000/400

This will catch Netflix traffic and put it in a class just below normal websurfing so that all Websurfing will feel mostly zippy while still allowing Netflix to have sufficent bandwidth to stream, but not overcome your connection.

Now create a new rule with your computer's IP address.

SRC IP: 192.168.1.51
Port:111,222,333,444 Highest Gaming 7 Max Speed 10000/425

Now your computer gaming ports and data will processed the quickest and sent in and out the fastest. Since gaming packets are small, no one will notice the difference, but you will notice the reduced latency.

Use this on a good quality router. I recommend the asus rt n16 for value and speed. 480mhz and 128mb memory.

Does it work? For your setup I don't know, but I have a 7.5mbit connection. I surf pretty good with 3 others netflixing, (I don't know if it's HD). I barely notice that anybody else is home. For all intensive purposes, everybody says their internet works completely fine.

So if my websurfing latency is fine, then your gaming traffic latency should be even better if you place it in a higher class.
 
Solution