Some question about QoS on a almost dial up connection

Discussion in 'Tomato Firmware' started by harrykh, Feb 27, 2007.

  1. harrykh

    harrykh Network Guru Member

    I live in Indonesia and the Internet (Cable) is not the best in the world :rolleyes: . The bandwith is differentiated by local and international bandwith. I can do 16kBytes/8kBytes (128/64kpbs download/upload) from, say a FTP server in the US (International). But I can do a bit more from local sites (sites hosted in Indonesia).

    As I don't frequent Indonesian sites, should I put the Inbound Limit and Outbound Limit in Tomato QoS based on the international bandwith ?

    For now I have put Outbound Rate / Limit Max Bandwidth to 56 (90% international upload).
    Inbound Limit Max Bandwidth to 128 (100% international download).

    Everything else is at default.

    Also I play CS:S and I want to give it most if not all bandwith when I'm playing so what I did was simply add a L7 counter-strike-source QoS classification and set it to highest then moved it on top of the list. Is this all that I have to do ?

    Any other tweaks you can recommend ? Somebody says that I should have my PC as the DMZ so I bypass the Firewall and have better playing/downloading speed. Is this true ?

    Thanks for any insight.
  2. GeeTek

    GeeTek Guest

    It sounds like you are on track pretty well with your QOS settings. You may wish to assign the L7 rule for your game to one of the lettered classes (A - E) and set that class to 100% bandwidth all the way around. As far as I know, DMZ does not bypass QOS control. What type of system traffic do you have that you are using QOS to control ? If yours is the only computer on the network, you would be best suited by turning QOS off completely, unless you are running P2P and want to keep a lid on it while you browse.
  3. harrykh

    harrykh Network Guru Member

    Thanks for the reply. I read the Wiki again and it says that if I limit the Inbound speed, the packets over that limit are discarded, not delayed as in the case of Outbound. As I said before my local bandwith (for sites hosted in Indonesia) can go faster, as much as 384kbps. So to be in the safe side I have now put the default 1000 for Inbound Max Bandwith. Am I right to do this ?

    As for your suggestion, looking at the default values for those lettered classes, wouldn't that then give CS:S low (+1%) outbound speed ? or by "all the way around" you mean I should change the defaults and give, say class A, both 100% in both outbound and inbound ?

    I don't want to mess with the default values more than I have to. I realize the lettered classes by default doesn't do anything since no entry in Classification uses any of them.

    Do u see a problem if I just use the "Highest" class ? The only ones that uses that class are DNS (by default) and CS:S.

    And no, I'm not the only one using this connection. There are like 2 other people. The traffic is varied, from skype to bittorrent to online MMORPG. I would turn off QoS but since I don't know when people are home (from work, school) and want to use the Internet I thought QoS can make it easier for them since I tend to hog all the Bandwith.

    Thanks again.
  4. GeeTek

    GeeTek Guest

    I haven't seen the defaults in awhile, but I if I remember correctly, default highest class is only 95% of the bandwidth, which would introduce latency as compared to a setting of 100% inbound and outbound, which is what I meant by all the way around. You will want to set the inbound / outbound max bandwidth values to about 90% of the highest possible speeds, which are the local speeds. QOS classes that subsequently define a speed faster than the international rate would not have any effect on the international traffic. For a class of service to throttle the international speeds, you will need to adjust the percentages of that class to reflect a value lower than said speed.
  5. harrykh

    harrykh Network Guru Member

    Sorry, I tried replying but it never came through. It just sat there "Waiting for reply..." after pressing submit. Anyway.

    The class "Highest" is set to 80-100% while the letter classes are the lowest of the bunch with their share starting as low as 1%. I hope future versions allows us to name the classes so the graph would be more usable to me.

    For Inbound the defaults are all at "None".

    I went ahead and use those letters classes to classify my traffic. A for CS, B for Skype, C for Lineage2, etc.

    One quirk is that the L7 filter for CSS doesn't work, as it's not shown in details or the graph as being caught by QoS, so instead of the filter I had to use ports (27000-27040) and it worked. Strange L7 skypetoskype works well.

    And so to clarify, you suggest me to:

    1. Put both Inbound/Outbound to 90% of Max Bandwith (Local 386/64kbps).
    2. Use a class to, if needed, to throttle the International BW...I can see where you're going with this.

    But the International BW is part of the max Bandwith (Local) thus won't it subsequently be processed/throttled/etc like the rest. Right now there's no reason for me to treat that traffic any differently. If someone is pulling something over 512k it'll get low priority no matter if its local or international.

    I can't begin to imagine how I would separate them in Tomato QoS. Maybe you can give me a screenshot of an example. Or did I misunderstood ? :p

    I'm curious what people's QoS looks like, fully customized :p Maybe some of you can show us n00bs how it's done.
  6. GeeTek

    GeeTek Guest

    You have caught me during an out of town job. It is a great subject, and I'll pick it back up in a couple of days. I'm sure you will get some other comments, as the QOS part of Tomato is one of it's tastiest parts.
  7. GeeTek

    GeeTek Guest

    You can create 2 different classes of BT, one for local BT and one for international, by creating rules that include source & destination IP ranges that correspond to the IP blocks assigned to your corner of the globe versus the rest. Put a hyphen between addresses in the address field to establish ranges. You mentioned that anyone pulling over 512k will get low priority. Did you create the 512k thresh hold using the QOS rule ? If so, you may as well just set that rule to low all the time. Torrents will download half a meg of data in a short period of time. To clarify your question #1, yes, but if possible, use an actual online speed test to determine your best local rates. Posting screen shots in this web site is time consuming because of running the pix through a photo editor to resize and compress them, and seldom produces good results. I don't have the energy to figure out image shack right now. Sorry ! A few words can be worth a thousand pictures if you watch them closely.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice