This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Trying to wrap my brain around QoS

I'm trying to grasp how QoS is being handled.

I have a relatively slow link.  12M/768k.

For my QoS interface setup, that would give me my external as uplink = 768 x.90, and downlink = 12288 x .9, right?

Do I need to set the internal interfaces to be the opposite of this?  I saw that in a post related to QoS.

My simple end goal is to guarantee the Hulu service 3 Mbps down.

I have two interfaces, Wired, and Wireless.  Different networks.  WMM is enabled on AP.

Most Hulu Devices are on my wireless.  Wireless is N900, overkill for the weak internet connection.

Traffic Selector:
Internet IPv4 -> Hulu -> Wireless Network

Banwidth Pool (Wireless):
Guaranteed: 3072
Hulu Selector

Would this be the correct setup?  I am saying anything coming from WAN to the wireless, on the Hulu service, is allocated 3Mbps.

If I set the internal speeds on the QoS interface area, to the inverse of the internet connection, would this cause any performance issues from LAN to LAN?  Or how are these used?

Thanks!


This thread was automatically locked due to age.
  • Hi,

    The .90 factor only means you cannot create a bandwidth pool with greater than .9 times your interface bandwidth; you should put the full numbers in the interface settings.

    Yes, you can put the opposite numbers in for your LAN.

    Your setup looks right, assuming the Hulu definitions are defined correctly (or you are using the Application Detection selectors).

    If you don't set 'limit uplink', then traffic between LANs shouldn't be affected.

    Barry
  • Great!  Thank you!

    I did some testing last night and using 3 other PCs to download big ISOs and one to stream youtube, my hulu did not skip a beat, even through my WAN interface was showing 11.2 Mbps usage.  It wouldn't go any higher.  My Hulu box, in previous instances, would start skipping and having trouble buffering.

    What is the purpose of setting link speeds on the interface, or status, page for the LAN interfaces?  I understand the WAN interface, because it's limited in most cases.  But most LANs that I work on are full gigabit ethernet.

    The only thing I could think, would be that you'd always inverse your WAN into your lan?

    Also, am I correct in that, if I wanted to limit upload, the traffic selector would be 'LAN -> [service] -> Internet ?

    I am using Application Selector to do this QoS, and it appears to be working great!
  • Hi,
    Glad you got it working!


    What is the purpose of setting link speeds on the interface, or status, page for the LAN interfaces?...
    The only thing I could think, would be that you'd always inverse your WAN into your lan?


    Linux can only do QOS on outgoing traffic on an interface, so for downloads, you have to do it on the Internal interface(s). You invert the speeds to account for the actual available Internet bandwidth.


    Also, am I correct in that, if I wanted to limit upload, the traffic selector would be 'LAN -> [service] -> Internet ?


    That looks right.

    Barry
  • Thanks again Barry!  [:)]