Access acceleration system for storage device
By implementing point-to-point transmission and direct memory access between computing chips and storage devices in the access acceleration system of storage devices, the problem of full CPU load is solved and data processing efficiency and system performance are improved.
Patent Information
- Application Number
- PCT/CN2023/132744
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-22
- Filing Date
- 2023-11-20
- Publication Date
- 2024-09-26
AI Technical Summary
The access acceleration system architecture of existing storage devices can easily cause the central processing unit (CPU) to be fully loaded, resulting in inefficient data processing by the system.
By designing an access acceleration system for storage devices, using point-to-point transmission between PCIe switches and computing chips (such as FPGA), the direct memory access (DMA) function is implemented, reducing CPU intervention and allowing computing chips to process data independently. Release CPU resources.
It effectively reduces the load on the CPU, allows the use of a larger number of PCIe devices, and improves data processing efficiency and system performance.
Smart Images

Figure CN2023132744_26092024_PF_FP
Abstract
Description
Access acceleration system for storage devices
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to the Chinese patent application filed with the China Patent Office on March 22, 2023, with application number 202310285923.5 and application name “Access acceleration system for storage devices”, the entire contents of which are incorporated by reference into this application. Technical Field
[0003] The embodiments of the present application relate to the field of computers, and in particular, to an access acceleration system for a storage device. Background Art
[0004] In recent years, with the increasing use of field programmable gate arrays (FPGAs) in data centers to accelerate inference in fields such as machine learning and big data, FPGAs have provided low-latency acceleration capabilities in high-performance computing (HPC), such as architectural design modeling, oil and gas exploration, and nuclear power generation simulation. FPGAs offload workloads from central processing units (CPUs) by reducing complex bottlenecks. FPGAs also have the ability to implement hash algorithms (SHA), data deduplication, error correction codes, and compression. This online processing approach frees up limited processor memory while reducing the computational load on the processor, giving the system architecture the advantage of dual computing. This architecture reduces CPU power consumption and optimizes the CPU's performance, achieving optimized data center performance.
[0005] Currently, a direct CPU-device connection architecture is commonly used. All Peripheral Component Interconnect Express (PCIe) devices are directly connected to the X86 system through the CPU root complex. All data transmission must be read by the CPU, which then distributes the data to the FPGA for processing. Server products often have a large number of external solid-state drives (SSDs) and many PCIe devices. If this architecture is applied to servers, it is likely to cause the CPU to be frequently fully loaded, resulting in poor system data processing efficiency.
[0006] Summary of the Invention
[0007] An embodiment of the present application provides an access acceleration system for a storage device, so as to at least solve the problem in the related art that the access acceleration system architecture applied to the storage device easily causes CPU full load.
[0008] According to one embodiment of the present application, an access acceleration system for a storage device is provided, comprising a central processing unit (CPU), a PCIe device, a storage device, a computing chip, and a memory, wherein: the PCIe device comprises a root complex device, a PCIe switch, and a PCIe endpoint device; the CPU is communicatively connected to the upstream port of the PCIe switch via the root complex device, the storage device is communicatively connected to the downstream port of the PCIe switch, the computing chip is communicatively connected to the downstream port of the PCIe switch via the PCIe endpoint device, and the storage device and the computing chip are communicatively connected to different downstream ports, respectively; and the CPU and the computing chip are electrically connected to different memories.
[0009] In an exemplary embodiment, the access acceleration system further includes: a network adapter communicatively connected to a downstream port of the PCIe switch, and the network adapter, the storage device, and the computing chip are communicatively connected to different downstream ports respectively.
[0010] In an exemplary embodiment, an access acceleration system includes at least one host unit and at least one computing unit, wherein: each host unit includes a central processing unit, a root complex device and a memory; each computing unit includes at least one PCIe switch, multiple storage devices, at least one computing chip, at least one PCIe endpoint device and at least one memory; each root complex device is communicatively connected to the PCIe switch in at least one computing unit; in each computing unit, each PCIe switch communicatively connected to the root complex device is communicatively connected to multiple storage devices, each computing chip is communicatively connected to at least one PCIe switch via at least one PCIe endpoint device, and the computing chips are electrically connected to the memories in a one-to-one correspondence.
[0011] In an exemplary embodiment, at least one computing unit includes a plurality of PCIe switches and a plurality of computing chips. In the same computing unit, the PCIe switches correspond to the computing chips on a one-to-one basis.
[0012] In an exemplary embodiment, each PCIe switch in the same computing unit is communicatively connected to the root complex device; in the same computing unit, multiple PCIe endpoint devices communicatively connected to any computing chip are communicatively connected to multiple downstream ports of a PCIe switch in a one-to-one correspondence.
[0013] In an exemplary embodiment, the computing unit includes at least one first PCIe switch and at least one second PCIe switch, wherein: each first PCIe switch has a first upstream port and multiple first downstream ports, the first upstream port is communicatively connected to the root complex device, at least one first downstream port is communicatively connected to the computing chip through a PCIe endpoint device, and the remaining first downstream ports are communicatively connected to the storage device; each second PCIe switch has a second downstream port, and the second downstream port is communicatively connected to the computing chip through the PCIe endpoint device.
[0014] In an exemplary embodiment, the first downstream port of each second PCIe switch is communicatively connected to the same number of storage devices.
[0015] In an exemplary embodiment, the second downstream port of each second PCIe switch is communicatively connected to at least one computing chip through the same number of PCIe endpoint devices.
[0016] In an exemplary embodiment, in each computing unit, each computing chip is communicatively connected to a first PCIe switch via multiple first PCIe endpoint devices, and each computing chip is communicatively connected to multiple second PCIe switches in a one-to-one correspondence via multiple second PCIe endpoint devices.
[0017] In an exemplary embodiment, in each computing unit, the number of first PCIe endpoint devices and second PCIe endpoint devices communicatively connected to the same computing chip is the same.
[0018] In an exemplary embodiment, in each computing unit, each computing chip is communicatively connected to the same number of first PCIe endpoint devices and second PCIe endpoint devices.
[0019] In an exemplary embodiment, in each computing unit, the number of second PCIe endpoint devices communicatively connected to each second PCIe switch is the same as the number of computing chips.
[0020] In an exemplary embodiment, the access acceleration system further includes: a switching network port integrated in a plurality of PCIe switches, and configured to support transmission between a PCIe switch integrated with the switching network port and another PCIe switch.
[0021] In an exemplary embodiment, the access acceleration system includes multiple first computing units, each of which has a first switching network port integrated in a first PCIe switch, and the first switching network ports in different first computing units are communicatively connected.
[0022] In an exemplary embodiment, the first target operating unit is communicatively connected to at least one second target operating unit other than the first target operating unit among the multiple first operating units through a first switching network port, and the first switching network port in the first target operating unit corresponds one-to-one to the first switching network port of each second target operating unit.
[0023] In an exemplary embodiment, the access acceleration system includes multiple second computing units, each of which has a second switching network port integrated in a second PCIe switch, and the second switching network ports in different second computing units are communicatively connected.
[0024] In an exemplary embodiment, the third target operating unit is communicatively connected to at least one fourth target operating unit among the multiple second operating units except the third target operating unit through the second switching network port, and the second switching network port in the third target operating unit corresponds one-to-one to the second switching network port of each fourth target operating unit.
[0025] In an exemplary embodiment, the access acceleration system includes a third computing unit, which has a first switching network port integrated in at least one first PCIe switch and a second switching network port integrated in at least one second PCIe switch. The first switching network port and the second switching network port are both switchable ports. When at least one first switching network port is switched to a second uplink port and at least one second switching network port is switched to a third downlink port, at least one second uplink port is communicatively connected to at least one third downlink port in a one-to-one correspondence.
[0026] In an exemplary embodiment, the access acceleration system includes multiple third computing units, a second PCIe switch is integrated with a switchable port and a third switching network port, and the third switching network ports in different third computing units are communicatively connected.
[0027] In an exemplary embodiment, the fifth target operation unit is communicatively connected to at least one sixth target operation unit other than the fifth target operation unit among the multiple third operation units through a third switching network port, and the third switching network port in the fifth target operation unit corresponds one-to-one to the third switching network port of each sixth target operation unit.
[0028] Through this application, computing chips (such as FPGAs) and storage devices (such as NVMe solid-state drives, Non-Volatile Memory Express Solid-State Drives, NVMe SSDs) can not only transmit data through the traditional direct connection to the central processing unit (CPU), but can also achieve point-to-point transmission between computing chips such as FPGAs and storage devices such as NVMe SSDs through the access acceleration system architecture (Storage Accelerate Architecture, SAA) in this embodiment, thereby realizing the function of direct memory access (Direct Memory Access, DMA). Since DMA is a technology that can directly access memory, it allows hardware subsystems to read and write memory independently and directly without the need for CPU intervention. Through SAA, CPU resources can be released to other applications, and computing chips such as FPGAs can be independently responsible for pre-processing / post-processing data. Each FPGA is a data processing driver engine, and each driver added to the server adds computing resources, thereby reducing the CPU load and allowing the use of a larger number of PCIe devices. Therefore, it can solve the problem that the access acceleration system architecture applied to storage devices in the related art easily causes the CPU to be fully loaded, achieving the effect of reducing the CPU load and allowing the use of a larger number of PCIe devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] FIG1 is a block diagram of an access acceleration system for a storage device according to the related art;
[0030] FIG2 is a block diagram of an access acceleration system for transmitting data directly connected to a central processing unit according to an embodiment of the present application;
[0031] FIG3 is a block diagram of an access acceleration system for point-to-point data transmission between a computing chip and a storage device according to an embodiment of the present application;
[0032] FIG4 is an architectural block diagram of an access acceleration system for a storage device having multiple sets of host units and computing units according to one embodiment of the present application;
[0033] 5 is an architectural block diagram of an access acceleration system for a storage device having multiple first PCIe switches according to one embodiment of the present application;
[0034] 6 is a block diagram of an access acceleration system for a storage device having multiple sets of host units and computing units according to another embodiment of the present application;
[0035] 7 is a block diagram of an access acceleration system for a storage device having multiple sets of host units and computing units according to another embodiment of the present application;
[0036] 8 is a block diagram of an access acceleration system for a storage device having multiple sets of host units and computing units according to another embodiment of the present application;
[0037] FIG9 is a block diagram of the architecture of each group of host units and computing units in the system shown in FIG8 . DETAILED DESCRIPTION
[0038] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.
[0039] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0040] For ease of description, some nouns or terms involved in the embodiments of the present application are explained below:
[0041] Peripheral Component Interconnect Express Enumeration (PCIe) is a standard for interconnecting peripheral components. For example, the host uses the PCIe enumeration process to obtain the complete PCIe device topology.
[0042] Direct Memory Access: Direct Memory Access, abbreviated as DMA, is a memory access technology in computer science that allows hardware subsystems to read and write system memory independently and directly without the intervention of the central processing unit;
[0043] Root complex: A device that connects the processor and memory subsystem to the PCI Express switch fabric, which consists of one or more switch devices.
[0044] Endpoint device: EndPoint, in this application, refers to the PCIe endpoint device.
[0045] Figure 1 shows a related art architecture for direct CPU-device connections, including a CPU, root complex, peripheral components, and memory. Peripheral components include field programmable gate arrays (FPGAs), NVMe solid-state drives (NVMe SSDs), and network interface cards (NICs). All Peripheral Component Interconnect Express (PCIe) devices are directly connected to the PCIe root complex via PCIe links to the X86 system. All data must be read by the CPU, which then distributes the data to the FPGA for processing. Servers typically have a large number of external solid-state drives (SSDs) and numerous PCIe devices. Applying this architecture to servers can easily lead to frequent CPU overload and poor system data processing efficiency.
[0046] In one embodiment of the present application, a storage device access acceleration system is provided. FIG2 is an architectural block diagram of the storage device access acceleration system according to the embodiment of the present application. As shown in FIG2 and FIG3 , the access acceleration system includes a central processing unit, a PCIe device, a storage device, a computing chip, and a memory, wherein:
[0047] PCIe devices include root complex devices, PCIe switches and PCIe endpoint devices; the central processing unit is communicated with the upstream port of the PCIe switch through the root complex device, the storage device is communicated with the downstream port of the PCIe switch, the computing chip is communicated with the downstream port of the PCIe switch through the PCIe endpoint device, and the storage device and computing chip are communicated with different downstream ports respectively; the central processing unit and computing chip are electrically connected to different memories.
[0048] Through this embodiment, computing chips (such as FPGAs) and storage devices (such as solid-state drives) can not only transmit data through traditional direct connections to the central processing unit (CPU) (as shown in Figure 2), but can also achieve point-to-point transmission between computing chips such as FPGAs and storage devices through the access acceleration system architecture (Storage Accelerate Architecture, SAA) of this embodiment (as shown in Figure 3), thereby realizing the function of direct memory access (DMA). Since DMA is a technology that can directly access memory, it allows hardware subsystems to read and write memory independently and directly without the need for CPU intervention. Through SAA, CPU resources can be released to other applications, and computing chips such as FPGAs can independently pre-process / post-process data. Each FPGA is a data processing driver engine. Adding computing resources to each driver of the server reduces the CPU load and allows the use of a larger number of PCIe devices. Therefore, the problem of the access acceleration system architecture applied to storage devices in the related art that easily causes CPU overload is solved, achieving the effect of reducing the CPU load and allowing the use of a larger number of PCIe devices.
[0049] The SAA architecture enables point-to-point data transmission between the computing chip and the storage device, achieving DMA (Direct Memory Access) functionality. The computing chip and storage device can independently and directly read and write memory without CPU intervention. The SAA architecture frees up CPU resources for other applications, allowing the computing chip to independently handle data pre- and post-processing. Each computing chip acts as a data processing engine. Each drive added to the server adds computing resources, reducing CPU load and allowing the use of a larger number of PCIe devices to process larger databases.
[0050] In some exemplary embodiments, the storage device can be a solid-state drive, such as an NVMe solid-state drive (NVMe SSD), and the computing chip can be a field programmable gate array (FPGA). FPGA accelerator data transmission uses an internal data path and saves valuable DRAM bandwidth. This approach can be expanded without the need for expensive x86 systems, avoiding unnecessary data movement of FPGA standalone accelerators. Data in the storage device can be securely transmitted point-to-point from the storage device to the FPGA. However, this is not limited to the above types. For example, the computing chip can also be a general-purpose graphics processing unit (GPGPU), which is not specifically limited in this embodiment.
[0051] In some exemplary embodiments, the access acceleration system further includes a network interface card (NIC), the NIC is communicatively connected to a downstream port of the PCIe switch, and the NIC, the storage device, and the computing chip are communicatively connected to different downstream ports, respectively.
[0052] Optionally, as shown in Figure 3, not only can point-to-point transmission be achieved between the FPGA and the NVMe SSD through the SAA architecture, but the NIC card can also achieve point-to-point data transmission through SAA, thereby achieving the DMA function.
[0053] In some exemplary embodiments, an access acceleration system may include at least one host unit and at least one computing unit, wherein: each host unit includes a central processing unit, a root complex device, and a memory; each computing unit includes at least one PCIe switch, multiple storage devices, at least one computing chip, at least one PCIe endpoint device, and at least one memory; each root complex device is communicatively connected to the PCIe switch in at least one computing unit; in each computing unit, each PCIe switch communicatively connected to the root complex device is communicatively connected to multiple storage devices, each computing chip is communicatively connected to at least one PCIe switch via at least one PCIe endpoint device, and the computing chip and the memory are electrically connected one-to-one.
[0054] Optionally, taking the above-mentioned computing chip as FPGA as an example, the above-mentioned computing unit can be called an FPGA computing appliance (FCA). The FPGA in the FCA can independently process data, reduce the additional data movement, and use the FPGA to achieve point-to-point accelerated data processing for multiple storage devices (such as NVMe SSD), thereby helping storage devices such as NVMe SSD in the system to perform storage acceleration.
[0055] Furthermore, if the access acceleration system includes multiple host units and multiple computing units, parallel processing technology between multiple FCAs connected to the same host unit (HOST unit) can also achieve horizontal expansion of data processing speed. The FCA's FPGA parallel processing technology can be used to simultaneously process massive amounts of data. Furthermore, by increasing the number of FPGAs supported by the system, the computing power of a single system can be maximized.
[0056] In one exemplary embodiment, the access acceleration system can include multiple host units and multiple computing units connected in a one-to-one correspondence. Connecting multiple host units (HOST units) via a Starlink topology makes system expansion more flexible. Multiple HOST units form a distributed cluster system to disperse data processing risks and expand processing capacity. When the performance of a single system reaches its limit, horizontal expansion can be used to overcome the hardware limitations of the single system.
[0057] Alternatively, taking an access acceleration system comprising multiple host units (HOST units) and multiple computation units (FCAs) connected in a one-to-one correspondence as an example, as shown in Figure 4, the HOST units and FCAs can be connected via PCIe interfaces, and connected to other HOST units via NIC cards, achieving parallel acceleration. When a network adapter card (NIC card) is connected to the downstream port of a PCIe switch, data packets between servers can be transmitted via the Internet. The entire network includes multiple data nodes (HOST1, HOST2, Switch1, Switch2), where HOST1 has CPU0 and HOST2 has CPU1. Data packets can flow through any two computation nodes along the path and the FPGA including the switch's downstream port. Switch 1 in FCA1 and Switch 2 in FCA2 are connected to the data of the external NVMe SSDs, respectively. The data can be transmitted to the FPGA via the Internet for pre-processing. This not only increases the number of FPGAs supported by the system by multiples, but also increases the capacity of the NVMe SSDs supported by the system by multiples, achieving the goals of increasing storage capacity and FPGA processing speed, realizing the goal of horizontal system expansion.
[0058] Optionally, multiple PCIe switches in different systems can be connected to the Internet via NIC cards to achieve horizontal expansion between systems.
[0059] In an exemplary embodiment, at least one computing unit may include multiple PCIe switches and multiple computing chips. In the same computing unit, the PCIe switches correspond to the computing chips on a one-to-one basis.
[0060] Optionally, taking the above-mentioned computing chip as FPGA as an example, multiple PCIe switches in the computing unit are connected to the CPU through a root complex device in the HOST unit, and multiple FPGAs are connected in parallel through communication with multiple PCIe switches, and massive data synchronization processing is achieved through FPGA parallel processing technology.
[0061] In the above exemplary embodiments, each PCIe switch in the same computing unit can be communicatively connected to the root complex device; and, in the same computing unit, a one-to-one communication connection with multiple downstream ports of a PCIe switch can be achieved through multiple PCIe endpoint devices (EndPoint, EP) that are communicatively connected to any computing chip.
[0062] In an exemplary embodiment, the computing unit includes at least one first PCIe switch and at least one second PCIe switch, wherein: each first PCIe switch has a first upstream port and multiple first downstream ports, the first upstream port is communicatively connected to the root complex device, at least one first downstream port is communicatively connected to the computing chip through a PCIe endpoint device, and the remaining first downstream ports are communicatively connected to the storage device; each second PCIe switch has a second downstream port, and the second downstream port is communicatively connected to the computing chip through the PCIe endpoint device.
[0063] Optionally, taking the above-mentioned computing chip as FPGA as an example, multiple first PCIe switches in the computing unit can be connected to the CPU through a root complex device in the HOST unit, and multiple FPGAs are connected in parallel through PCIe endpoint devices and communication connections with the first downstream ports of the above-mentioned multiple first PCIe switches. The second downstream ports of multiple second PCIe switches are respectively connected in communication with each FPGA through the PCIe endpoint device, thereby realizing massive data synchronization processing through FPGA parallel processing technology.
[0064] In the above exemplary embodiment, the first downstream port of each second PCIe switch can be communicatively connected to the same number of storage devices.
[0065] In the above exemplary embodiment, the second downstream port of each second PCIe switch can be communicatively connected to at least one computing chip through the same number of PCIe endpoint devices.
[0066] In an exemplary embodiment, in each computing unit, each computing chip is communicatively connected to a first PCIe switch via multiple first PCIe endpoint devices, and each computing chip is communicatively connected to multiple second PCIe switches in a one-to-one correspondence via multiple second PCIe endpoint devices.
[0067] Optionally, taking the above-mentioned computing chip as FPGA as an example, multiple first PCIe switches in the computing unit can be connected to the CPU through a root complex device in the HOST unit, and each FPGA is connected in parallel through multiple PCIe endpoint devices to communicate with multiple first downstream ports of a first PCIe switch, and multiple second downstream ports of each second PCIe switch are respectively connected to each FPGA through multiple PCIe endpoint devices, thereby realizing massive data synchronization processing through FPGA parallel processing technology.
[0068] Optionally, the MCIO (Mini Cool Edge IO) connector can be used to increase the flexibility of system expansion to maximize the system data processing capability.
[0069] In the above exemplary embodiments, in each operation unit, the number of first PCIe endpoint devices and second PCIe endpoint devices communicatively connected to the same computing chip can be made the same.
[0070] In an exemplary embodiment, in each computing unit, each computing chip can be communicatively connected to the same number of first PCIe endpoint devices and second PCIe endpoint devices.
[0071] In an exemplary embodiment, in each computing unit, the number of second PCIe endpoint devices communicatively connected to each second PCIe switch may be the same as the number of computing chips.
[0072] Optionally, taking the above-mentioned computing unit including multiple computing chips as an example, as shown in Figure 5, multiple first PCIe switches (PCIe Switch 1, PCIe Switch 2, PCIe Switch 3, PCIe Switch 4) are set as a group of x16 lanes upstream ports (Upstream Port) connected to the root complex in the HOST unit, two groups of x16 lanes downstream ports (Downstream Port) are connected to two groups of EndPoints of the FPGA, and eight groups of x4 lanes downstream ports (Downstream Port) are connected to the EndPoint of the NVMe SSD. Multiple second PCIe switches (PCIe Switch 5, PCIe Switch 6) are set as four groups of x16 lanes downstream ports (Downstream Port) respectively connected to four groups of EndPoints of four FPGAs, thereby realizing massive data synchronous processing through FPGA parallel processing technology.
[0073] Optionally, the multiple FPGAs can utilize their UltraPath Interconnect (UPI) interfaces to achieve FPGA interconnection characteristics, allowing for more flexible resource allocation and information sharing between FPGAs, making the system more complete and convenient.
[0074] In an exemplary embodiment, the access acceleration system further includes a switching network port, which is integrated into a plurality of PCIe switches and is used to support transmission between a PCIe switch integrated with the switching network port and another PCIe switch.
[0075] Optionally, by integrating the fabric port into multiple PCIe switches, the PCIe switch becomes a PCIe switch that supports the fabric port. The main function of the fabric port is to support transmission between PCIe switches, and it has I / O sharing functions and DMA with non-blocking, linear acceleration and other characteristics.
[0076] Alternatively, taking the access acceleration system architecture shown in FIG. 5 as an example, a set of x16 lanes of switch fabric ports (Fabric Port) can be connected to the MCIO connector for flexible use.
[0077] In an exemplary embodiment, the access acceleration system includes multiple first computing units, each of which has a first switching network port integrated in a first PCIe switch, and the first switching network ports in different first computing units are communicatively connected.
[0078] Optionally, the PCIe Switch can configure the port of the first PCIe switch to be a Fabric Port. The Fabric Port can connect the PCIe devices under multiple systems to each other, allowing the PCIe topology to be expanded with low latency and high performance. This method can dynamically allocate resources (FPGA, NVMe SSD, NIC) to different hosts.
[0079] In the above exemplary embodiment, the first target operation unit is communicatively connected to at least one second target operation unit other than the first target operation unit among the multiple first operation units through the first switching network port, and the first switching network port in the first target operation unit corresponds one-to-one to the first switching network port of each second target operation unit.
[0080] Optionally, taking the access acceleration system architecture shown in Figure 6 as an example, it includes multiple groups of host units (HOSTs) and computing units (FCAs), each group of HOSTs and FCAs is shown in Figure 5, and the HOSTs in the same group are connected to the first PCIe switch in the FCA through a root complex. Each FCA includes multiple first PCIe switches (PCIe Switch 1, PCIe Switch 2, PCIe Switch 3, PCIe Switch 4), and the Fabric Ports of PCIe Switch 1, PCIe Switch 2, PCIe Switch 3, and PCIe Switch 4 are interconnected with the Fabric Ports of PCIe Switch 1, PCIe Switch 2, PCIe Switch 3, and PCIe Switch 4 in another FCA. Therefore, through the feature that the PCIe devices at the Fabric Ports are connected to each other's endpoints, the two groups of systems can share the NVMe SSDs mounted thereon, thereby realizing dynamic allocation of NVMe SSDs.
[0081] Optionally, the multiple FPGAs can utilize their UltraPath Interconnect (UPI) interfaces to achieve FPGA interconnection characteristics, allowing for more flexible resource allocation and information sharing between FPGAs, making the system more complete and convenient.
[0082] In an exemplary embodiment, the access acceleration system may further include multiple second computing units, each of which has a second switching network port integrated in a second PCIe switch, and the second switching network ports in different second computing units are communicatively connected.
[0083] Optionally, the PCIe Switch can also configure the port of the second PCIe switch to be a Fabric Port. The Fabric Port can connect the PCIe devices under multiple systems to each other, allowing the PCIe topology to be expanded with low latency and high performance. This method can dynamically allocate resources (FPGA, NVMe SSD, NIC) to different hosts.
[0084] In the above exemplary embodiment, the third target operation unit is communicatively connected to at least one fourth target operation unit other than the third target operation unit among the multiple second operation units through the second switching network port, and the second switching network port in the third target operation unit corresponds one-to-one to the second switching network port of each fourth target operation unit.
[0085] Alternatively, the access acceleration system architecture shown in Figure 7 includes multiple host units (HOSTs) and FCAs (FCAs). Each HOST and FCA pair is shown in Figure 5 . Hosts within a group are connected to the first PCIe switch in the FCA via a root complex. Each FCA in the system includes multiple second PCIe switches (PCIe Switch 5 and PCIe Switch 6). Multiple FCAs utilize the fabric ports of Switch 5 and Switch 6 to interconnect multiple systems via MCIO cables. Each FCA contains multiple FPGAs. Dynamic resource allocation allows for balanced allocation of FPGA resources, enabling accelerated processing of large amounts of data. MCIO cables also enable more flexible system operation.
[0086] Optionally, the multiple FPGAs can utilize their UltraPath Interconnect (UPI) interfaces to achieve FPGA interconnection characteristics, allowing for more flexible resource allocation and information sharing between FPGAs, making the system more complete and convenient.
[0087] In an exemplary embodiment, the access acceleration system includes a third computing unit, which has a first switching network port integrated in at least one first PCIe switch and a second switching network port integrated in at least one second PCIe switch. The first switching network port and the second switching network port are both switchable ports. When at least one first switching network port is switched to a second uplink port and at least one second switching network port is switched to a third downlink port, at least one second uplink port is communicatively connected to at least one third downlink port in a one-to-one correspondence.
[0088] Optionally, the above-mentioned first switching network port can be switched to the second uplink port by dynamic switching, and the above-mentioned second switching network port can be switched to the third downlink port by dynamic switching, thereby realizing the communication connection between the first PCIe switch with the above-mentioned switchable port and the second PCIe switch through the second switching network port and the third downlink port.
[0089] In the above exemplary embodiment, the access acceleration system may include multiple third operation units, the second PCIe switch is integrated with a switchable port and a third switching network port, and the third switching network ports in different third operation units are communicatively connected.
[0090] Alternatively, taking the access acceleration system architecture shown in FIG8 as an example, it includes multiple groups of host units (HOSTs) and computing units (FCAs). The HOSTs in the same group are connected to the first PCIe switch in the FCA through a root complex. FIG9 shows the HOSTs and FCAs in any area A in FIG8 . The two FCAs in the system each include four first PCIe switches (PCIe Switch 1, PCIe Switch 2, PCIe Switch 3, and PCIe Switch 4) and two second PCIe switches (PCIe Switch 5 and PCIe Switch 6). Through dynamic switching, the ports of the MCIO X16 connectors to which PCIe Switch 1 and PCIe Switch 4 are connected are switched from Fabric Ports to Downstream Ports, and then one of the ports of PCIe Switch 5 and PCIe Switch 6 is switched to an Upstream Port. The two are then connected together with an MCIO cable, so that PCIe Switch 1, PCIe Switch 5, and PCIe Switch 6 are connected. 2. PCIe Switch 6 forms a cascade PCIe topology. At this time, the HOST unit can directly assign tasks to the four groups of EndPoints of the FPGA simultaneously.
[0091] In the above exemplary embodiment, the fifth target operation unit can be communicatively connected to at least one sixth target operation unit other than the fifth target operation unit among the multiple third operation units through the third switching network port, and the third switching network port in the fifth target operation unit corresponds one-to-one to the third switching network port of each sixth target operation unit.
[0092] Optionally, taking the access acceleration system architecture shown in Figures 8 and 9 as an example, the two FCAs in the system each include four first PCIe switches (PCIe Switch 1, PCIe Switch 2, PCIe Switch 3, PCIe Switch 4), and two second PCIe switches (PCIe Switch 5, PCIe Switch 6). The Fabric Ports of PCIe Switch 5 and PCIe Switch 6 are connected to PCIe Switch 5 and PCIe Switch 6 in another Host unit through MCIO cables, thereby realizing a star-linked interconnection topology between the systems of the two Host units. When a HOST unit has a computing task, it can be allocated to any group of FPGAs through the Fabric Port to achieve dynamic resource allocation, thereby increasing the computing power of the system computing unit and allocating tasks and data to each other to achieve the purpose of multi-task computing, so that resources can be maximized and optimized.
[0093] The access acceleration system of the above-mentioned storage device in this application will be further explained below in conjunction with specific embodiments.
[0094] As shown in FIG4 , the access acceleration system architecture of this embodiment includes two host units (HOST units) and two computing units (FCA1 and FCA2) connected in a one-to-one manner. The HOST units and FCAs can be connected via a PCIe interface and connected to other HOST units via a NIC card to achieve parallel acceleration. Optionally, multiple PCIe switches in different systems can be connected to the Internet via NIC cards to achieve horizontal expansion between systems.
[0095] When a network adapter card (NIC) is connected to the downstream port of a PCIe switch, data packets between servers can be transmitted via the Internet. The entire network consists of multiple data nodes (HOST1, Switch1, Switch2, HOST2). Data packets can flow through any two computing nodes along the path and the FPGA including the downstream port of the switch.
[0096] FCA1 and FCA2 interconnect the data of the NVMe SSDs attached to each FCT, and can transmit the data to the FPGA via the Internet for pre-processing. This not only increases the number of FPGAs supported by the system by multiples, but also increases the capacity of the NVMe SSDs supported by the system by multiples, achieving the goals of increasing storage capacity and FPGA processing speed, realizing the goal of horizontal system expansion.
[0097] As shown in Figure 5, the access acceleration system architecture of this embodiment includes four computing chips (FPGA1, FPGA2, FPGA3, and FPGA4). Four first PCIe switches (PCIe Switch 1, PCIe Switch 2, PCIe Switch 3, and PCIe Switch 4) are configured as a set of x16 lanes upstream ports connected to the root complex in the host unit, two sets of x16 lanes downstream ports connected to the two sets of EndPoints on the FPGAs, and eight sets of x4 lanes downstream ports connected to the EndPoints on the NVMe SSDs. Multiple second PCIe switches (PCIe Switch 5 and PCIe Switch 6) are configured as four sets of x16 lanes downstream ports connected to the four sets of EndPoints on the four FPGAs, respectively. One x16 lanes fabric port can be connected to the MCIO connector for flexible use.
[0098] As shown in FIG6 , the access acceleration system architecture in this embodiment includes two groups of hosts and FCAs. Hosts in the same group are connected to the first PCIe switch in the FCA via a root complex. Each FCA includes:
[0099] Four first PCIe switches (PCIe Switch 1, PCIe Switch 2, PCIe Switch 3, PCIe Switch 4) and two second PCIe switches (PCIe Switch 5, PCIe Switch 6), wherein the Fabric Ports of PCIe Switch 1, PCIe Switch 2, PCIe Switch 3, and PCIe Switch 4 are interconnected with the Fabric Ports of PCIe Switch 1, PCIe Switch 2, PCIe Switch 3, and PCIe Switch 4 in another FCA.
[0100] By connecting PCIe devices via Fabric Ports, two systems can share the underlying NVMe SSDs, enabling dynamic allocation of NVMe SSDs. Furthermore, dynamic resource allocation balances FPGA resources, accelerating the processing of massive amounts of data. MCIO cables also enable more flexible system operations.
[0101] As shown in FIG7 , the access acceleration system architecture in this embodiment includes two groups of hosts and FCAs. Hosts in the same group are connected to the first PCIe switch in the FCA via a root complex. Each FCA includes:
[0102] Four primary PCIe switches (PCIe Switch 1, PCIe Switch 2, PCIe Switch 3, PCIe Switch 4), two secondary PCIe switches (PCIe Switch 5, PCIe Switch 6), and two FCAs use the Fabric Ports of Switch 5 and Switch 6 via MCIO cables to implement the interconnection mechanism between the two systems. Each set of FCAs contains four FPGAs.
[0103] By connecting PCIe devices via Fabric Ports, two systems can share the underlying NVMe SSDs, enabling dynamic allocation of NVMe SSDs. Furthermore, dynamic resource allocation balances FPGA resources, accelerating the processing of massive amounts of data. MCIO cables also enable more flexible system operations.
[0104] As shown in Figures 8 and 9, the access acceleration system architecture in this embodiment includes two groups of hosts and FCAs. The hosts in the same group are connected to the first PCIe switches in the FCA via a root complex. Each FCA includes four first PCIe switches (PCIe Switch 1, PCIe Switch 2, PCIe Switch 3, PCIe Switch 4) and two second PCIe switches (PCIe Switch 5, PCIe Switch 6).
[0105] Through dynamic switching, the MCIO X16 connectors connected to PCIe Switch 1 and PCIe Switch 4 are switched from fabric ports to downstream ports. Then, one of the ports on PCIe Switch 5 and PCIe Switch 6 is switched to an upstream port. These ports are then connected together with an MCIO cable. This creates a cascade PCIe topology for PCIe Switch 1, PCIe Switch 5, PCIe Switch 2, and PCIe Switch 6. The host unit can now directly assign tasks to the four FPGA EndPoints simultaneously.
[0106] The Fabric Ports of PCIe Switch 5 and PCIe Switch 6 are connected to PCIe Switch 5 and PCIe Switch 6 in another Host unit through MCIO cables, thereby realizing the interconnected topology of the two Host units. When a HOST unit has a computing task, it can be allocated to any group of FPGAs through the Fabric Port to achieve dynamic resource allocation, thereby increasing the computing power of the system computing unit and allocating tasks and data to each other to achieve the purpose of multi-tasking computing and maximize resource optimization.
[0107] From the above description, it can be seen that the above embodiments of the present disclosure achieve the following technical effects:
[0108] This embodiment utilizes the ability of storage devices to independently process data, reducing the amount of extra data movement. It uses computing chips (such as FPGAs) to accelerate data processing on storage devices (such as NVMe SSDs), thereby helping the storage devices SSDs within the system to perform storage acceleration.
[0109] The parallel processing technology of computing units (when the computing chip is an FPGA, the computing unit is an FPGA computing device, FCA) is used to achieve the simultaneous processing of massive amounts of data. The parallel processing technology between computing units is used to horizontally expand the data processing speed. This can maximize the computing power of a single system by increasing the number of computing chips supported by the system.
[0110] Connecting multiple HOST units through the Starlink topology makes the expansion system more flexible. By forming a distributed cluster system with multiple HOST units, the risk of data processing is dispersed and the processing capacity is expanded. When the performance of a single system reaches its limit, horizontal expansion can be used to break through the hardware limitations of the single system.
[0111] The System Acceleration Architecture (SAA) architecture enables point-to-point data transmission between computing chips and storage devices. Network adapters (NIC cards) can also use SAA to achieve point-to-point data transmission, thereby achieving DMA functionality.
[0112] This reduces system latency and overcomes scale-up performance bottlenecks. Multiple HOST units, in particular, allow multiple processors to simultaneously handle diverse and complex computational problems, maximizing system data processing capabilities. The redundancy mechanism of multiple HOST units also increases system stability, further enhancing system reliability and resiliency.
[0113] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail here.
[0114] Obviously, those skilled in the art should understand that the modules or steps of the present application described above can be implemented using a general-purpose computing device, they can be concentrated on a single computing device, or distributed across a network composed of multiple computing devices, they can be implemented using program code executable by the computing device, and thus, they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be performed in a different order than herein, or they can be fabricated into separate integrated circuit modules, or multiple modules or steps can be fabricated into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.
[0115] The above are merely optional embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may be subject to various modifications and variations. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present application shall be included in the scope of protection of the present application.
Claims
1. A storage device access acceleration system, It is characterized in that It includes central processing unit, peripheral component interconnect standard PCIe device, storage device, computing chip and memory, among which: The PCIe device includes a root complex device, a PCIe switch and a PCIe endpoint device; The central processing unit is communicatively connected to the upstream port of the PCIe switch through the root complex device, the storage device is communicatively connected to the downstream port of the PCIe switch, the computing chip is communicatively connected to the downstream port of the PCIe switch through the PCIe endpoint device, and the storage device and the computing chip are communicatively connected to different downstream ports respectively; The central processing unit and the computing chip are electrically connected to different memories.
2. The system according to claim 1, It is characterized in that Also includes: A network adapter is communicatively connected to the downstream port of the PCIe switch, and the network adapter, the storage device and the computing chip are communicatively connected to different downstream ports respectively.
3. The system according to claim 1, It is characterized in that The system comprises at least one host unit and at least one computing unit, wherein: Each of the host units includes a central processor, a root complex device and a memory; Each of the computing units includes at least one of the PCIe switches, a plurality of the storage devices, at least one of the computing chips, at least one of the PCIe endpoint devices, and at least one of the memories; Each of the root complex devices is communicatively connected to the PCIe switch in at least one of the computing units; In each of the computing units, each of the PCIe switches communicatively connected to the root complex device is communicatively connected to a plurality of the storage devices, each of the computing chips is communicatively connected to at least one of the PCIe switches via at least one of the PCIe endpoint devices, and the computing chips are electrically connected to the memories in a one-to-one correspondence.
4. The system according to claim 3, It is characterized in that At least one of the computing units includes a plurality of PCIe switches and a plurality of computing chips. In the same computing unit, the PCIe switches correspond one to one with the computing chips.
5. The system according to claim 4, It is characterized in that Each of the PCIe switches in the same computing unit is communicatively connected to the root complex device; In the same computing unit, the plurality of PCIe endpoint devices communicatively connected to any one of the computing chips are communicatively connected to the plurality of downstream ports of one PCIe switch in a one-to-one correspondence.
6. The system according to claim 3, It is characterized in that The computing unit includes at least one first PCIe switch and at least one second PCIe switch, wherein: Each of the first PCIe switches has a first upstream port and a plurality of first downstream ports, wherein the first upstream port is communicatively connected to the root complex device, at least one of the first downstream ports is communicatively connected to the computing chip via the PCIe endpoint device, and the remaining first downstream ports are communicatively connected to the storage device; Each of the second PCIe switches has a second downstream port, and the second downstream port is communicatively connected to the computing chip through the PCIe endpoint device.
7. The system according to claim 6, It is characterized in that The first downstream port of each of the second PCIe switches is communicatively connected to the same number of the storage devices.
8. The system according to claim 6, It is characterized in that The second downstream port of each of the second PCIe switches is communicatively connected to at least one of the computing chips through the same number of the PCIe endpoint devices.
9. The system according to claim 8, It is characterized in that In each of the computing units, each of the computing chips is communicatively connected to one of the first PCIe switches via a plurality of first PCIe endpoint devices, and each of the computing chips is communicatively connected to a plurality of second PCIe switches in a one-to-one correspondence via a plurality of second PCIe endpoint devices.
10. The system according to claim 9, It is characterized in that In each of the computing units, the number of the first PCIe endpoint devices and the number of the second PCIe endpoint devices communicatively connected to the same computing chip are the same.
11. The system according to claim 9, It is characterized in that In each of the computing units, each of the computing chips is respectively communicatively connected with the same number of the first PCIe endpoint devices and the second PCIe endpoint devices.
12. The system according to claim 9, It is characterized in that In each of the computing units, the number of the second PCIe endpoint devices communicatively connected to each of the second PCIe switches is the same as the number of the computing chips.
13. A system according to any one of claims 6 to 12, It is characterized in that Also includes: The switching network port is integrated in the plurality of the PCIe switches and is used to support transmission between one of the PCIe switches integrated with the switching network port and another of the PCIe switches.
14. The system according to claim 13, It is characterized in that The system includes a plurality of first computing units, each of which has a first switching network port integrated in the first PCIe switch, and the first switching network ports in different first computing units are communicatively connected with each other.
15. The system according to claim 14, It is characterized in that The first target computing unit is communicatively connected to at least one second target computing unit among the multiple first computing units except the first target computing unit through the first switching network port, and the first switching network port in the first target computing unit corresponds one-to-one to the first switching network port of each of the second target computing units.
16. The system according to claim 13, It is characterized in that The system includes a plurality of second computing units, each of which has a second switching network port integrated in the second PCIe switch, and the second switching network ports in different second computing units are communicatively connected with each other.
17. The system according to claim 16, It is characterized in that The third target computing unit is communicatively connected to at least one fourth target computing unit among the multiple second computing units except the third target computing unit through the second switching network port, and the second switching network port in the third target computing unit corresponds one-to-one to the second switching network port of each of the fourth target computing units.
18. The system according to claim 13, It is characterized in that The system includes a third computing unit, wherein the third computing unit has a first switching network port integrated in at least one of the first PCIe switches and a second switching network port integrated in at least one of the second PCIe switches, wherein the first switching network port and the second switching network port are both switchable ports, and when at least one of the first switching network ports is switched to a second uplink port and at least one of the second switching network ports is switched to a third downlink port, at least one of the second uplink ports is communicatively connected with at least one of the third downlink ports in a one-to-one correspondence.
19. The system according to claim 18, It is characterized in that The system includes a plurality of the third computing units, the switchable port and the third switching network port are integrated in the second PCIe switch, and the third switching network ports in different third computing units are communicatively connected with each other.
20. The system according to claim 19, It is characterized in that The fifth target computing unit is communicatively connected to at least one sixth target computing unit among the multiple third computing units except the fifth target computing unit through the third switching network port, and the third switching network port in the fifth target computing unit corresponds one-to-one to the third switching network port of each of the sixth target computing units.
Citation Information
Patent Citations
A host system, a method thereof and an acceleration module
CN110232034A
FPGA computing equipment and computing power improving system
CN113704166A
Shuffle acceleration system, data processing method, storage node and partitioning method
CN114546253A
Access acceleration system of storage device
CN115994107A
Hybrid computing system
US20140047156A1
Cited By
Equipment switching device, heterogeneous acceleration device and system
CN120812009A
