tiered services

This topic contains 5 replies, has 0 voices, and was last updated by  AtroposX 10 years, 3 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #41325

    AtroposX
    Member

    I’ve been looking for a solution on an opensource product if it exists, a way for tiered services. Such as having limited bandwidth, and multiple customers, and providing burstable connections. So one person could burst to say, full speed, then drop down to X speed. That feature is working in ZeroShell beta 10 GREAT, absolutely flawless, but… Is there a way to drop down lower. Such as if still downloading something, you get dropped down again, lower and lower. This way, a customer doesn’t monopolize a pipe from the other customers. Again, getting an ip to the second tier is great and flawless, but the next, third tier, is the challenge. Any idea, or thoughts please?

    #47216

    imported_fulvio
    Participant

    You can implement a multilevel connection burst of the traffic by using the QoS module of the release 1.0.beta11 of Zeroshell. You have to:

    – make all connections start in the DEFAULT QoS class. This have no bandwidth limit.

    – create other classes such as LIMIT1, LIMIT2, …. on which you apply progressive bandwidth limits

    – By using del field “Traffic per connection more than n MB” assign the connection before to the class LIMIT1, after to the class LIMIT2, ….

    For example a download starts in the DEFAULT class without limits, but after 1MB continue in the class LIMIT1 that is limited to 500KB/s. When the download has generated a traffic of 10MB is assigned to the class LIMIT2 limited to 200KB/s.

    I hope this is a valid solution for you.

    Regards
    Fulvio

    #47217

    AtroposX
    Member

    Thank you for your reply. I just tried that, and didn’t seem to work properly. I made a limit1 pipe of 500k, and default global of 1.5 megs. A classifier for HTTP that if more than 5megs transfered goes to the class of limit1. That works it drops to the specified class after 5megs. Then I made another class of 256k limit2, and another classifier of http, and more than transfered of 7megs, goes to limit2. After 7megs hits, it still hangs in the limit1 class of 500k. Not sure if there’s something I am missing or not. Any response or suggestion is appreciated as always.

    #47218

    imported_fulvio
    Participant

    The sequence in the classifier it is important. You should put before the rule for 256Kb/s and then the rule for 500Kbit/s.

    Regards
    Fulvio

    #47219

    AtroposX
    Member

    The limit1 rule of 500k first at the very top, then limit2, of 256k next, at very bottom, correct. Do the priorities of low, medium, or high make a difference for the classes of limit1 and limit2, by the way?

    #47220

    imported_fulvio
    Participant

    No, it is not correct.
    At the top of the QoS classifier you must put the rule for limit at 256Kb/s. In the second position, the rule for the limitation of the bandwidth at 500KBit/s. Instead the priority of the class it not so important, but in any case makes sense to assign high priority to the DEFAULT class, medium to the class 500Kb/s and low priority to the other one.

    Regards
    Fulvio

    #47221

    AtroposX
    Member

    Thank you very much. I foolishly had the classifications backwards, and made no effort to flip them. It works GREAT! I RETRACT THIS POST, since the feature is available. You can also do the same, but for the amount of connections open, to tier down ip’s that are running an insane amount of open P2P connections. Again, Great! Zeroshell is an amazing piece of art, thank you Fulvio.

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.