SDN-based RoCE queue dynamic management and control method, equipment and medium
The SDN controller dynamically manages queues in the RoCE network of the data center, which solves the problem of unreasonable queue allocation during peak periods of tenant business, ensures traffic balance, and improves user experience.
Patent Information
- Application Number
- CN202410428467.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-10
- Publication Date
- 2024-09-06
AI Technical Summary
In the RoCE network of the data center, queue allocation is unreasonable during peak periods of tenant business, causing network traffic to slow down and affecting user experience.
Through the SDN-based RoCE queue dynamic management and control method, the pre-configured peak period configuration list is used to determine whether the current time has reached the peak period, and the corresponding business traffic is switched to the reserved queue, and the cache usage of the non-reserved queue is adjusted in a timely manner. Ensure traffic is balanced.
It effectively avoids the impact of traffic during peak business periods, enhances business stability, reduces traffic slowdowns caused by uneven traffic distribution, and improves the user experience of data center users.
Smart Images

Figure CN118612170A
Abstract
Description
Technical Field
[0001] The present application relates to the field of SDN technology, and in particular to a method, device, and medium for dynamic management of RoCE queues based on SDN (Software Defined Network). Background Art
[0002] With the continuous changes in network technology in recent years, many data center internal supporting networks have introduced RoCE (RDMA over Converged Ethernet) network solutions to provide a lossless network foundation.
[0003] To meet user service demands, many data centers have begun offering leased services. When the number of tenants is large, the RoCE network, with eight queues planned, may cause tenant services to be multiplexed. If some tenants in the same queue have peak usage periods and high traffic volumes, this may trigger the RoCE network's Priority Flow Control (PFC) or Explicit Congestion Notification (ECN) regulation, resulting in network traffic slowdowns and impacting services on all sides. Summary of the Invention
[0004] The embodiments of the present application provide an SDN-based RoCE queue dynamic management and control method, device, and medium, which are used to solve the problem of unreasonable queue allocation during tenant service peak periods, which easily causes RoCE network traffic to slow down and affects the user experience of data center users.
[0005] In one aspect, an embodiment of the present application provides an SDN-based RoCE queue dynamic management method, which is applied to an SDN controller that manages switch devices in a data center; the method includes:
[0006] The SDN controller determines whether the current time reaches the peak period based on a pre-configured peak period configuration list; the peak period configuration list is generated based on historical traffic statistics in the RoCE network; the peak period configuration list includes a correspondence between peak periods and corresponding reserved queues; the reserved queues are RoCE queues corresponding to the selected service type;
[0007] When it is determined that the current time reaches the peak period, switching the selected service traffic corresponding to the peak period to the reserved queue;
[0008] After determining that the peak period of any of the reserved queues ends, determining the queue buffer usage rates corresponding to the non-reserved queues;
[0009] When the queue buffer usage rate meets the preset trigger condition, the corresponding service traffic is switched to the RoCE queue at the end of the peak period according to the traffic status information in the corresponding non-reserved queue.
[0010] In one implementation of the present application, before the SDN controller determines whether the current time reaches the peak period based on the pre-configured peak period configuration list, the method further includes:
[0011] Acquire a plurality of the historical traffic statistics information and send the historical traffic statistics information to the user terminal; the historical traffic statistics information at least includes the service traffic usage frequency and service traffic usage bandwidth of each service type within the historical usage time;
[0012] Based on the user's operation on the user terminal, the peak time period specified by the operation and the corresponding selected service type and the reserved queue are determined, and the peak time period configuration list is generated.
[0013] In one implementation of the present application, the historical traffic statistics information is obtained in the RoCE network through a Telemetry component.
[0014] In one implementation of the present application, the same selected service type corresponds to one peak period or multiple temporally discontinuous peak periods; and the peak periods corresponding to the same reserved queue do not overlap.
[0015] In one implementation of the present application, before switching the selected service traffic corresponding to the peak period to the reserved queue, the method further includes:
[0016] Determine the source IP, source port, and DSCP parameters corresponding to each service flow in each of the RoCE queues to obtain a service type determination attribute;
[0017] Comparing the service type determination attribute with the service type determination attribute set of the corresponding reserved queue in the peak period configuration list;
[0018] According to the comparison result, the selected business flow among the business flows is determined.
[0019] In one implementation of the present application, before switching the selected service traffic corresponding to the peak period to the reserved queue, the method further includes:
[0020] Determining whether the original service flow in the reserved queue belongs to the selected service flow; wherein the service type of the selected service flow is the selected service type;
[0021] If not, the original service traffic is switched to other non-reserved queues; the other non-reserved queues are the RoCE queues whose current time has not reached the corresponding peak period.
[0022] In one implementation of the present application, switching the original service traffic to other non-reserved queues specifically includes:
[0023] Determining queue buffer usage rates corresponding to the other non-reserved queues according to the traffic state information of the other non-reserved queues;
[0024] Based on the buffer usage of each queue, a selected non-reserved queue is screened from the other non-reserved queues to switch the original service traffic to the selected non-reserved queue.
[0025] In one implementation of the present application, when the queue buffer usage rate meets the preset trigger condition, switching the corresponding service traffic to the RoCE queue at the end of the peak period according to the traffic status information in the corresponding non-reserved queue specifically includes:
[0026] Determine that the non-reserved queue corresponding to the queue buffer usage rate that meets the preset trigger condition is a queue to be controlled; the preset trigger condition at least includes a flow control PFC waterline of a trigger priority;
[0027] Determining, according to the traffic state information, the service traffic usage bandwidth corresponding to each service type in the queue to be controlled;
[0028] The service flow corresponding to the maximum value of the bandwidth used by each service flow is switched to the RoCE queue at the end of the peak period, so as to obtain the non-reserved queue after the load is reduced.
[0029] On the other hand, an embodiment of the present application further provides an SDN-based RoCE queue dynamic management and control device, the device comprising:
[0030] At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
[0031] The SDN controller determines whether the current time reaches the peak period based on a pre-configured peak period configuration list; the peak period configuration list is generated based on historical traffic statistics in the RoCE network; the peak period configuration list includes a correspondence between peak periods and corresponding reserved queues; the reserved queues are RoCE queues corresponding to the selected service type;
[0032] When it is determined that the current time reaches the peak period, switching the selected service traffic corresponding to the peak period to the reserved queue;
[0033] After determining that the peak period of any of the reserved queues ends, determining the queue buffer usage rates corresponding to the non-reserved queues;
[0034] When the queue buffer usage rate meets the preset trigger condition, the corresponding service traffic is switched to the RoCE queue at the end of the peak period according to the traffic status information in the corresponding non-reserved queue.
[0035] In another aspect, an embodiment of the present application further provides a non-volatile computer storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured to:
[0036] The SDN controller determines whether the current time reaches the peak period based on a pre-configured peak period configuration list; the peak period configuration list is generated based on historical traffic statistics in the RoCE network; the peak period configuration list includes a correspondence between peak periods and corresponding reserved queues; the reserved queues are RoCE queues corresponding to the selected service type;
[0037] When it is determined that the current time reaches the peak period, switching the selected service traffic corresponding to the peak period to the reserved queue;
[0038] After determining that the peak period of any of the reserved queues ends, determining the queue buffer usage rates corresponding to the non-reserved queues;
[0039] When the queue buffer usage rate meets the preset trigger condition, the corresponding service traffic is switched to the RoCE queue at the end of the peak period according to the traffic status information in the corresponding non-reserved queue.
[0040] Compared with the prior art, this application has the following significant effects:
[0041] Through the above solution, this application can use SDN to automatically and dynamically control the RoCE queues in the RoCE network to ensure that business traffic does not affect each other during business peak periods (peak time), thereby enhancing business stability. By monitoring the RoCE network through SDN, the traffic status information can be used to dynamically control and schedule the business traffic of the RoCE queues to ensure traffic balance between queues, so that the queue allocation of each business traffic in the environment is relatively reasonable, and the probability of special situations such as traffic speed reduction caused by PFC or ECN control network due to uneven traffic distribution is reduced. This can solve the problem of unreasonable queue allocation during the peak period of tenant business, which easily causes the RoCE network traffic to slow down, and improve the user experience of data center users. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0043] Figure 1 This is a flow chart of a method for dynamic RoCE queue management based on SDN in an embodiment of the present application;
[0044] Figure 2 This is a structural diagram of an SDN controller and its managed network devices in an SDN-based RoCE queue dynamic management method in an embodiment of the present application;
[0045] Figure 3 This is a structural diagram of an SDN-based RoCE queue dynamic management and control device in an embodiment of the present application. DETAILED DESCRIPTION
[0046] To make the purpose, technical solutions, and advantages of this application more clear, the technical solutions of this application will be clearly and completely described below in conjunction with the specific embodiments of this application and the corresponding drawings. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0047] The Artificial Intelligence Generated Content (AIGC) industry is gaining momentum, and many data centers are adopting RoCE networking solutions for their internal supporting networks, providing a lossless network foundation for AIGC. RoCE (RDMA over Converged Ethernet) technology offers zero-copy, efficient transmission, and cost savings, while addressing the latency and CPU consumption issues inherent in TCP. Therefore, RoCE networks provide a lossless network for AIGC. Its queuing features ensure the independence of services within each queue, eliminating the need for centralized flow control. This prevents services in different queues from interfering with each other due to traffic bursts and other factors.
[0048] Many data centers have begun offering AIGC-related service leasing. When the number of tenants is large, the RoCE network, with eight queues planned, can inevitably cause tenant services to reuse queues. If some tenants in the same queue have peak usage periods and high traffic volumes, this can trigger traffic slowdowns caused by PFC or ECN control in the RoCE network, impacting both services. Properly managing and controlling RoCE network queues has become a pressing technical challenge.
[0049] Based on this, the embodiments of the present application provide an SDN-based RoCE queue dynamic management method, device and medium to solve the problem of unreasonable queue allocation during peak tenant business periods, which easily causes RoCE network traffic to slow down and affects the user experience of data center users.
[0050] The following describes in detail various embodiments of the present application with reference to the accompanying drawings.
[0051] The embodiment of the present application provides a method for dynamic control of RoCE queues based on SDN, which is applied to an SDN controller that manages switch devices in a data center. Figure 1 As shown, the method may include steps S101-S104:
[0052] S101: The SDN controller determines whether the current time reaches the peak period based on a pre-configured peak period configuration list.
[0053] The peak period configuration list is generated based on historical traffic statistics in the RoCE network. It includes a mapping between peak periods and their corresponding reserved queues. The reserved queues are RoCE queues corresponding to the selected service type.
[0054] It should be noted that the SDN controller has already managed the switch devices in the data center. Specifically, before the SDN controller manages the switch devices and RoCE network in the data center, it counts the management addresses and management information of the switches that need to be managed by the SDN controller, completes the construction of the physical link and management network, and completes the corresponding initialization configuration on the switch, so that the SDN controller can connect to the switch devices that need to be managed through protocols such as Secure Shell (SSH) and Simple Network Management Protocol (SNMP). Subsequently, the user can access the SDN controller web management page through a user terminal such as a personal computer (PC) and enter the pre-collected switch management information on the page, including the management network IP address reachable by the SDN controller, the management username and password, and SNMP-related configurations. By filling in the above management information on the SDN management page, the SDN controller will verify the information entered through SSH or SNMP, and save the switch management information to its own database after verifying that the information is correct. In addition, the SDN controller uses the saved device management information to connect to the switch via SSH and configure Telemetry to obtain detailed traffic information on the switch within the network. This traffic information can include traffic status information for each RoCE queue in the RoCE network. Traffic status information includes at least service flow, service type, number of packets corresponding to the service flow, and bandwidth used by the service flow.
[0055] In the embodiment of the present application, before the SDN controller determines whether the current time reaches the peak period based on the pre-configured peak period configuration list, the method further includes:
[0056] The SDN controller obtains and sends historical traffic statistics to the user terminal. This historical traffic statistics include at least the frequency and bandwidth of traffic for each service type during the historical usage period. Based on user operations on the user terminal, the controller determines the peak time period specified by the operation, the corresponding selected service type, and the reserved queue, and generates a peak time configuration list.
[0057] The above-mentioned historical traffic statistics information can be understood as the network status information in the RoCE network before the current time, which may include the frequency of use of the RoCE queue by business traffic of different tenants and / or different business types (business traffic usage frequency), and the bandwidth used (business traffic usage bandwidth). These historical traffic statistics are obtained in the RoCE network through the Telemetry component. The user can view the RoCE network historical traffic statistics information obtained by Telemetry on the front-end interface of the SDN controller. This information can help the user determine the peak period of business traffic usage of the RoCE network under each tenant or each business type. The peak period can be when the business traffic usage frequency is greater than the first set value and / or the business traffic usage bandwidth is greater than the second set value. The first set value and the second set value are set by the user according to actual usage. The peak period can also allow the user to judge according to the actual situation. This application does not make specific restrictions on this.
[0058] On the SDN web front-end, users select the peak time period corresponding to a service type and the reserved queues to be used during that time. The SDN controller then generates a peak time configuration list, recording the correspondence between peak time periods and reserved queues. During peak time periods, the reserved queues are used only for traffic of the selected service type. During off-peak hours, the reserved queues are no longer effective, and all service types can use them.
[0059] In addition, the peak period configuration list records the service type determination attributes of the selected service type corresponding to the peak period specified by the user operation, which may include the source Internet Protocol (IP), source port, and Differentiated Services Code Point (DSCP) parameters. By comparing the service type determination attributes, it can be determined whether the service type is the selected service type.
[0060] In one embodiment of the present application, the same selected service type corresponds to one peak period or multiple temporally discontinuous peak periods. The peak periods corresponding to the same reserved queue do not overlap.
[0061] For example, if a selected service type includes two peak periods, 2:00-4:00 and 5:00-6:00, after the configuration takes effect, the SDN controller will send the configuration to the managed switches in the network during the 2:00-4:00 and 5:00-6:00 time periods, adjusting the service traffic of the selected service type to the reserved queue, ensuring that the reserved queue is used only by services of the selected service type during these time periods.
[0062] The same reserved queue can only be used by one selected service type during the same time period. This means that if the same reserved queue is selected for different selected service types, peak periods cannot overlap. If the peak periods of multiple selected service types overlap, different reserved queues should be selected. This means that multiple reserved queues can be used exclusively for multiple selected service types during peak periods. This technical solution ensures that a selected service type has exclusive access to its assigned reserved queue during its peak period, unaffected by other services.
[0063] The SDN controller can use the peak period configuration list obtained in the above method to determine in real time whether the current time has reached the peak period corresponding to a reserved queue, so as to dynamically control the queue traffic of the RoCE network.
[0064] S102 : When the SDN controller determines that the current time reaches the peak period, it switches the selected service traffic corresponding to the peak period to the reserved queue.
[0065] In the embodiment of the present application, before switching the selected service traffic corresponding to the peak period to the reserved queue, the method further includes:
[0066] The SDN controller determines the source IP address, source port number, and DSCP parameters for each service flow in each RoCE queue, obtaining service type attributes. It then compares these service type attributes with the set of service type attributes for the corresponding reserved queue in the peak period configuration list. Based on the comparison results, it determines the selected service flow among the service flows.
[0067] In other words, the SDN controller can filter out selected service types and selected service flows through source IP, source port, and DSCP parameters, thereby regulating the switching of selected service flows in the RoCE queue to the reserved queue.
[0068] In another embodiment of the present application, before switching the selected service traffic corresponding to the peak period to the reserved queue, the method further includes:
[0069] The SDN controller determines whether the original service traffic in the reserved queue belongs to the selected service traffic. The service type of the selected service traffic is the selected service type. If not, the original service traffic is switched to another non-reserved queue. Another non-reserved queue is a RoCE queue whose corresponding peak period has not yet arrived.
[0070] Specifically, the SDN controller checks the original service traffic in the current reserved queue during the peak period to determine whether it is the selected service traffic. If so, the original service traffic is not regulated and switched to the RoCE queue. If not, the SDN controller regulates the original service traffic and switches it to a non-reserved queue that is not in the peak period, ensuring that the reserved queue is used only by the selected service traffic. The non-reserved queue can be randomly selected, specified by the user, or determined through the following embodiments.
[0071] In one embodiment of the present application, switching the original service traffic to other non-reserved queues specifically includes:
[0072] The SDN controller determines the queue buffer usage of each of the other non-reserved queues based on the traffic status information in the other non-reserved queues. Based on the queue buffer usage, the controller selects a non-reserved queue from the other non-reserved queues to switch the original service traffic to the selected non-reserved queue.
[0073] In other words, the SDN controller can determine the traffic status information in other non-reserved queues, and through the traffic status information, the queue cache usage corresponding to each non-reserved queue can be calculated. For example, using the number of packets currently queued in the queue in the traffic status information and the total cache space of the non-reserved queue, calculate the queue cache usage = (current number of queued packets / queue cache size) * 100. After obtaining the queue cache usage of each non-reserved queue, the SDN controller can filter out a non-reserved queue with the smallest current queue cache usage as the selected non-reserved queue, and switch the original service traffic to the selected non-reserved queue. It is also possible to filter out non-reserved queues with a current queue cache usage less than a certain threshold as the selected non-reserved queue, which is specifically set by the user according to actual usage, and this application does not make specific restrictions on this.
[0074] S103: After determining that the peak period of any reserved queue ends, the SDN controller determines the queue buffer usage rate corresponding to each non-reserved queue.
[0075] In the embodiment of the present application, when the SDN controller determines that the peak period of a reserved queue has ended, the reserved queue is now the same as other non-reserved queues and can be used by multiple tenants. At the end of each peak period, the SDN controller will check the traffic status of each non-reserved queue based on the traffic status information of each RoCE network in the network obtained by Telemetry, and calculate the queue buffer usage rate using the calculation method in the above S102.
[0076] S104 , when the queue buffer usage meets a preset trigger condition, the SDN controller switches the corresponding service traffic to the RoCE queue at the end of the peak period according to the traffic status information in the corresponding non-reserved queue.
[0077] In an embodiment of the present application, when the queue buffer usage rate meets the preset trigger condition, the corresponding service traffic is switched to the RoCE queue at the end of the peak period according to the traffic status information in the corresponding non-reserved queue, specifically including:
[0078] The SDN controller identifies the non-reserved queue corresponding to the queue buffer usage rate that meets the preset trigger conditions as the queue to be controlled. The preset trigger conditions include at least the priority-based flow control (PFC) watermark. Based on the traffic status information, the controller determines the bandwidth usage for each service type within the queue to be controlled. The service traffic corresponding to the maximum bandwidth usage among each service traffic type is switched to the RoCE queue at the end of the peak period, resulting in a non-reserved queue with reduced load.
[0079] That is to say, by presetting trigger conditions, the SDN controller determines that the queue to be controlled has a queue cache usage rate higher than the preset PFC waterline corresponding threshold. At this time, the SDN controller can control the business traffic corresponding to the bandwidth used by the maximum business traffic in the queue to be controlled, and switch this part of the business traffic to the RoCE queue that has just ended the peak period (that is, the reserved queue that has just ended the peak period). This ensures that the load of the non-reserved queue is low and that the reserved queue bandwidth during the non-peak period can be fully utilized. The above-mentioned preset trigger conditions can also trigger the ECN waterline, etc., which is not specifically limited in this application.
[0080] In addition, the present application can not only dynamically control the business traffic corresponding to the maximum value of the business traffic bandwidth, but also allow the user to set a bandwidth screening threshold to switch part of the business traffic whose bandwidth is greater than the bandwidth screening threshold to the RoCE queue at the end of the peak period.
[0081] Through the above solution, this application can use SDN to automatically and dynamically control the RoCE queues in the RoCE network to ensure that business traffic does not affect each other during business peak periods (peak time), thereby enhancing business stability. By monitoring the RoCE network through SDN, the traffic status information can be used to dynamically control and schedule the business traffic of the RoCE queues to ensure traffic balance between queues, so that the queue allocation of each business traffic in the environment is relatively reasonable, and the probability of special situations such as traffic speed reduction caused by PFC or ECN control network due to uneven traffic distribution is reduced. This can solve the problem of unreasonable queue allocation during the peak period of tenant business, which easily causes the RoCE network traffic to slow down, and improve the user experience of data center users.
[0082] Figure 2 This is a structural diagram of the SDN controller and its managed network devices. The SDN controller is connected to the SDN database and the SDN web front-end interface. The managed network devices can include multiple devices, which can be switch devices.
[0083] Figure 3 A schematic diagram of the structure of an SDN-based RoCE queue dynamic management and control device provided in an embodiment of the present application, the device includes:
[0084] At least one processor; and a memory communicatively connected to the at least one processor. The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
[0085] The SDN controller determines whether the current time has reached the peak period based on the pre-configured peak period configuration list. The peak period configuration list is generated based on historical traffic statistics in the RoCE network. The peak period configuration list includes the correspondence between the peak period and its corresponding reserved queue. The reserved queue is the RoCE queue corresponding to the selected service type. When it is determined that the current time has reached the peak period, the selected service traffic corresponding to the peak period is switched to the reserved queue. After determining that the peak period of any reserved queue has ended, the queue cache utilization rate corresponding to each non-reserved queue is determined. When the queue cache utilization rate meets the preset trigger condition, the corresponding service traffic is switched to the RoCE queue at the end of the peak period according to the traffic status information in the corresponding non-reserved queue.
[0086] The embodiment of the present application further provides a non-volatile computer storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured as follows:
[0087] The SDN controller determines whether the current time has reached the peak period based on the pre-configured peak period configuration list. The peak period configuration list is generated based on historical traffic statistics in the RoCE network. The peak period configuration list includes the correspondence between the peak period and its corresponding reserved queue. The reserved queue is the RoCE queue corresponding to the selected service type. When it is determined that the current time has reached the peak period, the selected service traffic corresponding to the peak period is switched to the reserved queue. After determining that the peak period of any reserved queue has ended, the queue cache utilization rate corresponding to each non-reserved queue is determined. When the queue cache utilization rate meets the preset trigger condition, the corresponding service traffic is switched to the RoCE queue at the end of the peak period according to the traffic status information in the corresponding non-reserved queue.
[0088] The various embodiments in this application are described in a progressive manner. Similar parts between the various embodiments can be referred to in conjunction with each other. Each embodiment focuses on the differences between the other embodiments. In particular, the device and medium embodiments are generally similar to the method embodiments, so the description is relatively simple. For relevant parts, refer to the description of the method embodiments.
[0089] The devices and media provided in the embodiments of the present application correspond one-to-one to the methods. Therefore, the devices and media also have similar beneficial technical effects to their corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.
[0090] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.
[0091] The foregoing is merely an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should all be included within the scope of the claims of the present application.
Claims
1. A dynamic control method of RoCE queue based on SDN, characterized in that: The method is applied to an SDN controller that manages switch devices in a data center; the method comprises: The SDN controller determines whether the current time reaches the peak period based on a pre-configured peak period configuration list; the peak period configuration list is generated based on historical traffic statistics in the RoCE network; the peak period configuration list includes a correspondence between the peak period and its corresponding reserved queue; the reserved queue is a RoCE queue corresponding to the selected service type; In the case where it is determined that the current time reaches the peak time period, switching the selected service traffic corresponding to the peak time period to the reserved queue; After determining that the peak period of any of the reserved queues ends, determining the queue buffer usage rates corresponding to the non-reserved queues; When the queue buffer usage rate meets the preset trigger condition, the corresponding service traffic is switched to the RoCE queue at the end of the peak period according to the traffic state information in the corresponding non-reserved queue.
2. According to the SDN-based RoCE queue dynamic control method of claim 1, it is characterized in that: Before the SDN controller determines whether the current time reaches the peak period based on the pre-configured peak period configuration list, the method further includes: Acquire some of the historical traffic statistics information and send the historical traffic statistics information to the user terminal; the historical traffic statistics information at least includes the service traffic usage frequency and service traffic usage bandwidth of each service type within the historical usage time; Based on the user's operation on the user terminal, the peak time period specified by the operation and its corresponding selected service type and reserved queue are determined, and the peak time period configuration list is generated.
3. According to the SDN-based RoCE queue dynamic control method of claim 2, it is characterized in that: The historical traffic statistics information is obtained in the RoCE network through the Telemetry component.
4. According to the SDN-based RoCE queue dynamic control method of claim 2, it is characterized in that: The same selected service type corresponds to one peak period or multiple peak periods that are not continuous in time; the peak periods corresponding to the same reserved queue do not have overlapping periods.
5. According to the SDN-based RoCE queue dynamic control method of claim 2, it is characterized in that: Before switching the selected service traffic corresponding to the peak period to the reserved queue, the method further includes: Determine the source IP, source port, and DSCP parameters corresponding to each service flow in each of the RoCE queues to obtain a service type determination attribute; Comparing the service type determination attribute with the service type determination attribute set of the corresponding reserved queue in the peak period configuration list; According to the comparison result, the selected business flow among the business flows is determined.
6. The method for dynamic control of RoCE queues based on SDN according to claim 1, characterized in that: Before switching the selected service traffic corresponding to the peak period to the reserved queue, the method further includes: Determine whether the original service flow in the reserved queue belongs to the selected service flow; wherein the service type of the selected service flow is the selected service type; If not, the original service traffic is switched to other non-reserved queues; the other non-reserved queues are the RoCE queues whose current time has not reached the corresponding peak time period.
7. The method for dynamic control of RoCE queues based on SDN according to claim 6, characterized in that: Switching the original service traffic to other non-reserved queues specifically includes: Determine, according to the traffic state information in the other non-reserved queues, queue buffer usage rates corresponding to the other non-reserved queues respectively; Based on the buffer usage of each queue, a selected non-reserved queue is screened from the other non-reserved queues to switch the original service traffic to the selected non-reserved queue.
8. The method for dynamic control of RoCE queues based on SDN according to claim 1, characterized in that: When the queue buffer usage rate meets the preset trigger condition, switching the corresponding service traffic to the RoCE queue at the end of the peak period according to the traffic state information in the corresponding non-reserved queue specifically includes: Determine that the non-reserved queue corresponding to the queue cache usage rate that meets the preset trigger condition is a queue to be controlled; the preset trigger condition at least includes a flow control PFC waterline of a trigger priority; Determine, according to the traffic state information, the service traffic usage bandwidth corresponding to each service type in the queue to be controlled; The service traffic corresponding to the maximum value of the bandwidth used by each service traffic is switched to the RoCE queue at the end of the peak period, so as to obtain the non-reserved queue after the load is reduced.
9. A SDN-based RoCE queue dynamic control device, characterized in that: The device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute a SDN-based RoCE queue dynamic management method as described in any one of claims 1-8 above.
10. A non-volatile computer storage medium storing computer executable instructions, characterized in that: The computer executable instructions can execute a SDN-based RoCE queue dynamic control method as described in any one of claims 1-8 above.
