Need help of Expert...

:sunglasses: Hi there people, I have a problem (have MikroTik 2.9.2 installed) - need a script, or do no (something like that) that will automaticly limit users when they downloading more than 3 minutes at speed higher than 120 Kbps, then, if they stops downloading and speed is lower than 120 Kbps, after 5 minutes it will automaticly remove the limit… (this need not for whole UserList, but for each user personaly) IS THIS REAL ??? ( sorry for my E nglish and silly question, but we Realy need that in our network and office)… :frowning:

burst queues?

ofcose :slight_smile:

Your best bet it to use queues to accomplish this… http://www.mikrotik.com/testdocs/ros/2.9/root/queue.php

If you want them to be bursted to over 120kb for 5 minutes then set the burst time for 300 seconds.

mneumark,

burst of course is something different than op asks for, no? :slight_smile: Your burst treshold simply defines, that once speed decreases under the treshold value, queue is allowed for burst speed download/upload, for a given period of time.

But - op (original poster) wanted to let user to download at the speed he pays for, but after 5 minutes, to lower it to some lower speed, and let it that way till the end of the hardware …

I would probably try to experiment in the following manner - marking connection (prerouting, tcp, port 80 = http downloads), marking packet, putting it to e.g. http-downloads address-list, setting desired period. Then, for the user, I would create child simple queue, limiting http protocol to desired speed, if it is NOT on the address-list … Could that work? :slight_smile:

Cheers,
Petr

No its not…

User goes fast for 5 minutes, slows down, if slow for 5 minutes, go fast again…

it’s exactly the same that a burst queue does, the burst times and thresholds are just rather long…

yes, queue burst can do like that…

But according to docs not surely how Savage describes it? Or am I missing something? According the docs the burst time is NOT guaranteed all the times. At least doc in following section shows, that once average speed is above treshold, the burst is interrupted (as there is no need for it anymore). So, and just imo, queue burst will not serve op with intened purpose.

http://www.mikrotik.com/testdocs/ros/2.9/root/queue.php

If I am really wrong guys, then tell me (but then I would really like to know, how it really works :slight_smile: Any other articles around?)

Thanks,
Petr

first , I dont know why to give a user who is downloading a big file a reward for his action by increasing his speed after a period of time while he is eating the bandwidth ? the reasonable thing is to decrease a speed for some one who is still downloading a big files ..
second , savage is right , thats what burst does , but there are 2 dissadvantages of burst :
1- burst repeat itself each time the user doesnt reach the average speed .
2- burst not applied to each single tcp connection , its applied to each
user with all his tcp connections all together ..

i think we need some rule that has the fourth dimension TIME .. which is not exist in MT only in burst ..

Original question is indded exaclty what bursting can do.

The latest MT allows very good feature: nesting queues, which gives you even more power (i guess it would be possible to set multiple level bursting that way), but you surely can set burst to specific packets, not just all traffic one user makes.

perk and samsoft you had wonderful possibility to attend MT training in MUM - Poland, but i see you missed it.

burst will happen if requirements are met:

  1. average download speed is lover than burst threshold.
  2. there is bandwidth available for burst to happen

and if ISP says - you will be able download with speed A but in reality i get A/2 i would punch him in face with agreement. Except if ISP is foolish enough to offer 100MBit speed :smiley: (if ethernet)

lets stop this discussion here - or go and read other thread where this was discussed.