Computing system and data processing system

By introducing global cache cluster and cache management components into the distributed computing system, the problem of extended data transmission and resource overhead in the separation of computing and storage architecture is solved, efficient data processing and cache sharing are achieved, and system performance and stability are improved. .

WO2024183590A1PCT designated stage expired Publication Date: 2024-09-12HANGZHOU ALICLOUD FEITIAN INFORMATION TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/079120
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-03
Filing Date
2024-02-28
Publication Date
2024-09-12

AI Technical Summary

Technical Problem

In existing distributed computing systems, the architecture that separates computing and storage results in longer data transmission paths and increased resource overhead. In addition, the limitations of read cache and write cache lead to insufficient data processing performance, making it impossible to achieve cluster-level cache data sharing and effective replication. use.

Method used

A distributed cache system is designed to provide global data caching services by introducing a cache cluster as an intermediate layer between the computing cluster and the storage cluster. The cache cluster includes high-speed storage nodes and uses low-latency non-volatile storage media to realize data Asynchronous flushing and preprocessing reduce the burden on the storage cluster, and cache management components are deployed on the computing nodes to shorten the data path.

Benefits of technology

It significantly improves the overall performance of the distributed data processing system, improves data reading and writing performance and resource utilization, reduces resource overhead, enhances computing power and data processing stability, and improves the hit rate and reuse efficiency of data cache.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024079120_12092024_PF_FP_ABST
    Figure CN2024079120_12092024_PF_FP_ABST
Patent Text Reader

Abstract

A computing system and a data processing system. The data processing system comprises a distributed computing system, a distributed storage system, and a distributed cache system. A cache node of the distributed cache system may be associated with a computing node of the distributed computing system. The computing system comprises a computing device serving as the computing node and a cache management component connected to the computing device and serving as the cache node. The cache management component manages read cache data from the storage system and / or write cache data to be written to the storage system. The computing device comprises a network interface controller, the network interface controller receiving data from outside and / or transmitting data to the outside, determining whether the destination of the received data is the computing device or the cache management component, and transmitting the received data to the determined destination. Thus, by means of adjusting a cache solution, the overall effectiveness of the distributed data processing system can be further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Computing systems and data processing systems

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on March 3, 2023, with application number 202310231586.1 and invention name “Computing System and Data Processing System”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present disclosure relates to a computing system and a data processing system, and more particularly to a data caching solution between a distributed computing system and a distributed storage system in distributed computing. Background Art

[0003] With the development of Internet technology, the requirements for system computing power and data storage capacity are getting higher and higher.

[0004] To achieve independent horizontal expansion of computing and storage capabilities, a separate computing and storage architecture emerged. Computing clusters (distributed computing systems) and storage clusters (distributed storage systems) are connected via a data center network, enabling interoperability between data storage and computing resources.

[0005] FIG1 schematically illustrates a computing and storage separation cluster architecture in some scenarios.

[0006] Figure 1 shows a current cluster system with separate computing and storage. To address the long data links between the front and back ends (computing and storage), read and write caches are introduced to accelerate data read and write performance.

[0007] As shown in FIG1 , in each computing node of the computing cluster, in addition to conventional central processing units (CPUs), memory, system disks, network cards and other components, a read cache is added.

[0008] The read cache is used to cache data read from the storage cluster for use by compute nodes. By introducing the read cache, the frequency of reading data from the storage cluster can be reduced.

[0009] On the other hand, in addition to conventional CPU, memory, system disk, data disk, network card and other devices, write cache is added to each storage node of the storage cluster.

[0010] The write cache is used to cache data from the compute cluster to be written to the storage cluster. By introducing the write cache, the data write path can be shortened and asynchronous write operations can be used instead of synchronous write operations.

[0011] However, the above existing architecture still has some design limitations.

[0012] For example, the read cache set up in a compute node is a local cache that only caches the hot read data of that compute node, failing to achieve cluster-level cache data sharing. Limited by the capacity of each compute node's read cache, the hit rate of a compute node's data search from the read cache remains limited, and the average latency required to obtain the data required for calculations still needs to be reduced.

[0013] Therefore, there is still a need for an improved data caching solution that can further improve the overall performance of distributed data processing systems.

[0014] Summary of the Invention

[0015] A technical problem to be solved by the present disclosure is to provide a data caching solution in a data processing system, which can further improve the overall performance of the distributed data processing system.

[0016] According to a first aspect of the present disclosure, a computing system is provided, comprising: a computing device; and a cache management component, connected to the computing device and configured to manage read cache data from a data storage system and / or write cache data to be written to the data storage system. The computing device includes a network interface card (NIC), which receives data from an external source and / or sends data to an external source, determines whether the received data is destined for the computing device or the cache management component, and transmits the received data to the determined destination.

[0017] According to a second aspect of the present disclosure, a data processing system is provided, comprising: a distributed computing system; a distributed storage system; and a distributed cache system configured to provide global data caching services for the distributed computing system and / or the distributed storage system. The distributed cache system caches read cache data from the distributed storage system for use in data computations in the distributed computing system, and / or the distributed cache system caches write cache data from the distributed computing system and flushes the cached write cache data to the distributed storage system. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the multiple drawings represent the same or similar components or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings only depict some embodiments disclosed in this application and should not be construed as limiting the scope of this application.

[0019] The above and other objects, features and advantages of the present disclosure will become more apparent through a more detailed description of exemplary embodiments of the present disclosure with reference to the accompanying drawings, wherein like reference numerals generally represent like components in the exemplary embodiments of the present disclosure.

[0020] FIG1 schematically illustrates a computing and storage separation cluster architecture in some scenarios.

[0021] FIG2 schematically shows a data processing system according to the present disclosure.

[0022] FIG3 schematically shows an embodiment of joint deployment of cache nodes and computing nodes.

[0023] FIG4 schematically shows a plurality of distributed cache subsystems.

[0024] FIG5 schematically illustrates data operations of a data processing system according to the present disclosure.

[0025] FIG6 shows a schematic block diagram of a cache management component according to an embodiment of the present disclosure.

[0026] FIG7 shows a schematic block diagram of a cache management component according to another embodiment of the present disclosure.

[0027] FIG8 schematically illustrates a data processing path in a data processing system according to the present disclosure. DETAILED DESCRIPTION

[0028] The preferred embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although preferred embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments described herein. Rather, these embodiments are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.

[0029] As mentioned above, in a distributed data processing system, the architecture that separates computing and storage increases the path between data storage and computing, lengthens the data transmission path from one end to the other, and makes the system increasingly complex.

[0030] On the other hand, the capacity of storage clusters is increasing. While maintaining storage capacity and throughput, repeatedly moving massive amounts of data and repeatedly reading and writing data to the storage cluster results in significant resource overhead, such as bandwidth, power consumption, and media wear.

[0031] If the amount of computing work completed per unit time based on the same amount of data transmission can be increased, the overall performance of the distributed data storage system can be directly improved, increasing computing power while reducing resource overhead.

[0032] Therefore, optimizing data reading and writing, making rational use of data in each link, and increasing reuse will all help improve system performance.

[0033] In summary, designing a system that can match front-end computing to increase output can effectively reduce competition for real-time resources in the storage cluster, improve performance, and ensure the stability of multi-tasking parallel services.

[0034] The embodiments of the present disclosure innovatively propose an intermediate layer that integrates computing acceleration and global cache to improve the output efficiency of big data analysis and computing.

[0035] FIG2 schematically shows a data processing system according to the present disclosure.

[0036] As shown in Figure 2, the data processing system according to the present disclosure may include a computing cluster (also referred to as a "distributed computing system" or "distributed computing cluster"), a storage cluster (also referred to as a "distributed storage system" or "distributed storage cluster"), and a cache cluster (also referred to as a "distributed cache system" or "distributed cache cluster"). These systems can be connected to each other through a high-performance Internet for data communication.

[0037] In FIG2 , the inclined hatched lines indicate that both the local read cache of the computing node and the local write cache of the storage node can be canceled.

[0038] As shown in Figure 2, the cache cluster serves as an intermediate layer between the computing cluster and the storage cluster, integrating the functions of write cache and read cache.

[0039] As a global cache, the cache cluster replaces the local read cache of the compute nodes and the local write cache of the storage nodes, providing global data caching services for the compute cluster and / or storage cluster.

[0040] The cache cluster can include multiple high-speed storage nodes serving as cache nodes. Each high-speed storage node can have a high-speed storage disk for caching data. The high-speed storage disk can use low-latency non-volatile storage media to receive writes from multiple tenants in the front-end distributed computing cluster and then asynchronously flush the data to the distributed storage cluster.

[0041] In this way, the cache cluster can cache read cache data from the storage cluster for use in data calculations in the computing cluster. On the other hand, the cache cluster can also cache write cache data from the computing cluster to flush the cached write cache data to the storage cluster.

[0042] As a cache cluster, the computing nodes in the computing cluster can obtain read cache data from multiple cache nodes in the cache cluster, and the cache nodes in the cache cluster can provide read cache data for multiple computing nodes in the computing cluster.

[0043] In this way, compared with the solution of setting up local read cache on each computing node in some situations, the available read cache space of each computing node (multiple cache nodes in the cache cluster) is increased, and the hit rate of data lookup is significantly improved.

[0044] At the same time, the read cache data cached by each cache node can be reused by multiple computing nodes, and data utilization efficiency can also be improved.

[0045] Likewise, a storage node in a storage cluster may obtain write cache data from multiple cache nodes in a cache cluster, and a cache node in a cache cluster may provide write cache data to multiple cache nodes in the storage cluster.

[0046] In some scenarios, functions such as accelerated computing can be further integrated. For example, data to be flushed to the storage node can be processed, such as data segmentation, multi-node backup, erasure coding, and destination storage node allocation. In this way, the data processing burden of the storage cluster can also be reduced. For example, the cache cluster can complete the first-hop processing (or first-stage processing) that originally needed to be performed by the storage node (first-hop storage node or first-stage storage node) in the storage cluster, that is, the processing of obtaining the second-hop data (second-stage data) directed to each destination storage node for storage from the first-hop data (or first-stage data) that has not yet been pre-processed before storage and allocated to the storage node.

[0047] The cache cluster of the present disclosure may be implemented by deploying another distributed cluster in addition to the computing cluster and the storage cluster.

[0048] Alternatively, the cache cluster of the present disclosure may also be implemented in conjunction with a computing cluster. In other words, each cache node of the cache cluster may be deployed in conjunction with a computing node in the computing cluster.

[0049] For example, the hardware physical form of the cache nodes of the mid-tier cache cluster can be associated with the computing nodes in the computing cluster, for example, a cache management component deployed in each computing node in the computing cluster or associated with the computing node through an external connection. The cache management component can be connected to the computing node through, for example, a Peripheral Component Interconnect Express (PCIe) link.

[0050] By deploying cache nodes closely associated with compute nodes, the data read and write paths between cache and compute can be shortened.

[0051] In addition, in some embodiments, it is also possible to facilitate hardware offloading of some computing work, deploying some computing processing of cached data to the cache management component, and no longer requiring the CPU of the computing node itself to execute, thereby saving the computing resources of the computing node.

[0052] Moreover, compared with the write cache set locally on the storage node in Figure 1, the write cache disclosed in the present invention (the write cache function of the cache node) is implemented on the computing node side. By preprocessing the write cache data accumulated from the computing node, such as multi-node backup or erasure coding (EC), the consistency of persistent storage data can be guaranteed.

[0053] The write cache data can then be flushed to the distributed storage cluster as quickly as possible. This can be done asynchronously. By combining the write lifespan limit of the cache media with the minimum feasible capacity for write caching in the cache node, costs can be reduced.

[0054] When the cache node and the computing node are jointly deployed, different IP addresses or tag values ​​can be assigned to the cache node (cache management component) and the computing node (or its computing device), so that for data traffic, it can be distinguished whether it corresponds to the cache node (cache management component) or the computing node (or its computing device).

[0055] In this way, logically, we can still think of independent cache nodes and compute nodes. A cache cluster includes multiple cache nodes, while a compute cluster includes multiple compute nodes. Moreover, a compute node can also use multiple cache nodes, and a cache node can also provide cache services for multiple compute nodes.

[0056] The following further describes the situation where cache nodes and computing nodes are jointly deployed with each other with reference to FIG3 .

[0057] FIG3 schematically shows an embodiment of joint deployment of cache nodes and computing nodes.

[0058] As shown in FIG3 , a cache management component may be deployed in association with a computing node in a computing cluster.

[0059] As shown in FIG3 , the computing device of the computing node (the part of the computing node in FIG3 excluding the cache management component, for ease of description, this part can still be referred to as the “computing node”) and the cache management component constitute a new computing system.

[0060] The cache management component is connected to the computing device. For example, the cache management component can be connected to the computing device via a PCIe link, thereby reducing network transmission delay between the computing device and the cache management component.

[0061] The cache management component may be deployed inside the computing device chassis of the computing node, or may be set outside the computing device chassis of the computing node.

[0062] By associating the cache management component as a cache node with the computing nodes in the computing cluster, the overhead of deploying additional servers to build a global cache cluster, such as network ports, rack space, and servers, can be reduced.

[0063] The cache management component may manage read cache data from a data storage system (storage cluster or distributed storage system or distributed storage cluster) and / or write cache data to be written to the data storage system.

[0064] The cache management component can pre-read data from the storage cluster based on the data processing behavior of the computing device and cache it as read cache data.

[0065] The cache management component may also accumulate write cache data from the computing device and flush the accumulated write cache data to the storage cluster.

[0066] The computing device includes a network card for receiving data from the outside and / or sending data to the outside.

[0067] The network card can distinguish whether received and / or transmitted data corresponds to a computing device or a cache management component and perform corresponding processing. In some embodiments, received and / or transmitted data can indicate whether it corresponds to a computing device or a cache management component. Alternatively, the network card can determine whether received and / or transmitted data corresponds to a computing device or a cache management component based on other information and / or corresponding rules. The technical solution disclosed herein is not limited to a specific distinction and judgment scheme.

[0068] The network card can determine whether the destination of the received data is the computing device or the cache management component, and transmit the received data to the determined destination.

[0069] Correspondingly, it can also be indicated in the data sent by the network card to the outside whether it comes from the computing device or the cache management component.

[0070] Here, the network card can allocate different IP addresses to the computing device and the cache management component. The network card can generate two IP addresses, one IP address allocated to the computing device and the other IP address allocated to the cache management component.

[0071] In this way, the IP address associated with the sent and / or received data can be used to indicate whether it corresponds to a computing device or a cache management component.

[0072] Alternatively, different values ​​may be used in designated fields of sent data and / or received data to indicate whether the data corresponds to a computing device or a cache management component.

[0073] Therefore, logically, the computing device and the cache management component can participate in data communications on the network as two distinguishable data communication entities. The computing device can still serve as a computing node in a computing cluster, while the cache management component can serve as a cache node in the cache cluster. In other words, in the data processing system shown in FIG3 , the computing cluster includes computing devices in multiple computing systems (computing nodes) (the portion of the computing nodes in FIG3 excluding the cache management component may still be referred to as a "computing node" for ease of description), while the cache cluster may include cache management components in multiple computing systems.

[0074] The cache management component can communicate directly with the connected computing device, or it can communicate with other computing devices via a network interface card (NIC). Therefore, the data processing system shown in Figure 3 can be logically considered to have the same basic architecture as the data processing system shown in Figure 2, including a computing cluster, a cache cluster (middle layer), and a storage cluster. The only difference is that the cache nodes in the cache cluster are deployed jointly with the computing nodes in the computing cluster.

[0075] Thus, the cache management component may be configured to provide read cache data to computing devices of multiple computing systems.

[0076] On the other hand, the cache management component may also be configured to cache write cache data generated by computing devices of multiple computing systems and to be flushed to the distributed storage system.

[0077] On the other hand, the cache management component may also be configured so that the write cache data it manages can be flushed to multiple storage nodes in the distributed storage system.

[0078] That is, the cache management component associated with the computing device of a computing node can provide cache services for reading cache data and / or writing cache data for multiple computing devices and / or multiple storage nodes.

[0079] As shown in the figure, the computing device may also include other conventional components such as a CPU, memory, and a system disk, which will not be described in detail here.

[0080] In addition, in some embodiments, in addition to having data caching functions, such as high-speed persistent storage capacity, the cache management component can also be configured with certain data calculation / processing functions, such as a programmable computing unit.

[0081] In this way, the cache management component can perform first data processing on the data read from the storage cluster to obtain processed data for the computing device to perform second data processing.

[0082] On the other hand, the cache management component may also pre-process the data from the computing device, such as the first-hop processing described above, to obtain write cache data (second-hop data) allocated to the corresponding storage node of the storage cluster.

[0083] In this way, the data cache function close to the computing side can be combined with the computing function to offload part of the computing function from the CPU of the computing node or storage node to the cache management component, thereby improving the overall performance.

[0084] For example, the cache management component can implement some data-intensive operations, such as comparison, filtering, sorting, encoding and decoding, verification, etc. (ie, the first data processing mentioned above).

[0085] In this way, the computing units that perform these operations can be placed close to the data storage modules in the cache nodes (cache management components), thereby eliminating the need to move large amounts of data from the cache management components to the system memory of the computing nodes (computing devices) and then have the CPU of the computing nodes (computing devices) perform the operations. This avoids memory bandwidth and PCIe bandwidth overhead and shortens latency.

[0086] The cache management component, as a cache node in the cache cluster, can provide data caching services for all computing nodes in the computing cluster. This data caching service includes caching services for read cache data from the storage cluster and caching services for write cache data from the computing cluster.

[0087] Alternatively, in some embodiments, the cache management component may also be configured to provide data caching services for computing devices of the computing system to which the cache management component belongs (its associated computing nodes), and computing devices of computing systems that are physically and / or logically adjacent to the computing system to which the cache management component belongs.

[0088] In this way, cache data transmission between the computing device of the computing node at a long distance and the cache management component serving as the cache node can be avoided, thereby reducing data transmission delay.

[0089] In some embodiments, a cache cluster may include multiple distributed cache subsystems (cache subclusters). Each distributed cache subsystem may include cache management components (cache nodes) of at least two computing systems, configured to provide data cache services for computing devices of the at least two computing systems (computing devices associated with the cache nodes of the distributed cache subsystems).

[0090] FIG4 schematically shows a plurality of distributed cache subsystems.

[0091] As shown in FIG4 , the cache management components (cache nodes) associated with each computing node are grouped to form multiple distributed cache subsystems.

[0092] For example, the distributed cache subsystems may be grouped by configuring a switch group to which the network cards of the computing nodes are connected. In addition, in some embodiments, data exchange may also be implemented between multiple distributed cache subsystems, for example, via a switch group.

[0093] In the distributed cache subsystem, the read cache data required by the associated computing devices and / or the generated write cache data can be distributedly cached, for example, multi-node backup, erasure coding, etc. can be performed to improve data security and consistency.

[0094] Here, the at least two computing systems associated with the distributed cache subsystem may be physically and / or logically adjacent computing systems.

[0095] The proximity range can be set based on needs and actual circumstances, for example, it can be directly adjacent in network topology, or within a predetermined number of nodes, or it can be set based on parameters such as network latency.

[0096] The following describes write cache data generated by the computing nodes of the computing cluster and to be flushed to the storage cluster as an example.

[0097] As shown in Figure 4, the present disclosure designs a lightweight distributed cache logic. Rather than treating all cache nodes (cache management components) associated with the entire computing cluster as a large distributed cache system, the present disclosure divides the large distributed cache system into multiple distributed cache subsystems.

[0098] For example, a distributed cache subsystem can be formed by three computing node servers that meet the fault domain requirements (for example, one adjacent ASW switch (access layer switch) and one under the same ASW switch) to ensure data consistency, and the entire computing cluster can be divided into multiple small distributed cache subsystems consisting of three servers.

[0099] This design simplifies data placement and addressing, simplifies capacity balancing, and reduces the overhead of internal data migration.

[0100] The data generated by the computing nodes can be written completely according to the log append within the cache subsystem, and the data flushing to the storage cluster can also be achieved by incrementing the read pointer.

[0101] The main operation mode of the cache management component (cache node) is log reading and writing, which simplifies the access mode and helps improve performance and extend service life.

[0102] In contrast, in existing solutions, write caches placed in storage nodes can achieve global pooling, but they are located far from the compute side (computing cluster) and require a network hop. Furthermore, due to the existence of internal paths within the compute nodes and storage nodes, the overall write latency in existing solutions is still relatively long.

[0103] On the other hand, in terms of read cache, as mentioned above, the cache management component can pre-read data from the storage cluster based on the data processing behavior of the computing device and cache it as read cache data.

[0104] The cache management component can predict the data that the computing node will need in the future based on the computing node's selection mode for read cache data, and pre-read data from the storage cluster in the background to speed up the output of calculation results.

[0105] For example, when performing continuous image / video analysis, while processing the current frame, the cache management component can initiate a pre-read of the backend storage cluster, load the data of several subsequent frames into the cache management component in advance, and cache it as read cache data.

[0106] For example, in a big data analysis scenario, if an application has begun reading partial data from one or more datasets, the cache management component of the present disclosure can pre-read the corresponding datasets based on a pre-judgment and cache them as read cache data on the cache management component associated with the computing cluster. When the pre-read data is used in subsequent processing, read latency can be significantly shortened, reducing processing waits. Conversely, if the pre-read data is not used, the cache management component can eliminate it to free up storage space.

[0107] FIG5 schematically illustrates data operations of a data processing system according to the present disclosure.

[0108] The cache management component may integrate cache functions and some computing functions.

[0109] The left side of Figure 5 illustrates data operations between the three logical layers of the data processing system according to the present disclosure: the computing layer of the computing cluster, the cache acceleration layer of the cache cluster, and the storage layer of the storage cluster. The right side of Figure 5 illustrates cache cards associated with the computing nodes, serving as cache management components. In addition to the data cache modules, the cache cards may also be equipped with, for example, a microprocessor to perform data operations.

[0110] Multi-tenant computing layers can randomly write data to the cache acceleration layer (cache cluster). Write caching enables consistent and persistent storage of distributed data using low-latency media. Through cache accumulation, numerous small data blocks are merged (combined) into large data blocks to be written to the storage cluster. These accumulated (combined) large data blocks are then flushed to the backend storage cluster to improve performance and efficiency.

[0111] On the other hand, as mentioned above, by analyzing the read cache data currently being read by the compute node, it is possible to predict the data required for subsequent operations. Therefore, the cache acceleration layer can pre-read data from the storage cluster and store it in the cache management component associated with the compute node performing the corresponding subsequent operation in the compute cluster, or in the cache management components associated with neighboring compute nodes. This further shortens the data path, quickly responds to data requests from the compute cluster, and accelerates the output of computational results.

[0112] In this way, part of the computing power of the microprocessor on the cache management component can be used to perform predictions and initiate pre-reading operations without occupying the computing power of the CPU of the computing node. As a result, part of the calculation of the computing layer is offloaded to the cache acceleration layer.

[0113] The cache management component according to an embodiment of the present disclosure is described below with reference to FIG6 and FIG7 .

[0114] In addition to the data caching function, the cache management component shown in Figures 6 and 7 can also implement some computing functions offloaded by the computing nodes.

[0115] FIG6 is a schematic block diagram of a cache management component according to an embodiment of the present disclosure.

[0116] The cache management component may include a data cache module and a data processing and control module.

[0117] The data cache module caches read cache data and / or write cache data.

[0118] The data processing and control module processes and controls the read cache data and / or the write cache data.

[0119] FIG7 is a schematic block diagram of a cache management component according to another embodiment of the present disclosure.

[0120] The flash memory in Figure 7 can be used as a data cache module for caching read cache data and / or write cache data in Figure 6. The other parts in Figure 7 except the flash memory can be regarded as the data processing and control module in Figure 6.

[0121] The data processing and control module may include at least one of the following: a logic circuit for performing logical operations on read cache data and / or write cache data based on the application scenario; a microprocessor for performing data processing and / or data management; and a hardware acceleration module for performing predetermined data operation functions through hardware.

[0122] In this way, the cache management component can achieve computational acceleration in three ways.

[0123] The logic circuit can be implemented by FPGA (Field Programmable Gate Array). FPGA can make the acceleration operator programmable and modifiable based on various application scenarios.

[0124] Microprocessors can accelerate computing through the firmware they run. Microprocessors can run computing programs to perform control and some computing functions.

[0125] The hardware acceleration module can accelerate some computing functions through hardware. The hardware acceleration module can implement some common computing functions in some scenarios, such as CRC (cyclic redundancy check), EC (erasure coding), compression, hash calculation, RAID (redundant array of independent disks), etc.

[0126] In addition, as shown in FIG7 , the data processing and control module may further include a memory, an erasure code module, and the like.

[0127] Memory is used to work with the microprocessor to perform data processing.

[0128] The error correction code module is used to perform error correction encoding and / or error correction decoding on the read cache data and / or write cache data. The error correction code module may include an erasure encoder and an erasure decoder to protect the stored data.

[0129] The cache management module is physically connected to the computing device of the associated computing node (computing system) through the PCIe interface.

[0130] Data from the host side of the computing device (for example, from a network card or CPU) can enter the FPGA through the PCIe interface, and then low-latency and high-throughput communication can be achieved through the chip interconnection interface between the FPGA and the controller.

[0131] The microprocessor can read and write flash memory through the media controller. The media controller handles high-speed data transmission between multiple flash memories and completes media management.

[0132] In this way, the cache management component according to the present disclosure enables some operations to be closer to the cached read cache data, further improving the efficiency of calculation and storage.

[0133] In contrast, in existing solutions, although storage read and write performance has been improved by introducing read cache and write cache, computing efficiency still mainly depends on the CPU of the computing node, requiring the reciprocating processing and movement of large amounts of data, and the overall work efficiency is low.

[0134] FIG8 schematically illustrates a data processing path in a data processing system according to the present disclosure.

[0135] FIG8 shows the data path from a global perspective when the cache management component is running online, wherein all processing between the storage disks of the computing nodes and the storage nodes can be implemented in the cache management component.

[0136] First, each compute node can concurrently write to the distributed cache system. The cache management component can include both write and read cache spaces. The write cache can quickly accept data from the compute nodes in a log-based write manner for persistent storage, reducing write latency.

[0137] After the write cache space accumulates enough data, the small data blocks can be merged and the large data blocks can be flushed.

[0138] At the same time, routine operations such as CRC and EC are completed through the hardware acceleration unit, and the EC-protected data is flushed to the storage disks of each storage node in the back-end storage cluster.

[0139] On the read path, based on the computing application being run, the microprocessor of the cache management component can run a pre-read / prediction engine to predict the data that the computing node may need later, and pre-read the data from the storage cluster to the read cache space.

[0140] When calculation occurs, the cache management component first pre-processes the original data (first data processing) to reduce the workload of the host CPU, and generates and stores processed data for subsequent processing by the computing application (second data processing).

[0141] The cache management component can deploy custom computation functions (first data processing). Custom computation functions can be implemented by customizing operators tailored to different application scenarios. This functionality can be collaboratively implemented by the FPGA and microprocessor. Such custom computation functions can include, for example, classification, filtering, searching, and projection.

[0142] In this way, the computing node can directly read the pre-processed data from the read cache space of the cache management component (cache node), reducing the computing power consumption of the computing node.

[0143] The computing system and the data processing system according to the present application have been described above in detail with reference to the accompanying drawings.

[0144] In the data processing system of the present disclosure, a cache cluster (distributed cache system) is deployed between a computing cluster (distributed computing system) and a storage cluster (distributed storage system). The cache nodes of the cache cluster can be physically connected to the computing nodes of the computing cluster, for example, via a PCIe bus.

[0145] In an embodiment, the cache node can integrate data read and write cache functions and accelerated offloading functions to improve computing and storage efficiency, and accelerate massive data reading and writing and high-speed processing.

[0146] In an embodiment, by dividing the entire cache cluster into multiple lightweight customized distributed cache subsystems so as to meet the fault domain requirements, a distributed data cache with strong data consistency can be implemented.

[0147] In an embodiment, by analyzing the application computing characteristics of the computing node, related data can be predicted, the data to be read next can be predicted, and the data can be selectively pre-read from the backend storage cluster to the read cache space of the cache management component.

[0148] In an embodiment, the path between calculation and data cache can be shortened by collaboratively combining FPGA programmable logic, ASIC (application-specific integrated circuit) hardware acceleration, microprocessor firmware development, etc. in a cache management component serving as a cache node.

[0149] In an embodiment, by executing calculations close to storage, some data-intensive computing requests, for example, are quickly processed within a cache management component serving as a cache node, thereby reducing the computing pressure on the CPU of the computing node host, improving the completion efficiency of the offloaded calculations, and shortening the processing delay.

[0150] In an embodiment, after completing data pre-reading, the cache management component serving as a cache node can also complete pre-processing of the original data within the component based on the calculation process, thereby more efficiently matching various data analysis scenarios and speeding up the output of calculation results.

[0151] Therefore, by setting up a distributed cache system that provides global data caching services, replacing the local read cache of the computing node and the local write cache of the storage node, the available read cache space of each computing node (multiple cache nodes in the distributed cache system) is increased, and the hit rate of data search is significantly improved.

[0152] At the same time, the read cache data cached by each cache node can be reused by multiple computing nodes, and data utilization efficiency can also be improved.

[0153] The cache management component, which serves as a cache node, is associated with the computing device, which serves as a computing node. At the same time, the data traffic associated with the computing device and the cache management component can be differentiated. For example, in an embodiment, different IP addresses can be set for the computing device and the cache management component, or different values ​​can be marked in specific fields in the data traffic corresponding to the computing device and the cache management component to distinguish them. This allows the cache management component and the computing device to communicate at high speed while logically functioning as two independent nodes on the network, serving as a computing node in the distributed computing system and a cache node in the distributed cache system, respectively. This can further improve the overall performance of the distributed data processing system.

[0154] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0155] In addition, the method according to the present application may also be implemented as a computer program or a computer program product, which includes computer program code instructions for executing the above steps defined in the above method of the present application.

[0156] Alternatively, the present application can also be implemented as a non-temporary machine-readable storage medium (or computer-readable storage medium, or machine-readable storage medium) on which executable code (or computer program, or computer instruction code) is stored. When the executable code (or computer program, or computer instruction code) is executed by a processor of an electronic device (or computing device, server, etc.), the processor executes the various steps of the above-mentioned method according to the present application.

[0157] Those skilled in the art will further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both.

[0158] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems and methods according to multiple embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a part of a module, program segment or code, and the part of the module, program segment or code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0159] The embodiments of the present application have been described above. The above description is illustrative and not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is selected to better explain the principles of the embodiments, their practical applications, or improvements to the technology in the market, or to enable other persons skilled in the art to understand the embodiments disclosed herein.

Claims

1. A computing system comprising: Computing equipment; as well as a cache management component, connected to the computing device, for managing read cache data from the data storage system and / or write cache data to be written to the data storage system, The computing device includes a network card, which receives data from the outside and / or sends data to the outside, determines whether the destination of the received data is the computing device or the cache management component, and transmits the received data to the determined destination.

2. The computing system of claim 1, wherein: The network card allocates different IP addresses to the computing device and the cache management component respectively, and the sent data and / or the received data are marked by the associated IP address as corresponding to the computing device or the cache management component; or The sent data and / or the received data are / is indicated by the value of a specified field to indicate whether it corresponds to a computing device or a cache management component.

3. The computing system of claim 1, wherein: The cache management component is connected to the computing device through a peripheral component interconnection extension PCIe link.

4. The computing system of claim 1, wherein: The cache management component pre-reads data from the distributed storage system based on the data processing behavior of the computing device and caches the data as read cache data; and / or The cache management component accumulates write cache data from the computing device and flushes the accumulated write cache data to the distributed storage system.

5. The computing system of claim 1, wherein: The cache management component performs a first data processing on the data read from the distributed storage system to obtain processed data for the computing device to perform a second data processing; and / or The cache management component pre-processes the data from the computing device to obtain write cache data allocated to the corresponding storage node of the distributed storage system.

6. The computing system of claim 1, wherein: The cache management component is capable of providing read cache data to computing devices of multiple computing systems; and / or The cache management component can cache the write cache data generated by computing devices of multiple computing systems to be flushed to the distributed storage system; and / or The write cache data managed by the cache management component can be flushed to multiple storage nodes in the distributed storage system.

7. The computing system of claim 1, wherein: The cache management component comprises: a data cache module, configured to cache the read cache data and / or the write cache data; and A data processing and control module is used to process and control the read cache data and / or the write cache data.

8. The computing system of claim 7, wherein: The data processing and control module includes: a logic circuit, configured to perform a logic operation on the read cache data and / or the write cache data based on an application scenario; and / or A microprocessor for performing data processing and / or data management; and / or The hardware acceleration module is used to execute predetermined data calculation functions through hardware.

9. The computing system of claim 8, wherein: The data processing and control module also includes: Memory, used in conjunction with a microprocessor to perform data processing; and / or The error correction code module is used to perform error correction encoding and / or error correction decoding processing on the read cache data and / or the write cache data.

10. A data processing system comprising: Distributed computing systems; Distributed storage systems; as well as A distributed cache system is used to provide global data cache services for distributed computing systems and / or distributed storage systems. Wherein, the distributed cache system caches read cache data from the distributed storage system for data calculation in the distributed computing system, and / or The distributed cache system caches write cache data from the distributed computing system to flush the cached write cache data to the distributed storage system.

11. The data processing system according to claim 10, comprising a plurality of computing systems according to any one of claims 1 to 9, wherein: The distributed computing system includes a plurality of computing devices in the computing system. The distributed cache system includes cache management components in multiple computing systems.

12. The data processing system according to claim 10, wherein: The cache management component provides data cache services for computing devices of the computing system to which the cache management component belongs and computing devices of computing systems that are physically and / or logically adjacent to the computing system to which the cache management component belongs.

13. The data processing system according to claim 12, wherein: The distributed cache system includes a plurality of distributed cache subsystems. The distributed cache subsystem includes cache management components of at least two computing systems, and is used to provide data cache services for computing devices of the at least two computing systems.

14. The data processing system according to claim 13, wherein: The at least two computing systems associated with the distributed cache subsystem are physically and / or logically adjacent computing systems.

Citation Information

Patent Citations

  • Computing and storing cluster system based on PCIE (Peripheral Component Interconnect Express) interconnection

    CN104639469A

  • Big data multi-data-source analysis method and system based on storage and calculation separation

    CN113672583A

  • Data transmission method and device for computing cluster and storage medium

    CN114153754A

  • Control method and device of distributed cache system and medium

    CN115016735A

  • Drug data processing system, operation method and data processing method

    CN115083538A