High Latency Issue while running uTorrent with QoS

Discussion in 'Tomato Firmware' started by xxxquandomxxx, May 12, 2011.

  1. xxxquandomxxx

    xxxquandomxxx Networkin' Nut Member

    Me and three other roomates share a router, WRT54GL. One person likes to torrent, so we have no choice but to use QoS. I think I may have set up QoS correctly, but I have high latency problems even with a lot of free bandwith. I am trying to figure out what is causing the high latency, which makes gaming impossible.

    Our internet speeds measure to around 16-20 Mbits down and 1.8 Mbits up.

    Here are my status

    And my current settings while running torrent (maximum of 40 global connections):

    Once I stop the torrenting, we get beautiful ping again and gaming is possible. I am sorry if this is a problem that has been reposted.
  2. xxxquandomxxx

    xxxquandomxxx Networkin' Nut Member

    Sorry for being new, I am trying my best to learn as much as possible. I guess one solution would be to switch to Victek's K2.4.37 MIPSR1 for my WRT54GL. If anyone has any inputs to guide me, that would be nice...
  3. Mastec

    Mastec Network Guru Member

    Have the roommate that uses uTorrent check his bandwidth settings. Open uTorrent and click on Options. Then click on Preferences. Click on Bandwidth and check what his Maximum upload rate (kB/s) is set to. If it's higher than 5 that will cause high latency issues. Set it to 5 or lower but not 0. 0 = Unlimited bandwidth which you don't want. Try again.

    I had the same problem with my home network when I was downloading. I lowered it to 5 and everybody was happy again.

    Hope this helps
  4. Toastman

    Toastman Super Moderator Staff Member Member

    Your QOS is essentially a mod of the default QOS rules from original tomato, which is, to put it bluntly, not too great at controlling P2P. You can make a huge improvement just by deleting the last rule for bulk traffic. Then P2P will be trapped by the default rule. Anything you specifically prioritize will go to it's respective class, but anything else, including P2P, will end up in class C. DNS over 2k going to class B - any reason for that? Usually DNS over 2k is assumed to be P2P taking over that port. If so, then you don't need that rule either, as it is covered by the default class again.

    BTW, I don't see any particular reason for using classes A to C ? Don't forget the "highest" class is used as a default for many things, such as the small packets that you have enabled in "basic settings", and you've effectively turned it off. We usually put DNS and other essential services in the highest class for fastest response time. Everything else below.

    Next, you have posted a speedtest that shows 1.12 Mbps upload test, so you should have approx. 66-85% of this figure set as maximum upload bandwidth, i.e. let's say around 1Mbps or less, (I would try 800kbps), otherwise QOS can't work properly. [It doesn't matter what the ISP says the speed is, what matters is the LOWEST speed that you ever measure. Since this post had a screenshot of 1.12, then I have taken that figure.]

    Hope that helps. The rest of it is down to learning ...

    You may find the clientmon graphs in Toastman firmware to be helpful in monitoring your clients. You can set an IP to monitor and thus would be able to see who is taking what bandwidth. The details screen will then show you what connections, what QOS rules were responsible for the classification, and amount of up/download. That knowledge is invaluable for setting rules.
  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