# US 2014/0207745 A1 · Data compression algorithm selection and tiering

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

- Number: US 2014/0207745 A1
- Document ID: US20140207745A1
- Status: Published application
- Kind: A1
- Application number: 14/220,790
- Filed: 2014-03-20
- Published: 2014-07-24
- Earliest claimed: 2009-10-06
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Michael R. GROSECLOSE; Larry JUAREZ; David MONTGOMERY; Jason L. PEIPELMAN; Joshua M. RHOADES
- Web page: https://patentgrep.com/patent/US20140207745A1

## CPC

- G06F 16/1744: {using compression, e.g. sparse files}
- G06F 3/0608: {Saving storage space on storage systems}
- G06F 3/0638: {Organizing or formatting or addressing of data}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 16/217: {Database tuning (G06F16/2282 takes precedence; database performance monitoring G06F11/3409)}
- G06F 16/24561: {Intermediate data storage techniques for performance improvement}
- 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 data storage subsystem having a plurality of data compression engines configured to compress data, each having a different compression algorithm. A data handling system is configured to determine a present rate of access to data; select at least one sample of data; determine the greatest degree of compression of said data compression engines; determine the compression ratios of the operated data compression engines with respect to the selected sample(s); compressing said selected at least one sample with a plurality of said data compression engines at said selected tier; operate a selected data compression engines with respect to the selected sample and determine the greatest degree of compression of the data compression engines; compress the data from which the sample was selected with one of the operated data compression engines determined to have the greatest degree of compression; and store the compressed data in data storage repositories.

## Claims

### Claim 1

A method for selectively compressing data for a data storage system having a plurality of data compression engines, each having a different compression algorithm, comprising the steps of:
determining a present rate of access to data;
selecting at least one sample of said data;
determining the greatest degree of compression of said data compression engines with respect to said selected at least one sample;
compressing said selected at least one sample with a plurality of said data compression engines at said selected tier;
operating said selected data compression engines with respect to said selected at least one sample and determining the greatest degree of compression of said data compression engines from said operation of said data compression engines with respect to said selected at least one sample;
compressing said data from which said at least one sample was selected with the one of said operated data compression engines determines to have said greatest degree of compression with respect to said selected at least one sample; and
storing said compressed data in data storage repositories associated with the data compression engine employed to compress said data.

### Claim 2 (depends on 1)

The method of claim 1, further including performing at least one of:
if said rate of access indicates said data is to be compressed, selecting a tier of data compression engines with respect to said data that is inverse to said present rate of access;
randomly selecting at least one sample of said data to be compressed and stored;
determining compression ratios of said data engines from said operation of said data compression engines with respect to said selected at least one sample;
arranging said plurality of data compression engines in a plurality of tiers from low to high in accordance with expected latency to compress data and to uncompress compressed data; and
moving data between a parent and a child category, wherein at least two of said repositories are classified into parent and child categories, each at a different said tier, said parent having a lesser degree of compression than said child, and said computer program product computer readable program code, when executed on a computer processing system, causes said computer processing system to additionally move data between said parent and said child category repositories in accordance with the inverse of said present rate of access.

### Claim 3 (depends on 1)

The method of claim 1, wherein said present rate of access to said data comprises the inactivity time from the most recent access to at least a portion of said data, the less inactivity time, the greater the rate of access.

### Claim 4 (depends on 1)

The method of claim 1, wherein said present rate of access to said data comprises the number of accesses to at least a portion of said data within a time window, the greater the number of accesses, the greater the rate of access.

### Claim 5 (depends on 1)

The method of claim 1, further including the step of:
compressing said data with the one of said data compression engines determined to have said greatest degree of compression with respect to said selected at least one sample, and
determining the compression ratios of said operated data compression engines with respect to said selected at least one sample.

### Claim 6 (depends on 2)

The method of claim 2, wherein said step of compressing said data comprises compressing said data for said parent category repository, and recompressing said data for said child category repository.

### Claim 7 (depends on 2)

The method of claim 2, wherein said step of compressing said data comprises compressing said data for said parent category repository, and uncompressing and again compressing said data for said child category repository.

### Claim 8 (depends on 1)

The method of claim 1, additionally comprising the steps of determining whether none of said plurality of compression engines exceeds a minimum degree of compression; and, if so, disallowing compression of said data.

### Claim 9

A data storage subsystem, comprising:
data storage;
a plurality of data compression engines configured to compress data, each having a different compression algorithm, said compression engines arranged in a plurality of tiers from low to high in accordance with expected latency to compress data and to uncompress compressed data;
at least one input configured to receive data to be compressed and stored by said data storage; and
at least one data handling system configured to perform steps comprising:
determining a present rate of access to data;
selecting at least one sample of said data;
determining the greatest degree of compression of said data compression engines with respect to said selected at least one sample;
compressing said selected at least one sample with a plurality of said data compression engines at said selected tier;
operating said selected data compression engines with respect to said selected at least one sample and determining the greatest degree of compression of said data compression engines from said operation of said data compression engines with respect to said selected at least one sample;
compressing said data from which said at least one sample was selected with the one of said operated data compression engines determines to have said greatest degree of compression with respect to said selected at least one sample; and
storing said compressed data in data storage repositories associated with the data compression engine employed to compress said data.

### Claim 10 (depends on 9)

The data storage subsystem of claim 9, wherein said data handling system is configured to:
if said rate of access indicates said data is to be compressed, selecting a tier of data compression engines with respect to said data that is inverse to said present rate of access;
randomly select at least one sample of said data to be compressed and stored;
determine compression ratios of said data engines from said operation of said data compression engines with respect to said selected at least one sample,
arrange said plurality of data compression engines in a plurality of tiers from low to high in accordance with expected latency to compress data and to uncompress compressed data, and
move data between a parent and a child category, wherein at least two of said repositories are classified into parent and child categories, each at a different said tier, said parent having a lesser degree of compression than said child, and said computer program product computer readable program code, when executed on a computer processing system, causes said computer processing system to additionally move data between said parent and said child category repositories in accordance with the inverse of said present rate of access.

### Claim 11 (depends on 9)

The data storage subsystem of claim 9, wherein said present rate of access to said data comprises the inactivity time from the most recent access to at least a portion of said data, the less inactivity time, the greater the rate of access.

### Claim 12 (depends on 9)

The data storage subsystem of claim 9, wherein said present rate of access to said data comprises the number of accesses to at least a portion of said data within a time window, the greater the number of accesses, the greater the rate of access.

### Claim 13 (depends on 9)

The data storage subsystem of claim 9, wherein said data handling system is additionally configured to perform the step of:
compressing said data with the one of said data compression engines determined to have said greatest degree of compression with respect to said selected at least one sample, and
determining the compression ratios of said operated data compression engines with respect to said selected at least one sample.

### Claim 14 (depends on 10)

The data storage subsystem of claim 10, wherein said data handling system is configured to perform said step of compressing said data, comprising compressing said data for said parent category repository, and recompressing said data for said child category repository.

### Claim 15 (depends on 10)

The data storage subsystem of claim 10, wherein said data handling system is configured to perform said step of compressing said data, comprising compressing said data for said parent category repository, and uncompressing and again compressing said data for said child category repository.

### Claim 16 (depends on 9)

The data storage subsystem of claim 9, wherein said data handling system is additionally configured to determine whether none of said plurality of compression engines exceeds a minimum degree of compression; and, if so, to disallow compression of said data.

### Claim 17

A computer program product for storing data, said computer program product comprising a computer readable storage medium having computer readable program code, wherein said computer readable program code, when executed on a computer processing system, causes said computer processing system to:
determine a present rate of access to data;
select at least one sample of said data;
determine the greatest degree of compression of said data compression engines with respect to said selected at least one sample;
compress said selected at least one sample with a plurality of said data compression engines at said selected tier;
operate said selected data compression engines with respect to said selected at least one sample and determining the greatest degree of compression of said data compression engines from said operation of said data compression engines with respect to said selected at least one sample;
compress said data from which said at least one sample was selected with the one of said operated data compression engines determines to have said greatest degree of compression with respect to said selected at least one sample; and
store said compressed data in data storage repositories associated with the data compression engine employed to compress said data.

### Claim 18 (depends on 17)

The computer program product of claim 17, further including a computer program product computer readable program code that causes said computer processing system to including perform at least one of:
if said rate of access indicates said data is to be compressed, selecting a tier of data compression engines with respect to said data that is inverse to said present rate of access;
randomly selecting at least one sample of said data to be compressed and stored;
determining compression ratios of said data engines from said operation of said data compression engines with respect to said selected at least one sample;
arranging said plurality of data compression engines in a plurality of tiers from low to high in accordance with expected latency to compress data and to uncompress compressed data; and
moving data between a parent and a child category. wherein at least two of said repositories are classified into parent and child categories, each at a different said tier, said parent having a lesser degree of compression than said child, and said computer program product computer readable program code, when executed on a computer processing system, causes said computer processing system to additionally move data between said parent and said child category repositories in accordance with the inverse of said present rate of access.

### Claim 19 (depends on 17)

The computer program product of claim 17, wherein said present rate of access to said data comprises the inactivity time from the most recent access to at least a portion of said data, the less inactivity time, the greater the rate of access.

### Claim 20 (depends on 17)

The computer program product of claim 17, wherein said present rate of access to said data comprises the number of accesses to at least a portion of said data within a time window, the greater the number of accesses, the greater the rate of access.

### Claim 21 (depends on 17)

The computer program product of claim 17, wherein said step of compressing said data comprises compressing said data for said parent category repository, and recompressing said data for said child category repository.

### Claim 22 (depends on 17)

The computer program product of claim 17, wherein said step of compressing said data comprises compressing said data for said parent category repository, and uncompressing and again compressing said data for said child category repository.

### Claim 23 (depends on 17)

The computer program product of claim 17, further including a computer program product computer readable program code that causes said computer processing system to determine whether none of said plurality of compression engines exceeds a minimum degree of compression; and, if so, disallowing compression of said data.

### Claim 24 (depends on 18)

The computer program product of claim 18, further including a computer program product computer readable program code that compresses said data, comprising compressing said data for said parent category repository, and recompressing said data for said child category repository.

### Claim 25 (depends on 18)

The computer program product of claim 18, further including a computer program product computer readable program code that compresses said data, comprising compressing said data for said parent category repository, and uncompressing and again compressing said data for said child category repository.

### Claim 26 (depends on 17)

The computer program product of claim 17, further including a computer program product computer readable program code that determining whether none of said plurality of compression engines exceeds a minimum degree of compression; and, if so, to disallow compression of said data.
