CN-122027559-A - Flow control method, network equipment and medium of super Ethernet transmission layer
Abstract
The disclosure provides a flow control method of a super Ethernet transmission layer, which is applied to network equipment and comprises the steps of obtaining a flow limit value of a service flow, determining a PDC limit value of a PDC according to the flow limit value of each service flow associated with the PDC, and determining a CCC limit value of a CCC according to the PDC limit value of each PDC associated with the CCC so as to realize flow control of the service flow. The present disclosure also provides a network device and a computer readable medium.
Inventors
- ZHU XIANGYANG
- YU JINGHAI
Assignees
- 中兴通讯股份有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20241112
Claims (14)
- 1. A traffic control method for a super ethernet transport layer, applied to a network device, comprising: acquiring a flow speed limit value of a service flow; Determining the PDC speed limit value of the PDC according to the flow speed limit value of each service flow associated with the message delivery connection PDC; and determining the CCC speed limit value of the CCC according to the PDC speed limit value of each PDC associated with a congestion control function (CCC) so as to realize flow control of the traffic flow.
- 2. The method of claim 1, wherein the PDC speed limit value comprises a sum of flow speed limit values for each of the traffic flows associated with the PDC.
- 3. The method of claim 1, wherein the CCC speed limit comprises a sum of the PDC speed limits of each of the PDCs associated with the CCC.
- 4. A method according to any one of claims 1 to 3, wherein determining the CCC speed limit value for the CCC from the PDC speed limit value for each of the PDCs associated with the CCC further comprises: acquiring a flow speed limit value of a target service flow associated with the PDC, wherein the target service flow is a service flow to be deleted in the service flow; determining a difference value between the PDC speed limit value and the flow speed limit value of the target service flow as the speed limit value of the PDC after deleting the target service flow; And determining the difference value between the CCC speed limit value and the flow speed limit value of the target service flow as the speed limit value of the CCC after deleting the target service flow.
- 5. The method of claim 1, wherein the transport layer of the network device comprises a first sub-layer and a second sub-layer, the first sub-layer is directly connected to an application layer through a first interface, the second sub-layer is directly connected to the first sub-layer through a second interface, the second sub-layer is indirectly connected to the application layer through the first sub-layer, and the PDC belongs to the second sub-layer; the obtaining the flow limit value of the service flow comprises the following steps: Acquiring a first instruction from the application layer through the first interface of the first sub-layer and the application layer, wherein the first instruction is used for indicating a flow speed limit value of the service flow; and acquiring a second instruction from the first sublayer through the second interface of the second sublayer and the first sublayer, wherein the second instruction is used for indicating the flow limit value of the service flow.
- 6. The method of claim 5, wherein the CCC belongs to the second sub-layer, and wherein prior to determining the CCC speed limit value for the CCC from the PDC speed limit values for each of the PDCs associated with the CCC, further comprising: and acquiring a third indication through an interface between the CCC and the PDC, wherein the third indication is used for indicating the PDC speed limit value of the PDC associated with the CCC.
- 7. The method of claim 1, wherein the method further comprises: determining a CCC speed limit value of the CCC based on a congestion feedback condition according to a preset congestion control algorithm; according to preset conditions, determining the CCC speed limit value based on the congestion feedback condition or the CCC speed limit value determined according to the PDC speed limit value of each PDC associated with the CCC as the speed limit value of the CCC; the preset conditions include any one of the following: All the service flows are configured with flow speed limit values; part of the traffic flow is not configured with a flow restriction value.
- 8. A traffic control method for a super ethernet transport layer, applied to a network device, comprising: And under the condition that the sum of the transmission rates of the traffic flows scheduled by the plurality of congestion control functions CCCs is larger than the maximum transmission rate of the outlet ports associated with the plurality of CCCs, adjusting the CCC speed limit value of each CCC according to a preset speed limit strategy associated with each CCC so as to realize flow control of the traffic flows.
- 9. The method of claim 8, wherein after adjusting the CCC limit value for each of the CCCs according to a preset rate limiting policy associated with each of the CCCs, further comprising: and under the condition that the sum of the transmission rates of the service flows transmitted in the message delivery connection PDC associated with each CCC is larger than the adjusted CCC speed limit value of each CCC, adjusting the PDC speed limit value of each PDC according to a preset speed limit strategy associated with each PDC.
- 10. The method of claim 9, wherein after adjusting the PDC speed limit value for each of the PDCs according to a preset speed limit policy associated with each of the PDCs, further comprising: And under the condition that the sum of the transmission rates of a plurality of service flows associated with each PDC is larger than the adjusted PDC speed limit value of each PDC, adjusting the flow speed limit value of each service flow according to a preset speed limit strategy associated with each service flow.
- 11. The method of any one of claims 8 to 10, wherein the preset speed limit strategy comprises at least one of: An equal proportion speed limiting strategy; a speed limiting policy based on the weight of traffic class priority used by the PDC; A speed limiting strategy based on the weight of the traffic type; speed limiting strategies based on the weight of the congestion level.
- 12. The method of claim 8, wherein prior to adjusting the CCC limit value for each of the CCCs according to a preset rate limiting policy associated with each of the CCCs, further comprising: and acquiring the preset speed limiting strategy from a control surface or user equipment through a southbound interface.
- 13. A network device comprising a memory, a processor, the memory storing a computer program executable by the processor, the computer program when executed by the processor implementing the method of any one of claims 1 to 12.
- 14. A computer readable medium having stored thereon a computer program which, when executed by a processor, implements the method of any of claims 1 to 12.
Description
Flow control method, network equipment and medium of super Ethernet transmission layer Technical Field The disclosure relates to the technical field of network communication, and in particular relates to a traffic control method, network equipment and a computer readable medium of a super ethernet transport layer. Background Super ethernet alliance (Ultra Ethernet Consortium, UEC) is dedicated to developing super ethernet transport (Ultra Ethernet Transport, UET) protocols, UET being a new ethernet transport layer protocol aimed at providing higher performance and efficiency to better meet the load demands of artificial intelligence (ARTIFICIAL INTELLIGENCE, AI) and high performance computing (High Performance Computing, HPC) etc. on very high fields of network transport. The following describes the traffic flow using UET protocol transmission by means of fig. 1. As shown in fig. 1, 4 traffic flows (flow 1, flow2, flow3, and flow 4) are transmitted as an example. In the UET architecture, the congestion control function is integrated in a congestion control Context (Congestion Control Context, CCC) module, and the congestion control function can also be described as CCC, one CCC can be associated with a plurality of packet delivery Context (PACKET DELIVERY Context, PDC) connections (which can be described as Packet Delivery Connections (PDCs)), so as to implement centralized congestion control over a plurality of PDCs, and the design allows the plurality of PDCs to share the transmission rate of a single CCC. Each PDC can access a plurality of service flows, and each service flow can be uniquely identified through cache addressing five-tuple of the encapsulation head. Traffic flows scheduled by multiple CCCs may be output through the same output port. How to refine the traffic control in UET is a problem to be solved. Disclosure of Invention The present disclosure provides a flow control method, a network device and a computer readable medium for a super Ethernet transport layer. In a first aspect, an embodiment of the present disclosure provides a flow control method for a super ethernet transport layer, applied to a network device, where the method includes obtaining a flow rate limit value of a service flow, determining a PDC rate limit value of a PDC according to the flow rate limit value of each service flow associated with the PDC, and determining a CCC rate limit value of a CCC according to the PDC rate limit value of each PDC associated with the CCC, so as to implement flow control of the service flow. In a second aspect, an embodiment of the present disclosure provides another traffic control method for a super ethernet transport layer, applied to a network device, where the traffic control method includes adjusting a CCC speed limit value of each CCC according to a preset speed limit policy associated with each CCC when a sum of transmission rates of traffic flows scheduled by the CCCs is greater than a maximum transmission rate of an egress port associated with the CCCs, so as to implement traffic control for the traffic flows. In a third aspect, embodiments of the present disclosure provide a network device, including a memory, and a processor, where the memory stores a computer program executable by the processor, where the computer program implements any one of the possible embodiments of the first aspect and the second aspect or any one of the possible embodiments of the second aspect and the second aspect when executed by the processor. In a fourth aspect, embodiments of the present disclosure provide a computer readable medium having stored thereon a computer program which, when executed by a processor, implements any one of the possible embodiments of the first aspect or of the second aspect or any one of the possible embodiments of the second aspect. In the embodiment of the disclosure, by acquiring the flow rate limiting value of the service flow, the PDC rate limiting value of the PDC can be determined according to the flow rate limiting value of each service flow associated with the PDC, and the CCC rate limiting value of the CCC can be determined according to the PDC rate limiting value of each PDC associated with the CCC, so as to realize flow control of the service flow. In this way, the hierarchical speed limiting mechanism is adopted to control the traffic flow, and the speed limiting values with different granularities are allowed to be adopted at different levels to control the traffic flow, specifically, the traffic flow can be controlled at the traffic flow level according to the speed limiting value with the granularity of the traffic flow, the PDC (polycrystalline diamond compact) level can be controlled at the PDC level according to the speed limiting value with the granularity of the PDC, and the traffic flow can be controlled at the CCC level according to the speed limiting value with the granularity of the CCC. Drawings In the drawings of the embodiments of the present di