The classes define how network traffic is to be prioritized and allocated.
There are a number of predefined classes, but you can add your own.
There are a number of predefined classes QoS classes. Each class is a set of definitions for a token bucket.
The predefined classes can be edited and all values changed, but they have default settings that should be suitable in normal cases.
The priority class is an upstream class for high priority traffic such as handshaking and ICMP packets.
The Priority_down class is an downstream class for high priority traffic.
The Express class is for interactive applications that require bandwidth above standard services so that interactive apps run smoothly.
The Normal Class is the standard upstream class for all services.
This class will apply to all services not otherwise defined.
The Normal_down class is the standard downstream class for all services.
This class will apply to all services not otherwise defined.
The bulk class is suitable for very low priority traffic. It will be allocated available bandwidth if other classes are idle. When other classes are active, it will be allocated bandwidth according to the priority setting.
It is suitable for transfer services such as (P2P and FTP).
The class tab lets you manage QoS classes.
At the top of the page is a list of selectable classes.
When a particular class is selected, details about it is shown in the configuration section.
Item | Description | Comment |
---|---|---|
Priority | Bandwidth allocation limit (%). | |
Average Rate | Average target rate (%). | |
Limit Rate | Maximum allowed bandwidth (%). | |
Packet Size | Size of packets (bytes). | See note. |
Packet Delay | Target delay for packets (ms). | See note. |
Max Size | Maximum size of packets (bytes). |
Note: Packet Size and Packet Delay rely on the Average Rate setting. The average rate is impacted by the maximum packet delay and the transfer time for the packet size. Generally the delay is lower for smaller packet sizes.
You can add as many classes as you like.
To add a class:
The Priority indicates the bandwidth allocation limit as a percentage of total available bandwidth.
ls m2 = priority / sum (priority) * max_bandwidth
The Limit Rate provides a maximum allowed bandwidth, expressed as a percentage of the total available bandwidth.
ul rate = limitrate * max_bandwidth / 100
The Average target rate is a percentage of the total available bandwidth.
Average rate for this class, value in % of bandwidth (this value uses for calculate vaues
'Nx' of 'tc … hfsc rt m1 N1 d N2 m2 N3'
Note: Packet Size and Packet Delay rely on the Average Rate setting. The average rate is impacted by the maximum packet delay and the transfer time for the packet size. Generally the delay is lower for smaller packet sizes.
Size of packets (bytes).
packetsize & packetdelay: (only works if avgrate is present)
rt d = max( packetdelay, 'time required for packetsize to transfer') ls d = rt d
Target delay for packets (ms).
The maximum size of packets indicates the maximum packet size in iptables.