Bufferbloat fix

Discussion in 'Tomato Firmware' started by geekjock, Jul 7, 2018.

  1. geekjock

    geekjock Network Guru Member

  2. cloneman

    cloneman Addicted to LI Member

    Enabling QoS helps tremendously with bufferbloat, using SFQ or fq_codel. There are a lot of settings to toy with, but the basic concept is turning it on and setting your upload/download to your line rate -15%.

    If you want to just have bufferbloat control without any of the Classes/Rules, in tomato, you have to delete all the rule that come preset.

    Unfortunately if you use fq_codel you cannot change any of the parameters in the Webui (such as target 5ms) but most people don't need to change this unless the connection is slow (less than ~2mbit). In that case you would have to use SFQ, which can also provide decent performance.
     
  3. geekjock

    geekjock Network Guru Member

    Thanks for the good info. I enabled QOS with fq_codel, set inbound and outbound max bandwidth limits -15%, and all classes to No Limit. Speedtest on DSLreports now has zero bufferbloat - yay!
     
  4. cloneman

    cloneman Addicted to LI Member

    Interesting, I don't know what No Limit does, nice to know that it has some positive effect for you.

    Typically what I'd have done is removed everything from the Classification page to have everything end up in "default", with something like Min 10% - Max 100% for that class.
     
  5. geekjock

    geekjock Network Guru Member

    Update. I guess I was too hasty. Further testing reveals that nothing is repeatable. Sometimes I get bufferbloat, with or without QOS, sometimes I don't. Can't find any correlation.
     
  6. txnative

    txnative Networkin' Nut Member

    Would you mind posting pics of what you have setup for both classification and basic settings? What is you connection type, fiber, cable, dsl?
     
  7. Onee-chan

    Onee-chan Network Newbie Member

    Try this QoS settings are very good:
    https://www.linksysinfo.org/index.p...-for-gaming-and-everything-else-tomato.73927/

    And test in DSLreports using SFQ and fq_codel to see which work better to you.

    For test in http://www.dslreports.com/ follow this steps:

    1. Create a Account http://www.dslreports.com/
    2. Go to http://www.dslreports.com/speedtest/preferences scroll down on the page and click on Reset
    3. Again go to http://www.dslreports.com/speedtest/preferences
    4. [OPTIONAL] Click in Auto Select "by Lactency"
    5. Add in "No. download streams" and "No. upload streams": 32 or 16 or 8
    6. Click in Advanse Setting and increase "Upload duration" and "Download duration" to 30 seconds.
    7. Click in Advanse Setting and active "dodge compression"
    8. Save and test. (always test using http)

    Nobody in your house has to use the internet when you are doing the test.
     
    Last edited: Jul 15, 2018 at 7:37 PM
    nodnarb91 likes this.
  8. txnative

    txnative Networkin' Nut Member

    You may ask, how much bandwidth is receiving from isp, mipsel or arm router he is using as those settings from the post my not work due to cpu if he has a mips router and also is it necessary to control the incoming since most device like voip and gaming would really benefit the outbound connection instead. For example my isp really has network instabilities on the inbound and sometimes outbound connection and while having bufferbloat test is fine but it's really only the outbound that would need to be properly corrected with qos, but the isp can sometimes screw with everyones bandwidth and for that reason I had to basically disable my inbound and only using the outbound portion to be optimized with qos, now this my example and current situation but just keep in mind that a network may not have to use qos unless you have crucial devices that need low latency, priority over other devices as i mentioned before voip and games.
     
  9. NotVeryClever

    NotVeryClever New Member Member

    For me, No Limit seems to bypass QOS (and prioritization) entirely, defeating the purpose.
     
  10. txnative

    txnative Networkin' Nut Member

    Using "No Limit" only on the outbound is done on my setup except for my voip/game class as I like to place 10240 kbps for outbound, the inbound classes are setup for lowest latency as possible on a five class setup mine is done similar to Testing demo as shown in that link, a user may always customize as needed to their own network needs and situations when using qos is needed, thank you tomato past, present and future teams.
     
  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