Difference between revisions of "Manual:Queues - Burst"

From MikroTik Wiki
Jump to: navigation, search
Line 15: Line 15:
  
 
<table class="styled_table">
 
<table class="styled_table">
<tr width="60">
+
<tr>
   <th width="5">Seconds</th>
+
  <th width="20">Seconds (s)</th>
   <th width="20">Actual Rate</th>
+
  <th width="3">0</th>
   <th width="20">Average Rate</th>
+
  <th width="3">1</th>
   <th width="5">Allow Burst</th>
+
  <th width="3">2</th>
 +
   <th width="3">3</th>
 +
  <th width="3">4</th>
 +
  <th width="3">5</th>
 +
  <th width="3">6</th>
 +
  <th width="3">7</th>
 +
  <th width="3">8</th>
 +
  <th width="3">9</th>
 +
  <th width="3">10</th>
 +
  <th width="3">11</th>
 +
  <th width="3">12</th>
 +
  <th width="3">13</th>
 +
  <th width="3">14</th>
 +
  <th width="3">15</th>
 +
  <th width="3">16</th>
 +
  <th width="3">17</th>
 +
  <th width="3">18</th>
 +
  <th width="3">19</th>
 +
   <th width="3">20</th>
 +
  <th width="3">21</th>
 +
  <th width="3">22</th>
 +
  <th width="3">23</th>
 +
  <th width="3">24</th>
 +
  <th width="3">25</th>
 +
  <th width="3">26</th>
 +
  <th width="3">27</th>
 +
  <th width="3">28</th>
 +
  <th width="3">29</th>
 +
   <th width="3">30</th>
 +
   <th width="3">31</th>
 +
</tr>
 +
<tr>
 +
  <th>Actual Rate (Mbps)</th>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
   <td>0</td>
+
  <th>Average Rate (Mbps)</th>
   <td>0Mbps</td>
+
  <td>4</td>
   <td>(0+0+0+0+0+0+0+0)/8=0Mbps</td>
+
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
   <td>4</td>
 +
   <td>4</td>
 +
   <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
  <td>4</td>
 +
</tr>
 +
 
 +
<tr>
 +
  <th>Burst Allowed</th>
 +
  <td>Yes</td>
 +
  <td>Yes</td>
 +
  <td>Yes</td>
 +
  <td>Yes</td>
 +
  <td>Yes</td>
 +
  <td>Yes</td>
 +
  <td>Yes</td>
 +
  <td>Yes</td>
 +
  <td>Yes</td>
 +
  <td>Yes</td>
 +
  <td>Yes</td>
 +
  <td>Yes</td>
 +
  <td>Yes</td>
 +
  <td>Yes</td>
 +
  <td>Yes</td>
 +
  <td>Yes</td>
 +
  <td>Yes</td>
 +
  <td>Yes</td>
 +
  <td>Yes</td>
 +
  <td>Yes</td>
 +
  <td>Yes</td>
 +
  <td>Yes</td>
 +
  <td>Yes</td>
 +
  <td>Yes</td>
 +
  <td>Yes</td>
 +
  <td>Yes</td>
 +
  <td>Yes</td>
 +
  <td>Yes</td>
 +
  <td>Yes</td>
 +
  <td>Yes</td>
 +
  <td>Yes</td>
 
   <td>Yes</td>
 
   <td>Yes</td>
 
</tr>
 
</tr>
  
 +
 +
  <td>Yes</td>
 
</table>
 
</table>
  
 
+
  <td>(0+0+0+0+0+0+0+0)/8=0Mbps</td>
  
  

Revision as of 10:08, 14 October 2008

Theory

To understand burst it is necessary to be aware of 5 concepts:

  1. burst-limit (NUMBER) : maximal upload/download data rate which can be reached while the burst is active
  2. burst-time (TIME) : period of time, in seconds, over which the average data rate is calculated. (This is NOT the time of actual burst)
  3. burst-threshold (NUMBER) : when average data rate is below this value - burst is allowed, as soon as average data rate reach this value - burst is denied. (basically this is burst on/off switch). For optimal burst behavior this value should above limit-at value and below max-limit value
  4. average-rate (read-only) : Every 1/16 part of the burst-time, the router calculates the average data rate of each class over the last burst-time seconds.
  5. actual-rate (read-only) : actual traffic transfer rate of the queue

To simplify calculations for examples we will use limit-at=1M, max-limit=2M, burst-threshold=1500k, burst-limit=4M


Example Burst-time=8s

Seconds (s) 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Actual Rate (Mbps) 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
Average Rate (Mbps) 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
Burst Allowed Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Yes
  <td>(0+0+0+0+0+0+0+0)/8=0Mbps</td>


Burst time.8.part1.JPG Burst time.8.part2.JPG


Example Burst-time=16s

Burst time.16.part1.JPG Burst time.16.part2.JPG