1: Class
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.
Predefined Classes
Class
There are a number of predefined classes QoS classes. Each class is a set of definitions for a token bucket.
Default Settings
The predefined classes can be edited and all values changed, but they have default settings that should be suitable in normal cases.
Priority
The priority class is an upstream class for high priority traffic such as handshaking and ICMP packets.
Priority_down
The Priority_down class is an downstream class for high priority traffic.
Express
The Express class is for interactive applications that require bandwidth above standard services so that interactive apps run smoothly.
Normal
The Normal Class is the standard upstream class for all services.
This class will apply to all services not otherwise defined.
Normal_down
The Normal_down class is the standard downstream class for all services.
This class will apply to all services not otherwise defined.
Bulk
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).
Tab
Class
The class tab lets you manage QoS classes.
Overview
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.
Configuration Values
Priority
The Priority indicates the bandwidth allocation limit as a percentage of total available bandwidth.
ls m2 = priority / sum (priority) * max_bandwidth
Limit Rate
The Limit Rate provides a maximum allowed bandwidth, expressed as a percentage of the total available bandwidth.
ul rate = limitrate * max_bandwidth / 100
Average Rate
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.
Packet Size
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
Packet Delay
Target delay for packets (ms).
Max Size
The maximum size of packets indicates the maximum packet size in iptables.