Data processing system, data processing method, computer device and storage medium

By introducing link switches and data processors that support the Computational Fast Link Protocol into the data processing system, the problems of system bloat and delay in traditional interconnect technology are solved, and efficient memory resource management and performance improvement are achieved.

CN118535520APending Publication Date: 2024-08-23INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410700647.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Existing data processing systems need to support multiple protocols and modules, resulting in bloated systems and increased storage and performance requirements. Traditional interconnect technologies also have latency and efficiency issues in high-performance computing.

Method used

By introducing link switches and data processors that support the Computing Fast Link Protocol into the data processing system, the Computing Fast Link technology is used for memory resource management and scheduling, reducing additional configuration of the central processor and memory, and improving system simplicity and integration. Spend.

Benefits of technology

It achieves the combination of data processor and computing fast link technology, reduces system complexity, improves the integration and performance of the data processing system, enhances the utilization efficiency of memory resources, reduces resource requirements, and improves the overall performance and performance of the system. efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535520A
    Figure CN118535520A
Patent Text Reader

Abstract

The invention relates to the technical field of data processing, in particular to a data processing system, a data processing method, computer equipment and a storage medium. The data processing system comprises a link exchanger and a data processor; the link switch comprises a switch supporting a computing fast link protocol; the data processor is connected with the link exchanger and is used as a central processing unit of the link exchanger connected with the data processor to control the link exchanger to be powered on; the data processor obtains exchanger information of the link exchanger, and configures the link exchanger based on the exchanger information of the link exchanger; and in response to completion of configuration of the link switch, the data processor performs data interaction with other equipment through the link switch. According to the invention, the data processor can be combined with the computing fast link technology, the data processor can support the computing fast link protocol, and the integration level of the data processing system can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a data processing system, a data processing method, a computer device, and a computer-readable storage medium. Background Art

[0002] Data processors such as DPU (Data Processing Unit) usually need to process a large amount of high-speed network data and tasks unloaded to the DPU, which have high requirements for the storage capacity, data throughput and performance of the DPU. Therefore, chips such as FPGA (Field Programmable Gate Array) of DPU generally mount or integrate multiple external memories on the chip, such as large-capacity DDR (Double Data Rate) synchronous dynamic random access memory particles, to meet the requirements of system design. At the same time, DPU also needs memory to support the operation of the DPU system. When data processing systems such as bare metal servers also support the CXL (Compute Express Link) protocol, due to the design requirements of CXL, other modules are usually mounted to support the operation of CXL, which can easily cause the data processing system to be very bloated. Summary of the invention

[0003] Based on this, it is necessary to provide a data processing system, a data processing method, a computer device and a computer-readable storage medium to address the above-mentioned technical problems, which can combine the data processor with the computing fast link technology to enable the data processor to support the computing fast link protocol, thereby improving the integration of the data processing system.

[0004] On the one hand, a data processing system is provided, the data processing system comprising: a link switch and a data processor; the link switch comprises a switch supporting a computing fast link protocol; the data processor is connected to the link switch and is used to serve as a central processor of the link switch connected thereto, and control the link switch to power on; the data processor obtains switch information of the link switch, and configures the link switch based on the switch information of the link switch; in response to completion of the configuration of the link switch, the data processor exchanges data with other devices through the link switch; wherein the other devices include at least one of a server connected to the link switch and a memory expansion card.

[0005] In one embodiment of the present application, the data processor includes a control module; the control module is connected to the link switch via a computing fast link protocol for data exchange with other devices via the link switch; wherein the control module includes at least one of a system on chip and a field programmable gate array.

[0006] In one embodiment of the present application, a control module includes a system on chip and a field programmable gate array; the system on chip and the field programmable gate array are respectively connected to a link switch; in response to the field programmable gate array executing a target task, the control module obtains memory resource data of a memory cluster connected to the link switch; wherein the target task includes at least one of a data processing task and a hardware acceleration task; the control module analyzes the amount of task memory resources allocated to the field programmable gate array based on the memory resource data and the target task; the control module obtains the amount of task memory resources through the link switch.

[0007] In one embodiment of the present application, the data processing system also includes a memory cluster, which is used by the data processor to schedule the memory resources of the memory cluster through a link switch; wherein the memory cluster includes at least one memory expansion card, and the memory expansion card in the memory cluster is connected to the link switch, and the memory of the memory expansion card connected to the link switch has completed memory pooling processing.

[0008] In one embodiment of the present application, a data processor includes a control module, which is connected to a memory cluster through a link switch; the control module is used to respond to a memory resource request sent by a server connected to the link switch, and the control module receives the memory resource request through the link switch; the control module identifies the required memory resource amount of the memory resource request; the control module determines whether the memory cluster allows the allocation of the newly required memory resource amount; in response to the memory cluster allowing the allocation, the control module schedules and allocates the memory resources of the memory cluster based on the required memory resource amount.

[0009] In one embodiment of the present application, a data processing system includes multiple servers, each of which is connected to a link switch; the link switch is used to respond to a number of data processors sending task information to be unloaded to the link switch; wherein the tasks to be unloaded include at least one of data tasks to be unloaded and network tasks to be unloaded, and the target servers of the several data processors are the same; the link switch receives a number of task information to be unloaded from different source data processors; the link switch sends the several task information to be unloaded to the target server; and / or, the link switch is used to receive the same data to be forwarded as the source data processor; wherein the target servers of the data to be forwarded are different; the link switch identifies the target identifier carried by the data to be forwarded; wherein the target identifier is used to identify the target server; the link switch forwards each data to be forwarded to a server that matches it based on the target identifier.

[0010] On the other hand, a data processing method is provided, the data processing method comprising: a data processor acts as a central processor of a link switch connected thereto, controlling the link switch to power on; wherein the link switch comprises a switch supporting a compute fast link protocol; the data processor obtains switch information of the link switch, and configures the link switch based on the switch information of the link switch; in response to completion of the configuration of the link switch, the data processor performs data interaction with other devices through the link switch; wherein the other devices comprise at least one of a server connected to the link switch and a memory expansion card.

[0011] In one embodiment of the present application, a data processor includes a control module; the data processor interacts with other devices through a link switch to perform data interaction, including: the data processor generates a work request during its operation; wherein the work request includes at least one of a network offload request, a storage offload request, a security offload request, and a request to increase memory resources; the control module obtains workload data of the data processor; wherein the workload data is used to represent the current workload status of the data processor; the control module obtains memory resource data of a memory cluster; wherein the memory cluster includes at least one memory expansion card, and the memory expansion card in the memory cluster is connected to the link switch, and the memory of the memory expansion card connected to the link switch has completed memory pooling processing; based on the workload data of the data processor, the control module analyzes the amount of memory resources required for the data processor to execute and complete the target work pointed to by the work request as an ideal memory resource; the control module verifies the memory resource data; in response to the memory resource data allowing the request for the target memory resource, the control module controls the link switch to allocate the target memory resource to the data processor; wherein the target memory resource is not less than the ideal memory resource.

[0012] On the other hand, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the following steps of implementing the data processing method in any of the above embodiments are implemented.

[0013] On the other hand, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the data processing method in any of the above embodiments are implemented.

[0014] The above-mentioned data processing system, data processing method, computer device and computer-readable storage medium can use the data processor as the central processor of the link switch, so as to manage and schedule the link switch through the data processor, and can call other devices connected to the link switch, such as memory expansion cards, servers, etc. In this way, the data processor can be combined with the computing fast link technology to realize that the data processor supports the computing fast link protocol, so as to reduce the additional central processor configured for the link switch, and also reduce the additional memory configured for the data processor, which is conducive to improving the simplicity of the data processing system, and then improving the integration of the data processing system. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 It is a structural diagram of an embodiment of a data processing system of the present application;

[0016] Figure 2 is a structural diagram of another embodiment of the data processing system of the present application;

[0017] Figure 3 It is a structural diagram of another embodiment of the data processing system of the present application;

[0018] Figure 4 It is a flowchart of an embodiment of the data processing method of the present application;

[0019] Figure 5 It is a structural diagram of an embodiment of a computer device of the present application. DETAILED DESCRIPTION

[0020] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0021] With the rapid growth of the amount of data processed by data centers and the higher requirements for data processing speed and efficiency, traditional CPUs (Central Processing Units) are at risk of overload when processing non-computational intensive tasks such as network, storage, and security. The CPU may need to spend a lot of time on auxiliary tasks such as data movement and protocol processing, rather than focusing on computing tasks, which can easily lead to inefficient use of resources and system performance bottlenecks. In order to solve this problem, DPU, as a new type of processor, came into being. The original intention of DPU design was to liberate the CPU, offload tasks such as network packet processing, storage access optimization, and security encryption and decryption from the CPU, and focus on data processing and acceleration tasks. DPU usually integrates high-performance network interfaces, rich hardware acceleration engines, and programmable logic, which can provide high-performance, low-latency data processing capabilities, while optimizing data paths and improving the efficiency and response speed of the overall system. The development and application of DPU, especially in cloud data centers, edge computing and other fields, aims to build a more efficient, flexible and secure infrastructure.

[0022] CXL technology is designed to meet the urgent needs for access speed, bandwidth and flexibility of memory and accelerator resources in high-performance computing and data centers. In the data center architecture, efficient collaboration between CPU and accelerators (such as GPU (Graphics Processing Unit, display core), FPGA) and memory resources is particularly important. However, traditional interconnect technologies such as PCIe (Peripheral Component Interconnect express, high-speed serial computer expansion bus standard) have gradually shown their limitations when facing the bandwidth requirements and low latency requirements of high-performance computing. As a high-speed, low-latency interconnect technology, CXL was initiated by Intel and other companies to provide a new interface standard to achieve direct, efficient and low-latency communication between CPU and accelerators and memory expansion devices. CXL technology supports memory consistency, shared memory space and resource virtualization, allowing CPU and accelerator to share data more effectively, reducing the need for data replication and improving the performance and efficiency of the overall system. It is particularly suitable for accelerator-intensive applications such as AI, machine learning, high-performance computing and other scenarios, and can help solve the memory wall problem and improve the overall computing efficiency of the system.

[0023] In summary, the emergence and development of data processors such as DPU and CXL can cope with the growing data processing and interconnection needs in modern computing environments, especially the high standards and challenges of computing architectures brought about by the widespread application of technologies such as cloud computing, big data, and artificial intelligence. Both DPU and CXL are advanced technologies born out of the needs of modern computing. They work together to improve the performance, efficiency, and scalability of data centers and high-performance computing platforms from the perspectives of data processing and system interconnection.

[0024] In order to solve the technical problem of bloated data processing systems existing in related technologies, the present application provides a data processing system, a data processing method, a computer device, and a computer-readable storage medium. The data processing system includes a link switch and a data processor; the link switch includes a switch that supports the calculation of a fast link protocol; the data processor is connected to the link switch and is used as a central processor of the link switch connected thereto to control the power-on of the link switch; the data processor obtains the switch information of the link switch and configures the link switch based on the switch information of the link switch; in response to the completion of the configuration of the link switch, the data processor exchanges data with other devices through the link switch. The following is an example of the detailed implementation of the present application.

[0025] See also Figure 1 , Figure 1 It is a structural diagram of an embodiment of a data processing system of the present application.

[0026] In one embodiment, the data processing system includes a link switch 10 and a data processor 20 .

[0027] The link switch 10 includes a switch supporting the Compute Express Link protocol. For example, the link switch 10 may be a CXL Switch.

[0028] The data processor 20 is connected to the link switch 10. The data processor 20 can serve as the central processor of the link switch 10 connected thereto, and control the link switch 10 to power on; the data processor 20 obtains the switch information of the link switch 10, and configures the link switch 10 based on the switch information of the link switch 10; in response to the completion of the configuration of the link switch 10, the data processor 20 exchanges data with other devices through the link switch 10; wherein the other devices include at least one of a server connected to the link switch 10 and a memory expansion card.

[0029] For example, the data processor 20 may be a DPU as described above, or an IPU (Infrastructure Processing Unit), etc., which is not limited here.

[0030] It can be seen that in this embodiment, the data processor 20 can be used as the central processor of the link switch 10, so that the link switch 10 can be managed and scheduled through the data processor 20, and other devices connected to the link switch, such as memory expansion cards, servers, etc., can be called. In this way, the data processor 20 can be combined with the computing fast link technology to achieve the data processor 20 supporting the computing fast link protocol, so as to reduce the additional central processor configured for the link switch 10, and also reduce the additional memory configured for the data processor 20, which is conducive to improving the simplicity of the data processing system, and then improving the integration of the data processing system.

[0031] See also Figure 2 , Figure 2 It is a structural diagram of another embodiment of the data processing system of the present application.

[0032] In one embodiment, the data processor 20 further includes a control module 21 .

[0033] The control module 21 is connected to the link switch 10 through a computing fast link protocol, and is used to exchange data with other devices through the link switch 10. Among them, the control module 21 includes at least one of a system on a chip such as a SOC and a field programmable gate array such as an FPGA. In this way, the management flexibility of the data processing system can be improved. Each data processor 20 can be connected to the link switch 10 through one or more links to flexibly schedule the memory expansion card connected to the link switch 10, and is conducive to flexible connection with the server chain to realize the pooling of the data processor 20, that is, multiple data processors 20 can collaboratively process the same data, network, security and other tasks.

[0034] Taking SOC, FPGA, and CXL Switch as examples, the data processor 20 may include a SOC as a control module 21, the SOC may be connected to the CXL Switch, and the data processor 20 may or may not be provided with an FPGA. Alternatively, the data processor 20 may include an FPGA as a control module 21, the FPGA may be connected to the CXL Switch, and the data processor 20 may or may not be provided with an SOC. Alternatively, the data processor 20 may include a SOC as a control module 21 and an FPGA, and both the SOC and the FPGA may be connected to the CXL Switch.

[0035] like Figure 3 As shown in the example, Figure 3 It is a structural diagram of another embodiment of the data processing system of the present application.

[0036] In this embodiment, the control module includes a system on chip and a field programmable logic gate array. The system on chip and the field programmable logic gate array are respectively connected to the link switch; in response to the field programmable logic gate array executing the target task, the control module obtains the memory resource data of the memory cluster connected to the link switch; wherein the target task includes at least one of a data processing task and a hardware acceleration task; based on the memory resource data and the target task, the control module analyzes the task memory resource amount allocated to the field programmable logic gate array; the control module obtains the task memory resource amount through the link switch.

[0037] It can be seen that the data processing system can also include a memory cluster. In this way, the data processor can schedule the memory resources of the memory cluster through the link switch; wherein the memory cluster includes at least one memory expansion card, and the memory expansion card in the memory cluster is connected to the link switch, and the memory of the memory expansion card connected to the link switch has completed the memory pooling process.

[0038] As described above, the data processor includes a control module, which can be connected to the memory cluster through a link switch. In this way, in response to a server connected to the link switch sending a memory resource request, the control module receives the memory resource request through the link switch; the control module identifies the required memory resource amount of the memory resource request; the control module determines whether the memory cluster allows the allocation of the newly required memory resource amount; in response to the memory cluster allowing the allocation, the control module schedules and allocates the memory resources of the memory cluster based on the required memory resource amount.

[0039] Furthermore, in this embodiment, the data processing system may also include multiple servers, each of which is connected to a link switch. As such, in this embodiment, in response to a number of data processors sending information about tasks to be unloaded to the link switch. Wherein, the tasks to be unloaded include at least one of data tasks to be unloaded and network tasks to be unloaded, and the target servers of the several data processors are the same; the link switch receives information about several tasks to be unloaded that are different from the source data processors; the link switch sends the information about several tasks to be unloaded to the target server. And / or, the link switch is used to receive the same data to be forwarded as the source data processor; wherein, the target servers of the data to be forwarded are different; the link switch identifies the target identifier carried by the data to be forwarded; wherein, the target identifier is used to identify the target server; the link switch forwards each data to be forwarded to a server that matches it based on the target identifier. The detailed interaction logic of each module of the data processing system will be elaborated in detail later, so it will not be repeated here.

[0040] Generally speaking, the DPU as the data processor 20 includes a SOC, an FPGA, a DIMM (Dual Inline Memory Modules), a network connector, etc. The SOC and the FPGA are connected via PCIe.

[0041] Both the SOC and the FPGA are connected to the ports of the CXL Switch as the control module 21, and are connected through CXL, so that when both need to call the CXL Switch, they can directly call it, which is conducive to significantly improving efficiency. In an alternative embodiment, one of the SOC and the FPGA that is not connected to the CXL Switch port can call the CXLSwitch through the other.

[0042] The CXL Switch may be connected to a memory cluster via a downstream port; wherein the memory cluster includes at least one memory expansion card connected to the CXL Switch, and the memory expansion card in the memory cluster is connected to the CXL Switch via CXL.

[0043] The CXL Switch can be connected to several servers through the uplink port; the server and the CXL Switch are connected through CXL.

[0044] It should be noted that the uplink port and the downlink port are relative and are defined from the server perspective. The CXL Switch port connected to the server is the uplink port, and the CXL Switch port connected to the memory expansion card is the downlink port.

[0045] Generally speaking, the data processing system in this embodiment can be considered to be composed of three parts, namely, a plurality of data processors in the upper layer, a link switch in the middle layer, and a memory expansion card and other devices such as servers in the lower layer. The upper layer, the middle layer, and the lower layer are relative and are only used as examples, rather than strictly limiting the data processor system in this embodiment.

[0046] Specifically, the upper layer can be multiple DPUs that support the CXL protocol. The FPGA and SOC on the DPU both support the CXL protocol and are connected to the CXL Switch through one or more hardware links. Both the FPGA and the SOC can obtain pooled memory resources through the link. The FPGA can use this part of the memory resources to further release its performance, improve its hardware acceleration capabilities, increase data throughput, and reduce data latency. The SOC can also further improve its performance, speed up the processing of transactions unloaded from the HOST to the SOC, and manage resources for the CXL Switch chip. In addition, it can simultaneously reduce the capacity or specification requirements of the DDR and DIMM on the DPU itself, reducing the design complexity of the DPU card.

[0047] The middle layer is CXL Switch, which is connected to DPU on top and memory expansion card and HOST CPU on the bottom. The memory resources of memory expansion card can be pooled and allocated to different devices. It also has the ability to forward any port. It can transmit DPU data to HOST CPU. It can also realize one-to-many, many-to-one and many-to-many transmission.

[0048] The bottom layer is the memory expansion card and the HOST server. A certain number of memory sticks are plugged into the memory expansion card. The memory expansion card and the HOST server are connected to the CXL Switch, which can pool this part of the memory and allocate it to devices that need to use it. Among them, the devices that need to use it may include the HOST CPU and DPU. The HOST CPU is connected to the CXLSwitch. If it can obtain memory resources from the CXL Switch, it can also rely on the port forwarding function of the CXL Switch to obtain network data processed by any one or more DPUs, and unload some transactions to any one or more DPUs for simultaneous processing, so as to fully integrate and utilize the DPU and network data, which is conducive to further reducing the load on the HOST CPU.

[0049] For the specific definition of the data processing system, please refer to the definition of the data processing method below, which will not be repeated here. Each module in the above data processing system can be implemented in whole or in part by software, hardware and a combination thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0050] The working principle of the data processing system of the present application (ie, the data processing method) is described in detail below.

[0051] See also Figure 4 , Figure 4 It is a structural diagram of another embodiment of the data processing system of the present application.

[0052] S101: The data processor, as the central processor of the link switch connected thereto, controls the link switch to power on; wherein the link switch includes a switch supporting a computing fast link protocol.

[0053] In this embodiment, the link switch as described above is a switch that can support the computing fast link protocol. The data processor can be such as DPU, IPU, etc., which can realize the combination of software definition and hardware acceleration in security, communication, storage and virtualization, and can release the computing resources of the CPU to better support the needs of applications.

[0054] The data processor can serve as the CPU of the link switch connected to it, so that there is no need to configure an additional CPU for the link switch. A link switch can be connected to one or more data processors. Figure 1 As shown in the example, a link switch can be connected to a data processor; Figure 3 As shown in the example, a link switch can be connected to multiple data processors, which is not limited here.

[0055] The data processor can control the link switch to power on. Powering on means supplying power to the link switch to enable it to start running and perform corresponding functions.

[0056] S102: The data processor obtains switch information of the link switch, and configures the link switch based on the switch information of the link switch.

[0057] In this embodiment, the data processor, as the CPU of the link switch connected thereto, can obtain the switch information of the link switch to configure the link switch.

[0058] For example, the switch information may include port information, connection status of each port, and types of other connected devices, so as to configure the ports of the link switch, such as configuring the uplink port, downlink port, etc., memory resource allocation, etc. Further, the switch information also includes configuration information of the link switch, etc., which is not limited here.

[0059] S103: In response to the completion of the configuration of the link switch, the data processor exchanges data with other devices through the link switch; wherein the other devices include at least one of a server and a memory expansion card connected to the link switch.

[0060] In this embodiment, in response to the data processor completing the configuration of the link switch, it can be considered that the data processor can perform data exchange with other devices through the link switch.

[0061] It can be seen that in this embodiment, the data processor can be used as the central processor of the link switch, so that the link switch can be managed and scheduled through the data processor, and other devices connected to the link switch, such as memory expansion cards, servers, etc., can be called. In this way, the data processor can be combined with the computing fast link technology to realize that the data processor supports the computing fast link protocol, so that the central processor additionally configured for the link switch can be reduced, and the memory additionally configured for the data processor can also be reduced, which is conducive to improving the simplicity of the data processing system, and then improving the integration of the data processing system.

[0062] The following combination Figure 3The data processing system shown in the figure is used as an example to illustrate the data processing method.

[0063] In one embodiment, the data processor generates a work request during its operation, wherein the work request includes at least one of a network offload request, a storage offload request, a security offload request, and a request to increase memory resources.

[0064] The control module can obtain the workload data of the data processor, wherein the workload data is used to indicate the current workload of the data processor.

[0065] The control module can obtain the memory resource data of the memory cluster through the link switch. The memory cluster includes at least one memory expansion card, and the memory expansion card in the memory cluster is connected to the link switch, and the memory of the memory expansion card connected to the link switch has completed the memory pooling process. Optionally, the memory resource data may include the current memory allocation status and / or the remaining amount of memory resources, etc., which are not limited here.

[0066] In this way, the control module can analyze the amount of memory resources required by the data processor to execute and complete the target work pointed to by the work request based on the workload data of the data processor as the ideal memory resource. The control module verifies the memory resource data.

[0067] In response to the memory resource data allowing the request for the target memory resource, the control module controls the link switch to allocate the target memory resource to the data processor, wherein the target memory resource is not less than the ideal memory resource.

[0068] That is to say, in this embodiment, when the data processor performs network offloading, storage offloading, security offloading and the like, the control module can control the link switch to allocate corresponding memory resources to the data processor based on the workload of the data processor, thereby accelerating the processing of transactions offloaded to the data processor.

[0069] Further, in response to a server connected to the link switch sending a memory resource request, the control module can receive the memory resource request through the link switch. The control module identifies the required memory resource amount of the memory resource request. In addition, the control module can determine whether the memory cluster allows the allocation of the newly required memory resource amount. In response to the memory cluster allowing the allocation, the control module schedules and allocates the memory resources of the memory cluster based on the required memory resource amount. In this way, when a server needs a large amount of memory resources, the CPU of the server can transmit information to the control module of a data processor such as a SOC through a CXL (i.e., Compute Express Link) link, and the control module reallocates the memory resources of the link switch to schedule the link switch and its memory resources.

[0070] In one embodiment, in response to the field programmable gate array executing the target task, the control module can obtain the memory resource data of the memory cluster. The target task includes at least one of a data processing task and a hardware acceleration task. The control module analyzes the amount of task memory resources allocated to the field programmable gate array based on the memory resource data and the target task. The control module obtains the amount of task memory resources through the link switch, so that the FPGA can also obtain sufficient memory resources through the CXL link to perform data processing and hardware acceleration, improve the utilization rate of DPU performance, and improve the efficiency of data processing and hardware acceleration.

[0071] In one embodiment, several data processors send information about tasks to be uninstalled to a link switch. The tasks to be uninstalled include at least one of data tasks to be uninstalled and network tasks to be uninstalled, and the target servers of the several data processors are the same. The link switch receives several information about tasks to be uninstalled from different source data processors. The link switch sends the several information about tasks to be uninstalled to the target server. That is to say, when the data processor sends the data to be uninstalled and the network to the server CPU, a control module such as a SOC can forward the data to be uninstalled and the network by controlling the port of the link switch, so that the data of multiple data processors can be sent to a corresponding server in sequence / simultaneously, which can improve the efficiency of data processing by the corresponding server.

[0072] Furthermore, the link switch can receive the same data to be forwarded as the source data processor. The target servers of the data to be forwarded are different. The link switch identifies the target identifier carried by the data to be forwarded. The target identifier is used to identify the target server. Based on the target identifier, the link switch forwards each data to be forwarded to a server that matches it. As such, in this embodiment, the data of multiple servers processed by a data processor can be forwarded to multiple corresponding servers at the same time as much as possible, and even the processing tasks of the data processor can be specialized, so that each data processor has its own function, such as specialized processing of network tasks, specialized processing of storage tasks, etc., so that data processor pooling can also be realized.

[0073] Optionally, in this embodiment, the data processor acts as the central processor of the link switch connected thereto. When controlling the link switch to be powered on, one of the data processors connected to the link switch can be selected as the master data processor, and the other data processors can be selected as slave data processors. In the process of starting the link switch, the master data processor is used as the central processor of the link switch, and the master data processor controls the link switch to be powered on. The link switch configuration can also be implemented through the master data processor.

[0074] Furthermore, a data processor as a main data processor can be selected from multiple data processors by election. The control modules of multiple data processors are connected, and the multiple control modules obtain the computing resources of each data processor, and evaluate the performance of each data processor based on the obtained computing resources to select one of the preset number of data processors with relatively better performance ranking as the main data processor. Optionally, the preset number can be one, two, three, four, five, etc., or can be a proportional value, such as 5%, 10%, 20%, etc., which is not limited here.

[0075] In summary, this application can combine DPU design with CXL technology, so that DPU can fully utilize pooled memory resources through CXL Switch, which is conducive to further improving the performance of DPU. This application also realizes DPU management of CXL Switch, and can realize one-to-many, many-to-one and many-to-many interaction between DPU and server through the port forwarding function of CXL Switch, so as to efficiently realize network offloading, storage offloading and security offloading functions as well as hardware acceleration and other tasks. In this way, the risk of tight demand for DPU memory resources can be effectively reduced, which is conducive to reducing the difficulty of DPU design, and can manage CXLSwitch at the same time.

[0076] It should be understood that although Figure 4 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 4 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0077] In one embodiment, a computer program product is provided, including a computer program. When the computer program is executed by a processor, the steps of the data processing method described above are implemented, which will not be described in detail here.

[0078] See also Figure 5 , Figure 5 It is a structural diagram of an embodiment of a computer device of the present application.

[0079] In one embodiment, the computer device may be a server, and its internal structure diagram may be as follows: Figure 5 As shown in the example.

[0080] The computer device includes a processor, a memory, and a network interface connected through a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a data processing method is implemented.

[0081] Those skilled in the art will understand that Figure 5 The structure shown as an example is merely a block diagram of a portion of the structure related to the present application solution, and does not constitute a limitation on the computer device to which the present application solution is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0082] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:

[0083] S101: The data processor, as the central processor of the link switch connected thereto, controls the link switch to power on; wherein the link switch includes a switch supporting a computing fast link protocol.

[0084] S102: The data processor obtains switch information of the link switch, and configures the link switch based on the switch information of the link switch.

[0085] S103: In response to the completion of the configuration of the link switch, the data processor exchanges data with other devices through the link switch; wherein the other devices include at least one of a server and a memory expansion card connected to the link switch.

[0086] In one embodiment, a data processor includes a control module; when the data processor interacts with other devices through a link switch, the processor also implements the following steps when executing a computer program: the data processor generates a work request during its operation; wherein the work request includes at least one of a network offload request, a storage offload request, a security offload request, and a request to increase memory resources; the control module obtains workload data of the data processor; wherein the workload data is used to represent the current workload of the data processor; the control module obtains memory resource data of a memory cluster; wherein the memory cluster includes at least one memory expansion card, and the memory expansion card in the memory cluster is connected to the link switch, and the memory of the memory expansion card connected to the link switch has completed memory pooling processing; based on the workload data of the data processor, the control module analyzes the amount of memory resources required for the data processor to execute and complete the target work pointed to by the work request as an ideal memory resource; the control module verifies the memory resource data; in response to the memory resource data allowing the request for the target memory resource, the control module controls the link switch to allocate the target memory resource to the data processor; wherein the target memory resource is not less than the ideal memory resource.

[0087] In one embodiment, a data processor includes a control module; when the data processor interacts with other devices through a link switch, the processor also implements the following steps when executing a computer program: in response to a memory resource request sent by a server connected to the link switch, the control module receives the memory resource request through the link switch; the control module identifies the required memory resource amount of the memory resource request; the control module determines whether the memory cluster allows the allocation of the newly required memory resource amount; in response to the memory cluster allowing the allocation, the control module schedules and allocates the memory resources of the memory cluster based on the required memory resource amount.

[0088] In one embodiment, a data processor includes a field programmable gate array; when the data processor interacts with other devices through a link switch, the processor also implements the following steps when executing a computer program: in response to the field programmable gate array executing a target task, the control module obtains memory resource data of a memory cluster; wherein the target task includes at least one of a data processing task and a hardware acceleration task; the control module analyzes the amount of task memory resources allocated to the field programmable gate array based on the memory resource data and the target task; the control module obtains the amount of task memory resources through the link switch.

[0089] In one embodiment, the other devices include a server; when the data processor interacts with other devices through a link switch, the processor also implements the following steps when executing a computer program: a number of data processors send information about tasks to be unloaded to the link switch; wherein the tasks to be unloaded include at least one of data tasks to be unloaded and network tasks to be unloaded, and the target servers of the several data processors are the same; the link switch receives information about several tasks to be unloaded from different source data processors; and the link switch sends the information about several tasks to be unloaded to the target server.

[0090] In one embodiment, the other devices include a server; when the data processor interacts with other devices through a link switch, the processor also implements the following steps when executing a computer program: the link switch receives the same data to be forwarded as the source data processor; wherein the target servers of the data to be forwarded are different; the link switch identifies a target identifier carried by the data to be forwarded; wherein the target identifier is used to identify the target server; the link switch forwards each data to be forwarded to a server that matches it based on the target identifier.

[0091] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0092] S101: The data processor, as the central processor of the link switch connected thereto, controls the link switch to power on; wherein the link switch includes a switch supporting a computing fast link protocol.

[0093] S102: The data processor obtains switch information of the link switch, and configures the link switch based on the switch information of the link switch.

[0094] S103: In response to the completion of the configuration of the link switch, the data processor exchanges data with other devices through the link switch; wherein the other devices include at least one of a server and a memory expansion card connected to the link switch.

[0095] In one embodiment, a data processor includes a control module; when the data processor interacts with other devices through a link switch, the computer program further implements the following steps when executed by the processor: the data processor generates a work request during its operation; wherein the work request includes at least one of a network offload request, a storage offload request, a security offload request, and a request to increase memory resources; the control module obtains workload data of the data processor; wherein the workload data is used to represent the current workload of the data processor; the control module obtains memory resource data of a memory cluster; wherein the memory cluster includes at least one memory expansion card, and the memory expansion card in the memory cluster is connected to the link switch, and the memory of the memory expansion card connected to the link switch has completed memory pooling processing; based on the workload data of the data processor, the control module analyzes the amount of memory resources required for the data processor to execute and complete the target work pointed to by the work request as an ideal memory resource; the control module verifies the memory resource data; in response to the memory resource data allowing the request for the target memory resource, the control module controls the link switch to allocate the target memory resource to the data processor; wherein the target memory resource is not less than the ideal memory resource.

[0096] In one embodiment, a data processor includes a control module; when the data processor interacts with other devices through a link switch, the computer program also implements the following steps when executed by the processor: in response to a memory resource request sent by a server connected to the link switch, the control module receives the memory resource request through the link switch; the control module identifies the required memory resource amount of the memory resource request; the control module determines whether the memory cluster allows the allocation of the newly required memory resource amount; in response to the memory cluster allowing the allocation, the control module schedules and allocates the memory resources of the memory cluster based on the required memory resource amount.

[0097] In one embodiment, a data processor includes a field programmable gate array; when the data processor interacts with other devices through a link switch, the computer program executed by the processor also implements the following steps: in response to the field programmable gate array executing a target task, the control module obtains memory resource data of the memory cluster; wherein the target task includes at least one of a data processing task and a hardware acceleration task; the control module analyzes the amount of task memory resources allocated to the field programmable gate array based on the memory resource data and the target task; the control module obtains the amount of task memory resources through the link switch.

[0098] In one embodiment, the other devices include a server; when the data processor interacts with other devices through a link switch, the computer program also implements the following steps when executed by the processor: several data processors send information about tasks to be uninstalled to the link switch; wherein the tasks to be uninstalled include at least one of data tasks to be uninstalled and network tasks to be uninstalled, and the target servers of the several data processors are the same; the link switch receives several pieces of information about tasks to be uninstalled from different source data processors; the link switch sends the several pieces of information about tasks to be uninstalled to the target server.

[0099] In one embodiment, the other devices include a server; when the data processor interacts with other devices through a link switch, the computer program also implements the following steps when executed by the processor: the link switch receives the same data to be forwarded as the source data processor; wherein the target servers of the data to be forwarded are different; the link switch identifies the target identifier carried by the data to be forwarded; wherein the target identifier is used to identify the target server; the link switch forwards each data to be forwarded to a server that matches it based on the target identifier.

[0100] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in the present application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0101] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0102] The embodiments described above only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application.

Claims

1. A data processing system, characterized in that: The data processing system comprises: link switches, including switches supporting the Compute Fast Link protocol; A data processor is connected to the link switch and is used to serve as the central processor of the link switch connected thereto, and control the link switch to power on; the data processor obtains the switch information of the link switch and configures the link switch based on the switch information of the link switch; in response to the completion of the configuration of the link switch, the data processor exchanges data with other devices through the link switch; wherein the other devices include at least one of a server connected to the link switch and a memory expansion card.

2. The data processing system according to claim 1, characterized in that The data processor includes a control module; The control module is connected to the link switch via a computing fast link protocol, and is used to perform data interaction with other devices via the link switch; The control module includes at least one of a system on chip and a field programmable gate array.

3. The data processing system according to claim 2, characterized in that: The control module includes the system on chip and the field programmable logic gate array; The system on chip and the field programmable logic gate array are respectively connected to the link switch; In response to the field programmable logic gate array executing a target task, the control module acquires memory resource data of a memory cluster connected to the link switch; wherein the target task includes at least one of a data processing task and a hardware acceleration task; the control module analyzes the amount of task memory resources allocated to the field programmable logic gate array based on the memory resource data and the target task; The control module obtains the task memory resource amount through the link switch.

4. The data processing system according to claim 1, characterized in that: The data processing system also includes a memory cluster, which is used by the data processor to schedule memory resources of the memory cluster through a link switch; wherein the memory cluster includes at least one memory expansion card, and the memory expansion card in the memory cluster is connected to the link switch, and the memory of the memory expansion card connected to the link switch has completed memory pooling processing.

5. The data processing system according to claim 4, characterized in that: The data processor includes a control module, the control module is connected to the memory cluster through a link switch; and is used to respond to a server connected to the link switch sending a memory resource request, and the control module receives the memory resource request through the link switch; The control module identifies the required memory resource amount of the memory resource request; The control module determines whether the memory cluster allows the allocation of the newly added required memory resource amount; In response to the memory cluster allowing allocation, the control module schedules and allocates memory resources of the memory cluster based on the required memory resource amount.

6. The data processing system according to claim 1, characterized in that: The data processing system includes a plurality of servers, each of which is connected to the link switch respectively; The link switch is used for responding to a plurality of data processors sending information of tasks to be uninstalled to the link switch; wherein the tasks to be uninstalled include at least one of data tasks to be uninstalled and network tasks to be uninstalled, and the target servers of the plurality of data processors are the same; the link switch receives information of tasks to be uninstalled from different source data processors; the link switch sends the information of tasks to be uninstalled to the target server; and / or, The link switch is used to receive the same data to be forwarded as the source data processor; wherein the target servers of the data to be forwarded are different; the link switch identifies the target identifier carried by the data to be forwarded; wherein the target identifier is used to identify the target server; the link switch forwards each data to be forwarded to a server that matches it based on the target identifier.

7. A data processing method, characterized in that: The data processing method comprises: The data processor acts as a central processor of a link switch connected thereto, and controls the link switch to be powered on; wherein the link switch includes a switch supporting a computing fast link protocol; The data processor acquires switch information of the link switch and configures the link switch based on the switch information of the link switch; In response to the completion of configuring the link switch, the data processor exchanges data with other devices through the link switch; wherein the other devices include at least one of a server and a memory expansion card connected to the link switch.

8. The data processing method according to claim 7, characterized in that: The data processor includes a control module; The data processor interacts with other devices through the link switch, including: The data processor generates a work request during its operation; wherein the work request includes at least one of a network offload request, a storage offload request, a security offload request, and a request to increase memory resources; The control module acquires workload data of the data processor; wherein the workload data is used to indicate the current workload of the data processor; The control module obtains memory resource data of the memory cluster; wherein the memory cluster includes at least one memory expansion card, and the memory expansion card in the memory cluster is connected to the link switch, and the memory of the memory expansion card connected to the link switch has completed memory pooling processing; The control module analyzes, based on the workload data of the data processor, the amount of memory resources required by the data processor to execute and complete the target work indicated by the work request as the ideal memory resources; The control module verifies the memory resource data; In response to the memory resource data allowing a request for a target memory resource, the control module controls the link switch to allocate the target memory resource to the data processor; wherein the target memory resource is not lower than the ideal memory resource.

9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the data processing method according to any one of claims 7 to 8 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the data processing method according to any one of claims 7 to 8 are implemented.

Citation Information

Cited By

  • Data processing system, method, device, medium and program product

    CN120872619A