Communication method, interconnection switching unit, distributed service system and storage medium

By splitting the switching network ports of the switching boards and realizing direct connection between the switching boards, the problem that the interconnection switching units in the existing technology cannot achieve full interconnection is solved, the communication efficiency is improved, and the link delay and hops are reduced. Number of transfer nodes.

CN118714103APending Publication Date: 2024-09-27INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410958965.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

Existing interconnection switching units cannot realize full interconnection of switching boards, resulting in a large number of communication link jump nodes, long link delays, and low transmission efficiency.

Method used

By splitting the first type of switching network port on the switching board into the second type of switching network port, and using multi-channel connectors to achieve direct connection between each two switching boards, it is determined that there are at most 2 levels of switching boards. communication link, reducing the number of jump nodes in the communication link, reducing link delay, and improving transmission efficiency.

Benefits of technology

Fully interconnected communication is achieved, reducing the number of jump nodes in the communication link, reducing link delay, and improving transmission efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118714103A
    Figure CN118714103A
Patent Text Reader

Abstract

The invention belongs to the technical field of computers, and discloses a communication method, an interconnection switching unit, a distributed service system and a storage medium, the interconnection switching unit comprises a plurality of switching board cards, and the switching board cards are provided with switching network ports of a first model; in the state that the switching network port of the first model is split into the switching network port of the second model, every two switching board cards are directly connected through a multi-channel connector, and the model of the multi-channel connector is the second model; the communication method comprises the following steps: receiving communication data sent by a target host to target equipment by using a first external interface; determining a communication link with at most two stages of switching board cards from the interconnection switching unit by using the configuration information; and transmitting the communication data in the communication link to send the communication data to the target device. The method has the technical effects that full interconnection communication is realized in the interconnection exchange unit, the number of jump nodes of a communication link can be reduced, the link delay is reduced, and the transmission efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a communication method, an interconnection switching unit, a distributed service system and a storage medium. Background Art

[0002] Distributed server system refers to a theoretical computing model server form in which data and programs are not on the same server, but are distributed to multiple servers. The research object is the geographical information data distributed on the network and the database operations affected by it. Distributed is conducive to the allocation and optimization of tasks on the entire computer system, overcoming the defects of traditional centralized systems that lead to resource constraints and response bottlenecks in the central host, solving the problems of data heterogeneity, data sharing, and complex calculations in the network, and is a major advancement in geographic information system technology.

[0003] In a distributed server system, each device is dispersed. The connection architecture that connects these devices and realizes communication between devices is called an interconnection switching unit. However, in existing interconnection switching units, due to limitations such as device models, it is still impossible to achieve full interconnection of switching boards. In theory, the full interconnection design can reduce the number of jump nodes in the communication link, reduce link delay, and improve transmission efficiency.

[0004] In summary, how to achieve full interconnection communication and other issues are technical problems that technical personnel in this field urgently need to solve. Summary of the invention

[0005] The purpose of the present application is to provide a communication method, an interconnection switching unit, a distributed service system and a storage medium, in which full interconnection communication can be realized in the interconnection switching unit, thereby reducing the number of jump nodes of the communication link, reducing link delay and improving transmission efficiency.

[0006] In order to solve the above technical problems, this application provides the following technical solutions:

[0007] A communication method is applied to an interconnection switching unit, wherein the interconnection switching unit includes a plurality of switching boards, wherein the switching boards have a switching network port of a first model; when the switching network port of the first model is split into a switching network port of a second model, each two of the switching boards are directly connected via a multi-channel connector, wherein the model of the multi-channel connector is the second model;

[0008] The communication method comprises:

[0009] Using the first external interface, receiving communication data sent by the target host to the target device; wherein the target host is connected to the interconnection switching unit through the first external interface;

[0010] Using the configuration information, determine a communication link with at most two levels of switch boards in the interconnection exchange unit; wherein the starting interface of the link is the first external interface, the end interface of the link is the second external interface, and the target device is connected to the interconnection exchange unit through the second external interface;

[0011] The communication data is transmitted in the communication link to send the communication data to the target device.

[0012] Preferably, using the configuration information, determining a communication link with at most two levels of switch boards in the interconnection switching unit includes:

[0013] Determine the first switch board to which the first external interface belongs by using the configuration information;

[0014] Determine the second switch board to which the second external interface belongs by using the configuration information;

[0015] Determine whether the first switch board and the second switch board are the same target switch board;

[0016] If yes, determining that the communication link passes through the first external interface, the first switch board, and the second external interface in sequence;

[0017] If not, using the configuration information to determine a first switching network interface and a second switching network interface corresponding to the direct connection channel between the first switching board and the second switching board;

[0018] Determine that the communication link passes through the first external interface, the first switch board, the first switching network interface, the second switching network interface, the second switch board, and the second external interface in sequence;

[0019] The first switching network interface is a switching network port on the first switching board that is directly connected to the second switching board;

[0020] The second switching network interface is a switching network port on the second switching board that is directly connected to the first switching board.

[0021] Preferably, the bus width of the first model is x16, the bus width of the second signal is x8, and one switching network port of the first model is split into two switching network ports of the second model.

[0022] Preferably, the switch board is a PCIe switch board, and the PCIe switch board includes 4 switch network ports;

[0023] Correspondingly, transmitting the communication data in the communication link to send the communication data to the target device includes:

[0024] In the communication link, the communication data is transmitted based on the PCIe protocol to send the communication data to the target device; wherein the target host is a host supporting the PCIe protocol, and the target device is a PCIe device.

[0025] Preferably, the switch board is a CXL switch board, and the switch network port in the PCIe switch board is a CXL interface;

[0026] Correspondingly, transmitting the communication data in the communication link to send the communication data to the target device includes:

[0027] In the communication link, the communication data is transmitted based on the CXL protocol to send the communication data to the target device; wherein the target host is a host supporting the CXL protocol, and the target device is a device supporting the CXL protocol.

[0028] An interconnection exchange unit comprises a plurality of exchange boards, wherein the exchange boards have a first-type exchange network port; when the first-type exchange network port is split into a second-type exchange network port, each two of the exchange boards are directly connected via a multi-channel connector, and the model of the multi-channel connector is the second model;

[0029] The steps of the communication method as described above are implemented in the interconnection switching unit.

[0030] A distributed service system, comprising:

[0031] Computing resource pool, access equipment and interconnection switching units as described above;

[0032] The computing resource pool includes several hosts, the hosts are connected to the switching boards in the interconnection switching unit, and the access devices are connected to the switching boards in the interconnection switching unit.

[0033] Preferably, the interconnect exchange unit communicates based on the CXL protocol;

[0034] Alternatively, the interconnection switching unit communicates based on the PCIe protocol.

[0035] Preferably, the number of the interconnection switching units is greater than or equal to 2, at least one of the interconnection switching units communicates based on the CXL protocol, and at least one of the interconnection switching units communicates based on the PCIe protocol.

[0036] A readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above communication method are implemented.

[0037] A computer program product comprises a computer program / instruction, which implements the steps of the above communication method when executed by a processor.

[0038] The method provided in the embodiment of the present application is applied to an interconnection switching unit, which includes a plurality of switching boards, and the switching boards have a first model of switching network ports; when the first model of switching network ports are split into a second model of switching network ports, every two switching boards are directly connected through a multi-channel connector, and the model of the multi-channel connector is the second model; the communication method includes: using a first external interface to receive communication data sent by a target host to a target device; wherein the target host is connected to the interconnection switching unit through the first external interface; using configuration information, determining a communication link with at most 2 levels of switching boards from the interconnection switching unit; wherein the starting interface of the link is the first external interface, and the end interface of the link is the second external interface, and the target device is connected to the interconnection switching unit through the second external interface; transmitting communication data in the communication link to send the communication data to the target device.

[0039] In the present application, by splitting the first model of the switching network port on the switching board into the second model of the switching network port, the model restriction of the switching network port on the switching board can be broken. On the switching board with the first signal, a multi-channel connector based on the second signal can be used to realize a direct connection between every two switching boards. When communicating on the interconnected switching unit, since every two switching boards in the interconnected switching unit are directly connected through a multi-channel connector, when communication data needs to be transmitted, a communication link with at most 2 levels of switching boards can be determined based on the interconnected switching unit. Since there are at most 2 switching boards in the communication link, the communication link has fewer jump nodes, lower link delay, and higher transmission efficiency than a communication link with more levels of switching boards.

[0040] Technical effect: Fully interconnected communication can be achieved in the interconnected switching unit. Communication based on the interconnected switching unit can reduce the number of jump nodes in the communication link, reduce link delay, and improve transmission efficiency.

[0041] Correspondingly, the embodiments of the present application also provide an interconnection switching unit, a distributed service system, a readable storage medium and a computer program product corresponding to the above-mentioned communication method, which have the above-mentioned technical effects and are not repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0043] Figure 1 This is a flow chart of an implementation of a communication method in an embodiment of the present application;

[0044] Figure 2 A schematic diagram of a non-fully interconnected interconnection switching unit;

[0045] Figure 3 A schematic diagram of a fully interconnected switching unit in an embodiment of the present application;

[0046] Figure 4 A partial schematic diagram of a distributed service system in an embodiment of the present application;

[0047] Figure 5 This is a schematic diagram of an interconnection switching unit in an embodiment of the present application;

[0048] Figure 6 A schematic diagram of a distributed service system in an embodiment of the present application;

[0049] Figure 7 This is a schematic diagram of another distributed service system in an embodiment of the present application. DETAILED DESCRIPTION

[0050] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.

[0051] Please refer to Figure 1 , Figure 1 This is a flow chart of a communication method in an embodiment of the present application. The method can be applied to an interconnection switching unit, wherein the interconnection switching unit includes a plurality of switching boards, and the switching boards have a switching network port of a first model; when the switching network port of the first model is split into a switching network port of a second model, each two switching boards are directly connected through a multi-channel connector, and the model of the multi-channel connector is the second model;

[0052] The communication method comprises the following steps:

[0053] S101. Utilize a first external interface to receive communication data sent by a target host to a target device.

[0054] The target host is connected to the interconnection switching unit via the first external interface.

[0055] The switching board in the interconnection switching unit generally has two types of interfaces, one is an internal interface, namely the switching network port, and the other is an external interface for connecting the host and the device.

[0056] In this embodiment, the target host is connected to the interconnection switching unit via a first external interface, and the first external interface may be an external interface on any switch board in the interconnection switching unit.

[0057] When the target host needs to send communication data to the target device, the target host only needs to send the communication data to the first external interface of the interconnection switching unit.

[0058] In one embodiment of the present application, the bus width of the first type is x16, the bus width of the second signal is x8, and one switching network port of the first type is split into two switching network ports of the second type. In other words, one x16 switching network port can be split into two x8 switching network ports, so that there are more switching network ports on the switching board, and based on more switching network ports, two-to-two interconnection of switching boards can be achieved.

[0059] S102: Using the configuration information, determine a communication link with at most two levels of switch boards in the interconnected switch unit.

[0060] The starting interface of the link is the first external interface, the ending interface of the link is the second external interface, and the target device is connected to the interconnection switching unit via the second external interface.

[0061] In the present application, the configuration information may record the interface connection information in each switching board. Thus, based on the configuration information, a communication link may be determined from the interconnected switching unit, and the communication link may have at most two levels of switching boards.

[0062] In one embodiment of the present application, using configuration information, determining a communication link with at most two levels of switch boards in an interconnection switching unit includes:

[0063] Determine the first switch board to which the first external interface belongs by using the configuration information;

[0064] Determine the second switch board to which the second external interface belongs by using the configuration information;

[0065] Determine whether the first switch board and the second switch board are the same target switch board;

[0066] If yes, determine that the communication link passes through the first external interface, the first switch board, and the second external interface in sequence;

[0067] If not, using the configuration information, determine the first switching network interface and the second switching network interface corresponding to the direct connection channel between the first switching board and the second switching board;

[0068] Determine that the communication link passes through the first external interface, the first switch card, the first switching network interface, the second switching network interface, the second switch card, and the second external interface in sequence;

[0069] The first switching network interface is a switching network port on the first switching board that is directly connected to the second switching board;

[0070] The second switching network interface is a switching network port on the second switching board that is directly connected to the first switching board.

[0071] For ease of description, the above steps are combined for explanation below.

[0072] Each external interface has a unique switch board to which it belongs. Therefore, based on the configuration information, the first switch board to which the first external interface belongs and the second switch board to which the second external interface belongs can be first determined.

[0073] After the first switch board and the second switch board are identified, it is determined whether the two are the same target switch board.

[0074] If the two are the same, the communication data of the target host can be directly sent to the target device through the target switch card. Its complete communication link is: target host-first external interface-target switch card-second external interface-target device, that is, passing through the first external interface, target switch card and second external interface in the interconnection switch unit in sequence.

[0075] If the two are not the same, the communication data of the target host needs to be sent directly to the target device through the first switch board and the second switch board. Its complete communication link is: target host-first external interface-first switch board-first switching network port-second switching network port-second switch board-second external interface-target device, that is, in the interconnection switching unit, it passes through the first external interface, the first switch board, the first switching network port, the second switching network port, the second switch board and the second external interface in sequence.

[0076] S103: Transmit communication data in the communication link to send the communication data to the target device.

[0077] After the communication link is determined, the communication data can be directly transmitted on the communication link to send the communication data to the target device.

[0078] Correspondingly, when the target device needs to send communication data to the target host, the determined communication links are swapped end to end, so that the communication data can be quickly sent to the target host.

[0079] It should be noted that in this embodiment, different hosts and different devices can also achieve fast communication through the interconnection switching unit. The communication process can be referred to in Figure 1 The processes shown will not be described in detail here.

[0080] The method provided in the embodiment of the present application is applied to an interconnection switching unit, which includes a plurality of switching boards, and the switching boards have a first model of switching network ports; when the first model of switching network ports are split into a second model of switching network ports, every two switching boards are directly connected through a multi-channel connector, and the model of the multi-channel connector is the second model; the communication method includes: using a first external interface to receive communication data sent by a target host to a target device; wherein the target host is connected to the interconnection switching unit through the first external interface; using configuration information, determining a communication link with at most 2 levels of switching boards from the interconnection switching unit; wherein the starting interface of the link is the first external interface, and the end interface of the link is the second external interface, and the target device is connected to the interconnection switching unit through the second external interface; transmitting communication data in the communication link to send the communication data to the target device.

[0081] In the present application, by splitting the first model of the switching network port on the switching board into the second model of the switching network port, the model restriction of the switching network port on the switching board can be broken. On the switching board with the first signal, a multi-channel connector based on the second signal can be used to realize a direct connection between every two switching boards. When communicating on the interconnected switching unit, since every two switching boards in the interconnected switching unit are directly connected through a multi-channel connector, when communication data needs to be transmitted, a communication link with at most 2 levels of switching boards can be determined based on the interconnected switching unit. Since there are at most 2 switching boards in the communication link, the communication link has fewer jump nodes, lower link delay, and higher transmission efficiency than a communication link with more levels of switching boards.

[0082] Technical effect: Fully interconnected communication can be achieved in the interconnected switching unit. Communication based on the interconnected switching unit can reduce the number of jump nodes in the communication link, reduce link delay, and improve transmission efficiency.

[0083] It should be noted that, based on the above embodiments, the embodiments of the present application also provide corresponding improved solutions. In the preferred / improved embodiments, the same steps or corresponding steps as those in the above embodiments can be referenced to each other, and the corresponding beneficial effects can also be referenced to each other, which will not be described one by one in the preferred / improved embodiments of this article.

[0084] In one embodiment of the present application, the switch board is a PCIe switch board, and the PCIe switch board includes 4 switch network ports;

[0085] Accordingly, transmitting the communication data in the communication link to send the communication data to the target device includes:

[0086] In the communication link, communication data is transmitted based on the PCIe protocol to send the communication data to a target device; wherein the target host is a host supporting the PCIe protocol, and the target device is a PCIe device.

[0087] For ease of understanding, the above steps are combined for explanation below.

[0088] In the related technical solution, a four-layer PCIe Switch (abbreviated as SW in this embodiment, PCIe, a high-speed serial computer expansion bus standard) board is used. The single-layer SW board has two SW chips, forming a 2x4 SW array; a single SW outputs 9 x16 PCIe ports (interfaces / ports that support the PCIe protocol), of which 5 are used as external PCIe ports to connect the upstream HOST (host) and the downstream device (device), and the interface is an external CDFP (an interface that supports the PCIe protocol), and 4 x16 PCIe ports are used as fabric ports (switching network ports) to realize the interconnection between 8 SWs, and the fabric ports are connected through X16 MCIO (multi-channel connector with a model of x16). The PCIe SW can be configured to determine which CDFPs are used as upstream ports to connect to the HOST, and other CDFPs are used as downstream ports to connect to the device. The HOST and devices under different PCIe SWs can establish connections through the Fabric path, such as Figure 2 As shown in the figure (the first row of interfaces and the fourth row of interfaces H / D are external interfaces, and the second row of interfaces and the third row of interfaces F are internal interfaces). The SW Fabric connection on the same layer needs to jump twice, passing through 3 SW chips.

[0089] Figure 1The eight SW chips are marked as SW1 to SW8 from left to right and from top to bottom. Assuming that a CDFP interface of SW1 is connected to a certain HOST, and this HOST needs to access the device mounted under SW2, then SW1 needs to access SW5 first, and SW5 then accesses SW2 and the devices under it, and three levels of SW appear on the link; assuming that the HOST on SW1 needs to access the device mounted under SW5, the HOST can directly access SW5 and the devices under it through SW1, and only two levels of SW appear on the link. Assumption 1 adds a SW to the link compared to Assumption 2, the PCIe link delay becomes longer, and the difficulty of software development is bound to be more complicated.

[0090] In order to solve the problem of multi-level jumps in the fabric link of the switching unit in the distributed server system and the unbalanced communication between different SWs, in the embodiment of the present application, the switch network port is split to achieve full interconnection of the internal fabrics of the 8 SW chips. That is, internal MCIO direct connections are achieved between each SW, and there are at most two levels of SW from the HOST to the device under each SW, which minimizes the PCIe link signal delay, reduces the difficulty of software code programming, and improves PCIe signal reliability and system performance.

[0091] like Figure 2 The single SW Fabric port shown has four (in Figure 2 In the figure, only individual interfaces of SW are shown, and interfaces between different SWs can be referenced to each other). There are 16 2x4 Fabric topology links, with a single port bandwidth of x16 and a maximum rate of GEN5 (32GT / s). The Fabric port of SW can only be connected to 4 SWs at most, and direct connection between any two of the 8 SWs cannot be achieved.

[0092] Specifically, in an interconnection switching unit implementing the PCIe protocol, the number of switch boards is greater than 5, and the preferred number is 8. When the number of switch boards is greater than 5, it is impossible to directly implement the interconnection between the five SWs based on the x16 internal interface. After the x16 internal interface is split into two x8 internal interfaces, the type and number of multi-channel connectors are adjusted to achieve the interconnection between the two SWs. The number of SWs is 8, and full interconnection between the two SWs can be achieved without wasting the second type of internal interface on the board!

[0093] When the device is a PCIe x16 GEN4 device, the maximum downlink rate is 16GT / s, which is half of the Fabric and HOST link. The uplink and downlink rates are not equal, resulting in a waste of Fabric resources. It can be concluded that the rate of a Fabric x16GEN5 link is equal to that of two PCIe x16 GEN4 devices. Split the Fabric x16 GEN5 link, one x16 into two x8s, and the rate of the x8 GEN5 is equal to the rate of the device x16 GEN4:

[0094] device x16 GEN4=Fabric x8 GEN5=0.5 x Fabric x16 GEN5=16GT / s.

[0095] Specific implementation: Fabric port x16 MCIO is replaced by Fabric port x8 MCIO *2, such as Figure 3 As shown (in Figure 3 In the figure, only the interfaces of SW0 and SW1 are illustrated. The interfaces of other SWs can refer to SW0 and SW1). The number of Fabric ports of a single SW becomes 8. Seven Fabric ports are needed to interconnect with the other 7 SWs. There are enough ports to interconnect with other SWs. After a SW is interconnected with all other SWs, there is still one Fabric port left, which can be used to directly connect to the network card of the switching unit. The total number of Fabric links is 7+6+5+4+3+2+1=28.

[0096] Similarly, suppose that a CDFP interface of SW0 is connected to a certain HOST, and this HOST needs to access the device mounted under SW1. In the fully interconnected state, SW0 and SW1 are connected by a Fabric physical link. This HOST can directly access the device under SW1 through SW0 to SW1. Similarly, because there are Fabric links directly connected between the 8 SWs in the fully interconnected state, the host and the device mounted under any two SWs can jump at most two levels of SW; at least one level of SW, which occurs when the host and the device are mounted under the same SW. Figure 2 The technical solution comparison shown in the figure shows that the SW between the HOST and the device is reduced, the link delay is reduced, and the system performance is improved.

[0097] The speed of CPU and PCIe SW is developing faster than that of PCIe devices. CPU and PCIe SW supporting GEN5 have become the mainstream of the server market, but most PCIe devices such as GPU are still PCIe GEN4 devices. PCIe GEN5 GPU and network card have not yet become the mainstream of the market, so this design method has a lot of application space in the existing market context. In the long run, the protocol standard of PCIe6.0 has been released, and the standard of PCIe7.0 is also being formulated intensively. Mainstream CPU manufacturers have begun to support the platform development of PCIe6.0, and PCIe SW manufacturers' PCIe6.0 SW is about to be mass-produced. After PCIe GEN5 devices become mainstream, the system can use HOST and PCIe SW supporting PCIe6.0, and the method of the present invention is also applicable. PCIe6.0 rate 64GT / s = 2 x PCIe GEN5 rate 32GT / s.

[0098] Similarly, the CXL protocol is also applicable to the communication method adopted in the embodiments of the present application.

[0099] In one embodiment of the present application, the switch board is a CXL switch board, and the switch network port in the PCIe switch board is a CXL interface;

[0100] Accordingly, transmitting the communication data in the communication link to send the communication data to the target device includes:

[0101] In the communication link, communication data is transmitted based on the CXL protocol to send the communication data to the target device; wherein the target host is a host supporting the CXL protocol, and the target device is a device supporting the CXL protocol.

[0102] For ease of understanding, the above steps are combined for explanation below.

[0103] Specifically, CXL is developed based on PCIe5.0, runs on the physical layer of PCIe, has the same electrical characteristics as PCIe, and is a new protocol optimized for cache and memory. In other words, now taking a CXL device and plugging it into a PCIe card slot can be used in PCIe mode, and it will not communicate using the CXL protocol. The CXL function requires the use of a flexible port, which can decide whether to use the PCIe protocol or the CXL protocol based on link layer negotiation. So if a CXL device that supports PCIe function is plugged into an ordinary server that does not support CXL, it will negotiate to decide that only the PCIe protocol can be used. CXL has three specific protocols: CXL.io, CXL.mem, and CXL.cache.

[0104] Taking the SW switching unit supporting CXL as an example, the application of the communication method provided by the embodiment of the present application in CXL is explained. Figure 4 As shown in the figure, CXL SW is used to expand memory. The CPU on the HOST side supports CXL, and the device side uses a memory controller that supports CXL. The memory controller is connected to CXL SW via a CXL link upstream and to DDR4 or DDR5 memory devices downstream. The CXL fully interconnected switching unit can be referenced Figure 3 PCIe fully interconnected switching unit.

[0105] CXL SW has a total of 16 x16 CXL ports, each of which can be configured as PCIe or CXL, supporting scenarios where CXL and PCIe are mixed. CXL SW can also be designed in the form of multiple SW multi-node Fabric interconnection to achieve cluster-level multi-node interconnection and multi-HOST shared memory resource pool. According to the CXL Alliance, CXL3.0 uses the latest version of PCIe6.0, doubles the data rate to 64GT / s, and is backward compatible with CXL2.0, CXL1.1 and CXL1.0. CXL3.0 data rate = 2 xCXL2.0 data rate, and the combination of CXL3.0 SW and CXL2.0 devices (such as memory controllers) can also use the communication method provided in the embodiment of the present application to achieve full interconnection of CXL switching units. Compared with CXL2.0, CXL3.0 does not increase latency, and adds point-to-point memory interconnection, supporting GPU or NIC devices to directly access CXL remote memory. The fully interconnected design method can shorten the path for GPU or NIC devices to directly access CXL remote memory and reduce link latency.

[0106] Corresponding to the above method embodiment, the embodiment of the present application further provides an interconnection switching unit. The interconnection switching unit described below and the communication method described above can be referenced to each other.

[0107] See also Figure 5 As shown, the interconnection switching unit includes:

[0108] A plurality of switch boards SW, each having a switch network port F1 of a first model; when the switch network port of the first model is split into a switch network port of a second model F2, each two switch boards are directly connected via a multi-channel connector (indicated by a straight line in the figure), and the model of the multi-channel connector is the second model;

[0109] The steps of the communication method as described above are implemented in the interconnection switching unit.

[0110] Since the steps of the communication method as described above are implemented in the interconnection exchange unit, the interconnection exchange unit has the technical effects of the communication method as described above, which will not be described one by one here.

[0111] Corresponding to the above method embodiment, the embodiment of the present application also provides a distributed service system. The distributed service system described below and the communication method and interconnection switching unit described above can be referenced to each other.

[0112] See also Figure 6 As shown, the distributed service system includes:

[0113] Computing resource pool 100, access device 200 and interconnection switching unit 300 as described above;

[0114] The computing resource pool includes several hosts 101, the hosts are connected to the switching boards in the interconnected switching units, and the access devices are connected to the switching boards in the interconnected switching units.

[0115] In a specific implementation of the present application, the interconnection exchange unit communicates based on the CXL protocol;

[0116] Alternatively, the interconnected switching units communicate based on the PCIe protocol.

[0117] In a specific implementation of the present application, the number of interconnected switching units is greater than or equal to 2, at least one interconnected switching unit communicates based on the CXL protocol, and at least one interconnected switching unit communicates based on the PCIe protocol.

[0118] Please refer to Figure 7 (UPI between hosts refers to Ultra Path Interconnect.) The core of this distributed service system is the PCIe fully interconnected switching unit and the CXL fully interconnected switching unit. The upstream is connected to the computing resource pool, which is composed of general-purpose servers. The CPU can be products of various brands and platforms. The common point is that it supports CXL and PCIe protocols. The downstream is connected to remote memory, GPU, NIC and other devices. The protocol data rate supported by CXL and PCIe fully interconnected switching units is higher than the upstream and downstream data rates (such as Figure 7 The protocol data rate supported by the switching unit is twice the upstream and downstream rate. The full-interconnection switching unit can use the x8 bandwidth to achieve data transmission of x16 devices in the upstream and downstream. By changing the corresponding configuration of the CXL and PCIe full-interconnection switching units, dynamic allocation of memory resources, GPU resources, and computing resources can be achieved.

[0119] That is, by taking advantage of the differences in the protocol rates of PCIe SW and upstream and downstream HOSTs and devices, the Fabric link is split under limited Fabricports, the Fabric ports are doubled, and full interconnection of 8 SW switching units is achieved, which reduces the link length and the number of jump nodes, reduces link delay, and improves system performance.

[0120] Corresponding to the above method embodiment, the embodiment of the present application further provides a readable storage medium. The readable storage medium described below and the communication method described above can refer to each other.

[0121] A readable storage medium stores a computer program, which implements the steps of the communication method of the above method embodiment when the computer program is executed by a processor.

[0122] The readable storage medium may specifically be a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or other readable storage medium that can store program codes.

[0123] Corresponding to the above method embodiment, the embodiment of the present application further provides a computer program product. The computer program product described below and the communication method described above can refer to each other.

[0124] A computer program product includes a computer program / instruction. When the computer program / instruction is executed by a processor, the steps of the above communication method are implemented.

[0125] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0126] Those skilled in the art may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0127] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0128] Finally, it should be noted that, in this article, relationships such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms include, include or any other variations are intended to cover non-exclusive inclusion, so that a process, method, article or device that includes a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0129] Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of ​​the present application. At the same time, for those skilled in the art, according to the idea of ​​the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A communication method, characterized in that: Applied to an interconnection exchange unit, the interconnection exchange unit includes a plurality of exchange boards, the exchange boards have a first-model exchange network port; when the first-model exchange network port is split into a second-model exchange network port, every two of the exchange boards are directly connected via a multi-channel connector, and the model of the multi-channel connector is the second model; The communication method comprises: Using the first external interface, receiving communication data sent by the target host to the target device; wherein the target host is connected to the interconnection switching unit through the first external interface; Using the configuration information, determine a communication link with at most two levels of switch boards in the interconnection exchange unit; wherein the starting interface of the link is the first external interface, the end interface of the link is the second external interface, and the target device is connected to the interconnection exchange unit through the second external interface; The communication data is transmitted in the communication link to send the communication data to the target device.

2. The communication method according to claim 1, characterized in that: Using the configuration information, in the interconnection switching unit, determining a communication link with at most two levels of switching boards, including: Determine the first switch board to which the first external interface belongs by using the configuration information; Determine the second switch board to which the second external interface belongs by using the configuration information; Determine whether the first switch board and the second switch board are the same target switch board; If yes, determining that the communication link passes through the first external interface, the first switch board, and the second external interface in sequence; If not, using the configuration information to determine a first switching network interface and a second switching network interface corresponding to the direct connection channel between the first switching board and the second switching board; Determine that the communication link passes through the first external interface, the first switch card, the first switching network interface, the second switching network interface, the second switch card, and the second external interface in sequence; The first switching network interface is a switching network port on the first switching board that is directly connected to the second switching board; The second switching network interface is a switching network port on the second switching board that is directly connected to the first switching board.

3. The method according to claim 1, characterized in that The bus width of the first model is x16, the bus width of the second signal is x8, and one switching network port of the first model is split into two switching network ports of the second model.

4. The method according to any one of claims 1 to 3, characterized in that: The switch board is a PCIe switch board, and the PCIe switch board includes 4 switch network ports; Correspondingly, transmitting the communication data in the communication link to send the communication data to the target device includes: In the communication link, the communication data is transmitted based on the PCIe protocol to send the communication data to the target device; wherein the target host is a host supporting the PCIe protocol, and the target device is a PCIe device.

5. The method according to any one of claims 1 to 3, characterized in that: The switch board is a CXL switch board, and the switch network port in the PCIe switch board is a CXL interface; Correspondingly, transmitting the communication data in the communication link to send the communication data to the target device includes: In the communication link, the communication data is transmitted based on the CXL protocol to send the communication data to the target device; wherein the target host is a host supporting the CXL protocol, and the target device is a device supporting the CXL protocol.

6. An interconnection switching unit, characterized in that: The invention comprises a plurality of switch boards, each of which has a switch network port of a first model; when the switch network port of the first model is split into a switch network port of a second model, each two of the switch boards are directly connected via a multi-channel connector, and the model of the multi-channel connector is the second model; The steps of the communication method according to any one of claims 1 to 5 are implemented in the interconnection switching unit.

7. A distributed service system, characterized in that: include: A computing resource pool, an access device and an interconnection switching unit as claimed in claim 6; The computing resource pool includes several hosts, the hosts are connected to the switching boards in the interconnection switching unit, and the access devices are connected to the switching boards in the interconnection switching unit.

8. The distributed service system according to claim 7, characterized in that: The interconnection exchange unit communicates based on the CXL protocol; Alternatively, the interconnection switching unit communicates based on the PCIe protocol.

9. The distributed service system according to claim 7, characterized in that: The number of the interconnection switching units is greater than or equal to 2, at least one of the interconnection switching units communicates based on the CXL protocol, and at least one of the interconnection switching units communicates based on the PCIe protocol.

10. A readable storage medium, characterized in that: The readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the communication method according to any one of claims 1 to 5 are implemented.

Citation Information

Cited By

  • Photoelectric conversion device, electronic apparatus, and electronic system

    CN120729818A

  • Bus communication system, signal aggregation method and server

    CN121051049A