Adaptive Cache Compression for Storage Speed and Efficiency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Modern storage systems face performance imbalances due to the use of different compression algorithms, which can lead to inefficient data retrieval and storage, as higher compression ratios result in slower access times and lower compression ratios are less space-efficient, affecting overall system performance.

Innovation Solution

Implementing a method that analyzes access patterns to determine the optimal compression ratio for data storage and retrieval, using a combination of higher and lower compression ratios based on the frequency and recency of data access, and signaling the cache and storage device to adjust compression accordingly, allowing for efficient data management and retrieval.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If higher compression ratio is used for data storage, then storage efficiency is improved, but data access speed deteriorates

Engineering Contradiction:
Improvestorage efficiencyVSAvoiddata access speed
Core Design Contradiction:
Quantity of substanceVSSpeed

Solution Approach 1:

The patent applies different compression ratios to different data blocks based on their access patterns. Frequently accessed data blocks use lower compression ratios for faster access, while less frequently accessed blocks use higher compression ratios for better storage efficiency. This local differentiation of compression quality resolves the contradiction between storage efficiency and access speed.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The system dynamically adjusts the compression ratio for each data block based on real-time access patterns and cache performance. The storage device monitors access frequency and automatically changes compression levels, transitioning from static to dynamic compression strategy to optimize both storage efficiency and access speed under varying workloads.

Inventive Principle:
Principle #15Dynamics

2Speed

If lower compression ratio is used for data storage, then data access speed is improved, but storage efficiency deteriorates

Engineering Contradiction:
Improvedata access speedVSAvoidstorage efficiency
Core Design Contradiction:
SpeedVSQuantity of substance

Solution Approach 1:

The patent implements location-specific compression ratios where data blocks stored in different cache states receive different compression treatments. Data in the cache uses lower compression for rapid retrieval, while data on the storage device uses higher compression for space efficiency, creating a hierarchical quality approach.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The system dynamically switches compression ratios based on cache hits and misses. When data is accessed and moved to cache, the compression ratio is reduced to prioritize speed. When data resides only on storage, higher compression is applied to maximize space utilization, creating a dynamic adaptation to system state.

Inventive Principle:
Principle #15Dynamics

3Adaptability or versatility

If multiple compression algorithms are supported simultaneously, then adaptability is improved, but system complexity increases

Engineering Contradiction:
Improvecompression algorithm flexibilityVSAvoidsystem complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The storage device is designed to support multiple compression algorithms (e.g., LZ4, ZLIB, GZIP) within a single system, enabling it to handle diverse data types and access patterns. This multi-functionality allows the system to adapt to different workload requirements while maintaining a unified architecture.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The system automatically selects the appropriate compression algorithm and ratio based on monitored access patterns without requiring manual configuration. The storage device self-adjusts its compression strategy by analyzing cache performance and access frequency, eliminating the need for complex external management while maintaining adaptability.

Inventive Principle:
Principle #25Self-service

4Speed

If cache is used for frequently accessed data, then data retrieval speed is improved, but storage space consumption increases

Engineering Contradiction:
Improvedata retrieval speedVSAvoidstorage space consumption
Core Design Contradiction:
SpeedVSVolume of stationary object

Solution Approach 1:

The patent applies different compression ratios to data based on its location and access frequency. Data in the cache uses lower compression to enable rapid retrieval, while data on the storage device uses higher compression to reduce space consumption. This spatial differentiation resolves the contradiction between retrieval speed and space usage.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The system dynamically adjusts compression ratios as data moves between cache and storage. When data is promoted to cache, its compression ratio is reduced to prioritize fast access. When data remains on storage, higher compression is applied to save space. This dynamic adjustment optimizes the trade-off between cache space consumption and retrieval speed.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS12259819B2Reactive deep-frozen adaptive replacement cache and drive interface
Publication Date: 2025.03.25 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US12259819B2 patent drawing
  • US12259819B2 patent drawing
  • US12259819B2 patent drawing

AI summary

A method, system, and computer program product for managing a storage system, comprising: analyzing an access request for a first storage block of the set of storage blocks; in response to the access request comprising a read request: in response to the first storage block residing in the cache: processing the read request from the cache; promoting the first storage block within the cache; and destaging the first storage block to the storage device with the first compression ratio; and in response to the first storage block not residing in the cache: processing the read request from the storage device; and copying the first storage block to the cache; in response to the access request comprising a write request: writing the first storage block to the cache; and destaging the first storage block to the storage device using the first compression ratio.