# US 2021/0286768 A1 · Techniques for data deduplication

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

- Number: US 2021/0286768 A1
- Document ID: US20210286768A1
- Status: Published application
- Kind: A1
- Application number: 16/818,098
- Filed: 2020-03-13
- Published: 2021-09-16
- Earliest claimed: 2020-03-13
- Assignees: EMC IP Holding Company LLC
- Applicants: EMC IP Holding Company LLC
- Inventors: Anton Kucherov; David Meiri
- Web page: https://patentgrep.com/patent/US20210286768A1

## CPC

- G06F 16/1748: {De-duplication implemented within the file system, e.g. based on file segments (de-duplication techniques in storage systems for the management of data blocks G06F3/0641)}
- G06F 11/076: {by exceeding a count or rate limit, e.g. word- or bit count limit}
- G06F 11/1453: {using de-duplication of the data}
- G06F 12/0811: with multilevel cache hierarchies
- G06F 16/137: {Hash-based (content-based indexing of textual data G06F16/31)}
- G06F 16/1824: {implemented using Network-attached Storage [NAS] architecture (distributed or networked storage systems G06F3/067; protocols for distributed storage of data in a network H04L67/1097)}
- G06F 16/2282: {Tablespace storage structures; Management thereof}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Techniques for processing data may include: receiving a data block stored in a data set, wherein a hash value is derived from the data block; determining, in accordance with selection criteria, whether the hash value is included in a subset; responsive to determining the hash value is included in the subset, performing processing that updates a table in accordance with the hash value and the data set, and determining, in accordance with the information in the table, whether to perform deduplication processing for the data block to determine whether the data block is a duplicate of another stored data block. The table may include an entry for the hash value. The entry may include information identifying data sets referencing the data block and, for each of the data sets, may specify a reference count denoting a number of times the data set references the data block.

## Claims

### Claim 1

A method of processing data comprising:
receiving a first data block stored at a first logical address in a first data set, wherein a first hash value is derived from the first data block;
determining, in accordance with one or more selection criteria, whether the first hash value is included in a subset of hash values;
responsive to determining the first hash value is included in the subset, performing first processing that updates a table in accordance with the first hash value and the first data set, wherein the table includes information about hash values in the subset, and wherein the table includes a first entry for the first hash value and includes first information, wherein the first information identifies one or more data sets that reference the first data block and, for each of the one or more data sets of the first information, specifies a reference count denoting a number of times the first data block is referenced by said each data set; and
determining, in accordance with the information in the table, whether to perform deduplication processing for the first data block to determine whether the first data block is a duplicate of another stored data block.

### Claim 2 (depends on 1)

The method of claim 1, wherein said determining whether to perform deduplication processing for the first data block further includes:
determining a first data deduplication rate for the first data set;
determining whether the first data deduplication rate is greater than a threshold rate; and
responsive to determining the first data deduplication is greater than the threshold rate, performing deduplication processing for the first data block to determine whether the first data block is a duplicate of another stored data block.

### Claim 3 (depends on 2)

The method of claim 2, wherein a deduplication data store includes a first entry for the first hash value and the first data block.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
determining, in accordance with the information in the table, whether to store the first entry in a cached portion of the deduplication data store.

### Claim 5 (depends on 3)

The method of claim 3, further comprising:
determining, in accordance with the information in the table, whether to store the first entry in one of a plurality of a cached portions of the deduplication data store, wherein each of the plurality of cached portions is stored in a different one of a plurality of caching levels.

### Claim 6 (depends on 2)

The method of claim 2, further comprising:
responsive to determining the first data deduplication is not greater than the threshold rate, determining not to perform performing deduplication processing for the first data block to determine whether the first data block is a duplicate of another stored data block.

### Claim 7 (depends on 1)

The method of claim 1, wherein each of the first data set and the one or more data sets is a logically defined storage entity.

### Claim 8 (depends on 7)

The method of claim 7, wherein the logically defined storage entity includes any of: one or more logical devices, a portion of a logical device, a plurality of portions of a plurality of logical devices, one or more files, one or more file systems, and one or more directories.

### Claim 9 (depends on 1)

The method of claim 1, wherein the first processing further updates the table in accordance with the first logical address at which the first data block is stored in the first data set.

### Claim 10 (depends on 9)

The method of claim 9, wherein the table includes a second entry for a second hash value and includes second information, wherein the second hash value is derived from a second data block, and wherein the second information identifies one or more data sets that reference the second data block and, for each of the one or more data sets of the second information, specifies a reference count denoting a number of times the second data block is referenced by said each data set of the second information.

### Claim 11 (depends on 10)

The method of claim 10, wherein the second data block is stored at a second logical address in a second data set and is also stored at a third logical address of a third data set, wherein the second information further includes the second logical address and denotes that the second logical address of the second data set references the second data block from which the second hash value is derived, and wherein the second information further includes the third logical address and denotes that third logical address of the third data set references the second data block from the second hash value is derived.

### Claim 12 (depends on 11)

The method of claim 11, wherein the first data block is stored at a fourth logical address of a fourth data set, wherein the first information further includes the fourth logical address and denotes that the fourth logical address of the fourth data set references the first data block from which the first hash value is derived.

### Claim 13 (depends on 12)

The method of claim 12, further comprising:
determining a first distance between the first logical address and the fourth logical address of the first entry;
determining a second distance between the second logical address and the third logical address of the second entry;
determining whether the first distance equals the second distance; and
responsive to determining the first distance equals the second distance, performing deduplication processing to locate duplicate data blocks in the first data set and the second data set.

### Claim 14 (depends on 1)

The method of claim 1, wherein the method is performed inline as part of an I/O or data path.

### Claim 15 (depends on 1)

The method of claim 1, wherein the method is performed offline not as part of the I/O or data path.

### Claim 16

A system comprising:
one or more processors; and
one or more memories comprising code stored thereon that, when executed, performs a method of processing data comprising:
receiving a first data block stored at a first logical address in a first data set, wherein a first hash value is derived from the first data block;
determining, in accordance with one or more selection criteria, whether the first hash value is included in a subset of hash values;
responsive to determining the first hash value is included in the subset, performing first processing that updates a table in accordance with the first hash value and the first data set, wherein the table includes information about hash values in the subset, and wherein the table includes a first entry for the first hash value and includes first information, wherein the first information identifies one or more data sets that reference the first data block and, for each of the one or more data sets of the first information, specifies a reference count denoting a number of times the first data block is referenced by said each data set; and
determining, in accordance with the information in the table, whether to perform deduplication processing for the first data block to determine whether the first data block is a duplicate of another stored data block.

### Claim 17

A computer readable medium comprising code stored thereon that, when executed, performs a method of processing data comprising:
receiving a first data block stored at a first logical address in a first data set, wherein a first hash value is derived from the first data block;
determining, in accordance with one or more selection criteria, whether the first hash value is included in a subset of hash values;
responsive to determining the first hash value is included in the subset, performing first processing that updates a table in accordance with the first hash value and the first data set, wherein the table includes information about hash values in the subset, and wherein the table includes a first entry for the first hash value and includes first information, wherein the first information identifies one or more data sets that reference the first data block and, for each of the one or more data sets of the first information, specifies a reference count denoting a number of times the first data block is referenced by said each data set; and
determining, in accordance with the information in the table, whether to perform deduplication processing for the first data block to determine whether the first data block is a duplicate of another stored data block.

### Claim 18 (depends on 17)

The computer readable medium of claim 17, wherein said determining whether to perform deduplication processing for the first data block further includes:
determining a first data deduplication rate for the first data set;
determining whether the first data deduplication rate is greater than a threshold rate; and
responsive to determining the first data deduplication is greater than the threshold rate, performing deduplication processing for the first data block to determine whether the first data block is a duplicate of another stored data block.

### Claim 19 (depends on 18)

The computer readable medium of claim 18, wherein a deduplication data store includes a first entry for the first hash value and the first data block.

### Claim 20 (depends on 19)

The computer readable medium of claim 19, wherein the method further comprises:
determining, in accordance with the information in the table, whether to store the first entry in a cached portion of the deduplication data store.
