1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

QOS without wasting so much bandwidth

Discussion in 'Tomato Firmware' started by dailyglen, Feb 10, 2012.

  1. dailyglen

    dailyglen Networkin' Nut Member

    Hi,

    My line usually gets 30 Mbps download but I have my oBW limit set to 5 Mbps because from running hourly tests I know it can get that low. But now I'm limiting myself to this crappy line speed. I'm thinking of using my download speed tester to measure the bandwidth every hour and then set the QOS limit to 70% of that number. I'm sure someone has thought of this before.

    Questions:
    1. Is this idea worth it?
    2. Is there a better way to do this?
    3. If I do this how to access the current LAN usage via a script? Any recomendations? (Currently I'm downloading a file from speedtest.net and calculating it's size/time, using Ruby).
    4. If I downgrade the speed of my cable line should that also lower my minimum BW? (why pay for a fast line if you are not using it?)
    Thanks!
     
  2. david3

    david3 Addicted to LI Member

    It's my understanding that most of the value for QOS is with the upload settings -- and that's something the router can really control.

    The download QOS is harder to do, since the router doesn't have a direct way to control what's getting sent to it. The QOS tries to limit the download speed by dropping ACK packets and hoping that the remote server sending data will slow the transfer rate.

    If I were you, I'd try just setting the upload QOS, and disable the download QOS and see how it goes. If there are a few things you really need to limit, you could also just limit those things and let general traffic through at full speed.
     
  3. Porter

    Porter LI Guru Member

    david3:

    To me inbound and outbound QoS are equally important. Especially with slow lines you can ruin interactivity in both directions.

    dailyglen:

    1. The Gargoyle Firmware has something called ACC (automatic congestion control). Supposedly it can adapt to different line speeds at different times of the day. I haven't tried it yet, though.

    2. see 1. With the current QoS in Tomato I don't see any other way.

    3. The current downloading speed is known by the Real-time Bandwidth Monitor, but I can't tell you how to get its values. Calculating the maximum bandwidth should be possible using wget and some shell scripting.

    4. Talk to your ISP and most importantly look at the contract. Did the ISP guarantee minimum bandwidth rates? Maybe you can even switch because your ISP isn't able to provide enough bandwidth or they might let you choose another service level.
     
  4. dailyglen

    dailyglen Networkin' Nut Member

    david3:

    QoS is for inbound and outboud, read Toastman's excellent FAQ. My QoS is working well in both directions.

    Porter:

    Thanks for the pointers. It seems that with Tomato there is no easy solution. I ended up using "service qos stop" and "service qos start" to turn off qos during the night.

    Thanks.
     
  5. occamsrazor

    occamsrazor Network Guru Member

    Yes I have similar problem. When I used to use ADSL the QoS worked very nicely as my speeds were very regular. Now I'm forced to use a USB 3G modem with the router, and the maximum upload/download speeds can vary wildly and different and random times of the day. Can't see any other alternative but to turn QoS off entirely.
     

Share This Page