Thread: [bwm-tools-tech] Feature Request
Brought to you by:
nkukard
From: Andrew N. <and...@gm...> - 2005-06-23 17:38:14
|
Is it possible to have the burst set for a period of time? Like I want to allow people to burst for 60 or so seconds and then get lowered down to their set speed even if the pipe is not full. If not that is a feature that I would like to see some day. |
From: Nigel K. <nk...@lb...> - 2005-06-28 12:39:12
Attachments:
signature.asc
|
Hi Andrew, Andrew Niemantsverdriet wrote: >Is it possible to have the burst set for a period of time? Like I want >to allow people to burst for 60 or so seconds and then get lowered >down to their set speed even if the pipe is not full. If not that is a >feature that I would like to see some day. > > Hrmm, I think this is impossible for the following reason. Say user exceeds his bandwidth by 150%, after 60s you down his speed to 100% of his allowed rate, his speed them drops to 90% of his allowable rate, then increases again. 1. How will you know when to start the 60s timeout? When he hits 100%? what about drops in speed because of latency? 2. If you start the 60s timeout each time his usage hits 100% and drop it after 60s, it could drop below 100% then rise again, triggering the 60s timeout. 3. You could however have a grace period of say 1hr, after which he can burst again for 60s? I don't understand how a 60s timeout could be implemented even if it were possible, if anyone can come up with a solution I'm more than willing to listen. ;-) Kind regards Nigel |
From: Andrew N. <and...@gm...> - 2005-06-29 18:44:33
|
Hi, On 6/28/05, Nigel Kukard <nk...@lb...> wrote: > Hi Andrew, >=20 >=20 > Andrew Niemantsverdriet wrote: >=20 > >Is it possible to have the burst set for a period of time? Like I want > >to allow people to burst for 60 or so seconds and then get lowered > >down to their set speed even if the pipe is not full. If not that is a > >feature that I would like to see some day. > > > > > Hrmm, I think this is impossible for the following reason. >=20 > Say user exceeds his bandwidth by 150%, after 60s you down his speed to > 100% of his allowed rate, his speed them drops to 90% of his allowable > rate, then increases again. >=20 > 1. How will you know when to start the 60s timeout? When he hits 100%? > what about drops in speed because of latency? >=20 > 2. If you start the 60s timeout each time his usage hits 100% and drop > it after 60s, it could drop below 100% then rise again, triggering the > 60s timeout. >=20 > 3. You could however have a grace period of say 1hr, after which he can > burst again for 60s? >=20 This is what I was thinking. Since most of traffic at least on my network is web browsing and there for very bursty type traffic. However people still do download stuff I don't want them to download at the burst rate. So a person gets to burst for 60 seconds if after that 60 seconds they are still using 100% of their allocated bandwidth they enter a penalty period for a hour or so once they are in the penalty period no bursting any longer just a hard set rate. After they get out of the penalty period they are again allowed to burst until they hit 100% for 60secs then back to the penalty box. > I don't understand how a 60s timeout could be implemented even if it > were possible, if anyone can come up with a solution I'm more than > willing to listen. I have no idea on how to implement this just an idea on how it should work.= =20 > ;-) >=20 >=20 > Kind regards > Nigel >=20 Thanks, _ /-\ ndrew |
From: Giang Hu <fre...@gm...> - 2005-06-30 02:51:38
|
Hi Andrew Niemantsverdriet, A web proxy could helps you, I think ;-) On 6/30/05, Andrew Niemantsverdriet <and...@gm...> wrote: >=20 > Hi, >=20 > On 6/29/05, Giang Hu <fre...@gm...> wrote: > > Hi Andrew Niemantsverdriet, > > > > > > On 6/30/05, Andrew Niemantsverdriet < and...@gm...> wrote: > > > Hi, > > > > > > On 6/28/05, Nigel Kukard < nk...@lb...> wrote: > > > > Hi Andrew, > > > > > > > > > > > > Andrew Niemantsverdriet wrote: > > > > > > > > >Is it possible to have the burst set for a period of time? Like I= =20 > want > > > > >to allow people to burst for 60 or so seconds and then get lowered > > > > >down to their set speed even if the pipe is not full. If not that= =20 > is a > > > > >feature that I would like to see some day. > > > > > > > > > > > > > > Hrmm, I think this is impossible for the following reason. > > > > > > > > Say user exceeds his bandwidth by 150%, after 60s you down his spee= d=20 > to > > > > 100% of his allowed rate, his speed them drops to 90% of his=20 > allowable > > > > rate, then increases again. > > > > > > > > 1. How will you know when to start the 60s timeout? When he hits=20 > 100%? > > > > what about drops in speed because of latency? > > > > > > > > 2. If you start the 60s timeout each time his usage hits 100% and= =20 > drop > > > > it after 60s, it could drop below 100% then rise again, triggering= =20 > the > > > > 60s timeout. > > > > > > > > 3. You could however have a grace period of say 1hr, after which he= =20 > can > > > > burst again for 60s? > > > > > > > > > > This is what I was thinking. Since most of traffic at least on my > > > network is web browsing and there for very bursty type traffic. > > > However people still do download stuff I don't want them to download > > > at the burst rate. So a person gets to burst for 60 seconds if after > > > that 60 seconds they are still using 100% of their allocated bandwidt= h > > > they enter a penalty period for a hour or so once they are in the > > > penalty period no bursting any longer just a hard set rate. After the= y > > > get out of the penalty period they are again allowed to burst until > > > they hit 100% for 60secs then back to the penalty box. > > > > I have few comments: > > 1. Its not easy to implement limitation to individual user traffic.=20 > AFAIK, > > current bwmd could only limit whole traffic. > > 2. Whats benifit you may gain from idea? Why dont you set burst rate to > > user rate? > > User does not gain much from 60s download except big huge bandwidth ;) >=20 >=20 > Mostly it is to benifit my network. I have mainly wireless customers > and the time that the customers "use the air" is at a preiumim. So if > I can provide fast speed for general browsing and then let downloads > run at a slower speed it will allow more air time for other clients. >=20 >=20 > > > > I don't understand how a 60s timeout could be implemented even if i= t > > > > were possible, if anyone can come up with a solution I'm more than > > > > willing to listen. > > > > > > I have no idea on how to implement this just an idea on how it should > > work. > > > > Could you implement your idea? I have few sugestion: > > 1. Add two field: lock_rate to traffic data > > 2. Change traffic rate checking to check lock_rate > > if (lock_rate < user_rate) > > go as normal > > else > > limit to lock_rate > > 3. Create a timer to check traffic rate (hardest). > > > > Just a thought, > > Giang Hu > > > > > > ;-) > > > > > > > > > > > > Kind regards > > > > Nigel > > > > > > > > > > Thanks, > > > _ > > > /-\ ndrew > > > > > > > > > -- > > You are in control of your own wonderful life :) > > > Thanks for the suggestions! > -- > _ > /-\ ndrew >=20 --=20 You are in control of your own wonderful life :) |