Ultra-low delay guarantee and resource scheduling method of cross-data center network

By introducing a central controller and WRR time slot scheduling mechanism into the ultra-low latency network, combined with the principle of proportional fairness, the problem of unfair resource allocation and waste is solved, and fair reservation and efficient scheduling of resources between switches are achieved. Meets the low-latency requirements for multi-data center collaboration.

CN118555256AActive Publication Date: 2024-08-27ZHEJIANG NEW INTERNET EXCHANGE CENT CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410564164.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-08
Publication Date
2024-08-27
Estimated Expiration
2044-05-08

AI Technical Summary

Technical Problem

Existing ultra-low-latency networks suffer from resource waste and unfairness among switches when allocating resources, and fail to effectively meet the efficiency requirements of multi-data center collaboration and data exchange.

Method used

An ultra-low latency guaranteed resource scheduling algorithm across data center networks is used to collect network topology information and user flow resource reservation requests through the central controller. It combines the WRR time slot scheduling mechanism and the principle of proportional fairness to calculate the minimum of each switch. Reserve bandwidth and link queuing delay to ensure fairness and efficiency of resource reservation.

Benefits of technology

It effectively avoids resource waste, achieves fairness in resource reservation between switches, meets ultra-low latency requirements, improves network stability and efficiency, and is suitable for high-bandwidth, low-latency multi-service bearer networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118555256A
    Figure CN118555256A
Patent Text Reader

Abstract

The invention discloses an ultra-low delay guarantee and resource scheduling method of a cross-data center network. A resource allocation method considering resource reservation fairness among multi-hop switches, a resource reservation mechanism meeting ultra-low queuing delay guarantee under the worst forwarding condition in a single switch and a corresponding switch scheduling mechanism are proposed for the first time. When a flow task request arrives, a controller firstly calculates a reserved lowest bandwidth resource required by each switch according to a flow specification parameter of a data flow, then judges whether an ultra-low time delay demand of a user for the flow can be met or not under the condition of resource reservation according to a switch scheduling mechanism provided by the invention, and if the ultra-low time delay demand of the user for the flow can not be met, the flow task is executed. And if not, reserving more resources in each switch according to a proportional fairness principle. The resource reservation allocation algorithm based on proportional fairness can meet the requirement of a cross-data center network for ultra-low delay communication, and can enable the network to bear more deterministic ultra-low delay flows.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of cross-data center network resource allocation, and in particular relates to an improved weighted round-robin scheduling mechanism of a switch and a resource allocation method based on a proportional fairness principle. Background Art

[0002] With the integration of the Internet with various industries, especially after the popularization of IoT technology, computing demand has exploded, and traditional cloud computing architecture will not be able to meet such huge computing needs. Therefore, it has become a general trend to build a computing network that can realize efficient scheduling of cloud, edge, and end computing power, and ultra-low latency communication can greatly improve the network performance of the computing network. Ultra-low latency communication helps ensure that communication between data centers across different geographical locations is efficient, ultra-low latency, and reliable in cross-data center deployment, thereby meeting the computing power requirements of different applications. This helps to improve the efficiency of collaboration and data exchange among multiple data centers, while supporting emerging applications and services.

[0003] At present, although some companies have built ultra-low latency networks, they all reserve a large amount of redundant bandwidth resources, which will lead to a considerable amount of resource waste. In addition, they do not take into account the differences in performance and usage of different switches, resulting in unfair resource reservation task allocation between switches. A better ultra-low latency network must consider the least possible resource waste and more fair resource reservation task allocation between switches. The principle of proportional fairness strikes a good balance between efficiency and fairness, ensuring that resources are not overly concentrated on a certain switch, while not over-emphasizing equality at the expense of overall network efficiency, and has become the mainstream choice in the field of resource allocation.

[0004] In view of the resource allocation problems currently faced by ultra-low latency networks, it is urgent to study a new resource allocation method to solve the above problems. Summary of the invention

[0005] The purpose of the present invention is to provide a resource allocation method that considers the fairness of resource reservation between multi-hop switches and a resource reservation mechanism that meets the ultra-low queuing delay guarantee considering the worst forwarding case in a single switch, which can effectively solve the resource waste caused by unreasonable task resource reservation and the unfairness between switches, and at the same time can guarantee the ultra-low delay requirement.

[0006] In order to achieve the above object, the present invention proposes an ultra-low latency guarantee and resource scheduling algorithm for a cross-data center network, comprising the following steps:

[0007] S1: The central controller collects network topology information, user flow resource reservation requests, user flow flow specification parameters and ultra-low latency requirements;

[0008] S2: The central controller calculates the minimum reserved bandwidth of each switch according to the traffic specification parameters of the user flow, and determines whether the switch can perform bandwidth reservation;

[0009] S3: The switch uses the WRR (Weighted Round Robin) time slot scheduling mechanism to calculate the worst-case queuing delay of each switch when the flow passes through the minimum reserved bandwidth;

[0010] S4: Calculate the sum of the queuing delay of the entire link under the minimum reserved bandwidth, and determine whether it meets the user's ultra-low delay requirement. If so, execute S6; if not, execute S5;

[0011] S5: Calculate the amount of bandwidth that needs to be reserved based on the proportional fairness principle to meet the user's ultra-low latency requirements;

[0012] S6: According to the bandwidth reservation calculation result, resources are reserved for the entire link in each switch.

[0013] Further, in step S1, the network topology information collected by the central controller includes the number of switches N included in the flow transmission path. For N switches, the number set is represented as N = {1, 2, 3 ... N}, indexed by i, and when i = 0, it is regarded as the user end of the flow transmission, that is, the source end; the total bandwidth W_total of the i-th switch i ; The remaining bandwidth W_remain of the i-th switch i ; The number of remaining queues Q of the i-th switch i The collected traffic specification parameters of the user's sending flow include: the measurement and execution window size of the traffic specification t_interval, that is, during this time period, the traffic will be managed and controlled according to the specified specification; the maximum number of data packets that the source can send within a t_interval P_max; the maximum payload size of a single data packet that the source can transmit L_max. The collected user ultra-low delay requirement is t_delay.

[0014] Further, step S2 specifically includes the following steps:

[0015] S21: Calculate the maximum sending flow of the user end, and the calculation formula is shown in (1):

[0016]

[0017] S22: To ensure ultra-low latency requirements, it is required that no packets accumulate in the switch buffer. That is, the number of packets forwarded by the switch in each round needs to be greater than or equal to the number of received packets. Therefore, the minimum reserved bandwidth of the switch is the maximum sending traffic of the user side, and the calculation formula is as shown in (2):

[0018] W_reserve_min = Traffic (2);

[0019] S23: Determine whether each switch can perform this bandwidth reservation. For the i-th switch, if W_remain i > W_reserve_min and Q i > 0, then the switch can perform bandwidth reservation subsequently. If W_remain i < W_reserve_min or Q i < 0, then the switch cannot perform bandwidth reservation and rejects the resource reservation request for this flow.

[0020] Furthermore, in step S3, to calculate the queuing delay of the data stream passing through a certain switch under the WRR time slot scheduling mechanism, it is first necessary to set the relevant parameters under the WRR time slot scheduling mechanism, including: the period T of each polling and scheduling of the switch, and the number of bytes sent per time slot L_slot. These two parameters are the same for each switch. Then, it is necessary to judge the relationship between the total bandwidth of this switch and the total bandwidth of the previous switch. According to this size relationship, there are different worst-case delays. The specific steps of step S3 are as follows:

[0021] S31: For the i-th switch, calculate its time slot length, and the specific calculation formula is as shown in (3):

[0022]

[0023] S32: For the i-th switch, calculate the number of scheduling time slots M i included in a polling and scheduling cycle, and the calculation formula is as shown in (4):

[0024]

[0025] When setting L_slot, we need to ensure that each M i is an integer and L_slot is equal to L_max; thus, for the i-th switch, there is Its meaning is: in the M i time slots of a polling cycle of the i-th switch, for each time slot allocated to the flow for scheduling opportunity, it is equivalent to allocating of bandwidth to this flow. Therefore, the bandwidth allocated by the switch is an integer multiple of size.

[0026] S33: Calculate the number of scheduling time slots allocated to user flows in each scheduling cycle under the minimum reserved bandwidth. Because the minimum reserved bandwidth is the same for each switch, the number of scheduling time slots in each scheduling cycle is also the same. The calculation formula is shown in (5):

[0027]

[0028] in is the rounding symbol;

[0029] S34: For the source of the user sending flow, the data packets are also sent in time slots. The calculation formula for the number of sending time slots of the source in each sending cycle is shown in (6):

[0030]

[0031] S35: Calculate the worst queuing delay under the minimum reserved bandwidth. For the i-th switch, the worst queuing delay of the flow passing through it is related to the bandwidth of its previous switch, i.e., the i-1-th switch. If W_total i >W_total i-1 , then the worst-case delay calculation formula for the flow passing through the i-th switch is shown in (6):

[0032]

[0033] where N_scheslot i is the number of scheduling time slots of the ith switch. Under the minimum scheduling bandwidth, there are N_scheslot i =N_scheslot_min. If W_total i <W_total i-1 , then the worst case delay calculation formula for the flow passing through the i-th switch is shown in (7):

[0035]

[0036] Furthermore, in step S4, the user's ultra-low delay requirement is the end-to-end delay requirement, which includes the sending delay, propagation delay, queuing delay, processing delay, etc. When the link and switch are determined, other delays are often fixed values. Therefore, we only need to consider the queuing delay. Assuming that the sum of other delays is t_other, the user's ultra-low delay requirement can be converted into a queuing delay requirement, which is defined as t_queue_target. Its calculation formula is shown in (8):

[0037] t_queue_target = t_delay - t_other (8);

[0038] Step S4 specifically includes the following steps:

[0039] S41: Calculate the total queuing delay of the entire link under the minimum reserved bandwidth, which is the sum of the queuing delays of the flow passing through each hop switch. The calculation formula is as shown in (9):

[0040]

[0041] where t_queue i is obtained from the calculation in step S3, and the calculation process has N_scheslot i = N_scheslot_min;

[0042] S42: Compare the user's queuing delay requirement with the delay under the minimum reserved bandwidth. If t_queue_total < t_queue_target, it means that the minimum reserved bandwidth has met the user's ultra-low delay requirement, and step S6 is executed for bandwidth reservation; if t_queue_total < t_queue_target, it means that the ultra-low delay requirement of the user cannot be met under the minimum reserved bandwidth, and step S5 needs to be executed to reserve more bandwidth under the fairness principle.

[0043] Furthermore, in step S5, to prevent a certain switch from undertaking an excessive task and reducing the performance of the entire link, it is necessary to ensure the fairness of the reserved bandwidth between switches, including the following steps:

[0044] S51: Calculate the remaining bandwidth of the i-th switch after the minimum bandwidth reservation, defined as W_allocation_remain i , and the calculation formula is as shown in (10):

[0045]

[0046] S52: The subsequent bandwidth allocation needs to ensure fairness between switches. The basis is the proportional fairness principle, which is specifically manifested in that the subsequent allocated bandwidth needs to be proportional to the remaining bandwidth of the switch after the minimum bandwidth reservation. Assume that the additional bandwidth allocated to each subsequent switch is defined as Δb i , then the proportional fairness principle is shown as in formula (11):

[0047]

[0048] S53: Allocate Δb iAfter the bandwidth is determined, the number of scheduling time slots allocated by the switch to the flow in each scheduling cycle is calculated. The calculation formula is shown in (12):

[0049]

[0050] S54: Calculate the sum of the worst-case queuing delays of the link when more bandwidth is allocated. The calculation formula is shown in (6)(7)(9).

[0051] S55: In order to meet the user's queuing delay requirements, it is required to allocate Δb i The sum of the worst-case queuing delays of the link after bandwidth is less than the user's queuing delay requirement, as shown in (13):

[0052] t_queue_total≤t_queue_target (13);

[0053] Combining (10)(11)(12)(6)(7)(9)(13) can solve for the allocated bandwidth Δb i , due to the rounding up sign The existence of Δb i is a solution set. At this time, we only need to take Δb from the solution set. i The minimum value of .

[0054] Finally, if Δb i >W_allocation_remain i , it means that the switch cannot meet the reserved bandwidth required for ultra-low latency requirements and rejects the flow. i <W_allocation_remain i , the switch subsequently reserves the bandwidth required to meet the user's ultra-low latency requirement, and executes the bandwidth reservation operation in step S6.

[0055] Further, step S6 includes the following steps:

[0056] S61: Select an idle queue in each switch, and subsequently allocate a scheduling time slot to the queue, which is equivalent to bandwidth reservation.

[0057] S62: Allocate scheduling time slots for the flow in each switch, where the number of scheduling time slots is calculated by formula (12), because each scheduling opportunity allocated a time slot is equivalent to allocating a scheduling opportunity for this flow. The bandwidth actually reserved for the flow at the i-th switch is as shown in formula (14):

[0058]

[0059] where N_scheslot iis the number of scheduling time slots calculated by formula (12).

[0060] The above technical scheme adopted by the present invention can be widely used for the reasonable deployment of resources in ultra-low latency networks. Compared with the prior art, it has the following advantages: for the first time, it considers the fairness of reserved resources between switches in the field of ultra-low latency network deployment, introduces the principle of proportional fairness, and achieves a better balance between network link efficiency and fairness. At the same time, it considers the worst-case delay of the link under a certain bandwidth, avoids bandwidth waste, and enables the link to accommodate more flows with ultra-low latency requirements, which has high application value in actual engineering. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] Figure 1 This is a schematic diagram of the ultra-low latency network architecture.

[0062] Figure 2 It is a flow chart of an ultra-low latency guarantee and resource scheduling algorithm for a cross-data center network of the present invention. Figure 3 This is a schematic diagram of the switch WRR time slot scheduling mechanism.

[0063] Figure 4 This is a schematic diagram of a method for solving the worst-case queuing delay of a switch under a certain bandwidth.

[0064] Figure 5 It is a schematic diagram of bandwidth allocation of the present invention.

[0065] Figure 6 W_total i-1 >W_total i Cumulative distribution of packet delay for ultra-low latency flows in the case of

[0066] Figure 7 W_total i-1 <W_total i Cumulative distribution of packet delay for ultra-low latency flows in the case of DETAILED DESCRIPTION

[0067] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0068] As computing power becomes more ubiquitous and distributed, the requirements for computing power networks to have ubiquitous computing power agile access capabilities are becoming higher and higher. For computing power networks, a high-quality network with ultra-large bandwidth, ultra-low latency, massive connections, and multi-service carrying is the key, among which the requirement for ultra-low latency communication is crucial. At the same time, as the flow of ultra-low latency communication increases, the load on the switch is also becoming larger and larger. The proportional fairness principle, as a method to ensure load fairness between switches, can make resource reservation tasks evenly distributed between switches, which helps to improve the stability of the network and meet different user needs.

[0069] Based on this, the fairness principle is introduced into the ultra-low latency guarantee and resource scheduling of cross-data center networks, and an allocation method based on the principle of proportional fairness is designed for resource task allocation between switches.

[0070] Reference Figure 1 , using a central controller to achieve real-time control of switches in a cross-data center network, it can implement firewall, load balancing, resource reservation and other functions. Specifically, for a certain link that a flow passes through from a user to a terminal in the network, assuming that there are N switches in the link, the number set is represented by N = {1, 2, 3...N}, indexed by i, and i = 0 is regarded as the user end of the flow, that is, the source end. Considering the worst queuing delay of the switch, the present invention considers that only one data packet can be sent in a scheduling time slot, and the size of the data packet is the number of bytes sent in a time slot. Use M i It represents the number of scheduling time slots contained in a polling scheduling cycle of the i-th switch.

[0071] Based on the above network architecture, the present invention proposes an ultra-low latency guarantee and resource scheduling algorithm for a cross-data center network, such as Figure 2 As shown, its operating mechanism is as follows:

[0072] Step S1, the central controller collects network topology information, user flow resource reservation requests, flow specification parameters of user sent flows, and ultra-low latency requirements.

[0073] The collected network topology information mainly includes the status information of the switch. Let the total bandwidth of the i-th switch be W_total i ; The remaining bandwidth of the i-th switch is W_remain i ; The number of remaining queues of the i-th switch is Q i ,The collected flow specification parameters of the user's sending flow are used to describe the characteristics of the user's sending flow, including the measurement and execution window size t_interval of the flow specification, as well as the maximum number of packets that the source can send within a t_interval, P_max, and the maximum payload size L_max of a single packet that the source can transmit. The collected ultra-low delay requirement is the maximum end-to-end delay that the user wants, denoted as t_delay.

[0074] Step S2: After collecting the traffic specification parameters of the user flow, the central controller calculates the minimum reserved bandwidth of each switch and determines whether the switch can perform bandwidth reservation.

[0075] For an ultra-low latency network, packets cannot accumulate in the switch buffer. Therefore, the minimum reserved bandwidth of the switch is the maximum sending traffic of the user side, and its calculation formula is as follows:

[0076]

[0077] Next, it is judged whether the switch can perform this bandwidth reservation. For the i-th switch, if W_remain i > W_reserve_min and Q i > 0, the switch can perform bandwidth reservation subsequently. If W_remain i < W_reserve_min or Q i < 0, the switch cannot perform bandwidth reservation and rejects the resource reservation request of this flow.

[0078] Step S3: For the switch under the time slot scheduling mechanism, switch parameters need to be set. The schematic diagram of the WRR time slot scheduling mechanism is as Figure 3 shown. For each switch, there are: the cycle T of each polling scheduling of the switch, and the number of bytes sent per time slot L_slot. Setting L_slot needs to ensure that the subsequent calculated number of time slots M i is an integer and L_slot is equal to L_max.

[0079] Therefore, the time slot length of the i-th switch can be defined as:

[0080]

[0081] Similarly, the number of scheduling time slots M i contained in a polling scheduling cycle can be calculated:

[0082]

[0083] Therefore, for each switch, there is:

[0084]

[0085] Its meaning is: In the M i time slots of a polling cycle of the i-th switch, for each time slot allocation opportunity for a flow, it is equivalent to allocating bandwidth to this flow.

[0086] At this time, the number of scheduling time slots allocated to the user flow in each polling scheduling cycle under the minimum reserved bandwidth can be calculated:

[0087]

[0088] Among them is the round-up symbol. Similarly, the number of time slots for the user end to send the stream is:

[0089]

[0090] The worst-case queuing delay of a certain bandwidth allocated by a switch to a flow is related to the bandwidth of the previous switch. Specifically, Figure 4 , if W_total i >W_total i-1 In this case, the worst queuing delay occurs when the last data packet received by the switch cannot be sent out in the last sending time slot and needs to wait for the next round of scheduled time slots to be sent. Therefore, the queuing delay calculation is as follows:

[0091]

[0092] Similarly, if W_total i <W_total i-1 The worst queuing delay in this case occurs when the first packet received by the switch cannot be received in the first (N_scheslot i -N_sendslot+1) send slots, and needs to be sent in (N_scheslot i -N_sendslot+2) sending slots are used to send packets, which will cause the last packet received to wait for the next round of scheduling slots to be sent. Therefore, the queuing delay calculation is as follows:

[0093]

[0094] In step S4, when the link and the switch are determined, the processing delay, the sending delay, etc. are often fixed values, so it can be assumed that the sum of other delays is t_other. Therefore, the user's ultra-low delay demand is converted into a queuing delay demand, and the calculation formula is as follows:

[0095] t_queue_target=t_delay-t_other;

[0096] The total link queuing delay is:

[0097]

[0098] where t_queue i The result is calculated in step S3, and the calculation process has N_scheslot i =N_scheslot_min.

[0099] Compare the user's queuing delay requirement with the delay under the minimum reserved bandwidth. If t_queue_total < t_queue_target, it means that the minimum reserved bandwidth already meets the user's ultra-low delay requirement, and jump to step S6 for bandwidth reservation; if t_queue_total < t_queue_target, it means that the ultra-low delay requirement of the user cannot be met under the minimum reserved bandwidth, and jump to step S5 to reserve more bandwidth under the fairness principle.

[0100] Step S5: To ensure fairness in the load between switches and enable the resource reservation tasks to be evenly distributed among switches, more bandwidth is allocated among switches according to the proportional fairness principle.

[0101] After the minimum bandwidth reservation, the remaining bandwidth of the i-th switch is calculated as:

[0102]

[0103] Assume that subsequently, to ensure the ultra-low delay requirement of the user, each switch needs to reserve more bandwidth of Δb i , at this time, under the proportional fairness criterion, there is:

[0104]

[0105] The above formula ensures that the more bandwidth allocated between switches is proportional to the remaining bandwidth, which can prevent the performance of the entire link from being affected due to excessive load on a certain switch.

[0106] After allocating more bandwidth, the number of scheduling time slots for each round of scheduling period that the switch allocates to this flow can be calculated as:

[0107]

[0108] At this time, the calculation method of the sum of queuing delays in the worst case of the link is the same as that in steps S3 and S4. To meet the user's ultra-low queuing delay requirement, it is necessary to satisfy:

[0109] t_queue_total ≤ t_queue_target.

[0110] Under the delay limit and the proportional fairness principle limit, the finally allocated more bandwidth Δb can be calculated i , because there is a ceiling symbol in the calculation formula, the calculation result is a bandwidth range. At this time, only the minimum value within the bandwidth range needs to be taken as the final solution of Δb i That's it.

[0111] Finally, Δb is calculated to meet the ultra-low delay requirement i , if Δb i>W_allocation_remain i , it means that the switch cannot meet the reserved bandwidth required for ultra-low latency requirements and rejects the flow. i <W_allocation_remain i , the switch can subsequently meet the user's ultra-low latency requirements and perform bandwidth reservation operations in step S6.

[0112] Step S6, select an idle queue in each switch to reserve bandwidth for the user's flow, that is, allocate the corresponding scheduling time slot. The final bandwidth allocation diagram is shown in Figure 5 As shown in Figure 2. Assigning a time slot scheduling opportunity is equivalent to assigning a The bandwidth reserved for the flow can be calculated as follows:

[0113]

[0114] Based on the above scheme, after reserving a certain bandwidth in the switch for the ultra-low latency flow, verify whether the queuing delay of the flow data packet is less than the worst-case delay (i.e., the upper bound of the delay) calculated in the above step S3. The experimental parameters are set as follows:

[0115] For switches in the link, the link bandwidth sent by the simulated i-1th hop switch is less than the link bandwidth of the i-th hop switch, that is, W_total i-1 <W_total i In this case, the bandwidth of the transmission link of the i-1th hop switch is set to 1Gbps, and the bandwidth of the link of the i-th hop switch is set to 2Gbps. At the same time, the packet length is set to 1090Bytes, and the scheduling cycle of the switch is 87200ns. Therefore, for a switch with a transmission link bandwidth of 1Gbps, the time slot length is 8720ns, and there are 10 scheduling time slots in one cycle; for a switch with a transmission link bandwidth of 2Gbps, the time slot length is 4360ns, and there are 20 scheduling time slots in one cycle, that is, the switch allocates one scheduling time slot to each flow, which is equivalent to allocating 0.1Gbps of bandwidth to it.

[0116] In the experiment, three ultra-low latency flows are set, namely A, B, and C, with transmission rates of 0.1Gbps, 0.2Gbps, and 0.3Gbps, respectively. For the receiving end of the i-th switch, the A, B, and C flows occupy the 1st, 2nd, and 3rd time slots of the total 10 time slots received in each cycle, respectively, which can be assumed to be the 1st, 2nd, 3rd, 4th, 5th, and 6th time slots of the 10 time slots in a receiving cycle. Therefore, for the i-th switch, the transmission scheduling time slots for the A, B, and C flows can be set to the 1st, 2nd, 3rd, 4th, 5th, and 6th time slots of the 20 time slots in a transmission cycle. The switch starts the first sending scheduling cycle with the first sending scheduling time slot at 0ns. To simulate the random arrival of data packets, the first case is set to the first receiving time slot of the first receiving cycle at 1ns. Streams A, B, and C send 50, 100, and 150 packets respectively, and the queuing delay of each packet of streams A, B, and C through the switch is counted. After that, each step is 2180ns, that is, the first receiving time slot of the first receiving cycle of the second case is completed at 2181ns. Similarly, streams A, B, and C send 50, 100, and 150 packets respectively, and the queuing delay of each packet of streams A, B, and C through the switch is counted. Until the last case, that is, the 40th case, the first receiving time slot of the first receiving cycle is completed at 85021ns. In the 40 data packet arrival situations, 100 data are randomly selected for data collection and statistics. A total of 5,000 data packets of flow A, 10,000 data packets of flow B, and 15,000 data packets of flow C are collected. The delay results are counted and statistical charts are generated as shown below. Figure 6 shown.

[0117] For W_total i-1 >W_total i In this case, the transmission link bandwidth of the i-1th hop switch is set to 2Gbps, and the link bandwidth of the i-th hop switch is set to 1Gbps. In the experiment, three ultra-low latency flows are set, namely A, B, and C, with transmission rates of 0.1Gbps, 0.2Gbps, and 0.3Gbps, respectively. For the receiving end of the i-th switch, the A, B, and C flows occupy the 1st, 2nd, and 3rd time slots of the total 20 time slots received in each cycle, respectively. It can be assumed that they are the 1st; 2nd, 3rd; 4th, 5th, and 6th time slots of the 20 time slots in a receiving cycle, respectively. Since the number of transmission time slots has a greater impact on the latency at this time, for the i-th switch, the transmission scheduling time slots for the A, B, and C flows are set to 2, 3, and 4, respectively, which can be assumed to be the 1st, 2nd; 3rd, 4th, 5th; 6th, 7th, 8th, and 9th time slots of the 20 time slots in a transmission cycle. The rest of the settings are the same as W_total i-1 <W_total iIn the 40 data packet arrival situations, 100 data are randomly selected for data collection and statistics. A total of 5,000 data packets of flow A, 10,000 data packets of flow B, and 15,000 data packets of flow C are collected. The delay results are counted and statistical charts are generated as shown in the figure. Figure 7 shown.

[0118] Figure 6 and Figure 7 The vertical reference line in the middle is the theoretically calculated worst-case delay, and the cumulative distribution diagram of the delay of each flow is on the left side of the vertical reference line, indicating that the delay range of the flow is below the worst-case delay calculated in step S3, indicating that the present invention based on this can meet the flow's demand for ultra-low delay after the switch in the link allocates bandwidth to the ultra-low delay flow.

[0119] The above specific implementation modes are used to explain the present invention rather than to limit the present invention. Any modification and change made to the present invention within the spirit of the present invention and the protection scope of the claims shall fall within the protection scope of the present invention.

Claims

1. A method for ultra-low latency guarantee and resource scheduling across data center networks, characterized in that: The method comprises the following steps: S1: The central controller collects network topology information, user flow resource reservation requests, user flow flow specification parameters and ultra-low latency requirements; S2: The central controller calculates the minimum reserved bandwidth of each switch according to the traffic specification parameters of the user flow, and determines whether the switch can perform bandwidth reservation; S3: The switch uses the WRR (Weighted Round Robin) time slot scheduling mechanism to calculate the worst-case queuing delay of each switch when the flow passes through the minimum reserved bandwidth; S4: Calculate the sum of the queuing delay of the entire link under the minimum reserved bandwidth, and determine whether it meets the user's ultra-low delay requirement. If so, execute S6; if not, execute S5; S5: Calculate the amount of bandwidth that needs to be reserved based on the proportional fairness principle to meet the user's ultra-low latency requirements; S6: According to the bandwidth reservation calculation result, resources are reserved for the entire link in each switch.

2. The ultra-low latency guarantee and resource scheduling method for a cross-data center network according to claim 1 is characterized in that: The network topology information collected by the central controller in step S1 includes: The number of switches N included in the flow transmission path. For N switches, the number set is represented as N = {1, 2, 3...N}, indexed by i, and i = 0 is regarded as the user end of the flow transmission, that is, the source end; the total bandwidth W_total of the i-th switch i ; The remaining bandwidth W_remain of the i-th switch i ; The number of remaining queues Q of the i-th switch i ; The collected traffic specification parameters of the user sending flow include: the measurement and execution window size t_interval of the traffic specification, that is, during this time period, the traffic will be managed and controlled according to the specified specification; the maximum number of packets that the source can send within a t_interval, P_max; the maximum payload size L_max of a single packet that the source can transmit; The collected user ultra-low delay requirement is t_delay.

3. The ultra-low latency guarantee and resource scheduling method for a cross-data center network according to claim 1 is characterized in that: The step S2 of calculating the minimum reserved bandwidth of the switch and determining whether the switch can perform the bandwidth reservation includes the following steps: S21: Calculate the maximum sending flow of the user end: S22: To ensure ultra-low latency requirements, it is required that data packets cannot be accumulated in the switch buffer, that is, the number of data packets sent by the switch in each round of forwarding must be greater than or equal to the number of data packets received, and the minimum reserved bandwidth of the switch is the maximum sending traffic of the user end, that is: S23: Determine whether each switch can perform this bandwidth reservation. For the i-th switch, if W_remain i > W_reserve_min and Q i > 0, the switch can perform bandwidth reservation subsequently. If W_remain i < W_reserve_min or Q i < 0, the switch cannot perform bandwidth reservation and rejects the resource reservation request for this flow.

4. The ultra-low latency guarantee and resource scheduling method for a cross-data center network according to claim 1 is characterized in that: The method described in step S3 for calculating the worst-case queuing delay when the switch allocates a certain bandwidth to the flow under the WRR time slot scheduling mechanism; each switch sets the period T of each polling scheduling and the byte L_slot sent per time slot, and calculates different worst-case delays according to the relationship between the total bandwidth of the switch and the total bandwidth of the previous switch; comprising the following steps: S31: For the i-th switch, calculate its time slot length: S32: For the i-th switch, calculate the number of scheduling time slots M contained in a polling scheduling cycle i : When setting L_slot, it is necessary to ensure that each M i They are all integers and L_slot is equal to L_max; It can be seen that for the i-th switch, Meaning: M in a polling cycle of the i-th switch i In the time slots, each time slot is assigned to the flow, it is equivalent to assigning The bandwidth allocated by the switch is An integer multiple of ; S33: Calculate the number of scheduling time slots allocated to the user flow in each scheduling cycle under the minimum reserved bandwidth: in is the rounding symbol; The actual bandwidth allocated to the flow under the minimum reserved bandwidth is: S34: For the source of the user sending stream, the data packets are also sent in time slots. The number of sending time slots of the source in each sending cycle is: S35: Calculate the worst queuing delay under the minimum reserved bandwidth; for the i-th switch, consider its bandwidth relationship with the i-1-th switch, if W_total i >W_total i-1 , then the worst case delay calculation formula for the flow passing through the i-th switch is: where N_scheslot i is the number of scheduling time slots of the ith switch. Under the minimum scheduling bandwidth, there are N_scheslot i =N_scheslot_min; if W_total i <W_total i-1 , then the worst case delay calculation formula for the flow passing through the i-th switch is:

5. The ultra-low latency guarantee and resource scheduling method for a cross-data center network according to claim 1, characterized in that: The step S5 of calculating the additional bandwidth to be reserved according to the proportional fairness principle includes the following steps: S51: Calculate the remaining bandwidth of the ith switch after the minimum bandwidth reservation, defined as W_allocation_remain i , the calculation formula is: S52: Assume that in order to ensure the ultra-low latency requirements of users, each switch needs to reserve more bandwidth of Δb i , under the proportional fairness principle, we have: Ensures that the additional bandwidth allocated between switches is proportional to the remaining bandwidth, preventing the performance of the entire link from being affected due to excessive load on a certain switch; S53: Allocate Δb i After calculating the bandwidth, calculate the number of scheduling time slots that the switch allocates to the flow in each scheduling cycle. The calculation formula is: S54: Calculate the sum of the worst-case queuing delays of the link when more bandwidth is allocated, the calculation method being included in steps S3 and S4; S55: In order to meet the user's queuing delay requirements, it is required to allocate Δb i The sum of the worst-case queuing delays of the link after the bandwidth is less than the queuing delay requirement of the user, that is: t_queue_total≤t_queue_target; Combining all the equations in step S5, we can solve the additional bandwidth Δb that needs to be allocated. i , due to the rounding up sign The existence of Δb i is a solution set. At this time, we only need to take Δb from the solution set. i The minimum value of Finally, if Δb i >W_allocation_remain i , it means that the switch cannot meet the reserved bandwidth required for ultra-low latency requirements and rejects the flow; if Δb i <W_allocation_remain i , the switch subsequently reserves the bandwidth required to meet the user's ultra-low latency requirement, and executes the bandwidth reservation operation in step S6.

Citation Information

Patent Citations

  • Resource allocation method and system during coexistence of eMMB and urlc in 5G system

    CN112637911A

  • Time-sensitive network scheduling method based on bandwidth reservation

    CN116192651A

  • Dynamic clearance cache management method and device for PFC (Power Factor Correction) switch

    CN116896534A

  • Transformer substation bandwidth allocation method and system based on credit shaping and network calculation

    CN117857360A

  • Adaptive rate-based congestion control in packet networks

    US5936940A