Inline Constant Block Detection in Memory Compression Pipelines

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing data compression systems face challenges in achieving low latency compression and decompression while maximizing memory savings, particularly due to the inefficiencies in handling constant data blocks.

Innovation Solution

The implementation of a constant detection functionality within a hardware accelerator that identifies and manages constant data blocks by associating them with metadata, allowing for reduced storage and improved compression efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If software-based LZO compression is used, then compression speed is improved, but memory savings are reduced

Engineering Contradiction:
Improvecompression speedVSAvoidmemory savings
Core Design Contradiction:
SpeedVSLoss of substance

Solution Approach 1:

The patent performs constant detection during the compression operation itself, rather than as a separate preliminary step. The constant detection logic is integrated into the compression pipeline, allowing the system to identify constant blocks and apply specialized handling inline, thus maintaining high compression speed while improving memory savings through targeted optimization of constant data blocks.

Inventive Principle:
Principle #10Preliminary action

2Loss of substance

If more aggressive compression algorithms like Deflate are used, then memory savings are improved, but compression latency increases

Engineering Contradiction:
Improvememory savingsVSAvoidcompression latency
Core Design Contradiction:
Loss of substanceVSLoss of time

Solution Approach 1:

The patent segments the compression process by identifying constant data blocks within the input stream and handling them differently from non-constant blocks. By dividing the data stream into constant and non-constant segments, the system can apply simple, fast encoding to constant blocks while using more sophisticated algorithms only where necessary, thus reducing overall compression latency while maintaining good memory savings.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies constant detection and specialized handling to only the portion of data that consists of constant blocks, rather than applying aggressive compression algorithms to the entire data stream. This partial action approach reduces the computational overhead and latency associated with aggressive compression while still achieving significant memory savings on the constant portions of the data.

Inventive Principle:
Principle #16Partial or excessive action

3Loss of substance

If constant detection is performed during compression, then compressibility is improved, but processing complexity increases

Engineering Contradiction:
ImprovecompressibilityVSAvoidprocessing complexity
Core Design Contradiction:
Loss of substanceVSDevice complexity

Solution Approach 1:

The patent merges the constant detection logic with the existing compression operation by integrating it into the compression pipeline. The constant detection is performed in conjunction with the compression process rather than as a separate operation, allowing the system to identify constant blocks and apply optimized handling without requiring additional processing stages or complex coordination between separate modules.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentEP4202692B1Apparatus and method for constant detection during compress operations
Publication Date: 2025.02.12 INTEL CORP
  • EP4202692B1 patent drawingFigure 1A
  • EP4202692B1 patent drawingFigure 1B
  • EP4202692B1 patent drawingFigure 2A

AI summary

Apparatus and method for detecting a constant data block are described herein. An apparatus embodiment includes compression circuitry to perform compression operations on a memory block; constant detection circuitry to, concurrently with performance of the compression operations on the memory block, determine that the memory block is a constant data block comprised of only repeat instances of a constant value; and controller circuitry to associate a first indication with the memory block based on the determination, the first indication usable for controlling whether to abort the compression operations or whether to discard a compressed memory block generated from the compression operations.