Page 1 of 1
Asking for Queue Burst
Posted: Thu Feb 08, 2007 7:04 am
by ferry
Hi, i ask for help in setting queue burst. I have read the burst in
http://www.mikrotik.com/testdocs/ros/2.9/root/queue.php, the i'm try to use it in my mikrotik and burst it's not work.
This is the simple thing :
limit-at : 32kb
max-limit : 64kb
burst
-----
burst-limit : 128kb
burst threshold : 64kb
burst-time : 8s
but why if my date rate is less than 64kb (less than burst thres),i didn't burst to 128kb(burst limit)????
Thx for help,
Posted: Thu Feb 08, 2007 9:24 am
by mneumark
Post a export of the queue you are doing so we can help you out.
Posted: Thu Feb 08, 2007 11:00 am
by ferry
Okay, this is my conf,
queue simple print :
0 name="queueAll" target-addresses=192.168.3.0/24 dst-address=0.0.0.0/0
interface=all parent=none direction=both priority=8
queue=default-small/default-small limit-at=0/0 max-limit=128000/128000
total-queue=default-small
1 name="queue3.10" target-addresses=192.168.3.10/32 dst-address=0.0.0.0/0
interface=all parent=queueAll direction=both priority=8
queue=default-small/default-small limit-at=32000/32000
max-limit=64000/64000 burst-limit=128000/128000
burst-threshold=64000/64000 burst-time=8s/8s total-queue=default-small
The point is i just want to know whether burst is run or not. Maybe, burst can be limit with time?(like xxx seconds burst)
Thx a lot,
Posted: Thu Feb 08, 2007 11:20 am
by janisk
change order of your rules if you want any packet to hit second rule.
Posted: Thu Feb 08, 2007 2:15 pm
by valens
You don't need to change the order, as those are parent and sub queue.
If you want more burst, make burst threshold lower.
With your setting, it will make the traffic always on 64 kbps, burst happend only in the first 6 or 7 seconds.
Queue Burst
Posted: Fri Feb 09, 2007 11:38 am
by ferry
Yes, i know. I think janisk is wrong, cause i use parent. And for valens and the others, i want to ask?
the rule :
the average data rate / burst time(ex = 8s) < burst threshold, then he can get burst bw, isn't it???, if
the average data rate / burst time(ex = 8s) > burst threshold, then not allowed to burst, isnt 'it ???
so, why i must lower the burst threshold??, cause my max limit is 64kb and my burst threshold is 64, the queue must & can burst...., coz the max and burst are the same.
Posted: Fri Feb 09, 2007 11:48 am
by janisk
i did not notice that parent was set
Posted: Fri Feb 09, 2007 7:52 pm
by valens
When you set max-limit = burst threshold, and your client take all traffic as max-limit all the time, there is no change the client will have burst. Burst is useful for client who doesn't always take the max-limit.
If you want the client have burst, even if they use all the max-limit, you can set burst threshold higher then max-limit.
Posted: Sun Feb 11, 2007 12:58 am
by samsoft08
please i just wanna know whts the point of making parent Q ? can't we just add the second Q alone with parent=none ?
Posted: Sun Feb 11, 2007 4:27 am
by valens
In this case, when you only have one sub-queue, using parent is is not useful.
Parent queue will be useful if you have several sub-queues, parent will handle queue of total usage of sub-queues.
Posted: Sun Feb 11, 2007 12:30 pm
by tjdykb
Try entering "child" queue target addresses in your parent target addresses ..
Burst Queue
Posted: Mon Feb 12, 2007 9:54 am
by ferry
Okay.thx for all. Now, if i have all 384 kbps and i have 10 pc in my office. How to set this bw, for the limit, max-limit, burst, and the others???
Coz if one pc download, the others become slowly, so i want to limit bw for all, but still have the burst. Can u guys tell me the best way to do this???
Thx,