Virtual Channel Balancing in Ring-Based Topologies
Dual datelines and queuing structures in ring-based networks address deadlock issues by balancing virtual channel resources, enhancing network performance and throughput.
Patent Information
- Application Number
- JP2023577729
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2022-10-14
- Filing Date
- 2023-06-08
- Publication Date
- 2024-10-28
- Estimated Expiration
- 2043-06-08
AI Technical Summary
Ring-based network topologies suffer from deadlocks due to unbalanced data packet distribution and increased virtual channel dependency chains, leading to performance degradation and throughput loss.
Implementing dual datelines in a ring-based network to shorten the dependency chain and balance virtual channel resources, using queuing structures to route data packets efficiently without deadlocks.
Ensures deadlock-free operation and improved network performance by balancing virtual channel load and reducing dependency chain length.
Smart Images

Figure 2024538908000001_ABST
Abstract
Description
[Technical field]
[0001] cross reference This application is a continuation of U.S. Patent Application No. 17 / 966,134, filed October 14, 2022, the disclosure of which is incorporated herein by reference. [Background technology]
[0002] background Ring-based network topologies, such as multidimensional torus and twisted torus networks, are commonly used for on-chip and off-chip networks. These network topologies can have deadlocks. Deadlocks occur when chains of packets are waiting for each other to progress through the network, forming a cycle that prevents any packets from progressing. Common techniques for ensuring deadlock-free network topologies include using dateline or red-rover algorithms, both of which rely on virtual channels. However, the use of virtual channels can degrade the performance of the network topology by causing an unbalanced distribution of data packets throughout the network. Furthermore, the use of datelines can lead to longer virtual channel dependency chains, which can lead to increased fairness and loss of throughput due to the increased number of nodes per dimension. Summary of the Invention
[0003] overview The present technology is directed to routing data packets through a ring-based network without deadlock. In one aspect, the present technology is directed to a method of routing a data packet in a ring network, the method including receiving, at a first queuing structure in a first node of the ring network, a data packet to be transmitted to a destination node. The method may also include the first node determining a number of hops that the data packet will traverse when transmitted from the first node of the ring network to the destination node. The method may also include the first node comparing the number of hops to a hop threshold to determine whether the number of hops is less than or equal to the hop threshold.
[0004] The method may also include the first node transmitting the data packet to a dimensional queuing structure for a first virtual channel in a second node of the ring network (i) if the number of hops is greater than a hop threshold, or (ii) to a dimensional queuing structure or a turn queuing structure for a second virtual channel in the second node if the number of hops is less than or equal to the hop threshold.
[0005] In some examples, the first queuing structure in the first node is a turn queuing structure.
[0006] In some examples, the data packet is sent to a turn queuing structure in the second node when the second node is the destination node.
[0007] In some examples, the network includes a first date line and a second date line, in some examples, the first date line and the second date line are each disposed between a pair of network nodes on the ring network, and the number of nodes disposed between the first date line and the second date line matches the number of nodes disposed between the second date line and the first date line.
[0008] In some examples, the first node may also determine whether the data packet will cross a dateline when transmitted from the first node to a destination node. In some examples, when it is determined that the data packet will cross a dateline, the data packet is transmitted to a dimensional queuing structure for the first virtual channel in the second node.
[0009] In some examples, the method further includes the step of the second node, after receiving the data packet, determining a second number of hops that the data packet will traverse when the data packet is transmitted from the second node of the ring network to the destination node; the second node comparing the number of hops with a hop threshold to determine whether the second number of hops is less than or equal to the hop threshold; and the second node transmitting the data packet to (i) a dimensional queuing structure for a first virtual channel in a third node of the ring network if the number of hops is greater than the hop threshold, or (ii) a dimensional queuing structure or a turn queuing structure for a second virtual channel in the third node if the number of hops is less than or equal to the hop threshold.
[0010] In some examples, the data packet may be sent to a turn queuing structure in a third node when the third node is the destination node.
[0011] In some examples, the network is a ring network, and the ring network is a single dimensional torus or twisted torus network.
[0012] In another aspect, the technology can include a ring network including a first node having a first queuing structure. The ring network can include a second node having a dimensional queuing structure for a first virtual channel and a dimensional queuing structure for a second virtual channel. The ring network can also include a destination node, the first node configured to receive, in the first queuing structure, a data packet that is to be transmitted to the destination node. The ring network can also include a destination node. The first node can be configured to determine a number of hops that the data packet will traverse when the data packet is transmitted from the first node of the ring network to the destination node, and compare the number of hops to a hop threshold to determine whether the number of hops is less than or equal to the hop threshold.
[0013] A first node of the ring network may be configured to transmit the data packet to (i) a dimensional queuing structure for a first virtual channel if the number of hops is greater than a hop threshold, or (ii) a dimensional queuing structure for a second virtual channel if the number of hops is less than or equal to the hop threshold.
[0014] In some examples, the first queuing structure in the first node of the ring network may be a turn queuing structure.
[0015] In some examples, the ring network can include a first date line and a second date line. In some examples, the first date line and the second date line are each disposed between a pair of network nodes on the ring network, and the number of nodes disposed between the first date line and the second date line matches the number of nodes disposed between the second date line and the first date line. In some examples, the ring network includes more than eight nodes.
[0016] In some examples, the first node may be further configured to determine whether the data packet will cross a dateline when transmitted from the first node to a destination node.
[0017] In some examples, the second node may be configured, after receiving the data packet, to determine a second number of hops that the data packet will traverse when the data packet is transmitted from the second node of the ring network to the destination node, and the second node may be configured to compare the number of hops with a hop threshold to determine whether the second number of hops is less than or equal to the hop threshold, and to transmit the data packet to (i) a dimensional queuing structure for a first virtual channel in a third node of the ring network if the number of hops is greater than the hop threshold, or (ii) a dimensional queuing structure or a turn queuing structure for a second virtual channel in the third node if the number of hops is less than or equal to the hop threshold.
[0018] In some examples, the data packet is sent to a turn queue structure in a third node when the third node is the destination node.
[0019] In some examples, the ring network is a torus ring or a twisted torus.
[0020] Other technical features will be readily apparent to one skilled in the art from the following figures, descriptions, and claims.
[0021] A more complete understanding of the present disclosure and many of the attendant advantages will be readily obtained by reference to the following detailed description, taken in conjunction with the accompanying drawings. [Brief description of the drawings]
[0022] [Figure 1] FIG. 1 illustrates an exemplary ring network, according to an aspect of the present disclosure. [Diagram 2]FIG. 1 illustrates an example ring network having virtual channels in accordance with an aspect of the present disclosure. [Diagram 3] FIG. 2 illustrates an example ring network having dual date lines, according to an aspect of the present disclosure. [Figure 4] FIG. 2 illustrates an example ring network in which nodes have a queuing structure, according to an aspect of the present disclosure. [Diagram 5] FIG. 2 illustrates a data packet traversing a ring network according to an aspect of the disclosure. [Figure 6] FIG. 2 illustrates a data packet traversing a ring network according to an aspect of the disclosure. [Figure 7] 1 is a flow diagram illustrating a method for transmitting data packets over a network according to an aspect of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0023] Detailed Description The techniques described herein are directed to improving the performance of ring-based network topologies while ensuring deadlock-free operation by shortening dependency chains and efficiently load-balancing the network's virtual channel (VC) resources. In this regard, dependency chains can be shortened by adding additional date lines such that the two date lines are separated by half the diameter of the ring. Improving the efficiency of the load balancing between VC resources can include switching a data packet to a second VC at any time as long as the data packet does not cross one of the date lines.
[0024] In a ring-based network topology, the nodes forming the network can be connected via physical links, such as wires, cables, traces, etc. Each physical link can carry data packets on any number of VCs. In this regard, each physical link between a pair of nodes can communicate data packets over one or more VCs. For example, and as shown in the ring network 100 of FIG. 1, each pair of nodes is connected via a physical link. For example, node 0 101 is connected to node 1 103 via physical link 102, node 1 103 is connected to node 2 105 via physical link 104, node 2 105 is connected to node 3 107 via physical link 106, node 3 107 is connected to node 4 109 via physical link 108, node 4 109 is connected to node 5 111 via physical link 110, and node 5 111 is connected to node 0 101 via physical link 112. Each physical link 110-112 of ring network 100 includes two virtual channels VC0 and VC1, as indicated by callouts 122 and 128, which show VC0 (solid lines) and VC1 (dashed lines) for connections 102 and 108, respectively. For simplicity, FIG. 1 shows VCs only for connections 102 and 108, but it should be understood that other connections, including connections 104, 106, 110, and 112, also include virtual channels VC0 and VC1. Although ring network 100 includes only six nodes (0-5) and two virtual channels (VC0 and VC1), a ring network may include any number of nodes and any number of virtual channels.
[0025] A node can include any type of computing resource that can communicate with other computing resources. For example, a node can include a computer, a server, a mobile device, a processor, a core, a router, a memory, a card (e.g., an accelerator card), a FIFO, or other such queue, etc. In some examples, a node can include a collection of computing resources, such as a processor with a router.
[0026] The selection of a VC over which to transmit a data packet may be static. In static routing, the route may be predetermined and fixed. Mechanically, the static route may be stored in a table, such as in a RAM memory in a node. The destination of the packet may be used to index the table to look up the route to the destination.
[0027] Dateline In a ring-based network topology, dateline routing is used to designate one physical link in each direction of the ring as the dateline. In this respect, the physical link can be a bidirectional link such that both directions in the ring can be handled separately. The queuing structure is typically programmed to transmit each data packet on a first channel. As the data packet crosses the dateline, it is moved to a second virtual channel until it reaches its respective destination node.
[0028] For example, as shown in ring network 200 of FIG. 2, which can also be compared to ring network 100, a date line 220 is disposed between nodes 211 and 201. Ring network 200 includes six nodes 201-211 and physical links between each adjacent node, including physical links 202, 204, 206, 208, 210, and 212. Each physical link includes two virtual channels VC0 (shown as a solid line) and VC1 (shown as a dashed line), except for physical link 212, which can be considered as a transition link that transfers data packets between VC0 and VC1. To illustrate the transition from VC0 to VC1, FIG. 2 shows physical link 212 between node 5 211 and node 0 201 as a single line, which is solid on the left side of date line 220 and dashed on the right side of date line 220.
[0029] When a data packet traverses network 200, the routing algorithm first routes the data packet on VC0. However, when the data packet crosses date line 220, the routing algorithm may switch the data packet to VC1 and then route the data packet on VC1 to its destination node. When most data packets reach their respective destination nodes before crossing date line 220, a spiral-like chain of acyclic VC dependencies is created. Such a chain of acyclic dependencies is sufficient to ensure that ring network 200 is deadlock-free. However, date line routing creates a chain of VC dependencies that is longer than the ring network itself.
[0030] Although no individual packet travels along the entire chain created by VC0 and VC1, a sequence of dependent packets may become blocked along the chain. To allow blocked data packets to move forward, the queuing structure of network 200 may implement an arbitration algorithm, such as a locally fair or globally fair arbitration algorithm.
[0031] To reduce the length of the dependency chain, a second dateline can be introduced. The two datelines, referred to herein as "dual datelines," can be separated by half the diameter of the ring network. For example, as shown in ring network 300 of FIG. 3, which can also be compared to ring networks 100 and 200, a first dateline 320 is placed after the third node (305) and a second dateline 322 is placed after node 5 311 of the six-node ring network 300. In this regard, the first dateline 320 is placed between node 2 305 and node 3 307, and the second dateline 322 is placed between node 5 311 and node 0 301. Thus, there are three nodes on each side of the dateline, with nodes 301, 303, and 305 being located between the second dateline 322 and the first dateline 320, and nodes 307, 309, and 311 being located between the first dateline 320 and the second dateline 322.
[0032] Similar to ring network 200, ring network 300 includes six nodes 301-311 and physical links between each adjacent node, including physical links 302, 304, 306, 308, 310, and 312. Each physical link, except transition links 312 and 306, includes two virtual channels VC0 (shown in solid lines) and VC1 (shown in dashed lines).
[0033] When a data packet traverses the network 300, the routing algorithm may initially route the data packet on VC0. However, when the data packet crosses the first date line 320 or the second date line 322, the routing algorithm may switch the routing of the data packet to VC1. The routing algorithm may then route the data packet on VC1 to its destination node. The data packet may traverse up to two physical links on VC0 before being transitioned to VC1. For example, a data packet may be transmitted from node 0 301 to node 5 311. In this example, the data packet may traverse physical links 302 and 304 on VC0, but then be transitioned to VC1 when it crosses the first date line 320 at physical link 306. The data packet may then traverse physical links 308 and 310 on VC1 before reaching the destination node 5 311. In contrast, and referring to Figure 2, a data packet may traverse five physical links before transitioning from VC0 to VC1. In this regard, a data packet may be transmitted on VC0 across all physical links from node 0 201 to node 5 211, including physical links 202, 204, 206, 208, and 210. Although Figure 3 shows only two date lines in ring network 300, a first date line 320 and a second date line 322, a ring network may include any number of date lines.
[0034] Balancing Better balancing of data packet traffic on the virtual channels can be achieved by routing data packets that do not cross a dateline to a second virtual channel VC1. In this regard, a data packet that does not cross a virtual channel can transition from VC0 to VC1 when the data packet is N hops from its destination node. The value of N can be based on the size of the ring network (e.g., the number of nodes in the ring network) and the expected packet traffic pattern.
[0035] The utilization of balanced VCs can be determined based on expected traffic patterns. In this regard, different types of traffic patterns can use each VC differently. For example, a network with an all-to-all traffic pattern may have different balancing needs than a network with an all-to-one or other such traffic pattern. In the example used herein, a global all-to-all traffic pattern is discussed. In a network implementing a global all-to-all traffic pattern, each network node can receive data packets from and send data packets to all other network nodes.
[0036] Queuing structures, including turn queues and dimension queues, can route data packets through the network. In this regard, the network can use their queuing structures to direct data packets as they traverse the network. Turn queues can be used to direct data packets as they turn from one dimension of a torus network to the next. For example, turn queues can be used to direct data packets received by a node on a first dimension to another dimension. Dimension queues can direct data packets to be continuous along a single dimension of the network and on a virtual channel. For example, a dimension queue can direct data packets from one node to another along the same dimension and a common virtual channel, such as VC0 or VC1. The queuing structures can be part of a node or a component connected to a node. For example, the queuing structures can be part of a router or other network interface incorporated in the node.
[0037] 4 illustrates the queuing structures within nodes 401, 403, 405, and 407 of network 400. As illustrated, each node includes a queuing structure. In this regard, node 401 includes turn queues 411, 431 and dimension queues 421, node 403 includes turn queues 413, 433 and dimension queues 423, node 405 includes turn queues 415, 435 and dimension queues 425, and node 407 includes turn queues 417, 437 and dimension queues 427. Turn queues 431, 433, 435, 437 and 411, 413, 415, 417 can direct data into and out of each dimension of the torus network.
[0038] 4, an exemplary data packet's entry, progression through, and exit from network 400 are indicated by arrows 441, 443, 445, 447, and 449. In this regard, arrow 441 indicates a data packet entering node 401 via turn queue 441. The data packet is transmitted from node 401 to dimension queue 423 of node 403, as indicated by arrow 443. The data packet is transmitted from node 403 to dimension queue 425 of node 405, as indicated by line 445. The data packet is then transmitted to turn queue 417 of node 407 and then transmitted to exit therefrom, as indicated by arrow 449.
[0039] The data packet in the example shown in Figure 4 makes three "hops." A hop is a transmission from one node to another. In Figure 4, the three hops are from node 401 to node 403, from node 403 to node 405, and from node 405 to node 407. In an example where the data packet is limited to zero or one hops along the network, the data packet is limited to using turn queues. At this point, the data packet will not use any of the dimension queues since it will be either the exit dimension or the entrance dimension of the torus ring network using turn queues.
[0040] With reference to the network 500 of FIG. 5, the dimension queues of each node 501, 503, 505, 507, and 509 may be assigned a virtual channel for routing along the dimension of the ring network. In this regard, the dimension queues 521, 523, 525, 527, and 529 of the nodes 501-509, respectively, are assigned VC1. The dimension queues 541, 543, 545, 547, and 549 of the nodes 501-509, respectively, are assigned VC0. Data packets traveling between nodes on the same virtual channel, e.g., VC0 or VC1, will pass between the dimension queues that are assigned the same virtual channel. For example, a data packet passing between nodes 503 and 505 on virtual VC0 will pass from dimension queue 543 to dimension queue 545. Similarly, a data packet passing between nodes 503 and 505 on virtual channel VC1 will pass from dimension queue 523 to dimension queue 525.
[0041] For data packets that travel h ≥ 2 hops, the data packets use h-1 dimensional queues along their route. When all-to-all traffic is symmetric, the total usage of dimensional queues can be determined by the sum of routes that are at least 2 hops, Total dimension queue = sum_{h>1}(h-1)*t(h) where h is the number of hops and t(h) is the rate of traffic that travels h hops along the dimensional queue. The unit of this sum is the average number of data packets that enter the dimensional queue at each node in the ring network when a single packet is injected at that node.
[0042] For all-to-all traffic in a torus ring network with an even number of nodes k along its dimension, {1 / k if 0≦h <k / 2,else t(h)={1 / 2k if h=k / 2,else {0 It is.
[0043] To load balance between the two VCs VC0 and VC1 dedicated to the dimensional queues, the routing algorithm can define a threshold T. Any data packet that has T or fewer hops remaining in the route and does not cross a dateline may be placed on VC1. Otherwise, the data packet may use VC0.
[0044] 5 illustrates the three-hop route of data packet 1, indicated by the arrow labeled DP1, through network 500. In this regard, data packet 1 enters node 501 through turn queue 531. Data packet 1 is then sent by turn queue 531 to node 503 through dimension queue 543 on VC0. Data packet 1 is sent from dimension queue 543 to dimension queue 525 of node 505 on VC1. Data packet 1 is sent from dimension queue 525 to turn queue 517 of node 507, after which it is removed from network 500.
[0045] 5 further illustrates the two-hop route of data packet 2, indicated by the arrow labeled DP2, through network 500. In this regard, the data packet enters network 500 from turn queue 535 through node 505. Data packet 2 is sent from turn queue 535 to dimension queue 527 at node 507 onto VC1. The data packet is sent from dimension queue 527 to turn queue 529 at node 509, after which it is removed from network 500.
[0046] The routing of data packet 1 and data packet 2 is based on the routing algorithm of network 500 with a threshold of T=1. Thus, data packet 1 is initially routed on VC0 at node 503 because data packet 1 has 2 hops remaining. Only when data packet 1 reaches node 505, i.e., when data packet 1 has 1 hop remaining, which is equal to the threshold of 1, is it routed on VC1. If the threshold was 2 hops, data packet 1 would have been routed on VC1 at node 503.
[0047] For the two-hop route of data packet 1, the data packet is immediately routed onto VC1 since there is one hop remaining when data packet 2 reaches node 507, which is equal to the threshold of 1.
[0048] Since network 500 is not shown to include date lines, date lines are not considered in the routing of data packets throughout network 500. However, if date lines were present, data packets 1 and 2 would only switch to VC1 at the threshold if the data packets were not scheduled to cross the date lines at a later time. The number of date lines that a packet can cross can be determined by performing a table lookup. In this regard, the number of date lines along the route to the destination node can be stored in a RAM memory table route. Thus, the number of date lines traversed by a data packet to the destination node can be determined by indexing the table with the destination of the data packet and looking up the number of date lines along the route to the destination as stored in the table.
[0049] To calculate the threshold for load balancing between dimensions VC0 and VC1, the total load on the dimension queue can be divided into the load brought by data packets with h hops remaining, which is r(h)=sum_{i>h}t(i) It is defined as follows.
[0050] For example, every packet that travels two or more hops eventually has one hop remaining. Therefore, we can determine the sum of the traffic fractions for each of those hops (i.e., r(1)=t(1)+t(2)+···) to determine the utilization of the dimensional queue contributed by packets with one hop remaining. Since every packet has some number of hops remaining, the sum of r(h) recovers the total load as calculated above.
[0051] Total=sum_{h>0}r(h) T can then be selected to minimize the imbalance between the two VCs.
[0052] minimize|sum_{h>T}r(h)-sum_{0 <h≦T}r(h)| Exemplary values of threshold T were calculated using the above formula for the various size rings in Table 1 below.
[0053] [Table 1]
[0054] Based on experiments, there is a linear relationship between the ring size and the calculated threshold (T). Therefore, choosing threshold (T) = round(0.145 k-0.3) can result in rings where k is a multiple of 4 and the network contains up to 64 nodes.
[0055] The concepts from the previous paragraph can be extended to twisted tori with appropriate definitions for the function t(h). Exemplary threshold T values for twisted torus networks were calculated using the formulas in Table 2 below for rings of various sizes.
[0056] [Table 2]
[0057] Similar to the torus ring network, the twisted torus network also has a linear relationship between the ring size and the calculated threshold (T). In this regard, the threshold (T) for values of k≦64 can be determined using one of the following equations:
[0058] (1) 2k×k×k: threshold = round(0.175 k-0.15) (2) 2k×2k×k: threshold = round(0.222 k-0.1) In some examples, date lines can be removed from the routing algorithm of ring networks. By removing date lines, improved throughput through the network can be realized, especially as direct memory access (DMA) sizes increase. Certain conditions can be met before date lines are removed. These conditions include: (1) the network contains eight or fewer nodes in the ring (which corresponds to k≦4 for twisted torus networks); (2) VC usage is balanced using the balancing techniques described herein; and (3) when there are eight nodes in the ring (which also corresponds to a twisted torus with k=4), the nodes alternate between the positive and negative directions to break ties for routes that are exactly halfway along the ring.
[0059] In networks with more than eight nodes, networks with VC balancing disabled, or networks where tie breaking does not alternate, the VC acyclic dependencies are lost and VC0-to-VC0 dependencies appear between all nodes, necessitating datelines (or other approaches) to break the VC0 cycles.
[0060] In some embodiments, a node may include a queuing structure having an input queue and an output queue. In this respect, unlike the architectures with input or output queues as described in Figures 4 and 5, a data packet travels through an input queue and an output queue at each hop. The paired queues may be divided into their associated dimensions. For example, as shown in Figure 6, within the integrated input-output queuing architecture of network 600, a node may include turns from a previous dimension, such as turns 631, 633, 635 of nodes 601, 603, and 605, and turns to the next dimension, such as turns 611, 613, and 615 of nodes 601, 603, and 605. Additionally, a node may include dimensional queuing structures associated with virtual channels, such as queuing structures 641, 643, and 645 associated with VC0 of nodes 601, 603, and 605, respectively. Additionally, nodes 601, 603, and 605 include queuing structures 621, 623, and 625, respectively, associated with VC1.
[0061] As further shown in FIG. 6, each queuing structure can be divided into an input queue, identified by "(i)", and an output queue, identified by "(o)". For example, dimensional queuing structure 621 includes an input queue, VC1(i), and an output queue, VC1(o). During the transmission of a data packet, the data packet passes through both the input queue and the output queue. For example, data packet 1, labeled DP1 in FIG. 6, passes through a queuing structure of turn 631, which includes an input queue, labeled T(i), and an output queue, labeled T(o).
[0062] As also shown in Figure 6, a transition between VCs occurs when a packet moves from an input queue to an output queue. At this point, DP1 can be passed from VC0(i) (input queue) to VC1(o) (output queue) at node 603. VC1(o) can then pass DP1 to input queue VC1(i) of node 605. Within node 605, the data packet can be passed to T(o).
[0063] FIG. 7 illustrates a flow diagram 700 for routing a data packet in a network. At block 702, a data packet is received at a first queuing structure in a first node of a ring network. The data packet is to be transmitted over the network to a destination node. At block 704, the first node determines a number of hops that the data packet will traverse when transmitted from the first node of the ring network to the destination node. At block 706, the first node compares the number of hops to a hop threshold to determine whether the number of hops is less than or equal to the hop threshold. At block 708, the first node transmits the data packet to (i) a dimensional queue structure of a first virtual channel in a second node of the ring network if the number of hops is greater than the hop threshold, or (ii) a dimensional queue structure or turn queuing structure for a second virtual channel in the second node if the number of hops is less than or equal to the hop threshold.
[0064] Although the above examples show ring networks such as ring networks 100, 200, 300, 400, 500, and 600, the techniques described herein may be applied to other ring-based network topologies, such as multiple ring-based topologies (e.g., “torus” and “twisted torus” topologies).
[0065] Unless otherwise expressly stated, the foregoing alternative examples are not mutually exclusive and can be implemented in various combinations to achieve unique advantages. As these and other variations and combinations of the features discussed above can be utilized without departing from the subject matter defined in the claims, the foregoing description of the embodiments should be construed as illustrative rather than limiting the subject matter defined in the claims. Furthermore, the provision of examples described herein, as well as clauses expressed as "such as," "including," and the like, should not be construed as limiting the subject matter of the claims to any particular examples, but rather, the examples are intended to illustrate only one of many possible embodiments. Furthermore, the same reference numbers in different drawings may identify the same or similar elements.
Claims
1. 1. A method for routing data packets in a ring network, comprising: receiving, at a first queuing structure in a first node of the ring network, a data packet to be transmitted to a destination node; the first node determining a number of hops that the data packet will traverse when transmitted from the first node to the destination node of the ring network; the first node comparing the number of hops to a hop threshold to determine whether the number of hops is less than or equal to the hop threshold; The first node, (i) to a dimensional queuing structure for a first virtual channel in a second node of the ring network if the number of hops is greater than the hop threshold; or (ii) if the number of hops is less than or equal to the hop threshold, then in a dimension queuing structure or a turn queuing structure for a second virtual channel in the second node: and transmitting the data packet.
2. The method of claim 1 , wherein the first queuing structure in the first node is a turn queuing structure.
3. The method of claim 1 , wherein the data packet is transmitted to the turn queuing structure in the second node when the second node is the destination node.
4. The method of claim 1 , wherein the network includes a first dateline and a second dateline.
5. 5. The method of claim 4, wherein the first date line and the second date line are each disposed between a pair of network nodes on the ring network, and the number of nodes disposed between the first date line and the second date line matches the number of nodes disposed between the second date line and the first date line.
6. The method of claim 1 , further comprising the step of determining whether the data packet will cross a dateline when transmitted from the first node to the destination node.
7. 7. The method of claim 6, wherein when it is determined that the data packet will cross the dateline, the data packet is sent to the dimensional queuing structure for the first virtual channel in the second node.
8. determining, after receiving the data packet, a second number of hops that the data packet will traverse when transmitted from the second node to the destination node of the ring network; the second node comparing the number of hops to a hop threshold to determine whether the second number of hops is less than or equal to the hop threshold; The second node: (i) to a dimensional queuing structure for the first virtual channel in a third node of the ring network if the number of hops is greater than the hop threshold; or (ii) if the number of hops is less than or equal to the hop threshold, a dimension queuing structure or a turn queuing structure for a second virtual channel in the third node: The method of claim 6 , further comprising the step of: transmitting the data packet.
9. The method of claim 1 , wherein the data packet is transmitted to the turn queuing structure in the third node when the third node is the destination node.
10. The method of claim 1 , wherein the network is a ring network comprising a torus ring or a twisted torus.
11. a first node comprising a first queuing structure; a second node comprising a dimensional queuing structure for the first virtual channel and a dimensional queuing structure for the second virtual channel; a destination node, the first node comprising: receiving, at the first queuing structure, a data packet to be transmitted to the destination node; determining a number of hops that the data packet will traverse when transmitted from the first node of the ring network to the destination node; comparing the number of hops to a hop threshold to determine whether the number of hops is less than or equal to the hop threshold; (i) to the dimensional queuing structure for the first virtual channel if the number of hops is greater than the hop threshold; or (ii) if the number of hops is less than or equal to the hop threshold, then adding to the dimensional queuing structure for the second virtual channel: A ring network configured to transmit the data packets.
12. 12. The ring network of claim 11, wherein the first queuing structure in the first node is a turn queuing structure.
13. The ring network of claim 11 , wherein the network includes a first dateline and a second dateline.
14. 14. The ring network of claim 13, wherein the first date line and the second date line are each disposed between a pair of network nodes on the ring network, and the number of nodes disposed between the first date line and the second date line matches the number of nodes disposed between the second date line and the first date line.
15. The ring network of claim 14 , wherein the ring network includes more than eight nodes.
16. The first node further comprises:
12. The ring network of claim 11 configured to determine whether the data packet will cross a date line when transmitted from the first node to the destination node.
17. 17. The ring network of claim 16, wherein when it is determined that the data packet will cross the dateline, the data packet is sent to the dimensional queuing structure for the first virtual channel.
18. The second node: determining, after receiving the data packet, a second number of hops that the data packet will traverse when the data packet is transmitted from the second node of the ring network to the destination node; the second node comparing the number of hops to a hop threshold to determine whether the second number of hops is less than or equal to the hop threshold; (i) to a dimensional queuing structure for the first virtual channel in a third node of the ring network if the number of hops is greater than the hop threshold; or (ii) if the number of hops is less than or equal to the hop threshold, then in a dimension queuing structure or a turn queuing structure for the second virtual channel in the third node:
17. The ring network of claim 16 configured to transmit the data packets.
19. 20. The ring network of claim 18, wherein the data packet is transmitted to the turn queue structure in the third node when the third node is the destination node.
20. The ring network of claim 11, wherein the ring network is a single dimensional torus ring or a twisted torus network.
Citation Information
Patent Citations
Adaptive Routing Mechanism for Torus Interconnection Networks
JP1998506736A
Destination-Based Virtual Channel Assignment in On-Chip Ring Networks
US20120195314A1
