Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For each speed limit rule there is a logical buffer associated, in order to serve the allowed amount of transmitted data. Usually, the buffer size is larger than the size of the limitation. Each unit of time is allocated to a data size equal to the threshold for the bitrate limit.

In the example below (video 1), the speed limit is 3 data units and the buffer size is 12 data units. The buffer is constantly filled in according to the threshold, however, it cannot be filled over its own size.

...

The data received by the device at the inbound interface will be processed only if the buffer contains has resources for their processing (video 2). Thus, the passing data occupies the buffer's resources. If the buffer's resources are fully used occupied at the time of a new data frame arrival, the frame will be discarded.

...

The rate of the data flows in packet networks is inconsistent, proving the efficiency of the Token Bucket algorithm.  Time The time intervals in which data is not transmitted allows to accumulate resources in the buffer, and then process the amount of data that exceeds the threshold. A wide band will be allocated to pulse data streams, such as web traffic, in order to ensure a quick loading of the web pages and to increase the comfort level of the end user.

...

Center

Multimedia
nameTokenBucket_3.mp4

Video 3 - Data processing by at the speed limit buffer

The Token Bucket algorithm can be applied to separate traffic flows. In this case, a speed limit buffer will be allocated for each flow (video 4).

In this example, two speed limit rules are implemented: for the traffic of vlan 161 - 3 data units per unit of time block, for the traffic of vlan 162 - 2 data units. The buffer size for each traffic flow contains 4 time intervals, i.e. 12 data units for vlan's 161 traffic and 8 data units for vlan's 162 traffic. In total, 5 data units are allocated to the buffers in each time interval, then the allocated resources are distributed between the buffers. Since the size of the buffers is limited, the resources that exceed their size cannot be used.

...

Center

Multimedia
nameTokenBucket_5.mp4

Video 5 - Dedicated Usage of the dedicated resources for data processing using processing 

There are ways to combine the resource buffers. For example, on the Infinet devices, the allocated resource buffers can be combined using classes (see below). If one resource buffer is filled with resources (video 6), its further incoming resources can be provided to another buffer.

In the example below, the buffer for vlan 162 is full of resources, allowing to fill in the vlan's 161 traffic buffer with 5 data units of resources, instead of 3 (its own 3 data units plus the 2 data units of the other buffer). In this case, the vlan's 161 service throughput will increase. But when vlan's 162 traffic resource buffer will have free space, the resource allocation will return to the normal mode: for vlan's 161 traffic buffer - 3 data units, for vlan's 162 traffic buffer - 2 data units.

Center

Multimedia
nameTokenBucket_6.mp4

Video 6 - Redistribution of the allocated resources between various speed limited limit buffers

Anchor
shaping_infinet
shaping_infinet
Types of speed limits in Infinet devices

...