A switching network performance analysis method, and its network structure and scheduling method
By analyzing the relationship between the cross-point buffer size and other performance indicators in the switching network, and combining the virtual output queue and distributed scheduling methods, the problems of high scheduling complexity and large cache overhead in the switching network structure are solved, and high-speed pipeline operations are realized. and high-performance switching networks.
Patent Information
- Application Number
- CN202211069087.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-01
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-09-01
AI Technical Summary
The existing switching network structure has problems such as high scheduling complexity, large cache overhead, and slow transmission speed in high-speed and large-capacity environments. In particular, the control communication speed is insufficient due to the long distance between line cards and switches, and cannot meet the transmission speed requirements of modern switches. .
By increasing the simulation time in the switching network, and analyzing the relationship between the cross-point buffer size, switching scale and throughput rate, packet loss rate, and average queuing delay, a switching network performance analysis method is provided, and the virtual output queue and Distributed scheduling method reduces internal acceleration requirements and realizes distributed scheduling.
It reduces the scheduling complexity, realizes high-speed pipeline operations, reduces cache overhead, improves the performance of the switching network, and can make decisions based on its own situation to meet the transmission speed requirements of modern switches.
Smart Images

Figure CN115720216B_ABST
Abstract
Description
[0001] The invention belongs to the field of network technology, and in particular relates to a switching network performance analysis method, and a network structure and scheduling method thereof. Background Art
[0002] With the rapid development of the Internet, especially the rapid growth of multimedia and data services, the amount of data transmission on the Internet has increased at an alarming rate. As the core node in the communication network, the performance of the router directly affects the communication quality of the network. The switching network is a key component of the router, which realizes the interconnection of data from input to output. The design and implementation of a high-performance switching network is crucial to improving the performance of the entire communication network. Therefore, the study of the switching network and its scheduling is very important.
[0003] Switching network structures can be divided into many types, such as shared cache, input queue, output queue, etc., but these structures have disadvantages such as high scheduling complexity, large cache overhead, and poor scalability, making them difficult to be applied in high-speed and large-capacity switches and routers.
[0004] The cross-node network switching structure with buffer is the most popular method in modern high-speed switching structure and router design. It is widely used due to its simplicity and non-blocking ability. In the late 1980s, the cross-node switch with buffer was considered as a multi-stage switch, but most of them used fewer inputs / outputs and smaller buffers. Due to technical limitations, large-scale buffers could not be set at the node. Therefore, at that time, a switching structure with a large buffer had not been evaluated in detail.
[0005] However, most other popular buffering technologies require intensive control communication between the line cards (where the buffers are usually located) and the centralized scheduler. If the line cards are placed in a rack with a very small distance from the switch structure, then this intensive communication can basically be achieved without major performance issues. However, in modern actual switch architectures, the line cards are very far away from the switch. This means that control communication may not be fast enough to meet the transmission speed requirements of modern switches. The best way to overcome this problem is to move the buffers from the line cards to the switch structure. How to move the line cards to the switch structure to completely eliminate the impact of slow transmission speed of control communication due to the long distance between the line cards and the switch is a technical problem that needs to be solved urgently.
[0006] Another issue that needs attention is that the amount of storage space required for a cross-node cached switching structure is proportional to the square of the number of ports, that is, the space complexity is O(N 2). When the number of switch ports is large, there will be a large cache overhead. Therefore, how to set the capacity of the cross node cache is a technical problem that needs to be solved in practical applications. Summary of the invention
[0007] The purpose of the present application is to provide a method for analyzing the performance of a switching network with a cross node and a cache, and a network structure and a scheduling method thereof, in order to solve the technical problem in the prior art that the switching speed cannot meet the demand.
[0008] To achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:
[0009] The present application provides a switching network performance analysis method, characterized in that it includes the following steps:
[0010] Step 1: By increasing the simulation time of the network, the system steady state of the network is obtained;
[0011] Step 2: Obtain the queue length by accumulating the sum;
[0012] Step 3: obtaining a queue length mean according to the queue length, and obtaining an average queuing delay of the network according to the queuing mode;
[0013] Step 4: Obtain the packet loss rate and throughput rate of the network;
[0014] Step 5: Analyze the relationship between the intersection buffer size B, the switching scale size C and the throughput rate T, the packet loss rate L, the average queuing delay W, and the queue length N to obtain the network performance;
[0015] Optionally, obtaining a system steady state of the network based on a Markov process model;
[0016] Optionally, the throughput rate of the network is the ratio of the number of packets leaving the network to the number of packets arriving at the network within a period of time, which is expressed as:
[0017] Where T is the throughput of the horizontal output bus; A(t) is the probability of packet arrival at time slot t, π i (t) indicates that there are i packets in the intersection queue at time slot t, and B is the buffer size;
[0018] Optionally, the network packet loss rate is the ratio of the number of lost data packets to the number of sent data groups, which is expressed as L=A(t)π B (t) where A(t) is the packet arrival probability at time slot t, π i (t) indicates that there are i packets in the intersection queue at time slot t, and B is the buffer size;
[0019] Optionally, the queue length mean is Where A(t) is the packet arrival probability at time slot t, π i (t) indicates that there are i packets in the intersection queue at time slot t;
[0020] Optionally, the average queuing delay is equal to the mean of the queue length divided by the packet arrival rate and is expressed as: π i (t) indicates that there are i packets in the crosspoint queue at time slot t, the traffic load of the input bus is p, and C is the switching scale;
[0021] Optionally, the intersection queue is empty in an initial state, that is, equal to 0;
[0022] In a second aspect, the present application provides a switching network structure, and a performance analysis is performed using the performance analysis method of the network provided in an embodiment of the present application; the network comprises: an input end, a virtual output queue, a cross switch with a cache, and an output end, wherein a small amount of cache space is provided at the cross point;
[0023] In a third aspect, the present application provides a switching network scheduling method, which is applicable to the network structure provided in an embodiment of the present application; the scheduling method comprises the following steps:
[0024] Step 1: After the data packet is input into the input port, it is cached into the corresponding queue of the corresponding port according to the information of the data packet;
[0025] Step 2: Input virtual cache queue to the scheduling process of cross-node cache;
[0026] Step 3: Scheduling process of cross-node input cache;
[0027] Step 4: Scheduling process of cross-node output cache;
[0028] Optionally, the scheduling process includes the following steps:
[0029] Step 1: Check whether there is data in the virtual cache at the input end and monitor whether the cross node cache is full;
[0030] Step 2: Generate a port request signal for arbitration;
[0031] Step 3: Arbitrate according to the priority order of the ports;
[0032] Step 4: Read data from the input virtual output queue buffer according to the result;
[0033] Step 5: Cache the data to the cross node.
[0034] The beneficial effects of this application are:
[0035] A switching network performance analysis method, characterized in that it comprises the following steps:
[0036] Step 1: By increasing the simulation time of the network, the system steady state of the network is obtained;
[0037] Step 2: Obtain the queue length by accumulating the sum;
[0038] Step 3: obtaining a queue length mean according to the queue length, and obtaining an average queuing delay of the network according to the queuing mode;
[0039] Step 4: Obtain the packet loss rate and throughput rate of the network;
[0040] Step 5: Analyze the relationship between the intersection buffer size B, the exchange scale size C, the throughput rate T, the packet loss rate L, the average queuing delay W, and the queue length N to obtain the network performance; through such a design, no internal acceleration is required, no centralized scheduling is required, and decisions can be made according to their own situation, and distributed implementation can be achieved at the input and output ends. The setting of this switching network structure greatly reduces the scheduling complexity and can achieve high-speed assembly line operations. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0042] Figure 1 A schematic diagram of the architecture design of a CICQ exchange network structure provided in an embodiment of the present application;
[0043] Figure 2 A schematic diagram of a discrete Markov chain system model provided in an embodiment of the present application;
[0044] Figure 3 A flowchart of a CICQ exchange network structure performance analysis provided in an embodiment of the present application;
[0045] Figure 4 A schematic diagram of the relationship between a queue length N and a cache size B provided in an embodiment of the present application;
[0046] Figure 5 A schematic diagram of the relationship between a queue length N and a switching scale C provided in an embodiment of the present application;
[0047] Figure 6 A schematic diagram of the relationship between an average queuing delay W and a cache size B provided in an embodiment of the present application;
[0048] Figure 7 A schematic diagram of the relationship between an average queuing delay W and a switching scale C provided in an embodiment of the present application;
[0049] Figure 8 A schematic diagram of the relationship between a packet loss rate L and a cache size B provided in an embodiment of the present application;
[0050] Fig. 9 A schematic diagram of the relationship between the packet loss rate L and the exchange scale C provided in an embodiment of the present application;
[0051] Fig.10 A schematic diagram of the relationship between a throughput rate T and a cache size B provided in an embodiment of the present application;
[0052] Fig.11 A schematic diagram of the relationship between the throughput rate T and the exchange scale C provided in an embodiment of the present application. DETAILED DESCRIPTION
[0053] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.
[0054] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0055] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0056] Figure 1 A schematic diagram of the architecture of a CICQ exchange network structure provided in an embodiment of the present application. Figure 1The architecture shown includes: input end, virtual output queue (VOQ), buffered crossbar (BX), and output end. Virtual output queue (VOQ) is mainly used to eliminate HOL blocking, dividing the input buffer into n logical queues, called VOQ, to store packets going to the relevant output ports. The HOL unit of each VOQ is arranged in the current unit time slot, and compared with the input queue, only one HOL unit can be forwarded.
[0057] The crosspoint queue (CQ) has good distributed parallel scheduling characteristics. A small amount of cache is stored at the cross node of the input bus and the output bus. It has good distributed parallel scheduling characteristics and does not require internal acceleration. It is assumed that all buffers on an output line have the same state distribution and the input traffic follows the Bernoulli distribution. Then CICQ works according to the following workflow:
[0058] (1) After the packet is input into the input port, it is cached into the corresponding queue of the corresponding port according to the packet information;
[0059] (2) The scheduling process of inputting virtual cache queue to cross-node cache;
[0060] (3) Scheduling process of cross-node input cache
[0061] (4) Scheduling process of cross-node output cache.
[0062] The scheduling process includes:
[0063] (1) Check whether there is data in the VOQ virtual cache at the input end and monitor whether the cross node cache is full, so as to ensure that the cross node can accept the data input from the input end;
[0064] (2) generating a port request signal for arbitration;
[0065] (3) Arbitrate according to the priority order of the ports;
[0066] (4) Read data from the input VOQ buffer according to the result;
[0067] (5) Data is cached to the cross node.
[0068] Figure 2 A schematic diagram of a discrete Markov chain system model provided in an embodiment of the present application. Figure 2The CICQ performance analysis shown is based on the Markov chain model. The Markov process is a type of random process. The Markov chain is the simplest Markov process, that is, the value parameters of the time and state process are discrete Markov processes. Due to the symmetry of the switch structure and the Bernoulli property of the input traffic, the performance of each output bus can be considered independently. According to the above conditions, the system can be modeled as a discrete Markov chain.
[0069] Let A(t) represent the packet arrival probability of a time slot, and the traffic load of the input bus be p, where 0≤p≤1, then
[0070] A(t)=p / c (1)
[0071] Then let D(t) represent the probability of packet leaving at a time slot. It can be expressed as formula (2)
[0072]
[0073] Let π i (t) indicates that there are i packets in the intersection queue of the time slot, and the state transition equation is as shown in formula (3):
[0074]
[0075] The matrix form of the state transfer equation can be written as shown in formula (4):
[0076]
[0077] Among them, the state transfer matrix P is shown in formula (5):
[0078]
[0079] It can be found in the state transition matrix that all intersection queues are empty in the initial state, as shown in formula (6):
[0080] π0(0)=1,π i (0)=0,1≤i≤B (6)
[0081] Based on the above analysis, the state probability of the Markov chain at any time t can be calculated by iterative method. When the time slot t tends to infinity, the system will become an equilibrium state, and the state probability π i (t) converges to a constant.
[0082] Let T denote the throughput of the horizontal output bus and W denote the average packet delay. The throughput is defined as the ratio of the cumulative number of packets entering the crosspoint queue to the cumulative number of packets arriving in the output bus. Therefore, the throughput can be written as shown in formula (7):
[0083]
[0084] The packet loss rate is defined as the ratio of the number of lost data packets to the number of sent data groups. That is, when a signal arrives but the system state is already stable and cannot be received, the packet loss rate can be written as shown in formula (8):
[0085] L=A(t)π B (t) (8);
[0086] The average queue length can be written as shown in formula (9):
[0087]
[0088] In addition, according to Little's law, the average packet delay is equal to the average queue length divided by the packet arrival rate. So the expression of the average data packet delay is shown in formula (10):
[0089]
[0090] In order to select the appropriate cache capacity, it is necessary to perform a performance analysis on the switching network structure, including the following steps:
[0091] Step 1) solving the system steady state based on the Markov process model;
[0092] Step 2) Calculate the queue length N of the system;
[0093] Step 3) Calculate the average queuing delay W of the system;
[0094] Step 4) Calculate the packet loss rate L of the system;
[0095] Step 5) Calculate the system throughput T;
[0096] Step 6) Analyze the relationship between the intersection buffer size B, the switching scale size C, the throughput rate T, the packet loss rate L, the average queuing delay W, and the queue length N.
[0097] Further, the step 1) is specifically as follows:
[0098] The steady-state solution of the system is based on the Markov process model. Since it is impossible to obtain a closed expression for the steady-state of the system through deduction, the distribution of the system state is solved by increasing the simulation time, and the tendency of time to infinity is regarded as the tendency of the state to steady state, that is, the number of cycles is increased to obtain the steady-state of the system. When the number of cycles is large enough, the result can be approximated to a stable state.
[0099] Further described step 2) is specifically:
[0100] After the steady-state distribution of the system is obtained, the queue length can be calculated by cumulative summation. The specific method is as follows: the queue length solution formula is mainly implemented by setting a loop from loop to loop, so that the addend loop is complete to obtain the queue length.
[0101] Further described step 3) is specifically:
[0102] The calculation of average delay can be done by using the above queue length formula to first obtain the average queue length. Then, according to Little's theorem in queue theory: the average queue length in a queue system is equal to the product of the arrival rate and the average waiting time, it can be concluded that the average queue delay of the system is obtained by dividing the queue length by the arrival rate.
[0103] Further described step 4) is specifically:
[0104] If and only if a queue reaches its maximum length, there is still a probability that data will arrive. Therefore, the packet loss rate of the system is equal to the probability that the queue is full, multiplied by the arrival rate of the system. Then the probability of the queue being full multiplied by the probability of the system arriving can be obtained.
[0105] Further described step 5) is specifically:
[0106] The system throughput is defined as the ratio of the number of packets leaving the system to the number of packets arriving at the system in a sufficiently large period of time. Based on the definition of throughput, there are two ways to solve it.
[0107] The first method takes into account that the system's dequeue strategy is a greedy strategy, that is, as long as there is data in the queue, a packet will be selected to be dequeued. Therefore, the system's throughput is equal to 1 minus the probability that the queue is empty and no packets arrive.
[0108] The second method takes into account that when the system tends to a steady state, the length of the queue remains balanced, and the data entering the queue is approximately equal to the data leaving the queue. At this time, the system throughput is determined only by the number of lost packets, that is, the packet loss rate is the reason for the decrease in throughput. Therefore, the throughput is equal to 1 minus the system's packet loss rate.
[0109] Further described step 6) is specifically:
[0110] The obtained performance indicators such as throughput, queue length, average delay, packet loss rate, etc. are visualized, and the change patterns of these performance parameters with cache size and switch scale are obtained, and then the impact of system cache settings on switch performance is analyzed.
[0111] Figure 3 A flow chart of CICQ exchange network structure performance analysis provided by the embodiment of the present application. Figure 3The network performance analysis method shown includes the following steps:
[0112] S301: Using a recursive method, by increasing the simulation time, the distribution of the system state is solved, and the time tending to infinity is regarded as the state tending to a steady state, that is, the number of cycles is increased to obtain the system steady state. When the number of cycles is large enough, the obtained result can be approximately close to the theoretical steady state. In the embodiment of the present application, the number of cycles is set to 10 4 Second-rate;
[0113] S302: The process of implementing the queue length solution formula mainly involves setting a loop, from loop to loop, so that the addend loop is complete to obtain the queue length;
[0114] S303: Divide the queue length by the arrival rate to get the average queuing delay of the system;
[0115] S304: calling the previous steady-state solution, and then multiplying the probability of the queue being full by the probability of the system arriving to obtain the packet loss rate of the system;
[0116] S305: Select 1 minus the packet loss rate in the throughput formula, so that the steady-state solution part and the packet loss rate solution part can be called, thereby reducing the difficulty of formula writing. In this experiment, the arrival rate is set to ρ =1
[0117] S306: Study the relationship between the intersection buffer size B, the switching scale size C and the throughput rate T, the packet loss rate L, the average queuing delay W, and the queue length N.
[0118] Figure 4 A schematic diagram of the relationship between a queue length N and a cache size B provided in an embodiment of the present application. Figure 4 Figure 401 shows the relationship between queue length and cache size B when C=2, 402 shows C=8, 403 shows C=16, and 404 shows C=32. As shown in the figure, the queue length will increase with the increase of cache size B. This is because increasing the cache size means more space to accommodate the arriving packets, so the number of packets accumulated in the queue will also increase. Figure 4 It can also be seen that when the cache size B is greater than 30, the growth rate of the queue length will decrease to varying degrees. Especially when the switching capacity C = 32, the decline in the growth rate is particularly obvious. This is because when the cache space increases to a certain extent, greater than the average queue length of the system in steady state, even if the cache capacity is increased, no more data will accumulate in the queue. At this time, the growth rate of the queue length will slow down and tend to the extreme value of the infinite capacity queue system.
[0119] Figure 5A schematic diagram of the relationship between a queue length N and a switching scale C provided in an embodiment of the present application. Figure 5 501 is a schematic diagram showing the relationship between the queue length and the switching scale C under the conditions of B=2, 502 is B=4, 503 is B=8, and 504 is B=16. Figure 5 As shown in the figure, when the cache size B is fixed, the queue length will decrease as the exchange scale C increases. This is because it is assumed that the input traffic follows the Bernoulli distribution, that is, the traffic from the same input port will be evenly distributed to different output ports. As the exchange scale increases, the distribution of traffic will become more even, and the probability of encountering queue conflicts at different ports will decrease, thereby reducing the frequency of queuing and reducing the length of the queue. However, it can be seen that the change of queue length with exchange scale is not obvious. When the exchange scale is above 5, the queue length N will tend to a stable value. However, the change of queue length with cache size B is very obvious. When the cache size B increases, the queue length will change significantly.
[0120] Figure 6 A schematic diagram of the relationship between the average queuing delay W and the cache size B provided in the embodiment of the present application. Figure 6 601 is a schematic diagram showing the relationship between the average queuing delay W and the cache size B under the conditions of C=2, 602 is C=4, 603 is C=8, and 604 is C=16. Figure 6 As shown in the figure, for a given switch size C, the average queuing delay increases with the increase of buffer size B. This is because the increase of buffer size leads to the increase of average queue length, which leads to the increase of packet queuing delay. For different switch sizes, the average queuing delay is larger for larger switch sizes. When the buffer size is less than 4, the average queuing delay corresponding to switch sizes of 2 and 4 is very close.
[0121] Figure 7 A schematic diagram of the relationship between the average queuing delay W and the switching scale C provided in an embodiment of the present application; Figure 7 701 is a schematic diagram showing the relationship between the average queuing delay W and the switching scale C under the conditions of B=2, 702 is B=4, 703 is B=8, and 704 is B=16. Figure 7 As shown, increasing the size of the switch will also lead to an increase in packet delay. The reason is that the input traffic is evenly distributed between the crosspoints, and the arrival rate of each crosspoint queue is. As the switch size C increases, the packet arrival rate and departure rate of a queue will decrease. For a given infinite capacity queue, when the arrival rate and departure rate of the input traffic decrease, the average queue length remains unchanged, but the average queue time increases. Therefore, the packet delay will increase with the increase of switch size.
[0122] Figure 8 A schematic diagram of the relationship between the packet loss rate L and the cache size B provided in an embodiment of the present application; Figure 8 The diagram shows the relationship between the packet loss rate L and the cache size B under the conditions of C=2 for 801, C=4 for 802, C=8 for 803, and C=16 for 804. Figure 8 As shown in the figure, as the cache size increases, the packet loss rate decreases. This is because as the cache size increases, there will be more space in the queue to accommodate more packets, so the packet loss rate will decrease accordingly. It can be seen that the packet loss rate of the system changes significantly with the change of cache size B. When the cache size is expanded from 1 to 20, the packet loss rate will drop significantly. When the cache size is further expanded, the effect of improving the system packet loss rate will slow down. When the cache size is expanded from 20 to 60, the system packet loss rate only decreases slightly. In addition, different exchange scales will also affect the results of the packet loss rate. It can be seen that when the exchange scale is small, the effect of cache size B on the packet loss rate is more obvious. When the cache size is the same, the larger the exchange capacity, the lower the corresponding packet loss rate. When the exchange scale is 2, the packet loss rate will approach 0 when the cache scale is greater than 50; and when the exchange scale is 16, the packet loss rate is close to 0 when the cache is greater than 15. When the cache scale is greater than 30, the packet loss rates corresponding to exchange scales of 4, 8 and 16 are very close.
[0123] Fig. 9 A schematic diagram of the relationship between the packet loss rate L and the exchange scale C provided in an embodiment of the present application; Fig. 9 Figure 901 shows the relationship between the packet loss rate L and the exchange scale C under the conditions of B=2, 902 shows B=4, 903 shows B=8, and 904 shows B=16. Fig. 9 As shown in the figure, as the exchange scale increases, the packet loss rate decreases. The reason for such a change is similar to the reason for the queue length analyzed in the above embodiment. Taking the same port as the research object, the system's exchange load decreases as the exchange scale increases, and the loss rate decreases accordingly. For different cache sizes, a larger cache means a lower packet loss rate. When the exchange scale is greater than 20, the packet loss rates corresponding to cache sizes of 8 and 16 are very close to and close to 0.
[0124] Fig.10 A schematic diagram of the relationship between a throughput rate T and a cache size B provided in an embodiment of the present application; Fig.10 1001 is a schematic diagram showing the relationship between the throughput rate T and the cache size B under the conditions of C=2, 1002 is C=4, 1003 is C=8, and 1004 is C=16. Fig.10The throughput T shown increases with the increase of the buffer size B. This is because, as the crosspoint buffer capacity B increases, it can accommodate more data packets. Therefore, the packet loss caused by scheduling contention can be reduced, thereby obtaining a higher throughput. As the crosspoint buffer size B continues to increase, the throughput tends to 1. In addition, for different switch scale sizes, the throughput increases with the increase of the switch scale. For a switch scale of size 16, more than 98% of the throughput can be obtained when the cache is greater than about 10. For a switch scale of size 2, when the cache is between 0-10, the throughput is greatly improved, but it is still less than the throughput corresponding to other switch scales. For buffer sizes greater than 32, more than 98% of the throughput can be obtained. When the buffer is greater than 50, the difference in throughput corresponding to different switch scales does not exceed 5%.
[0125] Fig.11 A schematic diagram of the relationship between the throughput rate T and the exchange scale C provided in the embodiment of the present application. Fig.11 The diagram shown is a schematic diagram of the relationship between the throughput rate T and the exchange scale C under the conditions of B=2 for 1101, B=4 for 1102, B=8 for 1103, and B=16 for 1104. Fig.11 The throughput T shown increases with the increase of the switch size C. The reason for this phenomenon is that as the switch size C increases, it can accommodate more signals to be exchanged simultaneously. Therefore, the packet loss caused by scheduling competition can be reduced, thereby achieving higher throughput. As the switch size C continues to increase, the throughput tends to 1. For different cache sizes, the throughput increases as the cache size increases. For a cache size of 16, the throughput increases from 95% and infinitely tends to 1. When the switch size is greater than 20, the throughput corresponding to buffers of 8 and 16 is very close.
[0126] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0127] The above description is only the preferred 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 substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application. It should be noted that similar numbers and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. The above description is only the preferred 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 substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A switching network performance analysis method, It is characterized in that The network is modeled as a discrete Markov chain. The analysis method includes the following steps: Step 1: increasing the simulation time for the network, and obtaining the system steady state of the network based on the Markov process model; Step 2: Obtain the queue length by accumulating the sum; Step 3: Obtain a mean queue length according to the queue length, and obtain an average queuing delay of the network according to the queuing mode, wherein the mean queue length is The average queuing delay is equal to the mean of the queue length divided by the packet arrival rate and is expressed as: Where B is the buffer size, π i (t) represents the probability that there are i packets in the crosspoint queue at time slot t, and the traffic load of the input bus is p ,C is the exchange scale; Step 4: Obtain the packet loss rate and throughput rate of the network, wherein the throughput rate of the network is the ratio of the number of packets leaving the network to the number of packets arriving at the network within a period of time, which is expressed as: The network packet loss rate is the ratio of the number of lost data packets to the number of sent data groups, which is expressed as L = A(t)π B (t), where T is the throughput of the horizontal output bus, A(t) is the packet arrival probability at time slot t, π i (t) represents the probability that there are i packets in the intersection queue at time slot t, and B is the buffer size; Step 5: Analyze the relationship between the intersection buffer size B, the switching scale size C and the throughput rate T, the packet loss rate L, the average queuing delay W, and the queue length N to obtain the network performance.
2. The switching network performance analysis method according to claim 1, It is characterized in that The intersection queue is empty, that is, equal to 0, in the initial state.
3. A switching network structure with a cross node and cache, It is characterized in that The performance analysis is performed using the performance analysis method of the network as claimed in claim 1; the network comprises: an input end, a virtual output queue, a cross switch with a cache, and an output end, wherein a small amount of cache space is provided at the cross point.
4. A switching network scheduling method, It is characterized in that The scheduling method is applicable to the network structure described in claim 3; the scheduling method comprises the following steps: Step 1: After the data packet is input into the input port, it is cached into the corresponding queue of the corresponding port according to the information of the data packet; Step 2: Input virtual cache queue to the scheduling process of cross-node cache; Step 3: Scheduling process of cross-node input cache; Step 4: Scheduling process of cross-node output cache.
5. The switching network scheduling method according to claim 4, It is characterized in that The scheduling process includes the following steps: Step 1: Check whether there is data in the virtual cache at the input end and monitor whether the cross node cache is full; Step 2: Generate a port request signal for arbitration; Step 3: Arbitrate according to the priority order of the ports; Step 4: Read data from the input virtual output queue buffer according to the result; Step 5: Cache the data to the cross node.
Citation Information
Patent Citations
Routing decision method for delay tolerant network
CN102006237A
Scheduling, including distributed scheduling, for a buffered crossbar switch
US20110170558A1
Crossbar switch and recursive scheduling
US20170353400A1
