Community discussions

MikroTik App
 
karlos
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 81
Joined: Sun Jan 16, 2011 10:46 am

HOW-TO: FUP on Mikrotik

Tue Jan 03, 2012 4:49 pm

We found the probably best way how to schape clients after long searching and we think the right metod is using Burst.

I think this metod was originaly not for the limitation, but in oposite to give "more" than normaly. We use it this way:

An client should have connection speed 12/5Mbit, but in agregation 1:10. So we want that he will pull all the time at full speed. So we use his real max speed as "Burst limit", and this will be the max speed. Than we set another long time limit as "max limit" , and this will be the speed when using long lasting downloading/uploading. The rest is to set decision when it is too much and when it is too long.

WRONG suggestion: So in my case, if an client will download more than 1500kbit for more than 1000s he will be limited to 2mbit, or by uploading more than 400k for more than 1000s limited to 512kbit upload.
EDIT: If the calculated average rate over the time period will be biger than the treshold 1500kbit, the client will be limited to 2Mbit.

It works very well, just the timer is not so accurate, we dont understand the time limit right. The router starts to limitate the user sooner.... why ? May be someone from Mikrotik will tell.


PS: If you like the post please give a carma
You do not have the required permissions to view the files attached to this post.
Last edited by karlos on Wed Jan 04, 2012 9:33 am, edited 2 times in total.
 
ditonet
Forum Veteran
Forum Veteran
Posts: 835
Joined: Mon Oct 19, 2009 12:52 am
Location: Europe/Poland/Konstancin-Jeziorna
Contact:

Re: HOW-TO: FUP on Mikrotik

Wed Jan 04, 2012 12:49 am

Quote from MT Wiki:
burst-time (TIME/TIME) : period of time, in seconds, over which the average upload/download data rate is calculated. (This is NOT the time of actual burst)
You simply misunderstood the meaning of this parameter.

HTH,
 
karlos
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 81
Joined: Sun Jan 16, 2011 10:46 am

Re: HOW-TO: FUP on Mikrotik

Wed Jan 04, 2012 9:15 am

Quote from MT Wiki:
burst-time (TIME/TIME) : period of time, in seconds, over which the average upload/download data rate is calculated. (This is NOT the time of actual burst)
You simply misunderstood the meaning of this parameter.

HTH,
Ohh, my shame. So the average datarate is an calculated parameter over the Burst Time value, and if the calculation will go over the Burst Treshold the Burst limit will apply.
So i see some mistake there. It works little bit another way. Yes it seems to calculate some average rate but after it decides the AVG rate is over the wanted treshold it just limitates to Max limit, but this will end with wrong AVG rate over the whole time period.

It is like that in my case:
First for example 5min (300s) gets this rule full speed 12mbit, and after this time it limitates to 2mbit (next 700s) so the average speed will be 5Mbit.

But never mind, it is for me the best possible way to do self adjusting shaping rule. I would like to see it will work like i predicted on the top, and may be also with more steps, like 12mbit for 1000s , than 6mbit for next 2000s and than 1mbit for example.

Can someone form Mikrotik write some words to this discussion.
 
User avatar
arbabnazar
Frequent Visitor
Frequent Visitor
Posts: 70
Joined: Tue May 03, 2011 1:37 pm

Re: HOW-TO: FUP on Mikrotik

Sat Jan 28, 2012 7:36 pm

i was looking for this solution for long time, thanks, I will try it and let you know..