Congestion control method for sensing bottleneck link position

By deploying flow tables and status tables in the data center network, dynamically identifying bottleneck links and optimizing the AIMD algorithm cycle solves the problem of lagging response of traditional congestion control strategies in large traffic processing, and achieves more efficient congestion management and data transmission. efficiency.

CN118646709APending Publication Date: 2024-09-13NANJING UNIV OF POSTS & TELECOMM
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410791837.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-09-13

AI Technical Summary

Technical Problem

The congestion control strategy of traditional data center networks lacks flexibility. ECN marking may lag behind actual congestion conditions, resulting in temporary network overload and packet loss. Moreover, the end-to-end congestion control mechanism does not respond quickly enough, increasing latency, especially in large-scale environments. It is difficult to effectively deal with traffic processing.

Method used

Adopt a congestion control method that senses the location of the bottleneck link. By deploying flow tables and status tables at the data sending end and switch end, the network bottleneck link is dynamically identified and located. Combined with the rate adjustment of the AIMD algorithm, the RED mechanism and timer mechanism are used to achieve this. Fast congestion feedback and status switching optimize the cycle adjustment of the AIMD algorithm and reduce unnecessary waiting cycles.

Benefits of technology

Significantly improves the timeliness and efficiency of congestion control, shortens the overall transmission time of data flows, and improves the operating efficiency and response speed of the data center network. Especially in high-pressure network environments, it can quickly identify and respond to bottlenecks and optimize data transmission. process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118646709A
    Figure CN118646709A
Patent Text Reader

Abstract

The invention belongs to the technical field of lossless data center network optimization, and discloses a congestion control method for sensing a bottleneck link position, which mainly comprises the following steps of: configuring two types of states for each switch port: marking and unmarking, adopting different congestion detection strategies by a switch according to different states so as to flexibly cope with flow change, switching between a mode of controlling the switch to maintain the queue length and a mode of maximally utilizing the residual capacity of the bottleneck link; and the sending end host guides the rate control period of the additive AIMD algorithm according to the congestion signal returned in advance, the dynamic bottleneck link position and the relative position of the bottleneck link. By introducing the innovative mechanism, the timeliness and efficiency of congestion control can be improved, even in the face of a many-to-one incast phenomenon or a high-load condition, the algorithm can also promote rapid and stable data sending rate, positively explores and utilizes unsaturated network bandwidth resources, and shortens the transmission completion time of data streams.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of lossless data center network optimization, and in particular relates to a congestion control method for sensing bottleneck link positions. Background Art

[0002] Lossless data center networks play a vital role in contemporary information technology infrastructure. They are not only the cornerstone of cloud services, big data analysis, artificial intelligence applications, and various online services, but also directly affect the speed, efficiency, and security of data processing. With the explosive growth of data volume and the increase in real-time processing requirements, the importance of data center networks has become increasingly prominent. It must be able to efficiently transmit data between servers, ensure low latency and high availability of services, and support rapid expansion and flexible configuration.

[0003] RDMA (Remote Direct Memory Access) technology is particularly important in this context. In lossless data center networks, traditional TCP / IP technology needs to go through the operating system and other software layers during data packet processing, which requires a large amount of server resources and memory bus bandwidth. Data is copied and moved back and forth between system memory, processor cache, and network controller cache, which puts a heavy burden on the server's CPU and memory. RDMA allows data to be directly transmitted between the memories of different servers, bypassing the traditional operating system protocol stack, significantly reducing the participation of the CPU and multiple data copies, thereby greatly reducing the latency of network communication and improving the throughput of data transmission. Since RDMA relies on low latency and high throughput to achieve optimal performance, any packet loss may cause a sharp drop in performance. Therefore, in the design of lossless networks using RDMA, it is often used in combination with PFC (Priority-based Flow Control). PFC technology has been observed to cause problems such as head-of-line blocking, congestion propagation, and routing deadlock. In view of a series of problems and negative effects exposed in practical applications of the PFC mechanism, the design of congestion control strategies for modern data center networks will pay special attention to how to effectively reduce the triggering frequency of PFC while ensuring efficient use of network resources and low latency in data transmission.

[0004] The current congestion control strategy of traditional data center networks is generally based on an end-to-end model, relying on ECN (Explicit Congestion Notification) to identify the congestion status in the network, and gradually exploring and adjusting the data transmission rate through the AIMD (Additive Increase Multiplicative Decrease) algorithm. However, this mechanism has several limitations: traditional congestion control is not flexible enough to handle sudden large traffic in the network, and ECN marking may lag behind the actual congestion situation, resulting in temporary network overload and packet loss, affecting the quality of service; the end-to-end congestion control mechanism means that congestion information can only be fed back to the sender when the data packet passes through the entire network and reaches the receiver or encounters packet loss, which causes the network to respond to congestion slowly and increases latency. Although in response to the above problems, researchers have developed congestion control algorithms such as receiver-driven, which attempt to more accurately and dynamically adjust the sending rate through active feedback from the receiver, in order to achieve higher network utilization and lower latency. However, receiver-driven algorithms often require both ends of the network to support new protocols or algorithms. For existing large-scale data centers and network architectures, deploying a new congestion control algorithm means upgrading and testing software and hardware, as well as possible service interruptions. This will bring significant cost overhead and potential risks, and it is difficult to ensure the synchronous upgrade of all nodes. Summary of the invention

[0005] In order to solve the above technical problems, the present invention provides a congestion control method for perceiving the location of bottleneck links. The method can dynamically identify and locate bottleneck links in the network, enhance the timeliness and effectiveness of traditional congestion control algorithms based on the AIMD algorithm, and at the same time have scalability and support incremental deployment in existing network architectures without the need for comprehensive systematic replacement.

[0006] In order to achieve the above object, the present invention is achieved through the following technical solutions:

[0007] The present invention is a congestion control method for sensing the position of a bottleneck link, which specifically comprises the following steps:

[0008] Step 1: Deploy a flow table flowTable on the host at the data sending end and maintain a floating point ratio to provide the flow table flowTable recorded information and floating point ratio for subsequent analysis;

[0009] Step 2: Configure two states for each switch port, namely marked and unmarked. All switch ports are unmarked in the initial state. The switch adopts different congestion detection strategies according to different states to flexibly respond to traffic changes and relieve congestion in time. Once congestion is detected, the signal is fed back immediately and the data packet is marked to avoid repeated processing and reduce the network burden.

[0010] Step 3: After receiving the congestion signal, the host at the data sending end calculates the new_ratio value based on the feedback signal to analyze whether the first congestion point has changed. If there is a change, the ratio value is updated and the rate adjustment cycle of the AIMD algorithm is adjusted accordingly. If there is no change, the current congestion point is confirmed to be a bottleneck, and the transmission rate is controlled according to the existing cycle to ensure efficient and stable transmission.

[0011] A further improvement of the present invention is that the step 1 specifically comprises the following steps:

[0012] Step 1.1, deploy a flow table flowTable on the host of the data sending end, wherein the flow table flowTable records the flow ID, the destination IP address of the flow sending, and the number of hops required for the data packet to reach the destination;

[0013] Step 1.2: When receiving the acknowledgment character ack returned by the data packet, record the TTL of the returned data packet, and subtract it from the default initial value of the TTL of the message header when the data packet is sent to obtain the number of hops required for the data packet to reach the destination.

[0014] Step 1.3: A floating point number ratio is also maintained on the host at the data sending end to store the relative position of the current congested switch in the flow transmission path, and the initial value is set to 1.0.

[0015] A further improvement of the present invention is that in step 2, a state table is maintained for each port at the switch, and a port state is set for each switch port. When the port state is unmarked, the following detection strategy is used to deal with traffic changes:

[0016] For switch ports in the unmarked state, the RED mechanism is used to detect congestion signals. If the switch does not detect congestion, the data packet continues to be transmitted and the next-hop switch is checked for congestion until the data packet reaches the destination. If the switch detects congestion, it is marked as ECN and the switch port state changes to the marked state.

[0017] A further improvement of the present invention is that in step 2, a state table is maintained for each port at the switch, and a port state is set for each switch port. When the port state is a marked state, the following detection strategy is used to deal with traffic changes:

[0018] For the switch port in the marked state, a timer is set in the switch. Every cycle, the current queue length is recorded and compared with the previously recorded queue length. If the current queue length is larger than the previously recorded queue length, that is, the queue is growing, a congestion signal is immediately generated when the data packet passes through to provide feedback to the data sender. If the current queue length is smaller than the previously recorded queue length, that is, the queue is not growing, no feedback is given.

[0019] If the current queue length is less than the minimum threshold of the RED mechanism, the port queue state is updated to the unmarked state, and the judgment is continued whether the data packet has reached the destination. If the data packet has not reached the destination, the data packet continues to be transmitted, and the congestion is detected for the next hop switch until the data packet reaches the destination. If the switch detects congestion, the switch port state changes to the marked state.

[0020] If the current queue length is greater than the minimum threshold of the RED mechanism, it is determined whether the data packet has reached the destination. If the data packet has not reached the destination, the data packet continues to be transmitted and congestion is detected for the next-hop switch until the data packet reaches the destination. If the switch detects congestion, the switch port state changes to the marked state.

[0021] A further improvement of the present invention is that: in the step 2, once congestion is detected, a signal is fed back immediately and the data packet is marked to avoid repeated processing. Specifically, when the switch determines that the data packet is congested during transmission, the ToS field in the transmission header of the data packet is modified. After the ToS in the header is modified, the data packet will no longer trigger the mechanism for determining congestion during subsequent transmission.

[0022] A further improvement of the present invention is that the step 3 specifically includes the following steps:

[0023] Step 3.1, when the congestion feedback signal generated at the congestion switch arrives, the number of hops required for the congestion signal from the congestion generating point to the host at the data sending end is obtained by subtracting the TTL of the data packet returning the congestion signal from the default initial value of the message header TTL when the data packet is sent, and the new_ratio is obtained. The operation is as follows;

[0024]

[0025] fid is the flow ID, dip is the destination IP;

[0026] Step 3.2: By comparing the new_ratio and ratio values, determine whether the first congestion point on the current flow transmission path has changed. If they are inconsistent, use new_ratio to update the ratio and make a multiplicative adjustment to the AIMD mechanism cycle. The specific method is as follows:

[0027] new_alpha_resume_interval=(ratio)*m_alpha_resume_interval

[0028] new_rateDecreaseInterval=(ratio)*m_rateDecreaseInterval

[0029] new_rpgTimeReset=(ratio)*m_rpgTimeReset

[0030] Among them, alpha_resume_interval is the alpha value update period in the AIMD algorithm, rateDecreaseInterval is the period for judging whether a congestion signal is received in the algorithm, and rpgTimeReset is the speed-up timer.

[0031] The data sending end controls the rate multiplicatively according to the AIMD mechanism;

[0032] Step 3.3: If no congestion signal is received during a deceleration detection cycle, it means that the previously confirmed first congestion point is the bottleneck of the entire transmission path at this time. Then, the system continues to operate according to the previous deceleration and acceleration cycle, and records the number of consecutive unreceived congestion signals. When the number of consecutive unreceived congestion signals is greater than the set threshold, the source-end rate control enters a rapid growth mode. If the number of consecutive unreceived congestion signals is less than or equal to the threshold, the rate is additively increased according to the AIMD mechanism.

[0033] The present invention also provides a congestion control system for sensing the position of a bottleneck link, comprising a switch port state management and congestion detection module, a source end host rate adjustment and bottleneck link position analysis module.

[0034] The switch port status management and congestion detection module includes the following:

[0035] In order to achieve dynamic and efficient congestion management, each switch port is configured with two states, namely "marked state" and "unmarked state", and a state table is maintained to track this information. At initialization, all ports default to "unmarked state". In the "unmarked state", the switch uses the RED (Random Early Detection) strategy to actively predict and respond to congestion. When the switch queue length reaches a certain threshold, some data packets are marked in advance to avoid sudden congestion collapse. Once congestion is detected, the port state is converted to "marked state".

[0036] After entering the "marked state", the switch starts a timer for the port and periodically checks the change in queue length. If the current queue length increases compared to the previous record, a congestion signal is immediately generated when the data packet passes through to notify the source end. Otherwise, it remains silent and does not send a signal. This strategy is designed to ensure that the switch can balance input and output traffic, that is, the input rate does not exceed the output rate. At the network bottleneck, by limiting the throughput rate so that it does not exceed the bottleneck capacity, it can fully tap the bandwidth potential and prevent congestion caused by excessive queues; in the non-bottleneck section of the network, this strategy maintains a mechanism for exploring the location of bottleneck links, continuously optimizes the data transmission process, and ensures that network resources are used reasonably and efficiently. When the port queue length in the marked state falls below the minimum threshold set by the RED mechanism, it indicates that the congestion has been alleviated. At this time, the port state will be reset to the "unmarked state" and the RED detection mechanism will be re-enabled as the primary congestion prediction mechanism. This flexible state switching combined with intelligent monitoring of queue length can not only respond quickly to network congestion, but also assist in exploring the location of bottleneck links, thereby optimizing overall network performance and data transmission efficiency.

[0037] Finally, at the moment of identifying congestion during data packet transmission, the switch will modify the transmission control message header (ToS field) of the data packet to ensure that the congestion detection mechanism of other switches is no longer triggered during subsequent transmission of the packet, avoiding repeated transmission of invalid information while transmitting the location of the first congestion point in the flow transmission path.

[0038] The data sending host rate adjustment and path analysis module includes the following:

[0039] First, the data sender maintains a flow table called flowTable, which records the ID of each flow, the destination IP address, and the number of hops required for the data packet to reach the destination. When the ACK of the data packet is received, the hop information in the flow table is updated by calculating the difference between the TTL (Time-to-Live) field in the ACK and the initial TTL when it was sent, and a ratio value is maintained to indicate the relative position of the congested switch on the flow transmission path.

[0040] In particular, if the congestion signal is received before the ACK of the first data packet arrives, a default hop value will be set in advance using the topology information of the data center network, or the hop count reported by the congestion signal will be directly used as a temporary benchmark. Subsequently, when a new congestion signal arrives and the first ACK has not arrived yet, the currently used default or temporary hop value is compared with the hop count indicated by the new signal, and the larger one is taken as the more accurate estimate.

[0041] When the congestion feedback signal generated at the congested switch arrives, we also subtract the TTL of the data packet returning the congestion signal from the default initial value of the message header TTL when the data packet is sent to obtain the required number of hops from the congestion generation point to the source host, and obtain new_ratio in the same way as calculating ratio.

[0042] If no congestion signal is received during a deceleration detection cycle, it means that the first congestion point previously confirmed is the bottleneck of the entire transmission path at this time, and the previous deceleration and acceleration cycle will continue to run, and the number of consecutive unreceived congestion signals will be recorded. When the number of consecutive unreceived congestion signals is greater than the set threshold, the source end rate control enters the fast growth mode. If it is not greater than the threshold, the rate will be increased additively according to the AIMD mechanism.

[0043] The beneficial effects of the present invention are as follows: the present invention uses programmable switch technology to address the problem of limited convergence speed of traditional AIMD congestion control algorithms due to the influence of round-trip time (RTT), instantly feeds back congestion information when a network bottleneck first appears, and combines the designed port status mechanism and differentiated congestion signal strategy to achieve accurate positioning of the bottleneck link in the data transmission path.

[0044] The present invention effectively guides the dynamic adjustment of the AIMD algorithm cycle, significantly reduces unnecessary waiting cycles, and accelerates the convergence process of the transmission rate. Especially in the face of high-pressure network scenarios such as incast, the invention triggers congestion feedback in advance and optimizes the AIMD adjustment cycle, showing higher efficiency, significantly shortening the overall transmission time of the data flow, and improving the operating efficiency and response speed of the data center network. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 It is a flow chart of the congestion method of the present invention.

[0046] Figure 2 It is a flow chart of the congestion detection and congestion signal returning method at the switch of the present invention.

[0047] Figure 3 It is a flow chart of rate control performed by the data sending end of the present invention.

[0048] Figure 4 It is a bandwidth comparison chart of the small-scale test experiment of the present invention.

[0049] Figure 5 It is a comparison chart of the completion time of the small-scale test experiment flow of the present invention. DETAILED DESCRIPTION

[0050] The following will disclose the embodiments of the present invention with drawings. For the purpose of clear description, many practical details will be described together in the following description. However, it should be understood that these practical details should not be used to limit the present invention. That is to say, in some embodiments of the present invention, these practical details are not necessary.

[0051] The present invention proposes a congestion control method for perceiving the location of a bottleneck link, and improves the problem that the traditional AIMD congestion control algorithm is restricted by the RTT size. The present invention can be divided into two parts: a switch port status management and congestion detection module, and a source host rate adjustment and bottleneck link location analysis module.

[0052] like Figure 1 As shown, the congestion control method of the present invention specifically includes the following steps:

[0053] Step 1: To ensure effective monitoring of network transmission status and timely identification of bottlenecks, first deploy a flow table on the host at the data sending end and maintain a floating point ratio to provide the information recorded by the flow table and the floating point ratio for subsequent analysis. The specific steps include:

[0054] Step 1.1, deploy a flow table flowTable on the host of the data sending end, wherein the flow table flowTable records the flow ID, the destination IP address of the flow sending, and the number of hops required for the data packet to reach the destination;

[0055] Step 1.2: When receiving the acknowledgment character ack returned by the data packet, record the TTL of the returned data packet, and subtract it from the default initial value of the TTL of the message header when the data packet is sent to obtain the number of hops required for the data packet to reach the destination.

[0056] Step 1.3: A floating point number ratio is also maintained on the host at the data sending end to store the relative position of the current congested switch in the flow transmission path, and the initial value is set to 1.0.

[0057] Step 2: Configure two states for each switch port, namely marked and unmarked. All switch ports are unmarked in the initial state. The switch adopts different congestion detection strategies according to different states to flexibly respond to traffic changes and alleviate congestion in time. Once congestion is detected, the signal is immediately fed back and the data packet is marked to avoid repeated processing and reduce the network burden.

[0058] like Figure 2 As shown in the figure, when the port status is unmarked, the following detection strategy is used to deal with traffic changes:

[0059] For switch ports in the unmarked state, the RED mechanism is used to detect congestion signals. If the switch does not detect congestion, the data packet continues to transmit to the next hop switch to detect congestion until the data packet reaches the destination. If the switch detects congestion, it marks ECN and the switch port state changes to the marked state.

[0060] like Figure 2 As shown in the figure, when the port status is marked, the following detection strategy is used to deal with traffic changes:

[0061] For the switch port in the marked state, a timer is set in the switch. Every cycle, the current queue length is recorded and compared with the previously recorded queue length. If the current queue length is larger than the previously recorded queue length, a congestion signal is immediately generated when the data packet passes through to provide feedback to the data sender. If the current queue length is smaller than the previously recorded queue length, no feedback is given.

[0062] If the current queue length is less than the minimum threshold of the RED mechanism, the port queue state is updated to the unmarked state, and the judgment is continued whether the data packet has reached the destination. If the data packet has not reached the destination, the data packet continues to be transmitted, and the congestion is detected for the next hop switch until the data packet reaches the destination. If the switch detects congestion, the switch port state changes to the marked state;

[0063] If the current queue length is greater than the minimum threshold of the RED mechanism, it is determined whether the data packet has reached the destination. If the data packet has not reached the destination, the data packet continues to be transmitted and congestion is detected for the next-hop switch until the data packet reaches the destination. If the switch detects congestion, the switch port state changes to the marked state.

[0064] In step 2, once congestion is detected, a signal is fed back immediately and the data packet is marked to avoid repeated processing. Specifically, when the switch determines that the data packet is congested during transmission, the ToS field in the transmission header of the data packet is modified. After the ToS in the header is modified, the data packet will no longer trigger the congestion judgment mechanism during subsequent transmission.

[0065] After the host at the data sending end receives the congestion signal, it calculates the new_ratio value based on the feedback signal to analyze whether the first congestion point has changed. If there is a change, the ratio value is updated and the rate adjustment cycle of the AIMD algorithm is adjusted accordingly. If there is no change, the current congestion point is confirmed to be a bottleneck, and the transmission rate is controlled according to the existing cycle to ensure efficient and stable transmission.

[0066] like Figure 3 As shown, the specific steps include:

[0067] Step 3.1, when the congestion feedback signal generated at the congestion switch arrives, the number of hops required for the congestion signal from the congestion generating point to the host at the data sending end is obtained by subtracting the TTL of the data packet returning the congestion signal from the default initial value of the message header TTL when the data packet is sent, and the new_ratio is obtained. The operation is as follows;

[0068]

[0069] fid is the flow ID, dip is the destination IP;

[0070] Step 3.2: By comparing the new_ratio and ratio values, determine whether the first congestion point on the current flow transmission path has changed. If they are inconsistent, use new_ratio to update the ratio and make a multiplicative adjustment to the AIMD mechanism cycle. The specific method is as follows:

[0071] new_alpha_resume_interval=(ratio)*m_alpha_resume_interval

[0072] new_rateDecreaseInterval=(ratio)*m_rateDecreaseInterval

[0073] new_rpgTimeReset=(ratio)*m_rpgTimeReset

[0074] Among them, alpha_resume_interval is the alpha value update period in the AIMD algorithm, rateDecreaseInterval is the period for judging whether a congestion signal is received in the algorithm, and rpgTimeReset is the speed-up timer.

[0075] The data sending end controls the rate multiplicatively according to the AIMD mechanism;

[0076] Step 3.3: If no congestion signal is received during a deceleration detection cycle, it means that the previously confirmed first congestion point is the bottleneck of the entire transmission path at this time. Then, the system continues to operate according to the previous deceleration and acceleration cycle, and records the number of consecutive unreceived congestion signals. When the number of consecutive unreceived congestion signals is greater than the set threshold, the source-end rate control enters a rapid growth mode. If the number of consecutive unreceived congestion signals is less than or equal to the threshold, the rate is additively increased according to the AIMD mechanism.

[0077] The present invention specifically solves the common end-to-end congestion control feedback delay and slow convergence speed problems in data center networks. By introducing this innovative mechanism, the timeliness and efficiency of congestion control are greatly improved. Even in the face of many-to-one incast or high load conditions, this method can promote the rapid stabilization of data transmission rate, actively explore and utilize network bandwidth resources that have not yet been saturated, and reduce the transmission completion time of data streams.

[0078] In order to verify the present invention, the present invention carried out the following experiment:

[0079] 1. Experimental environment

[0080] VMware16.0, Ubuntu16.04, NS3.18

[0081] Processor: Intel i7-9750H

[0082] Memory allocation 2G

[0083] 2. Purpose of the experiment

[0084] This experiment is a small-scale test experiment, with a fattree topology and 480 topological nodes. The effectiveness of the algorithm is tested by 32-to-1 simultaneous traffic generation, and compared with four algorithms: DCQCN, HPCC, Timely, and Pint. It is mainly used to perceive the bandwidth of the congestion control method of the bottleneck link and the flow completion time, and conduct a small-scale test of the algorithm.

[0085] 3. Experimental Configuration

[0086] Experimental topology: 480-node fat-tree structure, network bandwidth 100 Gbps, link latency 1 us.

[0087] Experimental traffic: The test experiment used a traffic of 32-1-5000000B, that is, 32 nodes communicated with a single node at the same time, and the traffic size was 5000000B.

[0088] like Figure 4 The bandwidth comparison chart of the small-scale test experiment shown shows the bandwidth utilization change characteristics of the congestion control method proposed by the present invention under the experimental background. According to the attached figure, compared with the classic AIMD algorithm, the method of the present invention can identify congestion earlier and respond quickly. In the middle of the experiment, the strategy effectively identified the bandwidth limitation of the bottleneck link, which is close to advanced algorithms such as HPCC and Pint. In particular, in the later stage of the experiment, the present invention showed extremely high sensitivity to changes in available bandwidth and achieved rapid growth in bandwidth.

[0089] like Figure 5As shown in the comparison chart of flow completion time in a small-scale test experiment, the present invention significantly optimizes the flow completion time. When processing smaller sizes, the present invention closely follows the TIMELY algorithm and exhibits higher performance. However, as the size increases, the flow completion time of the present invention is significantly shorter than that of all other algorithms, with significant advantages. The key to this significant improvement lies in the innovative fast feedback mechanism for congestion signals in the present invention. This mechanism enables the network to detect initial signs of congestion earlier, thereby greatly reducing the time spent waiting for round-trip confirmations and accelerating the execution process of congestion management responses. In addition, this also effectively reduces the queuing delay of data packets in the switch, further improving data transmission efficiency.

[0090] It can be seen that, in the framework of a small-scale experiment, the congestion control algorithm of the present invention is compared with HPCC, DCQCN, TIMELY and Pint, and its effectiveness is verified. The innovation of adjusting the AIMD algorithm cycle by sensing the bottleneck link position not only achieves an increase in bandwidth utilization efficiency, which is close to the performance of advanced algorithms such as HPCC and Pint with higher hardware requirements, but also shows a significant improvement in flow completion time.

[0091] The above description is only an embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims

1. A congestion control method that perceives the location of bottleneck links, Features: The congestion control method specifically comprises the following steps: Step 1: Deploy a flow table flowTable on the host at the data sending end and maintain a floating point ratio to provide the flow table flowTable recorded information and floating point ratio for subsequent analysis; Step 2: Configure two states for each switch port, namely marked and unmarked. All switch ports are unmarked in the initial state. The switch adopts different congestion detection strategies according to different states to flexibly respond to traffic changes and relieve congestion in time. Once congestion is detected, the signal is fed back immediately and the data packet is marked to avoid repeated processing and reduce the network burden. Step 3: After receiving the congestion signal, the host at the data sending end calculates the new_ratio value based on the feedback signal to analyze whether the first congestion point has changed. If there is a change, the ratio value is updated and the rate adjustment cycle of the AIMD algorithm is adjusted accordingly. If there is no change, the current congestion point is confirmed to be a bottleneck, and the transmission rate is controlled according to the existing cycle to ensure efficient and stable transmission.

2. A congestion control method for sensing bottleneck link position according to claim 1, Features: The step 1 specifically comprises the following steps: Step 1.1, deploy a flow table flowTable on the host of the data sending end, wherein the flow table flowTable records the flow ID, the destination IP address of the flow sending, and the number of hops required for the data packet to reach the destination; Step 1.2: When receiving the acknowledgment character ack returned by the data packet, record the TTL of the returned data packet, and subtract it from the default initial value of the TTL of the message header when the data packet is sent to obtain the number of hops required for the data packet to reach the destination. Step 1.3: A floating point number ratio is also maintained on the host at the data sending end to store the relative position of the current congested switch in the flow transmission path, and the initial value is set to 1.

0.

3. The congestion control method for sensing the position of a bottleneck link according to claim 1, Features: In step 2, a state table is maintained for each port at the switch, and a port state is set for each switch port. When the port state is unmarked, the following detection strategy is used to deal with traffic changes: For switch ports in the unmarked state, the RED mechanism is used to detect congestion signals. If the switch does not detect congestion, the data packet continues to be transmitted and the next-hop switch is checked for congestion until the data packet reaches the destination. If the switch detects congestion, it is marked with ECN and the switch port state changes to the marked state.

4. The congestion control method for sensing the position of a bottleneck link according to claim 1, Features: In step 2, a state table is maintained for each port at the switch, and a port state is set for each switch port. When the port state is a marked state, the following detection strategy is used to deal with traffic changes: For the switch port in the marked state, a timer is set in the switch. Every cycle, the current queue length is recorded and compared with the previously recorded queue length. If the current queue length is larger than the previously recorded queue length, that is, the queue is growing, a congestion signal is immediately generated when the data packet passes through to provide feedback to the data sender. If the current queue length is smaller than the previously recorded queue length, that is, the queue is not growing, no feedback is given. If the current queue length is less than the minimum threshold of the RED mechanism, the port queue state is updated to an unmarked state, and the packet is further judged whether it has reached the destination. If the packet has not reached the destination, the packet continues to be transmitted, and the congestion is detected for the next-hop switch until the packet reaches the destination. If the switch detects congestion, the switch port state changes to the marked state; If the current queue length is greater than the minimum threshold of the RED mechanism, it is determined whether the data packet has reached the destination. If the data packet has not reached the destination, the data packet continues to be transmitted and congestion is detected on the next-hop switch until the data packet reaches the destination. If the switch detects congestion, the switch port state changes to the marking state.

5. The congestion control method for sensing the position of a bottleneck link according to claim 1, Features: In the step 2, once congestion is detected, a signal is fed back immediately and the data packet is marked to avoid repeated processing. Specifically, when the switch determines that the data packet is congested during transmission, the ToS field in the transmission header of the data packet is modified. After the ToS in the header is modified, the data packet will no longer trigger the mechanism for determining congestion during subsequent transmission.

6. The congestion control method for sensing the position of a bottleneck link according to claim 1, Features: The step 3 specifically comprises the following steps: Step 3.1, when the congestion feedback signal generated at the congestion switch arrives, the number of hops required for the congestion signal from the congestion generating point to the host at the data sending end is obtained by subtracting the TTL of the data packet returning the congestion signal from the default initial value of the message header TTL when the data packet is sent, and the new_ratio is obtained. The operation is as follows; fid is the flow ID, dip is the destination IP; Step 3.2: By comparing the new_ratio and ratio values, determine whether the first congestion point on the current flow transmission path has changed. If they are inconsistent, use new_ratio to update the ratio and make a multiplicative adjustment to the AIMD mechanism cycle. The specific method is as follows: new_alpha_resume_interval=(ratio)*m_alpha_resume_interval new_rateDecreaseInterval=(ratio)*m_rateDecreaseInterval new_rpgTimeReset=(ratio)*m_rpgTimeReset Among them, alpha_resume_interval is the alpha value update period in the AIMD algorithm, rateDecreaseInterval is the period for judging whether a congestion signal is received in the algorithm, and rpgTimeReset is the speed-up timer. The data sending end controls the rate multiplicatively according to the AIMD mechanism; Step 3.3: If no congestion signal is received during a deceleration detection cycle, it means that the previously confirmed first congestion point is the bottleneck of the entire transmission path at this time. Then, the system continues to operate according to the previous deceleration and acceleration cycle, and records the number of consecutive unreceived congestion signals. When the number of consecutive unreceived congestion signals is greater than the set threshold, the source-end rate control enters a rapid growth mode. If the number of consecutive unreceived congestion signals is less than or equal to the threshold, the rate is additively increased according to the AIMD mechanism.

7. The congestion control method for sensing the position of a bottleneck link according to claim 1, Features: The congestion control method is implemented through a congestion control system, which includes a switch port state management and congestion detection module, a source host rate adjustment and bottleneck link position analysis module.

Citation Information

Cited By

  • Active congestion control method based on credit mechanism, electronic equipment and storage medium

    CN120075136A

  • Active Congestion Control Method, Electronic Device, and Storage Medium Based on Credit Mechanism

    CN120075136B