# US 2022/0283998 A1 · Method to optimize ingest in dedupe systems by using compressibility hints

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

- Number: US 2022/0283998 A1
- Document ID: US20220283998A1
- Status: Published application
- Kind: A1
- Application number: 17/192,544
- Filed: 2021-03-04
- Published: 2022-09-08
- Earliest claimed: 2021-03-04
- Assignees: EMC IP Holding Company LLC
- Applicants: EMC IP Holding Company LLC
- Inventors: JAGANNATHDAS RATH; KALYAN C. GUNDA
- Web page: https://patentgrep.com/patent/US20220283998A1

## CPC

- G06F 16/215: Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
- H03M 7/3091: {Data deduplication}
- G06F 16/1744: {using compression, e.g. sparse files}
- 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)}
- H03M 7/30: Compression (speech analysis-synthesis for redundancy reduction G10L19/00; for image communication H04N); Expansion; Suppression of unnecessary data, e.g. redundancy reduction
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)

## Abstract

A method, system and computer-readable storage medium for transferring data segments from one computer system to a second computing system. Prior to transfer of the data segments, the first system calculates compressibility ratio of each segment and compares the compressibility ratio to a preset threshold. Based on the comparison, the first system assigns a compressibility hint to each segment. The first system transfers the segments to the second system, together with the corresponding compressibility hint. The second system stores each segment in a compressible region or in a non-compressible region based on the hint. Then the second system compresses the compressible region and stores the compressed region in a container, and stores the non-compressible region uncompressed in the container.

## Claims

### Claim 1

A method of transferring data segments from a client to a storage system, comprising:
for each data segment generating at the client a compressibility hint indicating whether the data segment should be compressed;
sending the data segment to the storage system together with the hint;
receiving the segment at the storage system and using the hint to determine whether to store the segment uncompressed or to compress the segment prior to storing the segment.

### Claim 2 (depends on 1)

The method of claim 1, wherein generating the compressibility hint comprises compressing at least one part of the segment and generating a ratio of uncompressed size and compressed size of the at least one part of the segment.

### Claim 3 (depends on 2)

The method of claim 2, wherein generating the compressibility hint further comprises comparing the ratio to a preset threshold.

### Claim 4 (depends on 3)

The method of claim 3, wherein the compressibility hint comprises a binary value corresponding to whether the ratio surpasses the preset threshold.

### Claim 5 (depends on 1)

The method of claim 1, further comprising: at the storage system, storing each data segment in a compressible region or in a non-compressible region according to the hint.

### Claim 6 (depends on 5)

The method of claim 5, further comprising: compressing the compressible region and writing resulting compressed region into a container object, and directly writing the non-compressible region into the container object.

### Claim 7 (depends on 1)

The method of claim 1, wherein generating the compressibility hint comprises reading header of a file corresponding to the data segment and when the header indicates a compressed format, generating the hint to indicate the data segment should not be compressed.

### Claim 8 (depends on 1)

The method of claim 1, further comprising generating a compressibility hint file mapping a unique compressibility hint for each of the data segments and transferring the compressibility hint file to the storage system.

### Claim 9

A compute system for performing deduplication operations of data segments of a client by a deduplication system, the system comprising a processor and a memory storing executable instructions that, in response to execution by the processor, cause the system to perform the steps comprising:
generating fingerprints for all data segments;
filtering the fingerprints to identify all unique data segments;
for each unique data segment generating a compressibility value;
sending the unique segments together with corresponding compressibility values to the deduplication system; and
store unique data segments having a first compressibility value without compression and compressing remaining unique data segments prior to storage.

### Claim 10 (depends on 9)

The system of claim 9, wherein the compressibility value comprises a binary value, the first compressibility value indicating unacceptable compression ratio of a corresponding unique segment and a second compressibility value indicating acceptable compression ratio of a corresponding unique segment.

### Claim 11 (depends on 10)

The system of claim 10, wherein the compressibility value is determined by obtaining a ratio of segment size representing the size of an uncompressed segment to a compressed size representing the size of the uncompressed segment after compression operation.

### Claim 12 (depends on 11)

The system of claim 11, wherein the segment size is determined by measured size of part of the uncompressed segment and the compressed size is obtained by measuring the size of the part after compression operation.

### Claim 13 (depends on 12)

The system of claim 12, wherein the compressibility value is further determined by comparing the ratio to a present threshold.

### Claim 14 (depends on 10)

The system of claim 10, wherein the compressibility value is obtained by reading header of a file corresponding to the unique segment and when the header indicates a compressed format, setting the compressibility value to the first compressibility value indicating unacceptable compression ratio of a corresponding unique segment.

### Claim 15

A computer-readable storage medium for transferring data segments from a first computing system to a second computing system, the computer-readable storage medium being non-transitory and having computer-readable program code stored therein that in response to execution by a processor, causes the first and second computing systems to:
determine unique data segments to be transferred from the first computing system to the second computing system;
assigning compressibility hint to each of the unique data segments;
transferring the unique data segments together with the compressibility hints from the first computing system to the second computing system;
for each of the unique segments received at the second computing system, inspecting corresponding compressibility hint; and
based on the compressibility hints compressing corresponding unique data segments and storing remaining unique data segments uncompressed.

### Claim 16 (depends on 15)

The computer-readable storage medium of claim 15, wherein the assigning compressibility hints comprises determining a compressibility ratio for each of the unique data segments and comparing the compressibility ratio to a preset threshold.

### Claim 17 (depends on 16)

The computer-readable storage medium of claim 16, wherein determining compressibility ratio comprises calculating compressibility ratio of only a part of each unique data segment.

### Claim 18 (depends on 15)

The computer-readable storage medium of claim 15, wherein the compressibility hint comprises a binary value.

### Claim 19 (depends on 18)

The computer-readable storage medium of claim 18, wherein the second computing system stores all unique data segments having the compressibility hint of a first binary value in a first region and stores all unique data segments having the compressibility hint of a second binary value in a second region.

### Claim 20 (depends on 19)

The computer-readable storage medium of claim 19, wherein the second computing system further compresses the first region and stores resulting compressed region in a container object and stores the second region in the container object uncompressed.
