Hash bit efficiency for network-wide forwarding scheme

By using hash headers and host-generated orthogonal bits in high-speed data networks to coordinate the egress port selection of each routing layer, the problem of business flow polarization is solved and the uniform distribution and efficient forwarding of business flows in the network are achieved.

CN118540269APending Publication Date: 2024-08-23MELLANOX TECHNOLOGIES LTD(IL)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410198987.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-02-23
Filing Date
2024-02-22
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

In high-speed data networks, service flows are polarized due to the reuse of hash functions between switches or routers, resulting in the selection of the same egress port, resulting in uneven distribution of service flows.

Method used

By introducing a hash header in the data network and using the hash function from the host to generate a set of orthogonal bits, the egress port selection is coordinated between each routing layer to avoid the reuse of individual internal hash functions and achieve unified egress port selection and Traffic flows across available egress ports.

Benefits of technology

It effectively solves the problem of egress port polarization between routing layers and achieves uniform distribution of business flows and an efficient network forwarding solution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118540269A
    Figure CN118540269A
Patent Text Reader

Abstract

The invention discloses hash bit efficiency for a network-wide forwarding scheme, and specifically discloses systems and methods herein for associating one or more processing units with at least one switch or router of a different routing layer, and enabling the at least one switch or router to receive communications from a host, wherein the communication comprises at least a data packet and a hash header wherein the data packet is for transmission to other hosts through at least one of the available egress ports of the at least one switch or router, and wherein at least one of the available egress ports is determined based in part on the hash in the hash header.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] At least one embodiment relates to communications in a high-speed data network.For example, a switch can uniformly determine an egress port for onward transmission of a data packet from a host based on a hash in a communication from the host. Background Art

[0002] High-speed data networks can network multiple processing units of different hosts together. The processing units can be graphics processing units (GPUs) in different hosts, which can be networked together via high-speed data networks, thereby providing higher bandwidth and lower latency communications between different hosts. The processing units can directly use such data networks instead of passing through central processing units (CPUs) to transmit and share data, which can improve the overall performance of systems with such hosts and in such data networks. Further, the communication in these data networks is carried out using a series of interconnected switches or routers, which are responsible for routing data packets between hosts of the network. The switches or routers use the internal hash function of each routing layer to determine the egress port of the packet communication from the host. Since one or more switches or routers in one or more routing layers determine to use the same hash function repeatedly between them or within themselves, polarization of traffic flow can occur, which causes one or more switches or routers to determine or select the same egress port for different business forward traffic flows. BRIEF DESCRIPTION OF THE DRAWINGS

[0003] Figure 1 A system subject to egress port determination in a data network according to at least one embodiment is shown;

[0004] Figure 2 Various aspects of a system for egress port determination that efficiently uses hash bits for a network-wide forwarding scheme are illustrated in accordance with at least one embodiment;

[0005] Figure 3 Further aspects of a system including a centralized controller for egress port determination according to at least one embodiment are shown;

[0006] Figure 4 Still further aspects of a system for egress port determination using hashed headers according to at least one embodiment are shown;

[0007] Figure 5 A process flow for egress port determination that efficiently uses hash bits for a network-wide forwarding scheme is shown in accordance with at least one embodiment;

[0008] Figure 6A process flow for using an egress port for communicating herein is shown according to at least one embodiment; and

[0009] Figure 7 A process flow for host supported egress port determination is shown in accordance with at least one embodiment. DETAILED DESCRIPTION

[0010] In at least one embodiment, Figure 1 A system 100 is shown that is subject to egress port determination in a data network, as described in detail herein. The system 100 includes one or more high-speed (HS) data networks 102, 106, which may be peer-to-peer networks. The HS data networks 102, 106 can support egress port determination that efficiently uses hash bits for a full network forwarding scheme. For example, the HS data networks 102, 106 support the use of a hash header transmitted from a supported HS host 120, 124 to a HS switch or router to enable the HS switch or router to select or determine from its available egress port for onward transmission of at least one data packet transmitted with the hash header.

[0011] In at least one embodiment, the systems and methods herein can provide efficient hashing for unified egress port determination in HS switches 116 or routers 114 of HS data networks 102, 106 using hash headers. The hashing is performed using a hash function in the HS hosts 120, 124, and the hash is provided in a hash header of a communication sent to at least one HS switch 116 or router 114 in one of the different routing layers. For example, a first routing layer can be received when the communication leaves the HS host 120 in the HS network 102, and can be received by the HS switch or router therein. Further, the communication with the hash header can be received in subsequent routing layers so that each HS switch or router in each routing layer can select or determine from its available egress ports for onward transmission of the data packet from the HS host 120. The communication is intended for the receiving host. In at least one embodiment, the hash includes a portion pointing to different switches of different routing layers between two hosts. In at least one embodiment, as the last routing layer before exiting the HS data network 102, 106, it can support transmission of communications to one of the provided interconnect devices (such as from the HS gateway 108 to the Ethernet gateway 110 or Ethernet switch 112), and thereby to a non-HS host, such as the Ethernet host 122 of the Ethernet network 104.

[0012] In at least one embodiment, the HS switch 116 or router 114 in each routing layer can determine or select an egress port therein for routing communications based on a hash from a sending HS host 120, 124. For example, at least a portion of the hash may correspond to certain of the available egress ports of the HS switch 116 or router 114 of the first routing layer, and other portions may be used to determine or select other of the other egress ports on other HS switches or routers of other routing layers. This is an iterative process performed in each routing layer between the sending HS host and the receiving or destination HS host. This method removes the HS switch 116 or router 114 from performing its own hashing, which otherwise may cause each switch or multiple switches to repeatedly select the same egress port, which then causes uneven distribution of traffic through such independent but repeated selection of the same egress port of at least one HS switch 116 or router 114.

[0013] Thus, the systems and methods herein provide for efficient hashing or use of hashes (or hash bits) for determining a unified egress port in a HS switch 116 or router 114 of a network that supports hash headers, such as the HS networks 102, 106. A network that supports hash headers supports transmission of hash headers in a portion of a communication that may also include data packets for a receiving or destination HS host. In one example, a HS host 120; 124 may transmit its communication content to the host (such as by jetting). A first HS switch 116 or router 114 in the path of such communication may receive the communication content. The communication content may include at least a data packet and a hash header.

[0014] In at least one embodiment, the data packet is for transmission to at least one receiving or destination HS host through at least one of the available egress ports of the first HS switch 116 or router 114. The first HS switch 116 or router 114 is capable of determining its at least one available egress port for transmission based in part on the hash in the hash header. In at least one embodiment, the hash is generated by a hash function in the sending HS host, wherein the hash function is optimized to generate a set of orthogonal bits. Further, different bits in the hash may specify or belong to different routing layers, wherein each of the different routing layers starts from the available egress port of the first HS switch 116 or router 114 to a different HS switch closest to the receiving or destination HS host. As a result, routing decisions in one or more different routing layers are uncorrelated and polarization in traffic flows is avoided.

[0015] In at least one embodiment, a centralized controller that may function in the HS switch 116, HS router 114, or HS host 120, 124 may define hash usage for the HS switch 116 or HS router 114 based on network information (e.g., available egress ports) that it has obtained from the HS devices 114, 116, 120, 124 through periodic scans in the HS network 102. Thus, the systems and methods herein may address the polarization problem of HS switches in different routing layers, which is caused by the same egress port being determined for the transmission of different data packets using individual internal hashing methods performed in the HS switches. For example, the individual internal hashing methods involve using different hash functions applied to each routing layer, but because there is no coordination or correlation between different switches to determine the different hash functions, the same hash function may be used to determine the egress ports in HS switches or routers in different routing layers. The same hash function may repeatedly determine the same egress port, thereby causing polarization of ports in one or more routing layers. By using the hash provided in the hash header from the host, polarization is resolved and uniform egress port selection and traffic flow across available egress ports is achieved.

[0016] In a specific example of the polarization problem, the hash calculated in each HS switch is based in part on the address associated with the communication forwarding parameters sent from at least one HS switch in the routing layer to another HS switch until it reaches the receiving HS host. Because the hash function is applied independently in each HS switch in each layer, a non-uniform distribution of traffic through certain ports of different HS switches may occur, reflecting the polarization. For example, polarization of the egress ports of the HS switches may occur because the various HS switches may select or determine the same hash function used in different routing layers. The methods and systems herein eliminate the requirement for the HS switch to determine the hash method and eliminate the application of the same hash function in each routing layer by requiring the HS switch or router to instead rely on the hash provided by the communication from the host for the receiving or destination host.

[0017] exist Figure 1 In the embodiment of the present invention, multiple HS hosts 120, 124 of different HS networks 102, 106 can be connected to each other using HS switches 116 and HS routers 114; however, connection between HS networks 102; 106 and Ethernet 104 using interconnect devices 112 can also be supported. For Ethernet 104, Ethernet switches 112 and Ethernet gateways 110 can coordinate connectivity within Ethernet 104 and can coordinate connectivity between different Ethernet hosts 122 of Ethernet 104 and other networks (such as HS networks 102; 106) using Ethernet interconnects 128. Differently, in HS networks 102; 106, each such network relies on a centralized controller (CC) (such as at least about Figure 2-4 shown and discussed) and associated agents (such as Figure 3 , Figure 4 124) to coordinate network connectivity between different HS hosts 120; 124 communicating using HS links 126. Further, CCs may be implemented on HS switches 116 or on at least one of HS hosts 120; 124, wherein at least one CC is provided in each HS network 102; 106.

[0018] In one example, because the HS network 102 includes CCs and proxies, such as with respect to at least Figure 2-4 As shown and / or discussed, these aspects are used to monitor the link status of the HS ports within the HS hosts 120, 124. Further, the CC 206 (such as in Figure 2-4 ) for use via a proxy 302 (such as in Figure 3 , Figure 4 The CC may configure the internal forwarding table of the HS switch 116 (in the example of FIG. 1 ). When establishing which egress ports are available for determination and selection by the switch, the CC is able to collect such information, as it must be notified by all connected devices, and enables it to configure a forwarding table indicating the available egress ports for one or more HS switches 116 or routers 114. The CC may provide the configuration information to the one or more HS switches 116 or routers 114. The configuration information may enable each of the one or more HS switches 116 or routers 114 to use the hash in the hash header to determine or select at least one of its available egress ports identified by the CC to forward data packets from each of the one or more HS switches 116 or routers 114. The HS switches may be connected to the same HS network (such as a HS switch 116 or router 114). Figure 2 204 in each subnetwork 202; 204 in the HS router to route packets from one HS link to another HS link. Figure 2 Routing packets between subnetworks 1, 2 202, 204 in.

[0019] Figure 2Various aspects 200 of a system for egress port determination according to at least one embodiment are shown, the egress port determination efficiently using hash bits for a full network forwarding scheme. In at least one embodiment, the systems and methods herein allow for determining the egress port to be used for forward transmission based in part on a hash provided from a HS host rather than a hash determined within a HS switch or router. Since this process can be repeated on HS switches or routers in different routing layers using the same hash, a full network forwarding scheme is achieved. In addition, each of the different routing layers can use the same hash bits. Host and host are used interchangeably to describe a HS or Ethernet host, unless otherwise explicitly stated, using the preceding text HS or Ethernet or aspects related to HS versus aspects related to Ethernet, wherein a HS host is exclusively within a HS network and an Ethernet host is exclusively within an Ethernet network. Further, such exclusivity does not limit HS to Ethernet interconnects as described throughout this article.

[0020] In at least one embodiment, Figure 2 A system for determining an egress port in a data network is shown, the data network including an HS switch 116 or HS router 114 for receiving communications from a host 120; 124, such as using an HS link 208 within a sub-network or using an HS link 126 between sub-networks. The communication includes at least a data packet and a hash header. Further, a centralized controller 206 is available in each sub-network 202, 204 to provide configuration information to its respective HS switch 116 or HS router 114. The centralized controller (CC) 206 can be a combination of hardware and software, or can be a firmware feature implemented on one HS switch N (or AN) 116 in the corresponding sub-network or one HS switch N (or AN) 116 of the host HS Host N (or AN) 120; 124 of the corresponding sub-network. The configuration information enables the corresponding HS switch 116 or HS router 114 to determine or select at least one available egress port using the hash in the hash header for transmitting the data packet from the HS switch 116 or HS router 114 onward to at least one receiving host or to another router layer.

[0021] In at least one embodiment, Figure 3Further aspects 300 of a system including a CC 206 for determining an egress port are shown. The CC 206 can maintain subnet information 206A associated with its corresponding subnet, such as information about each port on each device within the subnet. This information can be obtained by a scan periodically performed by the centralized controller 206 on all of its connected devices. In one example, a CC 206 in an HS subnet is a device that manages communications between multiple HS hosts (such as GPUs or CPUs) in a computer system by acting as a coordinating central point for data transfer between the hosts. The CC 206 does this by configuring the HS switch 116 or HS router 114 to provide an HS link 208 of the HS fabric 118.

[0022] In at least one embodiment, the sub-network information 206A may include information about all HS switches 116 or HS routers 114 in its sub-network. This information may include their respective connection status, available bandwidth, available egress ports (such as Figure 4 The information may also be related to the data transmitted in the session, including forwarding rules (e.g., Figure 4 418 in the reference numeral 418), the size of the data, the source device and the destination device (e.g., identified by the host port 424), and the priority of the data transmission. In at least one embodiment, the information in CC 206 can also include error detection and correction aspects to manage and optimize HS link 208.

[0023] In at least one embodiment, Figure 3 As shown, CC 206 receives its information via configuration information 308, and these requests and responses can pass through the same HS link 208 but are not part of the traffic flow 304. Configuration information 308 is between CC 206 and all HS devices in the subnet (including HS hosts 120, 312 and HS switches 116). Each HS device can have an agent 302, 310, which is a software component responsible for managing the communication between these HS devices, their internal operating systems and the central controller 206. Agents 302, 310 can be implemented as part of the device driver in each HS device and can interact with CC206 to control the traffic flow 304 between HS devices. However, the traffic flow 304 does not need to flow to CC 206 or at least be ignored by CC206. Configuration information 308 can pass through the same connected device port as the traffic flow 304, however, agents 302, 310 can recognize and respond to configuration information 308 while ignoring the traffic flow 304.

[0024] In at least one embodiment, the agent 302, 310 in each HS device can be responsible for managing the communication between the HS device and the CC 206. However, the agents 302, 310 in each HS device may also be able to communicate between themselves in the subnet. In at least one embodiment, there can be an agent 302, 310 in each HS device, but at least in the case of the host 120, 312, there can be an agent 310 to transmit configuration information to the CC 206, such as informing the host of the available ports P1-N 314A, PN1-PNN 314B.

[0025] The ports 314A, 314B of the respective hosts 120; 312 may also be associated with respective processing units 320 (e.g., GPUs therein). This allows the respective processing units 320 to form a peer-to-peer network between the hosts in the subnets. There may be at least one agent 302 for each HS switch 116. The HS switch 116 may include its respective egress ports EP1-N 314C, which represent 64 ports. However, more or fewer ports may also be used in such HS switches. The HS router may be able to perform similarly with respect to the HS switch, but may also be able to perform communications between subnets. In at least one embodiment, the agents 302, 310 may also be responsible for implementing features other than flow control and data prioritization, such as error detection and correction. In at least one embodiment, the HS switch 116 may include corresponding ingress ports IP1-N 316, wherein the forwarding rules transmitted from the CC 206 to the HS switch 116 may include an indication of which hash bits to use to select an egress port 314C based in part on the ingress port 316 that receives packets to be forwarded to the receiving host 312 via one or more layers.

[0026] In at least one embodiment, Figure 4 Still further aspects 400 of a system for egress port determination using a hash header 416 are shown. A switch 116 or router 114 may receive communications, such as traffic 440, from a host 120. The communications may be provided by one or more ports P1, P2 314A of the host 120. The one or more ports P1, P2 314A may be associated with respective identifications ID A, B 414 and the agent 310 of its host. The communications include at least a data packet 418 and a hash header 416. The data packet 418 is for transmission to at least one receiving host 312 as forward traffic 440 via at least one of the available egress ports 314C. Further, at least one of the available egress ports 314C is determined based in part on the hash in the hash header 416.

[0027] In at least one embodiment, the hash in the hash header 416 is determined on the host 120 using a hash function that is part of the software service 402A and is applied to at least one of the addresses to be associated with the communication from the host 120. However, in at least one embodiment, the hash in the hash header 416 is determined on the host 120 using a hash function that is part of the software service 402A and is applied to at least a state associated with the host 120. For example, the state can be the state of a port or a transmission within the host 120. The state can be based in part on the input provided to the port for the transmission. In at least one embodiment, the address used for the hash function can be one or more of the transmit ID 414 of the transmit port 314A of one of the other hosts 312 or the destination / receive ID 434 of the destination / receive port PN1-PNN 314B. As in the case of the host 120, these destination / receive ports PN1-PNN 314B can be associated with the agent 310 of the host 120.

[0028] However, in at least one embodiment, the host always maximizes the spread of the hash, and the CC 206 defines how the switch or router will use the hash. In one example, the CC 206 defines forwarding rules 422 for the routing layer that the routing layer follows from the source host (such as between switches S1, S2, between switches S2, S3, or even between the source host and the first switch S1) to reach the destination or receiving host. With respect to the source host, the switch S1 in the first routing layer (or the first receiving switch) can use a portion of the hash to determine the egress port it will use. This process can be repeated for each switch or router in each routing layer using a different portion of the hash in the hash header.

[0029] In at least one embodiment, the forwarding rules 422 of CC 206 include an identification of each ingress (IP1-N) for each switch and an identification of the order of hash bits for forwarding packets from these individual ingress ports by selecting the egress port of each switch. The order of the hash bits informs the switch to use certain hash bits of the hash in the hash header to select the egress port of the packet. For example, for switch S1, a packet from ingress port IP1 includes a hash with 10 hash bits. Switch S1 is informed by CC 206 to use hash bits H1-H3 of H1-H10 to select the egress port for forwarding the packet. Hash bits H1-H3 can be associated with certain egress ports in egress ports EP1-N. Therefore, the order of hash bits is configuration information transmitted from CC 206 to switch 116 to enable switch 116 to select an egress port by associating the order of hash bits with the ingress port.

[0030] In at least one embodiment, CC 206 thus knows the amount of egress ports 420 from different connected devices (e.g., between switch to switch and switch to host), and uses this information to determine the distribution of the order of the hash bits. For example, CC 206 divides the number of hash bits of the hash between each path of the router layer identified for the packet. CC 206 informs the switch of the number of bits in the hash to use, such as in order from the leftmost bit to the rightmost bit. In each routing layer, the ingress port is associated with the order of the hash bits, so that the determined order of the hash bits can be used to select the egress port.

[0031] In at least one embodiment, for a 10-bit hash, these 10 bits may be divided into two different 5-bit groups. This may be sufficient to address 32 egress ports in different connected devices in different routing layers. A switch switching a connection may then use 5 of the 10 bits, and a subsequent switch to a host connection may use the remaining 5 bits. Further, 2 different bits for each direction may be sufficient to select an egress port, and only 8 bits may be required for four routing layers. Thus, in at least one embodiment, by performing a scan of connected devices, CC 206 knows the maximum size of the egress port of each connected device. Each ingress port is associated with one or more different hash bits, which may be the same for different switches and allow the same egress port to be selected for different switches.

[0032] In at least one embodiment, CC 206 is capable of receiving configuration information 446 and providing configuration information 446 to one or more hosts 120, 312 and is also capable of receiving configuration information 442 and providing configuration information 442 to one or more switches 116. At least a portion of this configuration information may be retained as information 206A. This information may include: available egress ports EP1-EPN 420 for all switches 116 in the subnet; forwarding rules 422 that identify available egress ports in each routing layer to prioritize traffic flows 440; and all active host ports 424 for hosts 120, 312. CC 206 receives configuration information 446, 442, but also provides configuration information 442 to at least a switch 116 or router. The configuration information 422 provided to the switch 116 or router defines the use of hashing (such as via forwarding rules 422) based on the network information it receives (including the available egress ports 420 of the switch). In at least one embodiment, different portions of the hash in hash header 416 may be used to specify or may apply to different routing layers. Thus, a portion of the hash may be used by each switch 116 to select at least one of its available egress ports, as indicated by CC 206, reflecting the use of the hash with respect to available egress ports 420 in each routing layer.

[0033] In at least one embodiment, the HS switch 116 or router may include two steps of forwarding the received packet. The first step in the switch 116 or router may be to determine at least one of the available egress ports 314C based in part on at least one of the different portions of the hash for specifying at least one of the available egress ports from the different routing layers. The second step of the switch 116 or router is to transmit communications (such as data packets 418 with or without hash headers 416) from the switch 116 or router to at least the receiving host 312 using at least one of the available egress ports 314C determined in the first step and using a routing layer in a different routing layer. In at least one embodiment, because the hash has portions for different routing layers, the process herein for the switch 116 is applicable to all switches in different routing layers. Therefore, the hash header 416 is provided with the data packets 418 for all forward transmissions, but the last switch immediately before the receiving host 312 may separately provide the data packets 418 with the hash header removed.

[0034] In at least one embodiment, these hosts 120, 312, switches 116, routers, and CC 206 are all part of a system having one or more processing units adapted to have communication capabilities. In the example of hosts 120, 312, one or more processing units 320, 402 may be installed in the host. One or more processing units may perform a hash function based in part on an address to be associated with a communication from the host 120, 312. The communication capabilities may include an agent 310 for communicating with the CC 206 and for packaging data into data packets 418 with an associated hash header 416. The communication capabilities enable communications (such as business 440) to be provided from one or more processing units together with a hash from a hash function, which is included in the hash header 416 of the communication.

[0035] In at least one embodiment, each session between the sending host 120 and one of the receiving / destination hosts 312 may use the same hash in the hash header. However, the switch or router is further configured to update the hash to provide a new hash based in part on the host 120 providing a new communication with a new hash in a new session associated with the same sending host 120 and the same receiving / destination host in the receiving / destination hosts 312. Then, based in part on an update to at least one of the available egress ports (some of which may be inactive or busy), and in part on the new hash used to determine and update at least one of the available egress ports previously used in the session, a different one of the available egress ports is provided or enabled to transmit the new communication in the new session between the same sending host and the same receiving / destination host in the receiving / destination hosts 312.

[0036] In at least one embodiment, CC 206 may provide configuration information to switch 116 or router 114. The configuration information may enable the switch or router to use the hash in the hash header to determine at least one available egress port that may be used to transmit the data packet from the switch or router. In at least one embodiment, software service 402A of host 120 may support a hash function to generate a hash of the hash header of the data packet.

[0037] In at least one embodiment, Figure 5 A process flow or method 500 for egress port determination is shown that efficiently uses hash bits for a full network forwarding scheme. The method 500 includes receiving (502) a communication from a host in at least one switch or router of one of the different routing layers. The method includes verifying or determining (504) that the communication includes a data packet and a hash header. The method includes further determining (506) a hash from the hash header. In the method 500, another further determination (508) is performed for at least one of the available egress ports of at least one switch or router that can be used to transmit the data packet to at least one receiving host. The at least one available egress port of the available egress ports is determined at least in part based on the hash in the hash header. The method includes transmitting the data packet of the communication using the at least one available egress port determined in step (508). In at least one embodiment, the method 500 includes a step or sub-step for determining, on the host, a hash to be provided in the hash header based on a hash function, the hash function being applied to at least an address to be associated with the communication from the host. This is Figure 7 The method 700 is described in detail.

[0038] In at least one embodiment, Figure 6A process flow or method 600 for using an egress port for communication herein is shown. The method 600 includes determining (602) an ingress port of at least one switch or router of one of the different routing layers through which packets are received. The method 600 includes enabling (604) selection or determination to occur for at least one of the available egress ports to be used for communication between a sending host and a destination / receiving host. The selection or determination is based in part on one of the different portions of a hash, such as using an order of hashes associated with the ingress ports. The different portions of the hash are used to specify different routing layers starting from the at least one available egress port.

[0039] The method 600 includes verifying (606) that one of the available egress ports is selected or determined. The method 600 includes enabling (608) one of the available egress ports for transmission for at least one switch or router. As in step 510, the method 600 includes transmitting (610) the data packet from the switch or router to at least one receiving host using at least one of the available egress ports and using one of the different routing layers.

[0040] In at least one embodiment, Figure 7 A process flow or method 700 for host support egress port determination is shown. The method 700 may be performed in a host adapted for an HS network with an agent and communicating with a CC, as described throughout this document. The method includes providing (702) one or more processing units having communication capabilities and installed in the host. The providing (702) step may be supported by installing one or more GPUs in the host capable of peer-to-peer communication using an agent communicating with the CC. The method 700 includes verifying (702) that a data packet is for communication from one or more processing units. The method 700 includes performing (704) a hash function using one or more processing units based in part on an address to be associated with a communication from the host. The address may be an address of the host and an address of a destination or receiving host. The address may be a port identifier of these respective hosts.

[0041] The method 700 includes enabling (708) a communication from the one or more processing units using the communication capabilities using a hash from the hash function included in the hash header of the communication. In at least one embodiment, one of such methods 500-700 may include a step or sub-step for updating the hash to provide a new hash (such as sent from a host and stored in a switch). The update may be based in part on the host providing a new communication with the new hash in a new session associated with a receiving host. The new session may be a period after a previous communication between the host and the receiving host has ended.

[0042] In at least one embodiment, one of such methods 500-700 may include a step or sub-step for updating at least one of the available egress ports previously used between the hosts based in part on the new hash. This is to provide a different available egress port to transmit the new communication to the receiving host. In at least one embodiment, one of such methods 500-700 may include a step or sub-step for providing configuration information to a switch or router using a centralized controller. The configuration information may include, for example, available ports for the destination host or forwarding rules for subsequent switches and routers of the remaining routing layers.

[0043] In at least one embodiment, one of such methods 500-700 may include steps or sub-steps for using configuration information to enable a switch or router to use a hash in a hash header to select at least one available egress port for transmitting a data packet from the switch or router. For example, using a forwarding rule, the switch can apply an appropriate portion of the hash from the hash header to determine the egress port it will use for transmission. In at least one embodiment, one of such methods 500-700 may include steps or sub-steps for enabling a hash function using a software service of a host to generate a hash of the hash header of the data packet.

[0044] Other variations are within the spirit of the present disclosure. Thus, while the disclosed technology is susceptible to various modifications and alternative constructions, certain illustrated embodiments thereof are shown in the drawings and have been described in detail above. However, it should be understood that it is not intended to limit the present disclosure to the specific form or forms disclosed, but on the contrary, it is intended to cover all modifications, alternative constructions, and equivalents that fall within the spirit and scope of the present disclosure as defined by the appended claims.

[0045] In the context of describing the disclosed embodiments (especially in the context of the following claims), the use of the terms "one" and "a kind of" and "the" and similar indicators should be interpreted as covering both the singular and the plural, unless otherwise indicated herein or clearly contradicted by the context, and not as a definition of the term. Unless otherwise noted, the terms "comprise", "have", "include" and "contain" should be interpreted as open terms (meaning "including but not limited to"). When not modified and referring to a physical connection, "connection" should be interpreted as being partially or completely contained in, attached to or connected together, even if there is an intervening object. Unless otherwise indicated herein, the enumeration of the range of values ​​herein is only intended to be used as a shorthand method for individually referring to each individual value falling within the range, and each individual value is incorporated into the specification as it is individually enumerated herein. In at least one embodiment, unless otherwise indicated or the context is contradictory, the use of the term "set" (e.g., "item set") or "subset" will be interpreted as a non-empty set including one or more members. Furthermore, unless otherwise stated or contradicted by context, the term "subset" of a corresponding set does not necessarily mean a proper subset of the corresponding set, but rather a subset and a corresponding set may be equivalent.

[0046] Unless otherwise expressly stated or otherwise clearly contradicted by context, conjunction language (such as phrases of the form "at least one of A, B, and C" or "at least one of A, B, and C") is otherwise understood, together with the context of common usage, to present that an item, term, etc. can be any non-empty subset of the set of A or B or C, or A and B and C. For example, in the exemplary instance of a group having three members, the conjunction phrases "at least one of A, B, and C" and "at least one of A, B, and C" refer to any of the following groups: {A}, {B}, {C}, {A, B}, {A, C}, {B, C}, {A, B, C}. Thus, such conjunction language is generally not intended to imply that certain embodiments require the presence of at least one of A, at least one of B, and at least one of C, respectively. Furthermore, unless otherwise stated or contradicted by context, the term "plurality" refers to a plurality of states (e.g., "a plurality of items" refers to a plurality of items). In at least one embodiment, the number of items in the plurality is at least two, but can be more when so indicated explicitly or by context. Further, the phrase "based on" means "based at least in part on" rather than "based solely on" unless stated otherwise or clear from the context.

[0047] The operations of the processes described herein may be performed in any suitable order, unless otherwise indicated herein or otherwise clearly contradictory to the context. In at least one embodiment, processes such as those described herein (or variations and / or combinations thereof) are performed under the control of one or more computer systems configured with executable instructions, and are implemented by hardware or a combination thereof as code (e.g., executable instructions, one or more computer programs, or one or more applications) that is executed together on one or more processors. In at least one embodiment, the code is stored on a computer-readable storage medium, for example, in the form of a computer program including a plurality of instructions that can be executed by one or more processors.

[0048] In at least one embodiment, the computer-readable storage medium is a non-transitory computer-readable storage medium that does not include transient signals (e.g., propagating transient electrical or electromagnetic transmissions) but includes non-transitory data storage circuits (e.g., buffers, caches, and queues) within a transceiver of transient signals. In at least one embodiment, code (e.g., executable code or source code) is stored on a collection of one or more non-transitory computer-readable storage media having executable instructions stored thereon (or other memory for storing executable instructions) that, when executed (i.e., due to being executed) by one or more processors of a computer system, cause the computer system to perform the operations described herein. In at least one embodiment, a set of non-transitory computer-readable storage media includes a plurality of non-transitory computer-readable storage media, and one or more of the individual non-transitory storage media in the plurality of non-transitory computer-readable storage media lack all code, while the plurality of non-transitory computer-readable storage media collectively store all code. In at least one embodiment, the executable instructions are executed so that different instructions are executed by different processors—for example, a non-transitory computer-readable storage medium stores the instructions and a main central processing unit ("CPU") executes some instructions while a graphics processing unit ("GPU") executes other instructions. In at least one embodiment, different components of the computer system have separate processors and different processors execute different subsets of instructions.

[0049] In at least one embodiment, an arithmetic logic unit is a group of combinational logic circuits that use one or more inputs to produce a result. In at least one embodiment, the processor uses the arithmetic logic unit to implement mathematical operations, such as addition, subtraction, or multiplication. In at least one embodiment, the arithmetic logic unit is used to implement logical operations, such as logical AND / OR or XOR. In at least one embodiment, the arithmetic logic unit is stateless and is made of physical switch components (such as semiconductor transistors) arranged to form logic gates. In at least one embodiment, the arithmetic logic unit can be operated internally as a stateful logic circuit with an associated clock. In at least one embodiment, the arithmetic logic unit can be constructed as an asynchronous logic circuit with an internal state that is not maintained in an associated register group. In at least one embodiment, the arithmetic logic unit is used by the processor to combine operands stored in one or more registers of the processor and generate outputs that can be stored by the processor in another register or memory location.

[0050] In at least one embodiment, as a result of processing the instructions retrieved by the processor, the processor presents one or more inputs or operands to the arithmetic logic unit, causing the arithmetic logic unit to produce a result based at least in part on the instruction code provided to the input of the arithmetic logic unit. In at least one embodiment, the instruction code provided by the processor to the ALU is based at least in part on the instructions executed by the processor. In at least one embodiment, the combinational logic in the ALU processes the inputs and produces an output, which is placed on a bus within the processor. In at least one embodiment, the processor selects a destination register, memory location, output device, or output storage location on an output bus so that the processor is clocked to cause the result produced by the ALU to be sent to the desired location.

[0051] Thus, in at least one embodiment, a computer system is configured to implement one or more services that individually or collectively perform the operations of the processes described herein, and such a computer system is configured with applicable hardware and / or software that allows the operations to be performed. Further, the computer system that implements at least one embodiment of the present disclosure is a single device, and in another embodiment, is a distributed computer system that includes multiple devices that operate differently, such that the distributed computer system performs the operations described herein, and such that a single device does not perform all operations.

[0052] The use of any and all examples or exemplary language (e.g., "such as") provided herein is intended only to better illustrate the embodiments of the present disclosure and does not limit the scope of the present disclosure unless otherwise required. Language in the specification should not be construed as indicating any non-claimed element is essential to the practice of the present disclosure.

[0053] In the specification and claims, the terms "coupled" and "connected" and their derivatives may be used. It should be understood that these terms are not intended to be synonymous with each other. On the contrary, in specific examples, "connected" or "coupled" may be used to indicate that two or more elements are in direct or indirect physical or electrical contact with each other. "Coupled" may also mean that two or more elements are not in direct contact with each other, but still cooperate or interact with each other.

[0054] Unless otherwise specifically stated, it should be understood that throughout the specification, terms such as "processing," "computing," "calculating," "determining," or similar terms refer to the action and / or process of a computer or computing system or similar electronic computing device that manipulates and / or transforms data represented as physical (e.g., electronic) quantities within the computing system's registers and / or memories into other data similarly represented as physical quantities within the computing system's memories, registers, or other such information storage, transmission, or display devices.

[0055] In a similar manner, the term "processor" may refer to any device or part of a device that processes electronic data from registers and / or memory and converts the electronic data into other electronic data that can be stored in registers and / or memory. As a non-limiting example, a "processor" may be a CPU or a GPU. A "computing platform" may include one or more processors. As used herein, a "software" process may include, for example, software and / or hardware entities that perform work over time, such as tasks, threads, and intelligent agents. Moreover, each process may refer to multiple processes for executing instructions sequentially or in parallel, continuously or intermittently. In at least one embodiment, the terms "system" and "method" are used interchangeably herein, as long as a system can embody one or more methods and a method can be considered a system.

[0056] In this document, reference may be made to obtaining, acquiring, receiving or inputting analog or digital data into a subsystem, a computer system or a computer-implemented machine. In at least one embodiment, the process of obtaining, acquiring, receiving or inputting analog and digital data may be accomplished in various ways, such as by receiving data as a parameter of a function call or a call to an application programming interface. In at least one embodiment, the process of obtaining, acquiring, receiving or inputting analog or digital data may be accomplished by transmitting data via a serial or parallel interface. In at least one embodiment, the process of obtaining, acquiring, receiving or inputting analog or digital data may be accomplished by transmitting data from a providing entity to an acquiring entity via a computer network. Reference may also be made to providing, outputting, transmitting, sending or presenting analog or digital data. In at least one embodiment, the process of providing, outputting, transmitting, sending or presenting analog or digital data may be accomplished by transmitting data as an input or output parameter of a function call, a parameter of an application programming interface or an inter-process communication mechanism.

[0057] Although the description herein sets forth example implementations of the described technology, other architectures may be used to implement the described functionality and are intended to fall within the scope of the present disclosure. In addition, although a specific distribution of responsibilities may be defined above for descriptive purposes, different functions and responsibilities may be distributed and divided in different ways depending on the environment.

[0058] Furthermore, although the subject matter has been described in language specific to structural features and / or methodological acts, it is to be understood that the subject matter claimed in the appended claims is not necessarily limited to the specific features or acts described. Rather, the specific features and acts are disclosed as exemplary forms of implementing the claims.

Claims

1. A system for determining an egress port in a data network, include: At least one switch or router in one of the different routing layers is configured to receive a communication from a host, the communication comprising at least a data packet and a hash header, the data packet being configured to be transmitted to at least one receiving host via at least one of the available egress ports of the at least one switch or router, the at least one of the available egress ports being determined based in part on a hash in the hash header.

2. The system of claim 1, wherein the hash is determined at the host using a hash function applied to at least one of a plurality of addresses to be associated with communications from the host or to a state associated with the host.

3. The system of claim 1, wherein the at least one switch or router is further configured to: determining the at least one available egress port based in part on one of the different portions of the hash, the different portion of the hash being used to specify the different routing layer starting from the at least one of the available egress ports; and The data packet is transmitted from the at least one switch or router to the at least one receiving host using the at least one of the available egress ports and using the one of the different routing layers.

4. The system of claim 1, further comprising: include: One or more processing units adapted to have communications capabilities and installed in the host, the one or more processing units for performing a hash function based in part on an address to be associated with the communication from the host, the communications capability for enabling communications from the one or more processing units utilizing the hash from the hash function to be included in the hash header of the communication.

5. The system of claim 1, wherein the system is further configured to: A new hash is generated based in part on the host providing a new communication including the new hash in a new session associated with the receiving host, wherein the at least one switch or router is used to determine a different egress port of the at least one of the available egress ports based in part on the new hash.

6. The system of claim 1, further comprising: include: a centralized controller for providing configuration information to the at least one switch or router, the configuration information for enabling the at least one switch or router to use the hash in the hash header to determine the at least one of the available egress ports for transmitting the data packet from the at least one switch or router.

7. The system of claim 1, further comprising: include: A software service of the host, the software service for invoking a hash function to generate the hash of the hash header of the data packet.

8. A method for determining an egress port in a data network, the method comprising: include: receiving, in at least one switch or router of one of the different routing layers, a communication from the host; determining that the communication includes a data packet and a hashed header; as well as Determine at least one of the available egress ports of the at least one switch or router for transmitting the data packet from the at least one switch or router to at least one receiving host, the at least one of the available egress ports being determined based at least in part on the hash in the hash header.

9. The method of claim 8, further comprising: include: The hash to be provided in the hash header is determined at the host based on a hash function applied to one of a plurality of addresses to be associated with communications from the host or to a state associated with the host.

10. The method of claim 8, further comprising: include: determining, by the at least one switch or router, the at least one available egress port based in part on one of the different portions of the hash, the different portion of the hash being used to specify the different routing layer starting from the at least one of the available egress ports; as well as The data packet is transmitted from the at least one switch or router to the at least one receiving host using the at least one of the available egress ports and using the one of the different routing layers.

11. The method of claim 8, further comprising: include: providing one or more processing units having communication capabilities and installed in the host; performing, using the one or more processing units, a hash function based in part on an address to be associated with communications from the host; as well as Communications from the one or more processing units are enabled using the communication capability with the hash from the hash function included in the hash header of the communication.

12. The method of claim 8, further comprising: include: A new hash is generated based in part on the host providing a new communication including the new hash in a new session associated with the receiving host, wherein the at least one switch or router is used to determine a different one of the at least one of the available egress ports based in part on the new hash.

13. The method of claim 8, further comprising: include: providing configuration information to the at least one switch or router using a centralized controller; as well as Using the configuration information, the at least one switch or router is enabled to use the hash in the hash header to determine the at least one of the available egress ports for transmitting the data packet from the at least one switch or router.

14. The method of claim 8, further comprising: include: A hash function is enabled using a software service of the host to generate the hash of the hashed header of the data packet.

15. A system, include: One or more processing units, the one or more processing units are configured to be associated with at least one switch or router of a different routing layer and to enable the at least one switch or router to receive communications from a host, the communications comprising at least a data packet and a hash header, the data packet being configured to be transmitted to other hosts through at least one of the available egress ports of the at least one switch or router, the at least one of the available egress ports being determined based in part on a hash in the hash header.

16. The system of claim 15, wherein the hash is determined at the host using a hash function applied to at least one of a plurality of addresses to be associated with the communication from the host or to a state associated with the host.

17. The system of claim 15, wherein the one or more processing units are further configured to: determining the at least one available egress port based in part on one of the different portions of the hash, the different portion of the hash being used to specify the different routing layer starting from the at least one of the available egress ports; and The data packet is transmitted from the at least one switch or router to the at least one receiving host using the at least one of the available egress ports and using the one of the different routing layers.

18. The system of claim 15, wherein at least one of the one or more processing units is further adapted to have communication capabilities and is further installed in the host, the at least one of the one or more processing units further performing a hash function based in part on an address to be associated with the communication from the host, the communication capabilities utilizing the hash from the hash function included in the hash header of the communication to enable the communication from the one or more processing units.

19. The system of claim 15, wherein the one or more processing units are further configured to: updating the hash to provide the new hash based in part on the host providing a new communication including the new hash in a new session associated with a receiving host; and The at least one of the available egress ports is updated based in part on the new hash to provide a different one of the available egress ports for transmitting the new communication from the at least one switch or router to the receiving host.

20. The system of claim 15, wherein the one or more processing units are further configured to include a centralized controller for providing configuration information to the at least one switch or router, the configuration information enabling the at least one switch or router to use the hash in the hash header to determine the at least one of the available egress ports for transmitting the data packet from the at least one switch or router.