USPatent applicationPatented

Parallel checksumming of data chunks of a shared data object using a log-structured file system

Granted 6 Sep 2016 · 3 office actions

Current assignee: DELL MARKETING L.P. · originally Dell Inc.

Law firm: Law firm · Log in to unlock

Attorney: Attorney · Log in to unlock

Inventors: John M. Bent, Sorin Faibish, Gary Grider · Examiner: Hosain Alam · AU 2154 · TC 2100

Application· this page
13/799,264
filed 13 Mar 2013
Publication
Not published
not published
Patent
US 9,436,722
granted 6 Sep 2016

Life of the application

18 dated events
⤢ drag to zoom20142016201820202022202420262028203020322034ProsecutionOwnershipTerm & fees
ProsecutionOwnershipTerm & feeshover for detail · click to open

Abstract

Checksum values are generated and used to verify the data integrity. A client executing in a parallel computing system stores a data chunk to a shared data object on a storage node in the parallel computing system. The client determines a checksum value for the data chunk; and provides the checksum value with the data chunk to the storage node that stores the shared object. The data chunk can be stored on the storage node with the corresponding checksum value as part of the shared object. The storage node may be part of a Parallel Log-Structured File System (PLFS), and the client may comprise, for example, a Log-Structured File System client on a compute node or burst buffer. The checksum value can be evaluated when the data chunk is read from the storage node to verify the integrity of the data that is read.

Description

10 parts
›STATEMENT OF GOVERNMENT RIGHTS

This invention was made under a Cooperative Research and Development Agreement between EMC Corporation and Los Alamos National Security, LLC. The United States government has rights in this invention pursuant to Contract No. DE-AC52-06NA25396 between the United States Department of Energy and Los Alamos National Security, LLC for the operation of Los Alamos National Laboratory.

›CROSS-REFERENCE TO RELATED APPLICATION

This application is related to U.S. patent application Ser. No. 13/799,228, filed Mar. 13, 2013, entitled “Parallel Compression of Data Chunks of a Shared Object Using a Log-Structured File System,” incorporated by reference herein

›FIELD

The present invention relates to parallel storage in high performance computing environments.

›BACKGROUND

Parallel storage systems are widely used in many computing environments. Parallel storage systems provide high degrees of concurrency in which many distributed processes within a parallel application simultaneously access a shared file namespace.

Parallel computing techniques are used in many industries and applications for implementing computationally intensive models or simulations. For example, the Department of Energy uses a large number of distributed compute nodes tightly coupled into a supercomputer to model physics experiments. In the oil and gas industry, parallel computing techniques are often used for computing geological models that help predict the location of natural resources. Generally, each parallel process generates a portion, referred to as a data chunk, of a shared data object.

Checksumming is a common technique to ensure data integrity. A checksum or hash sum is a fixed-size computed from a block of digital data to detect errors that may have been introduced during transmission or storage. The integrity of the data can be checked at any later time by recomputing the checksum and comparing the recomputed checksum with the stored checksum. If the two checksum values match, then the data was likely not altered.

Existing approaches apply checksums on the shared data object after it has been sent to the storage system. The checksums are applied to offset ranges on the shared data object in sizes that are pre-defined by the file system.

In parallel computing systems, such as High Performance Computing (HPC) applications, the inherently complex and large datasets increase the potential for data corruption and therefore the need for data integrity. A need therefore exists for parallel techniques for generating the checksum values and for verifying the integrity of the data.

›SUMMARY

Embodiments of the present invention provide improved techniques for generating checksum values and for verifying the integrity of data. In one embodiment, a method is provided for a client executing on one or more of a compute node and a burst buffer node in a parallel computing system to store a data chunk generated by the parallel computing system to a shared data object on a storage node in the parallel computing system. The client determines a checksum value for the data chunk; and provides the checksum value with the data chunk to the storage node that stores the shared object. The data chunk can be stored on the storage node with the corresponding checksum value as part of the shared object.

The storage node may be part of a Parallel Log-Structured File System (PLFS), and the client may comprise, for example, a Log-Structured File System client executing on a compute node or a burst buffer node. The checksum value can be evaluated when the data chunk is read from the storage node to verify the integrity of the data that is read.

Advantageously, illustrative embodiments of the invention provide techniques for parallel checksumming of data being written to a shared object. These and other features and advantages of the present invention will become more readily apparent from the accompanying drawings and the following detailed description.

›BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates an exemplary conventional technique for generating checksums of data being stored to a shared object by a plurality of processes in a storage system;

FIG. 2 illustrates an exemplary distributed technique for generating checksums of data being stored to a shared object by a plurality of processes in a storage system in accordance with aspects of the present invention;

FIG. 3 illustrates an exemplary alternate distributed technique for generating checksums of data being stored to a shared object by a plurality of processes in a storage system in accordance with an alternate embodiment of the present invention; and

FIG. 4 is a flow chart describing an exemplary LSFS checksum process incorporating aspects of the present invention.

›DETAILED DESCRIPTION · 1 of 3

The present invention provides improved techniques for cooperative parallel writing of data to a shared object. Generally, one aspect of the present invention leverages the parallelism of concurrent writes to a shared object and the high interconnect speed of parallel supercomputer networks to generate the checksum values for the data in parallel as it is written. A further aspect of the invention leverages the parallel supercomputer networks to provide improved techniques for verifying the integrity of the checksummed data.

Embodiments of the present invention will be described herein with reference to exemplary computing systems and data storage systems and associated servers, computers, storage units and devices and other processing devices. It is to be appreciated, however, that embodiments of the invention are not restricted to use with the particular illustrative system and device configurations shown. Moreover, the phrases “computing system” and “data storage system” as used herein are intended to be broadly construed, so as to encompass, for example, private or public cloud computing or storage systems, as well as other types of systems comprising distributed virtual infrastructure. However, a given embodiment may more generally comprise any arrangement of one or more processing devices. As used herein, the term “files” shall include complete files and portions of files, such as sub-files or shards.

FIG. 1 illustrates an exemplary conventional storage system 100 that employs a conventional technique for generating checksums of data being stored to a shared object 150 by a plurality of processes. The exemplary storage system 100 may be implemented, for example, as a Parallel Log-Structured File System (PLFS) to make placement decisions automatically, as described in U.S. patent application Ser. No. 13/536,331, filed Jun. 28, 2012, entitled “Storing Files in a Parallel Computing System Using List-Based Index to Identify Replica Files,” (now U.S. Pat. No. 9,087,075), incorporated by reference herein, or it can be explicitly controlled by the application and administered by a storage daemon.

As shown in FIG. 1 , the exemplary storage system 100 comprises a plurality of compute nodes 110 - 1 through 110 -N (collectively, compute nodes 110 ) where a distributed application process generates a corresponding portion 120 - 1 through 120 -N of a distributed shared data structure 150 or other information to store. The compute nodes 110 optionally store the portions 120 of the distributed data structure 150 in one or more nodes of the exemplary storage system 100 , such as an exemplary flash based storage node 140 . In addition, the exemplary hierarchical storage tiering system 100 optionally comprises one or more hard disk drives (not shown).

As shown in FIG. 1 , the compute nodes 110 send their distributed data chunks 120 into a single file 150 . The single file 150 is striped into file system defined blocks, and then each block is checksummed. As indicated above, existing checksum approaches apply checksums on the shared data structure 150 only after it has been sent to the storage node 140 of the storage system 100 . Thus, as shown in FIG. 1 , the checksums 160 are applied to offset ranges on the data in sizes that are pre-defined by the file system 100 . The offset size of the checksums 160 does not typically align with the size of the data portions 120 (i.e., the file system defined blocks will typically not match the original memory layout).

FIG. 2 illustrates an exemplary storage system 200 that generates checksums of data chunks 220 being stored to a shared object 250 by a plurality of processes in accordance with aspects of the present invention. The exemplary storage system 200 may be implemented, for example, as a Parallel Log-Structured File System.

As shown in FIG. 2 , the exemplary storage system 200 comprises a plurality of compute nodes 210 - 1 through 210 -N (collectively, compute nodes 110 ) where a distributed application process generates a corresponding data chunk portion 220 - 1 through 220 -N (collectively, data chunks 220 ) of a distributed shared data object 250 to store. The distributed application executing on given compute node 210 in the parallel computing system 200 writes and reads the data chunks 220 that are part of the shared data object 250 using a log-structured file system (LSFS) client 205 - 1 through 205 -N executing on the given compute node 210 . The compute nodes 210 store the data chunk portions 220 of the distributed data structure 250 in one or more storage nodes of the exemplary storage system 200 , such as an exemplary LSFS server 240 . The LSFS server 240 may be implemented, for example, as a flash based storage node. In addition, the exemplary hierarchical storage tiering system 200 optionally comprises one or more hard disk drives (not shown).

In accordance with one aspect of the present invention, on a write operation, each LSFS client 205 applies a checksum function to each data chunk 220 to generate a corresponding checksum value 260 - 1 through 260 -N. Each data chunk 220 is then stored by the corresponding LSFS client 205 with the corresponding computed checksum 260 on the LSFS server 240 .

In accordance with another aspect of the present invention, on a read operation, the LSFS client 205 performs a data integrity check on the read operation, where the data chunk 220 and the corresponding checksum 260 are read from the LSFS server 240 and are provided to the corresponding LSFS client 205 on the compute node 210 for the data integrity check before being sent to the application. The data integrity check comprises recomputing the checksum 260 recompute and comparing the recomputed checksum 260 recompute with the stored checksum 260 stored . If the two checksum values 260 recompute and 260 stored match, then the data integrity is verified.

FIG. 3 illustrates an exemplary storage system 300 that generates checksums of data chunks 220 being stored to a shared object 250 by a plurality of processes in accordance with an alternate embodiment of the present invention. The exemplary storage system 300 may be implemented, for example, as a Parallel Log-Structured File System. As shown in FIG. 3 , the exemplary storage system 300 comprises a plurality of compute nodes 210 - 1 through 210 -N (collectively, compute nodes 110 ) where a distributed application process generates a corresponding data chunk portion 220 - 1 through 220 -N (collectively, data chunks 220 ) of a distributed shared data object 250 to store, in a similar manner to FIG. 2 . The distributed application executing on given compute node 210 in the parallel computing system 200 writes and reads the data chunks 220 that are part of the shared data object 250 using a log-structured file system (LSFS) client 205 - 1 through 205 -N executing on the given compute node 210 , in a similar manner to FIG. 2 . The compute nodes 210 store the data chunk portions 220 of the distributed data structure 250 in one or more storage nodes of the exemplary storage system 200 , such as an exemplary LSFS server 240 . The LSFS server 240 may be implemented, for example, as a flash based storage node. In addition, the exemplary hierarchical storage tiering system 200 optionally comprises one or more hard disk drives (not shown).

›DETAILED DESCRIPTION · 2 of 3

The exemplary storage system 300 also comprises one or more flash-based burst buffer nodes 310 - 1 through 310 - k that process the data chunks 220 that are written by the LSFS clients 205 to the LSFS server 240 , and are read by the LSFS clients 205 from the LSFS server 240 . The exemplary flash-based burst buffer nodes 310 comprise LSFS clients 305 in a similar manner to the LSFS clients 205 of FIG. 2 .

In accordance with one aspect of the present invention, on a write operation, each burst buffer node 310 applies a checksum function to each data chunk 220 to generate a corresponding checksum value 360 - 1 through 360 -N. Each data chunk 220 is then stored with the corresponding computed checksum 360 on the LSFS server 240 , in a similar manner to FIG. 2 .

In accordance with another aspect of the present invention, on a read operation, the burst buffer node 310 performs a data integrity check on the read operation, where the data chunk 220 and the corresponding checksum 360 are read from the LSFS server 240 and are provided to the the burst buffer node 310 for the data integrity check before being sent to the application executing on the compute node 210 . The data integrity check comprises recomputing the checksum 360 recompute and comparing the recomputed checksum 360 recompute with the stored checksum 360 stored . If the two checksum values 360 recompute and 360 stored match, then the data integrity is verified.

On a burst buffer node 310 , due to the bursty nature of the workloads, there is additional time to run computationally intensive checksumming as well as addition parity schemes, such as erasure codes, such that corrupted data can be recovered in addition to just being detected.

It is noted that the embodiments of FIGS. 2 and 3 can be combined such that checksumming is performed by the LSFS clients 205 executing on the compute nodes 210 and additional more computationally intensive checksumming and/or erasure coding is performed by the burst buffer nodes 310 . A distributed signature lookup service can be established across the network of burst buffer nodes 310 to reduce the latency to verify the checksums.

While these checksums may reduce performance due to latency, this is outweighed by the improved reliability obtained from the additional data integrity. Additionally, on the burst buffer nodes 310 , this additional latency will not be incurred by the application since the latency will be added not between the application on the compute nodes 210 and the burst buffer nodes 310 but between the asynchronous transfer from the burst buffer nodes 310 to the lower storage servers 240 .

FIG. 4 is a flow chart describing an exemplary LSFS checksum process 400 incorporating aspects of the present invention. The exemplary LSFS checksum process 400 is implemented by the LSFS clients 205 executing on the compute nodes 210 in the embodiment of FIG. 2 and by the flash-based burst buffer nodes 310 in the embodiment of FIG. 3 .

As shown in FIG. 4 , the exemplary LSFS checksum process 400 initially performs a test during step 410 to determine if the current operation is a read operation or a write operation. If it is determined during step 410 that the current operation is a write operation, then the exemplary LSFS checksum process 400 obtains the data chunk from the application during step 420 . The exemplary LSFS checksum process 400 then computes the checksum for the data chunk during step 430 on the compute nodes 210 or the burst buffer nodes 310 . Finally, the data chunk is stored on the LSFS server 240 with the corresponding checksum as part of the shared object 250 during step 440 .

If, however, it is determined during step 410 that the current operation is a read operation, then the exemplary LSFS checksum process 400 obtains the data chunk and corresponding stored checksum from the LSFS server 240 during step 450 . The checksum is recomputed for the data chunk during step 455 and the checksums are compared during step 460 (checksum recompute =checksum stored ?).

A test is performed during step 470 to determine if the checksums match. If it is determined during step 470 that the checksums match, then the verified data chunk is provided to the application on the compute node 210 during step 480 . If, however, it is determined during step 470 that the checksums do not match, then the exemplary LSFS checksum process 400 indicates a failure to the application or corrects the error and provides corrected data during step 490 . For example, when the block being read does not match exactly a block that was checksummed but is comprised of pieces from several blocks, the burst buffer layer 310 can check the checksums from the multiple blocks and recompute a new checksum for the block being read and then send just the block and the checksum to the compute server 210 .

Among other benefits, the number of compute servers 210 is at least an order of magnitude greater than the number of storage servers 240 in HPC systems, thus it is much faster to perform the checksum computations on the compute servers 210 . In addition, the checksumming is performed on the data chunks 220 as they are being written by the LSFS client 205 as opposed to when they have been placed into the file 250 by the server 240 . The chunks 220 in a log-structured file system retain their original data organization whereas in existing approaches, the data in the chunks will almost always be reorganized into file system defined blocks. This can introduce additional latency as the file system will either wait for the blocks to be filled or do the checksumming multiple times each time the block is partially filled.

In this manner, aspects of the present invention leverage the parallelism of concurrent writes to a shared object and the high interconnect speed of parallel supercomputer networks to improve the generation of checksums during a write operation and to use the checksummed data to improve the data integrity on read operations. Aspects of the present invention thus recognize that the log-structured file system eliminates the need for artificial file system boundaries because all block sizes perform equally well in a log-structured file system.

›DETAILED DESCRIPTION · 3 of 3

Because PLFS files can be shared across many locations, data processing required to implement these functions can be performed more efficiently when there are multiple nodes cooperating on the data processing operations. Therefore, when this is run on a parallel system with a parallel language, such as MPI, PLFS can provide MPI versions of these functions which will allow it to exploit parallelism for more efficient data processing.

Consider a partial read. For example, assume that a write operation wrote bytes {0-100} and a checksum, C 1 , was stored with these bytes as computed at write time. If the reader reads bytes {25-75}, then the checksum, C 1 , does not match those bytes 25-75. So the storage server node 240 can send the entire byte range or recompute a new checksum, C 1 ′, for bytes 25-75. The former approach has the disadvantage of sending unnecessary data across the network. The latter approach has the disadvantage of doing the checksum computations on the storage server node 240 instead of the much more scalable compute nodes 210 or burst buffer nodes 310 .

In a further variation, the storage server node 240 can also optionally check the checksum as a mechanism to detect data corruption during the network transmission on a write operation from the compute nodes 210 to the storage server node 240 . In the event the checksum computed by the storage server node 240 does not match the checksum received from the compute node 210 with the data chunk 220 , the data can be re-transmitted to obtain the uncorrupted data.

›CONCLUSION

Numerous other arrangements of servers, computers, storage devices or other components are possible. Such components can communicate with other elements over any type of network, such as a wide area network (WAN), a local area network (LAN), a satellite network, a telephone or cable network, or various portions or combinations of these and other types of networks.

It should again be emphasized that the above-described embodiments of the invention are presented for purposes of illustration only. Many variations may be made in the particular arrangements shown. For example, although described in the context of particular system and device configurations, the techniques are applicable to a wide variety of other types of information processing systems, data storage systems, processing devices and distributed virtual infrastructure arrangements. In addition, any simplifying assumptions made above in the course of describing the illustrative embodiments should also be viewed as exemplary rather than as requirements or limitations of the invention. Numerous other alternative embodiments within the scope of the appended claims will be readily apparent to those skilled in the art.

Claims as granted

20 claims

Log in to read the claims of this application.

Log in to unlock

Classifications

2 codes
IPC · International Patent Classification
Section G — Physics
  • G06F17/30
Section H — Electricity
  • H04L67/10

Claim changes

Soon
Coming soonHow the claims changed between publication and grant

See which claims were amended, added or cancelled during examination, with every added and removed word marked.

AmendedAddedCancelledUnchanged

The published claims of this application are not paired with the granted ones in what we hold.

File wrapper

⤢ drag to zoomJan 2013Jul 2013Jan 2014Jul 2014Jan 2015Jul 2015Jan 2016Jul 2016USPTOApplicantNon-final rejectionApplicant-initiated interviewNon-final rejectionFinal rejection
USPTOApplicanthover for detail · click to open
Pendency
3.5 y
1,273 days filing → grant
Office actions
3
non-final + final
Responses
3
no RCE
Interviews
1
examiner interview summaries
Examiner
Hosain Alam
art unit 2154 · TC 2100
Citations: 14 back · 6 forward

See the full prosecution history — every USPTO and applicant action on this file, in order.

Log in to unlock

Documents

Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.

Log in to unlock

Chain of title

⤢ drag to zoom20142016201820202022202420262028203020322034Owner 3Owner 4liens, releases & corrections
TitleLienReleasehover for detail · click to open

See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.

Log in to unlock