Basic knowledge about gargoyle router QoS

Source: Internet
Author: User

(I searched for a circle and did not find the Chinese Gargoyle Router and Its QoS Operation Experience, tutorials or other materials. So I went to the Gargoyle Wiki and took some notes, some of the following content is my understanding of the Gargoyle Royle QoS, and some limitations may only be reflected in the Gargoyle Router .)

QoS is short for Quality of Service, that is, "Quality of Service". It is a tool for adjusting the Quality of Service provided by information transmission networks, mainly reflected in the bandwidth size and response speed.
QoS is designed to provide differentiated service quality for different needs and to provide fair service quality for the same needs.
If the quality of Internet access services (bandwidth and latency) is certain, it means to improve the quality of service for a certain access end while reducing the quality of service for other access terminals.

If the external network entrance is large enough, there will be no data packet queuing image caused by bandwidth saturation, it means that all intranet data transmission requests are transmitted immediately, and QoS is meaningless.

The unit of Ethernet transmission-data packets. QoS is analyzed and processed based on the packet header.

QoS can only identify specific Computers Based on IP addresses. To ensure that a computer has a specific IP address in this network, you must use the static IP address function on the DHCP page to assign a specific IP address to a MAC Nic, if the MAC address remains unchanged, the IP address remains unchanged.

When a computer sends a message, the IP address of the computer is the source address, which is used in QoS upload rules.
When a computer receives information, the IP address of the computer is the target address, which is used in QoS download rules.

Based on the timeliness of data interaction-round-trip time (RTT), two types of network applications are divided:
I. Low RTT-applications requiring real-time interaction, such as online Combat games and video and voice conversation systems, enabling MinRTT;
2. High RTT-applications that download passive data, such as P2P downloads and online videos, and MinRTT is disabled;

Total Bandwidth settings: The total bandwidth for uploading and downloading is generally set to 80%-90% of the carrier's nominal bandwidth.

Active Congestion Control (ACC) -- monitors the download speed and response time of the WAN in real time to adjust the total bandwidth of the download;

The reason for setting rules without MAC addresses is that in the Linux routing system, the MAC address of the packet header can be used for QoS execution only after it is stripped. QoS is designed for Internet portal management, that is, only the WAN-QoS-lan relationship between the Internet port and the Intranet port does not exist.

Even if the network speed is faster, bandwidth saturation may occur. Therefore, QoS is also required.

The existence of the idle bandwidth rate indicates that the ISP has a 1 Gbps egress, but can allocate a bandwidth entry of 100 Mbps to users, so when everyone wants to occupy the bandwidth, in fact, the bandwidth is limited to 10 Mbps for the ISP. When some people are idle, the bandwidth of some people may be 100 Mbps, which is also a manifestation of QoS at the ISP level.

Gargoyle router manages QoS based on classification rules.

Classification Rules consists of three elements: Match criteria, classification, and ranking sequence.

Match criteria is the target image to be used for identification, that is, the image for QoS Management. It can be an IP address, port, packet length, transmission protocol, and application protocol;

Classification is the behavior of the image, including the class name, default bandwidth proportion, minimum bandwidth, maximum bandwidth, and minimum round-trip time (only applicable to "downloading ").

Active congestion control is a special function available only for "downloading". You can specify an IP address and the maximum Ping value, for example, Ping value detection for an IP address, if the ping value is lower than the upper limit, the active blocking control is enabled.

The total bandwidth is generally set to 80%-90% of the theoretical value provided by the ISP.

The ranking sequence is matched from top to bottom, and the priority is higher when the first line is exceeded.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.