# US 2021/0286783 A1 · Deduplicating data at sub-block granularity

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0286783 A1
- Document ID: US20210286783A1
- Status: Published application
- Kind: A1
- Application number: 17/203,876
- Filed: 2021-03-17
- Published: 2021-09-16
- Earliest claimed: 2018-10-31
- Assignees: EMC IP Holding Company LLC
- Applicants: EMC IP Holding Company LLC
- Inventors: Philippe Armangau; Sorin Faibish; Istvan Gonczi; Ivan Bassov; Vamsi K. Vankamamidi
- Web page: https://patentgrep.com/patent/US20210286783A1

## CPC

- G06F 16/215: Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
- G06F 3/0608: {Saving storage space on storage systems}
- G06F 3/0641: {De-duplication techniques}
- G06F 3/0673: {Single storage device}
- G06F 3/0683: {Plurality of storage devices}
- G06F 16/907: Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A technique for performing data deduplication operates at sub-block granularity by searching a deduplication database for a match between a candidate sub-block of a candidate block and a target sub-block of a previously-stored target block. When a match is found, the technique identifies a duplicate range shared between the candidate block and the target block and effects persistent storage of the duplicate range by configuring mapping metadata of the candidate block so that it points to the duplicate range in the target block.

## Claims

### Claim 1

A method of performing data deduplication, comprising:
providing a deduplication database in a data storage system, the deduplication database configured to store multiple entries that associate digest values computed from respective sub-blocks of data blocks with references to locations in the data storage system where data blocks containing the respective sub-blocks can be found;
implementing a policy for adding entries to the deduplication database, the policy specifying creation of new entries for first sub-blocks and last sub-blocks of data blocks but not for intermediate sub-blocks of those data blocks; and
processing a new data block for deduplication by (i) identifying multiple sub-blocks of the new data block, (ii) computing respective new digest values from the sub-blocks of the new data block, (iii) matching one of the new digest values to an entry in the deduplication database, and (iv) storing the new data block at least in part by reference to a target data block whose location is referenced by the matching entry.

### Claim 2 (depends on 1)

The method of claim 1, wherein the sub-block whose digest value matches the matching entry in the deduplication database is neither a first sub-block nor a last sub-block of the new data block.

### Claim 3 (depends on 2)

The method of claim 2, wherein the new data block contains a shifted version of a set of data stored in the target data block, the set of data having a length longer than that of any of the sub-blocks of the new data block.

### Claim 4 (depends on 2)

The method of claim 2, wherein providing the deduplication database includes operating the deduplication database in memory of the data storage system, and wherein implementing the policy for adding entries to the deduplication database consumes less memory than would be consumed if new entries were created for all sub-blocks of data blocks.

### Claim 5 (depends on 2)

The method of claim 2, wherein storing the new data block at least in part by reference to the target data block includes (i) storing a first portion of the new data block by reference to the target data block and (ii) storing a second portion of the new data block in newly-allocated storage space.

### Claim 6 (depends on 2)

The method of claim 2, wherein the sub-blocks of the new data block are uniformly sized.

### Claim 7 (depends on 6)

The method of claim 6, wherein the sub-blocks of the new data block are 512 bytes long, wherein the target data block includes a matching sub-block that matches the matched sub-block from which said one of the new digest entries is computed, and wherein a position of the matching sub-block within the target data block differs from a position of the matched sub-block within the new data block by an integer multiple of 512 bytes.

### Claim 8

A data storage system, comprising control circuitry that includes a set of processing units coupled to memory, the control circuitry constructed and arranged to:
provide a deduplication database, the deduplication database configured to store multiple entries that associate digest values computed from respective sub-blocks of data blocks with references to locations in the data storage system where data blocks containing the respective sub-blocks can be found;
implement a policy for adding entries to the deduplication database, the policy specifying creation of new entries for first sub-blocks and last sub-blocks of data blocks but not for intermediate sub-blocks of those data blocks; and
process a new data block for deduplication by (i) identifying multiple sub-blocks of the new data block, (ii) computing respective new digest values from the sub-blocks of the new data block, (iii) matching one of the new digest values to an entry in the deduplication database, and (iv) storing the new data block at least in part by reference to a target data block whose location is referenced by the matching entry.

### Claim 9 (depends on 8)

The data storage system of claim 8, wherein the sub-block whose digest value matches the matching entry in the deduplication database is neither a first sub-block nor a last sub-block of the new data block.

### Claim 10 (depends on 9)

The data storage system of claim 9, wherein the new data block contains a shifted version of a set of data stored in the target data block, the set of data having a length longer than that of any of the sub-blocks of the new data block.

### Claim 11 (depends on 9)

The data storage system of claim 9, wherein the control circuitry constructed and arranged to provide the deduplication database is further constructed and arranged to operate the deduplication database in memory of the data storage system, and wherein the control circuitry constructed and arranged to implement the policy for adding entries to the deduplication database is further constructed and arranged to consume less memory than would be consumed if new entries were created for all sub-blocks of data blocks.

### Claim 12 (depends on 9)

The data storage system of claim 9, wherein the control circuitry constructed and arranged to store the new data block at least in part by reference to the target data block is further constructed and arranged to (i) store a first portion of the new data block by reference to the target data block and (ii) store a second portion of the new data block in newly-allocated storage space.

### Claim 13 (depends on 8)

The data storage system of claim 8, wherein the sub-blocks of the new data block are 512 bytes long, wherein the target data block includes a matching sub-block that matches the matched sub-block from which said one of the new digest entries is computed, and wherein a position of the matching sub-block within the target data block differs from a position of the matched sub-block within the new data block by an integer multiple of 512 bytes.

### Claim 14

A computer program product including a set of non-transitory, computer-readable media having instructions which, when executed by control circuitry of a data storage system, cause the control circuitry to perform a method of performing data deduplication, the method comprising:
providing a deduplication database, the deduplication database configured to store multiple entries that associate digest values computed from respective sub-blocks of data blocks with references to locations in the data storage system where data blocks containing the respective sub-blocks can be found;
implementing a policy for adding entries to the deduplication database, the policy specifying creation of new entries for first sub-blocks and last sub-blocks of data blocks but not for intermediate sub-blocks of those data blocks; and
processing a new data block for deduplication by (i) identifying multiple sub-blocks of the new data block, (ii) computing respective new digest values from the sub-blocks of the new data block, (iii) matching one of the new digest values to an entry in the deduplication database, and (iv) storing the new data block at least in part by reference to a target data block whose location is referenced by the matching entry.

### Claim 15 (depends on 15)

The computer program product of claim 15, wherein the sub-block whose digest value matches the matching entry in the deduplication database is neither a first sub-block nor a last sub-block of the new data block.

### Claim 16 (depends on 15)

The computer program product of claim 15, wherein the new data block contains a shifted version of a set of data stored in the target data block, the set of data having a length longer than that of any of the sub-blocks of the new data block.

### Claim 17 (depends on 15)

The computer program product of claim 15, wherein providing the deduplication database includes operating the deduplication database in memory of the data storage system, and wherein implementing the policy for adding entries to the deduplication database consumes less memory than would be consumed if new entries were created for all sub-blocks of data blocks.

### Claim 18 (depends on 15)

The computer program product of claim 15, wherein storing the new data block at least in part by reference to the target data block includes (i) storing a first portion of the new data block by reference to the target data block and (ii) storing a second portion of the new data block in newly-allocated storage space.

### Claim 19 (depends on 15)

The computer program product of claim 15, wherein the sub-blocks of the new data block are uniformly sized.

### Claim 20 (depends on 19)

The computer program product of claim 19, wherein the sub-blocks of the new data block are 512 bytes long, wherein the target data block includes a matching sub-block that matches the matched sub-block from which said one of the new digest entries is computed, and wherein a position of the matching sub-block within the target data block differs from a position of the matched sub-block within the new data block by an integer multiple of 512 bytes.
