# US 2022/0294470 A1 · Probabilistic model for file-specific compression selection under sla-constraints

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

- Number: US 2022/0294470 A1
- Document ID: US20220294470A1
- Status: Published application
- Kind: A1
- Application number: 17/199,914
- Filed: 2021-03-12
- Published: 2022-09-15
- Earliest claimed: 2021-03-12
- Assignees: EMC IP Holding Company LLC
- Applicants: EMC IP Holding Company LLC
- Inventors: Rômulo Teixeira de Abreu Pinho; Vinicius Michel Gottin; Joel Christner
- Web page: https://patentgrep.com/patent/US20220294470A1

## CPC

- H03M 7/607: {Selection between different types of compressors}
- H03M 7/6082: {Selection strategies}
- G06F 3/0608: {Saving storage space on storage systems}
- G06F 3/0638: {Organizing or formatting or addressing of data}
- G06F 3/0671: {In-line storage system}
- G06F 16/17: Details of further file system functions
- G06F 16/1744: {using compression, e.g. sparse files}
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06N 20/00: Machine learning
- H03M 7/3062: {Compressive sampling or sensing}
- G06F 3/06: Digital input from, or digital output to, record carriers {, e.g. RAID, emulated record carriers or networked record carriers}
- H03M 7/40: Conversion to or from variable length codes, e.g. Shannon-Fano code, Huffman code, Morse code
- 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)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

One example method includes file specific compression selection. Compression metrics are generated for a chunk of a file. Using a set of training data, the compression metrics are corrected using a correction factor to determine estimated file compression metrics. A compressor is then selected to compress the file based on at least the estimated file compression metrics.

## Claims

### Claim 1

A method, comprising:
receiving a file at a compression engine configured to select a compressor to compress the file;
extracting a chunk from the file;
compressing the chunk with all valid compressors;
determining compression metrics for each of the valid compressors;
determining a correction factor for each of the valid compressors;
determining estimated file metrics for each of the valid compressors based on the compression metrics and the correction factors; and
selecting an optimal compressor from the valid compressors based on the file metrics.

### Claim 2 (depends on 1)

The method of claim 1, further comprising selecting a chunk size for the extracted chunk.

### Claim 3 (depends on 1)

The method of claim 1, further comprising generating training data from a set of training files, the training data including a joint distribution of correction factors.

### Claim 4 (depends on 3)

The method of claim 3, further comprising locating the compression metrics onto the joint distribution of correction factors.

### Claim 5 (depends on 4)

The method of claim 4, further comprising locating a neighborhood around the compression metrics for the chunk.

### Claim 6 (depends on 5)

The method of claim 5, further comprising computing an expected value of the correction factor within the neighborhood.

### Claim 7 (depends on 6)

The method of claim 6, further comprising applying the correction factor to the compression metrics to determine the estimated file metrics.

### Claim 8 (depends on 1)

The method of claim 1, wherein selecting an optimal compressor includes selecting the optimal compressor based on the estimated file metrics, a service level agreement, and/or an application.

### Claim 9 (depends on 1)

The method of claim 1, further comprising determining a type of the file and extracting the chunk with a corresponding module for the type of the file.

### Claim 10 (depends on 1)

The method of claim 1, wherein the chunk complies with a format of the file.

### Claim 11

A non-transitory storage medium having stored therein instructions that are executable by one or more hardware processors to perform operations comprising:
receiving a file at a compression engine configured to select a compressor to compress the file;
extracting a chunk from the file;
compressing the chunk with all valid compressors;
determining compression metrics for each of the valid compressors;
determining a correction factor for each of the valid compressors;
determining estimated file metrics for each of the valid compressors based on the compression metrics and the correction factors; and
selecting an optimal compressor from the valid compressors based on the file metrics.

### Claim 12 (depends on 11)

The non-transitory storage medium of claim 11, further comprising selecting a chunk size for the extracted chunk.

### Claim 13 (depends on 11)

The non-transitory storage medium of claim 11, further comprising generating training data from a set of training files, the training data including a joint distribution of correction factors.

### Claim 14 (depends on 13)

The non-transitory storage medium of claim 13, further comprising locating the compression metrics onto the joint distribution of correction factors.

### Claim 15 (depends on 14)

The non-transitory storage medium of claim 14, further comprising locating a neighborhood around the compression metrics for the chunk.

### Claim 16 (depends on 15)

The non-transitory storage medium of claim 15, further comprising computing an expected value of the correction factor within the neighborhood.

### Claim 17 (depends on 16)

The non-transitory storage medium of claim 16, further comprising applying the correction factor to the compression metrics to determine the estimated file metrics.

### Claim 18 (depends on 11)

The non-transitory storage medium of claim 11, wherein selecting an optimal compressor includes selecting the optimal compressor based on the estimated file metrics, a service level agreement, and/or an application.

### Claim 19 (depends on 11)

The non-transitory storage medium of claim 11, further comprising determining a type of the file and extracting the chunk with a corresponding module for the type of the file.

### Claim 20 (depends on 11)

The non-transitory storage medium of claim 11, wherein the chunk complies with a format of the file.
