QOS Scheduling

Discussion in 'Tomato Firmware' started by gbimmer3, Jun 27, 2009.

  1. gbimmer3

    gbimmer3 Addicted to LI Member

    Is there a way to schedule QOS settings to change based on the time of day? For example, I leave for work at 9 and would like to devote my entire bandwidth to torrents, and then have the QOS scale back to allow internet access when I come home. Any ideas?
  2. julien-1993

    julien-1993 Addicted to LI Member

    I would also like to know how to do that. I think it could be done using some scripts and cron job. Let say there is a script to turn off the qos when you want to give full power to the torrents, and another one to turn it on. you run the first script in early morning by a cron job and the other one at the time when you get back home. Problem is i dont have an idea of what would be in the two scripts. maybe theres a variable or something alike that toggles qos on and off. If someone knows, please do say :)
  3. rhester72

    rhester72 Network Guru Member

    The whole idea of QoS is precisely so you *don't* have to do that. If you are scaling (rather than shaping) your bandwidth, it isn't QoS.

  4. julien-1993

    julien-1993 Addicted to LI Member

    i understand that,
    However my qos needs are very different when noone is using the internet than when someone is. In the days, only torrents will use the internet. in the nights i play games, so i need absolute minimum latency. to have a good latency i need to choke my torrents with a limit of 60% , this is 60% of the 85% global upload speed limit i used. Meaning that to have a very good latency i will need to limits my torrents to about 50% of what my real upoad speed is. but during the days when i dont use internet because im not there. i want my torrents to be able to upload at 100% of what my connection is capable. So if you have a better solution to achieve that, im all ears :)

    ps. I and others have experimentally verified that if torrents are allowed full speed with QoS, latency for higher priority traffic will be bad.
  5. julien-1993

    julien-1993 Addicted to LI Member

    well i found how to do it.

    in administration > scheduler

    just set the times and day you want the change to happen and use
    "service qos stop" and "service qos start" for the commands.
    using 2 different custom actions. Much more simpler than i was expecting :)
  6. mactogo

    mactogo Addicted to LI Member

    I asked about someting similar to this issue but never got a reply. I think what would be more specific is if a script could be made so that qos could be started or stopped when n number of computers were connected or better yet when a specific MAC or IP address was detected in the LAN clients.
  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