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

Question about Bandwidth Control

Discussion in 'Tomato Firmware' started by madhuinc, Dec 27, 2009.

  1. madhuinc

    madhuinc Addicted to LI Member

    Here is a brief intro of my situation. We have multiple computers in the home, some wireless some wired, all connecting to a Linksys WRT54GL with the latest Tomato firmware. So my primary concern is our HTPC which I would like to always have priority in bandwidth allocation. Because if i'm watching Live Tv streaming on the HTPC and someone else is viewing youtube videos on another computer, then the Live TV starts to skip, which is understandable since i'm working with a 400 KB/s down connection, only so much can be done :)

    So what I attempted to do with the help of this forums articles and a bunch of wiki's is setup the Tomato QoS and set "high" priority to the HTPC mac address, and set the rest of the computers on the network lower on the scale. I've had no luck with keeping the HTPC computer from skipping. Now I understand how QoS works as it's primary way of working is controlling outbound traffic and in turn tries to control inbound traffic, but ultimately it has no way of fulling controlling inbound traffic.

    Which is where I turned to other software like NetLimiter and Bandwidthcontroller etc. to try to control the traffic directly on the various computers, but the issue is no matter how great that software allows you to specifically control each applications bandwidth allocation, ultimately there is no way for the software to communicate with the other computers and/or network to see how much bandwidth is available, so if a specific computer is set at max 100 KB/s for firefox application even if there is 300 KB/s of available bandwidth it's only going to use 100 KB/s which is the con to this setup.

    So my little question turned into a long one sorry, so I would like to know if anyone knows of any software at the router level or one that could be installed on a server/dedicated pc to control bandwidth according to the needs of the actual computers that are accessing them?

    Thanks,
    Madhu
     
  2. Toastman

    Toastman Super Moderator Staff Member Member

    Have you tried assigning high priority to the HTPC by MAC number, and your other QOS rules "lean" so as to favor the HTPC? I think this ought to work as long as your other rules do not allow other applications to run amok.

    A general rule for latency-critical applications is to limit your incoming bandwidth to approximately 66% of the maximum. You may find this is all you need.

    http://www.linksysinfo.org/forums/attachment.php?attachmentid=929&d=1242200628
    http://www.linksysinfo.org/forums/attachment.php?attachmentid=930&d=1242200628
     
  3. madhuinc

    madhuinc Addicted to LI Member

    Toastman,

    Yes the classification is set for the HTPC using the mac address. I will try the 66% though, that's something I did not know, thanks.

    -Madhu
     
  4. karogyoker

    karogyoker Addicted to LI Member

    You should try to install to _ALL_ computers the program called "CfosSpeed"
    But nothing is guaranteed. Try if QoS fails on router.
     
  5. Toastman

    Toastman Super Moderator Staff Member Member

    cfosspeed is essentially a QOS traffic shaping system running on the PC. Anything it does will presumably be ignored by the router. The router's QOS will prevail. Anyone?
     
  6. karogyoker

    karogyoker Addicted to LI Member

    In CfosSpeed 4.0 or higher, the PCs are communicating to each other on the LAN, preventing congestion and delay before their packets (which are want to go outside to de WAN) reach the router.

    I have done some ping tests with QoS, with CfosSpeed, with both, and without anything.
    Computer A was uploading and Computer B was pinging.

    With QoS or with CfosSpeed the results were the same.
    With both, no improvements (same ping as when only QoS or only CfosSpeed).
    Without any of these: pings were reaching the sky.

    Above when i wrote QoS i meant _QoS on router_!!! (CfosSpeed does QoS too...)


    But i did not tested bandwith. I was only interested in online FPS games, keeping pings low while other traffic is on the LAN.
    QoS or CfosSpeed was not enough. Ping was 50-100, which is not acceptable for quake.
    The solution was: drastic static bandwith limit on all the other computers (except where i was gaming, of course). Victek's mod solved it.
    Enable BW limit before you want BW for your HTPC. And when you finished, disable it. You can write a script for the cisco button, which does it for you. You can find it in the Victek's BW Limit topic.
     
  7. madhuinc

    madhuinc Addicted to LI Member

    Thanks for all the suggestions guys, I will look into each one of these and report back. If anyone has any other suggestions please post.

    -Madhu
     
  8. havemusic

    havemusic Network Guru Member

    I use the Viteck mods for handling bandwidth issues for multiple machines.. It seems to work really well. I can have 5 pc's and 2 xbox 360 running without any major lag...\
     

Share This Page