Computing device and cluster

By binding the network ports of different RDMA network cards to form a logical single network port, the system unreliability problem caused by RDMA network card failure in the existing technology is solved, and a network connection with high reliability and robust performance is achieved.

CN118519953BActive Publication Date: 2024-10-15SHENZHEN XINGYUN ZHILIAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410985381.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2024-10-15
Estimated Expiration
2044-07-23

AI Technical Summary

Technical Problem

The interface binding of existing RDMA network cards is limited to the same network card. As a result, if the network card fails, all interfaces will fail, causing data communication to be interrupted, and the system lacks robustness and reliability.

Method used

By binding the network ports of different RDMA network cards, a logical single network port is formed to ensure that even if one network card fails, the network port of the other network card can continue to perform remote direct memory access, achieving high reliability and robustness of the system. Great performance.

Benefits of technology

It improves the system's network connection reliability and stability, avoids network interruptions due to single point failures, enhances network performance and response speed, and enables balanced distribution of network traffic especially in high-load environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118519953B_ABST
    Figure CN118519953B_ABST
Patent Text Reader

Abstract

The present application provides a computing device and a cluster. The computing device includes: a first network card having a first network port, the first network card being a remote direct memory access network card; a second network card having a second network port, the second network card being a remote direct memory access network card; a first host, used to perform remote direct memory access between a remote direct memory access application in the first host and a second host through one or more of the first network card or the second network card; wherein the first network port and the second network port are bound and used as a logical single network port.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computers, and in particular to a computing device and a cluster. Background Art

[0002] Remote Direct Memory Access (RDMA) is a technology derived from DMA. The feature of this technology is that it directly accesses the memory of the remote host without the intervention of the Central Processing Unit (CPU), thereby reducing the delay of data processing in network transmission. It can quickly transfer data from the first host to the memory of the second host. This transmission process only requires the participation of the network card and basically does not require the processing function of the CPU, thus saving a lot of CPU resources.

[0003] Currently, RDMA network cards support binding multiple interfaces within a network card, and the bound interfaces are used as a single logical interface, thereby improving the bandwidth, redundancy, and availability of network connections. However, because they are all performed on the interfaces in the same RDMA network card, if this network card fails, all network ports will also fail at the same time, causing data communication to be interrupted. Summary of the invention

[0004] The present application provides a computing device and a cluster, which can bind network ports of different RDMA network cards, thereby improving the reliability of use.

[0005] In a first aspect, a computing device is provided, comprising:

[0006] A first network card having a first network port, wherein the first network card is a remote direct memory access network card;

[0007] A second network card having a second network port, wherein the second network card is a remote direct memory access network card;

[0008] A first host, configured to perform remote direct memory access between a remote direct memory access application in the first host and a second host through one or more of the first network card or the second network card;

[0009] The first network port and the second network port are bound to each other and used as a logical single network port.

[0010] In some possible designs, the first host includes a kernel space, and the kernel space includes:

[0011] a first network device and a first remote direct memory access device, wherein the first network device and the first remote direct memory access device are connected via a first auxiliary bus, and the first network device and the first remote direct memory access device can implement remote direct memory access between the remote direct memory access application and the second host;

[0012] a second network device and a second remote direct memory access device, wherein the second network device and the second remote direct memory access device are connected via a second auxiliary bus, and the second network device and the second remote direct memory access device can implement remote direct memory access between the remote direct memory access application and the second host;

[0013] Binding remote direct memory access device, used to bind the first remote direct memory access device and the second remote direct memory access device to use them as a logical single remote direct memory access device;

[0014] The binding network device is used to bind the first network device and the second network device to use them as a logical single network device.

[0015] In some possible designs, the remote direct memory access application is a kernel remote direct memory access application disposed in the kernel space,

[0016] The kernel space includes a first kernel physical resource, a second kernel physical resource and a bound kernel physical resource, wherein the first kernel physical resource is used to implement remote direct memory access between the kernel remote direct memory access application and the second host, the second user physical resource is used to implement remote direct memory access between the kernel remote direct memory access application and the second host, and the bound kernel physical resource is used to bind the first kernel physical resource and the second kernel physical resource and use them as a logically single kernel physical resource.

[0017] In some possible designs, the first kernel physical resources and the second kernel physical resources include one or more of a protection domain, a storage domain, a send queue, a receive queue, and a completion queue.

[0018] In some possible designs, when the bound remote direct memory access device determines that the first network port has failed, the data in the send queue and the receive queue in the first kernel physical resource are copied to the send queue and the receive queue in the second kernel physical resource, and the completion queue in the first kernel physical resource is read empty.

[0019] In some possible designs, the kernel space also includes a first routing module, wherein the first routing module is used to select whether to implement remote direct memory access between the kernel remote direct memory access application and the second host through the first network device, the first remote direct memory access device, the first kernel physical resource or the first network device, the first remote direct memory access device, and the second kernel physical resource.

[0020] In some possible designs, the first host includes a user space, the remote direct memory access application is a user remote direct memory access application set in the user space,

[0021] The user space includes a first user physical resource, a second user physical resource, and a bound user physical resource, wherein the first user physical resource is used to implement remote direct memory access between the user remote direct memory access application and the second host, the second user physical resource is used to implement remote direct memory access between the user remote direct memory access application and the second host, and the bound user physical resource is used to bind the first user physical resource and the second user physical resource to use them as a logically single user physical resource.

[0022] In some possible designs, the first user physical resource and the second user physical resource include one or more of a protection domain, a storage domain, a sending queue, a receiving queue, and a completion queue.

[0023] In some possible designs, the user space includes a second routing module, wherein the second routing module is used to select whether to implement remote direct memory access between the kernel remote direct memory access application and the second host through the first network device, the first remote direct memory access device, the first user physical resources or the first network device, the first remote direct memory access device, and the second user physical resources.

[0024] In some possible designs, when the bound remote direct memory access device determines that the first network port has failed, the data in the sending queue and receiving queue in the first user physical resource are copied to the sending queue and receiving queue in the second user physical resource, and the completion queue in the first user physical resource is read empty.

[0025] In a second aspect, a computing device cluster is provided, comprising a computing device as described in any one of the first aspect.

[0026] In the above scheme, the network ports of different RDMA network cards can be bound. Even if one of the RDMA network cards fails, as long as the other network card does not fail, remote direct memory access can still be performed through the network port of the other network card, thereby improving the robustness performance of the entire system. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the background technology, the drawings required for use in the embodiments of the present invention or the background technology will be described below.

[0028] Figure 1 It is a structural schematic diagram of a computing device provided by the present application;

[0029] Figure 2 It is a schematic diagram of a remote direct memory access device with a bound network port provided by the present application;

[0030] Figure 3 It is a schematic diagram of a physical resource for binding a network port provided by the present application;

[0031] Figure 4 This is a schematic diagram of a first routing module performing routing provided by the present application;

[0032] Figure 5 This is a schematic diagram of a second routing module performing routing provided by the present application;

[0033] Figure 6 It is a schematic diagram of a kernel remote direct memory access application for failover provided by the present application;

[0034] Figure 7 It is a schematic diagram of a user remote direct memory access application for failover provided by the present application;

[0035] Figure 8 It is a structural schematic diagram of another computing device provided by the present application. DETAILED DESCRIPTION

[0036] The embodiments of the present invention are described below in conjunction with the accompanying drawings in the embodiments of the present invention. The terms used in the implementation mode of the present invention are only used to explain the specific embodiments of the present invention, and are not intended to limit the present invention.

[0037] See also Figure 1 , Figure 1 is a schematic diagram of the structure of a computing device provided by this application. Figure 1 As shown, the computing device of the present application includes: a first host 110 , a first network card 120 and a second network card 130 .

[0038] The first host 110 includes a kernel space and a user space, wherein the kernel space is a privileged environment for the core functions of the operating system to run, and the user space is a restricted environment for user programs to run. The operating system in the first host provides a secure and efficient computing environment by effectively managing these two spaces.

[0039] The kernel space is the core part of the operating system, which contains the main functions and services of the operating system, such as the scheduler, device drivers, memory management, and file system. The code running in the kernel space has a higher privilege level and a wider range of permissions, and can directly access hardware resources and perform low-level operations, such as managing hardware interrupts and allocating physical memory. The kernel space can include kernel applications. Kernel applications refer to programs or functions running in the kernel space, which perform low-level system operations, such as system call processing, process scheduling, and memory management. Kernel applications include kernel remote direct memory access applications, which refer to applications running in the kernel space that can implement remote direct memory access.

[0040] User space is a part of the operating system that runs applications and processes created by users. These applications usually include browsers, document editors, games, etc., as well as software written by users themselves. Programs running in user space cannot directly access or perform core-level operations of the operating system's core hardware resources. Instead, they rely on services and functions provided by the operating system, such as file systems, network communications, memory management, etc. User space programs run in a virtual address space managed by the operating system. This virtualization ensures isolation and security between different programs. User space programs request the operating system to provide services or access resources through system calls. User space can include user applications. Among them, user applications usually refer to ordinary applications running in the operating system. These applications are software used directly by users. Unlike kernel applications, user applications run in the user space of the operating system and interact with hardware and other software through services and interfaces provided by the operating system. User applications include user remote direct memory access applications, which refer to applications running in user space that can implement remote direct memory access.

[0041] The first network card 120 has a first network port, and the first network card is a remote direct memory access network card. The remote direct memory access network card can bypass the operating system network protocol stack to directly access the memory of the second host, achieving extremely low latency and high throughput data transmission. The core structure of the remote direct memory access network card includes a queue pair (send queue and receive queue), a completion queue (CQ), a protection domain (PD) and a memory register. In addition, the remote direct memory access network card is equipped with a dedicated processor and a high-speed cache, and supports multiple link layer protocols, thereby significantly reducing the CPU load in high-performance computing and data center environments, and improving system efficiency and response speed.

[0042] The second network card 130 has a second network port, and the second network card is a remote direct memory access network card.

[0043] In order to solve the problem that only interfaces in the same RDMA network card can be bound in the prior art, the present application binds the first network port in the first network card 120 and the second network port in the second network card 130, and the bound network port is called a bound network port. After the first network port and the second network port are bound, the user remote direct memory access application in the user space and the kernel remote direct memory access application in the kernel space can realize remote direct memory access to the second host through one or more of the first network port and the second network port. It can be understood that after the first network port and the second network port are bound, the bandwidth of the first network port and the second network port can be used at the same time, thereby increasing the total bandwidth and throughput of the network port, especially in a high-load environment, which can significantly improve network performance and response speed. In addition, even if one of the network ports fails or the connection is interrupted, it can still continue to work through other network ports to ensure the reliability and stability of the network connection. In addition, after the first network port and the second network port are bound, load balancing can be achieved, and network traffic can be evenly distributed to different network ports, thereby avoiding excessive load on a single network port and improving the efficiency and performance of the overall network. Finally, because the first network port belongs to the first network card and the second network port belongs to the second network card, even if one of the network cards fails, as long as the other network card can work normally, network interruption can be avoided. In the above example, the first network card and the second network card are bound. In actual applications, more network cards or more network ports can be bound.

[0044] The following will take the binding of the first network port of the first network card and the second network port of the second network card as an example to introduce in detail the way to bind network ports across network cards. The ways to bind network ports across network cards include at least the following:

[0045] 1. Equipment management

[0046] In order to realize binding the first network port in the first network card and the second network port in the second network card, and perform remote direct memory access through the bound network ports, it is necessary to create a first network device for communication with the first network port in the kernel space, create a first remote direct memory access device for remote direct memory access with the first network port, create a second network device for communication with the second network port, and create a second remote direct memory access device for remote direct memory access with the second network port. Since the first network device and the first remote direct memory access device created for the first network port have no authority to manage the second network port, and the second network device and the second remote direct memory access device created for the second network port have no authority to manage the first network port, it is necessary to create a bound remote direct memory access device 112 to manage the first remote direct memory access device 111 and the second remote direct memory access device 113, and create a bound network device 115 to manage the first network device 114 and the second network device 116, so as to realize the management of the first network card and the second network card at the same time.

[0047] like Figure 2 As shown, the following can be created in the kernel space: a first remote direct memory access device 111, a second remote direct memory access device 113, a first network device 114, and a second network device 116. The first network device 114 and the first remote direct memory access device 111 are connected via a first auxiliary bus, and the second network device 116 and the second remote direct memory access device 113 are connected via a second auxiliary bus. The first remote direct memory access device 111 and the first network device 114 are devices set for the first network card, and the second remote direct memory access device 113 and the second network device 116 are devices set for the second network card.

[0048] The first network device 114 is a key component for managing and controlling the network communication of the first network card. The first network device 114 is mainly responsible for the following tasks:

[0049] (1) Responsible for receiving and sending data packets. For example, it receives data packets from the first network card, performs necessary processing (such as packet filtering and routing selection), and forwards the data packets to the correct destination or upper-layer application.

[0050] (2) Protocol implementation. For example, the implementation of various network protocol stacks, such as Transmission Control Protocol (TCP) / Internet Protocol (IP), User Datagram Protocol (UDP), etc. These protocols define how data is transmitted in the network, including address resolution, error detection, data reassembly, and congestion control.

[0051] (3) Security functions. For example, responsible for implementing various network security strategies, including packet filtering, firewall functions, and possible intrusion detection systems.

[0052] (4) Network interface management. For example, managing the configuration and status of all network interfaces, including IP address allocation, network interface card (NIC) configuration, and connection status to the physical network.

[0053] (5) Resource allocation and limitation. For example, it is responsible for the allocation of network resources, such as bandwidth limitation and priority control. These resource management strategies ensure the quality and efficiency of network services.

[0054] The second network device 116 is a key component for managing and controlling the network communication of the second network card. The second network device 116 is similar to the first network device, and will not be described in detail here.

[0055] The first remote direct memory access device 111 is a key component for implementing remote direct memory access of the first network card. It mainly includes the following functions:

[0056] (1) Protocol support. For example, support for specific network protocols defines the rules for data transmission, the format of data packets, error handling mechanisms, etc.

[0057] (2) Traffic management and quality assurance service support. For example, traffic management functions can help manage the priority and bandwidth allocation of network traffic, ensuring that data transmission of critical applications is given priority over other applications.

[0058] (3) Security and authentication. For example, provide some security features such as data encryption and authentication mechanisms to prevent unauthorized access and data leakage.

[0059] (4) Error detection and recovery. For example, provide error detection and recovery mechanisms to identify and handle errors that may occur during data transmission and ensure data integrity and reliability.

[0060] (5) System integration and driver support. For example, provide corresponding device drivers that can be properly integrated and run with the operating system. These drivers are responsible for tasks such as device initialization, resource management, and error handling.

[0061] The second remote direct memory access device 113 is a key component for implementing remote direct memory access of the second network card. The second remote direct memory access device 113 is similar to the first remote direct memory access device 111, and will not be described in detail here.

[0062] In the absence of binding, the first host can implement remote direct memory access between the first host and the second host through the first remote direct memory access device 111, the first network device 114 and the first network port of the first network card, and the second host can implement remote direct memory access between the first host and the third host through the second remote direct memory access device 113, the second network device 116 and the second network port of the second network card.

[0063] In order to realize the binding of the first network port of the first network card and the second network port of the second network card, the kernel space also needs to set the binding remote direct memory access device 112 and the binding network device 115. Among them, the binding remote direct memory access device 112 binds the first remote direct memory access device and the second remote direct memory access device, and uses them as a logical single remote direct memory access device. The binding network device 115 binds the first network device and the second network device, and uses them as a logical single network device. At this time, the binding remote direct memory access device 112 can manage the first remote direct memory access device 111 and the second remote direct memory access device 113, and the binding network device 115 manages the first network device 114 and the second network device 116, thereby having the conditions for binding the first network port in the first network card and the second network port in the second network card.

[0064] (B) Resource management.

[0065] like Figure 3 As shown, in order to enable the user remote direct memory access application to perform remote memory access through the bound network port, it is necessary to create a first user physical resource for the first network port to perform remote memory access in the user space, and create a second user physical resource for the second network port to perform remote memory access in the user space. Among them, the first user physical resource includes one or more of a protection domain, a storage domain, a sending queue, a receiving queue, and a completion queue. The second user physical resource includes one or more of a protection domain, a storage domain, a sending queue, a receiving queue, and a completion queue. Since the first user physical resource and the second user physical resource need to be uniformly managed after the first network port and the second network port are bound, it is necessary to create a bound user physical resource. The bound user physical resource is used to bind the first user physical resource and the second user physical resource and use them as a logically single user physical resource. It can be understood that the above examples of the first user physical resource and the second user physical resource are only specific examples. In actual applications, more content can be included, which is not specifically limited here.

[0066] In order to enable the kernel remote direct memory access application to perform remote memory access through a bound network port, it is necessary to create a first kernel physical resource in the kernel space for the first network port to perform remote memory access, and to create a second kernel physical resource in the kernel space for the second network port to perform remote memory access. Among them, the first kernel physical resource includes one or more of a protection domain, a storage domain, a send queue, a receive queue, and a completion queue. The second kernel physical resource includes one or more of a protection domain, a storage domain, a send queue, a receive queue, and a completion queue. Since the first kernel physical resource and the second kernel physical resource need to be uniformly managed after the first network port and the second network port are bound, it is necessary to create a bound kernel physical resource. The bound kernel physical resource is used to bind the first kernel physical resource and the second kernel physical resource and use them as a logically single kernel physical resource. It can be understood that the above examples of the first kernel physical resource and the second kernel physical resource are only specific examples. In actual applications, more content can be included, which is not specifically limited here.

[0067] It can be understood that when it is only necessary to implement the user remote direct memory access application to be able to perform remote memory access through the bound network port, only the first user physical resource, the second user physical resource and the bound user physical resource can be created. When it is only necessary to implement the kernel remote direct memory access application to be able to perform remote memory access through the bound network port, only the first kernel physical resource, the second kernel physical resource and the bound kernel physical resource can be created. When the user remote direct memory access application and the kernel remote direct memory access application are implemented at the same time, the first user physical resource, the second user physical resource, the bound user physical resource, the first kernel physical resource, the second kernel physical resource and the bound kernel physical resource need to be created at the same time.

[0068] (3) Data routing.

[0069] Since the bound network ports include the first network port and the second network port, however, when actually performing remote direct memory access, only one of the network ports can be selected for remote direct memory access.

[0070] like Figure 4 As shown, the kernel space also includes a first routing module. When the kernel remote direct memory access application needs to perform remote direct memory access, the first routing module can be used to select whether to implement remote direct memory access between the kernel remote direct memory access application and the second host through the first network device, the first remote direct memory access device, the first kernel physical resource or the first network device, the first remote direct memory access device, and the second kernel physical resource.

[0071] like Figure 5As shown, the kernel space also includes a second routing module. When the user remote direct memory access application needs to perform remote direct memory access, the second routing module can be used to select whether to implement the remote direct memory access between the kernel remote direct memory access application and the second host through the first network device, the first remote direct memory access device, the first user physical resource or the first network device, the first remote direct memory access device, and the second user physical resource.

[0072] (IV) Fault identification and switching processing.

[0073] like Figure 6 As shown, when the kernel remote direct memory access application performs remote direct memory access, if the bound remote direct memory access device determines that the first network port has failed, then the data in the send queue and receive queue in the first kernel physical resource is copied to the send queue and receive queue in the second kernel physical resource, and the completion queue in the first kernel physical resource is read empty.

[0074] like Figure 7 As shown, when a user remote direct memory access application performs remote direct memory access, if the bound remote direct memory access device determines that the first network port fails, then the data in the sending queue and receiving queue in the first user's physical resource are copied to the sending queue and receiving queue in the second user's physical resource, and the completion queue in the first user's physical resource is read empty.

[0075] See also Figure 8 , Figure 8 4 is a schematic diagram of another computing device provided by the present application. The computing device 400 includes: one or more processing units 410 , a communication interface 420 and a memory 430 .

[0076] The processing unit 410, the communication interface 420 and the memory 430 are interconnected via a bus 440. Optionally, the computing device 400 may also include an input / output interface 450, which is connected to an input / output device for receiving parameters set by a user, etc. The computing device 400 can be used to implement part or all of the functions of the device embodiment or system embodiment in the above-mentioned embodiment of the present application; the processing unit 410 can also be used to implement part or all of the operation steps of the method embodiment in the above-mentioned embodiment of the present application. For example, the specific implementation of the various operations performed by the computing device 400 can refer to the specific details in the above-mentioned embodiment, such as the processing unit 410 is used to perform part or all of the steps in the above-mentioned method embodiment or part or all of the operations in the above-mentioned method embodiment. For another example, in the embodiment of the present application, the computing device 400 can be used to implement part or all of the functions of one or more components in the above-mentioned device embodiment, and the communication interface 420 can be specifically used for the communication functions necessary to implement the functions of these devices and components, and the processing unit 410 can be specifically used for the processing functions necessary to implement the functions of these devices and components, etc.

[0077] Figure 8 The computing device 400 may include one or more processing units 410, and the multiple processing units 410 may provide processing capabilities in a coordinated manner in a parallel connection manner, a serial connection manner, a serial-parallel connection manner, or any connection manner, or the multiple processing units 410 may constitute a processor sequence or a processor array, or the multiple processing units 410 may be divided into a main processor and an auxiliary processor, or the multiple processing units 410 may have different architectures such as a heterogeneous computing architecture. In addition, Figure 8 The computing device 400 shown in the figure, and the related structural description and functional description are exemplary and non-limiting. In some exemplary embodiments, the computing device 400 may include Figure 8 More or fewer components may be shown, or some components may be combined or separated, or may have a different arrangement of components.

[0078] The processing unit 410 may have a variety of specific implementation forms. For example, the processing unit 410 may include a central processing unit (CPU), a graphic processing unit (GPU), a neural-network processing unit (NPU), a tensor processing unit (TPU) or a data processing unit (DPU), etc., and the embodiment of the present application does not specifically limit it. The processing unit 410 may also be a single-core processor or a multi-core processor. The processing unit 410 may be a combination of a CPU and a hardware chip. The above-mentioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The above-mentioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof. The processing unit 410 may also be implemented using a logic device with built-in processing logic alone, such as an FPGA or a digital signal processor (DSP). The communication interface 420 may be a wired interface or a wireless interface for communicating with other modules or devices. The wired interface may be an Ethernet interface, a local interconnect network (LIN), etc., and the wireless interface may be a cellular network interface or a wireless local area network interface, etc.

[0079] The memory 430 may be a non-volatile memory, such as a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The memory 430 may also be a volatile memory, which may be a random access memory (RAM) used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous connection dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM). The memory 430 may also be used to store program codes and data, so that the processing unit 410 calls the program codes stored in the memory 430 to execute some or all of the operation steps in the above method embodiment, or to execute the corresponding functions in the above device embodiment. Figure 8 Show more or fewer components, or have different component configurations.

[0080] The bus 440 may be a peripheral component interconnect express (PCIe) bus, an extended industry standard architecture (EISA) bus, a unified bus (Ubus or UB), a compute express link (CXL), a cache coherent interconnect for accelerators (CCIX), etc. The bus 440 may be divided into an address bus, a data bus, a control bus, etc. In addition to the data bus, the bus 440 may also include a power bus, a control bus, and a status signal bus, etc. However, for the sake of clarity, Figure 8 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0081] The present application also provides a system, which includes multiple computing devices, and the structure of each computing device can refer to the structure of the computing device described above. The functions or operations that can be implemented by the system can refer to the specific implementation steps in the above method embodiment and / or the specific functions described in the above device embodiment, which will not be repeated here.

[0082] In the above embodiments, all or part of the embodiments can be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments can be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one network site, computer, server or data center to another network site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, microwave, etc.) means. The computer-readable storage medium can be any available medium that can be accessed by a computer, or it can be a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape, etc.), an optical medium (e.g., a DVD, etc.), or a semiconductor medium (e.g., a solid-state hard disk), etc.

[0083] In the above embodiments, the description of each embodiment has different emphases. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

Claims

1. A computing device, It is characterized in that include: A first network card having a first network port, wherein the first network card is a remote direct memory access network card; A second network card having a second network port, wherein the second network card is a remote direct memory access network card; A first host, configured to perform remote direct memory access between a remote direct memory access application in the first host and a second host through one or more of the first network card or the second network card; The first network port and the second network port are bound to each other and used as a single logical network port; a first network device and a first remote direct memory access device, wherein the first network device and the first remote direct memory access device are connected via a first auxiliary bus, and the first network device and the first remote direct memory access device can implement remote direct memory access between the remote direct memory access application and the second host; a second network device and a second remote direct memory access device, wherein the second network device and the second remote direct memory access device are connected via a second auxiliary bus, and the second network device and the second remote direct memory access device can implement remote direct memory access between the remote direct memory access application and the second host; Binding remote direct memory access device, used to bind the first remote direct memory access device and the second remote direct memory access device to use them as a logical single remote direct memory access device; The binding network device is used to bind the first network device and the second network device to use them as a logical single network device.

2. The device according to claim 1, It is characterized in that The remote direct memory access application is a kernel remote direct memory access application set in the kernel space, The kernel space includes a first kernel physical resource, a second kernel physical resource and a bound kernel physical resource, wherein the first kernel physical resource is used to implement remote direct memory access between the kernel remote direct memory access application and the second host, the second kernel physical resource is used to implement remote direct memory access between the kernel remote direct memory access application and the second host, and the bound kernel physical resource is used to bind the first kernel physical resource and the second kernel physical resource and use them as a logically single kernel physical resource.

3. The device according to claim 2, It is characterized in that The first kernel physical resource and the second kernel physical resource include one or more of a protection domain, a storage domain, a sending queue, a receiving queue and a completion queue.

4. The device according to claim 3, It is characterized in that When the bound remote direct memory access device determines that the first network port fails, the data in the sending queue and the receiving queue in the first kernel physical resource are copied to the sending queue and the receiving queue in the second kernel physical resource, and the completion queue in the first kernel physical resource is read empty.

5. The device according to any one of claims 2 to 4, It is characterized in that The kernel space also includes a first routing module, wherein the first routing module is used to select whether to implement remote direct memory access between the kernel remote direct memory access application and the second host through the first network device, the first remote direct memory access device, the first kernel physical resource or the first network device, the first remote direct memory access device, and the second kernel physical resource.

6. The device according to claim 2, It is characterized in that The first host includes a user space, the remote direct memory access application is a user remote direct memory access application set in the user space, The user space includes a first user physical resource, a second user physical resource, and a bound user physical resource, wherein the first user physical resource is used to implement remote direct memory access between the user remote direct memory access application and the second host, the second user physical resource is used to implement remote direct memory access between the user remote direct memory access application and the second host, and the bound user physical resource is used to bind the first user physical resource and the second user physical resource to use them as a logically single user physical resource.

7. The device according to claim 6, It is characterized in that The first user physical resource and the second user physical resource include one or more of a protection domain, a storage domain, a sending queue, a receiving queue and a completion queue.

8. The device according to claim 6 or 7, It is characterized in that The user space includes a second routing module, wherein the second routing module is used to select whether to implement remote direct memory access between the kernel remote direct memory access application and the second host through the first network device, the first remote direct memory access device, the first user physical resource or the first network device, the first remote direct memory access device, and the second user physical resource.

9. The device according to claim 8, It is characterized in that When the bound remote direct memory access device determines that the first network port fails, the data in the sending queue and the receiving queue in the first user physical resource are copied to the sending queue and the receiving queue in the second user physical resource, and the completion queue in the first user physical resource is read empty.

10. A computing device cluster, It is characterized in that Comprising a computing device as claimed in any one of claims 1 to 9.