WRT54G - QoS Settings Help

Discussion in 'Tomato Firmware' started by encore2097, May 6, 2007.

  1. encore2097

    encore2097 Network Guru Member

    Router Brand/Model/Rev: Linksys WRT54G Ver. 2
    Tomato Version: 1.06.0981
    Connection (Down/Up): 6mbps/384k Up

    I just want to Prioritize my VoIP as highest and then everything else can use the rest of the bandwidth whenever VoIP is not in use. However it seems that BT doesnt use any bandwidth at all. My upload rate will spike to 42 KB/sec for a while and then just go down to 0 after about 10 seconds and the graph is very jagged like its being throttled. This never happened with HyperWRT Thibor 15c so Im thinking its my settings. They are shown below. Thanks!

    Currently these are my QoS Basic Settings:

    And my QoS Classification Settings:
  2. der_Kief

    der_Kief Super Moderator Staff Member Member


    try to disable "Prioritize ACK" ! Maybe this help.

  3. encore2097

    encore2097 Network Guru Member

    I disabled 'Prioritize ACK' and now it seems to use more bandwidth when using bittorrent, however it still seems to drop all connected peers periodically... I'll see how it goes throughout the night, for all i know it could the peers and not me.

    Here is a graph of the upload bandwidth from my torrent client.

  4. roadkill

    roadkill Super Moderator Staff Member Member

    Try changing Default Class to Lowest/Low and set VOIP to qos class to high so it wouldn't interfere with DNS queries.
  5. encore2097

    encore2097 Network Guru Member

    I changed the default class to Low, and the VoIP to classification to High, and will test it overnight thanks! What about 'Prioritize ACK' or 'Prioritize ICMP'?
  6. encore2097

    encore2097 Network Guru Member

    The same problem i still hapenning, should I have kept the other default items in QoS- Classifications? I that whats causing the problem?
  7. affer

    affer LI Guru Member

    Well, you don't provide enough information to really do much troubleshooting. What are your classifications (rules), datagram, etc? Anyway, if you take this approach it should work fine. BT doesn't interfere with my voip at all using this logic.

    Leave ACK prioritized and set..

    Highest DNS
    High VOIP
    Med WWW or anything else more important to you than BT
    Low Default class (unclassified)
    Lowest low priority stuff
    A BT, put it in some class below "Lowest" & set the bandwidth to some fractional capacity that leaves enough for voip + dns

    That way, ACK & DNS do not cause problems & BT will only take bandwidth after your voip connection is satisfied. Make sure that you set sufficient bandwidth for both voip & dns. I use g.711 & use about 90/90kbps down/up. It's also important that voip is classed higher than the default class & BT below the default class, in case the torrent packets are not filtered as you expect and fall into the default class. And lastly, qos won't work if your upstream capacity is set too high. Use a conservative figure unless your *measured* upload speed is consistent.


  8. encore2097

    encore2097 Network Guru Member

    @affer: I posted my settings earlier in the OP.

    I have updated my QoS Setting & Classifications to what the FAQ - 'QoS: VoIP & BT' suggested. Here are my new current settings:

    QoS - Basic Settings

    QoS - Classifications

    Now my issue is that some connections are still set as Unclassified when they clearly fall into the QoS rules and other connections of similar conditons (same ip same port etc..) are classified correctly. I've tried rebooting the modem and the router and the PC's any suggestions?
  9. GeeTek

    GeeTek Guest

    Yes, it will. You can set your outbound capacity to 55 Mbits and the upload percentage for any class will be regulated very carefully to the amount that the percentage equals. If you set the maximum upload of that class to 1 percent you will get 550 Kbit upload regulation, even if it is 15 meg fios.

    Edit - Encore, your rules look pretty decent. You should change the protocol on your VOIP rule to "ANY" instead of "TCP/UPD". Also, filtering by IP address is better than MAC if you can give the phone a static IP. What I would do is set the "E" category for all bandwidth values at 100% and assign the phone to class "E".
  10. GeeTek

    GeeTek Guest

    Here is an interesting conn track setting to mess with. It makes the charts much more responsive. Take a screen shot of your default settings if you mess with conn track.

    Attached Files:

  11. affer

    affer LI Guru Member

    No, it won't. If you enter a bandwidth figure that is higher than reality, the qos mechanism will allocate more bandwidth than intended to the highest class(es) and quite likely starve lower classes that should and would have been allocated had the correct bandwidth speed been entered.

    Say that the actual connection speed is 5000/500. And you intend to allocate a small amount high priority bandwidth to some process. If you wanted about 5 kbps, then you would enter 1%. And that's fine if you enter the correct upstream speed of 500 kbps. But if you enter a bandwidth that is higher than reality, like the 55 Mbps in your example - then the tomato qos will allocate up to 550 kbps to that class before serving lower classes. That is more than 100x the intended amount & since it exceeds the entire real bandwidth of 500 kbps, all lower classes will be starved if the higher class uses the available 500 kbps. Starving classes that were intended to be served hardly constitutes a qos working in the expected manner.
  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