Cache Track Bytemap Encoding for Faster Recovery Scans

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing cache management systems face inefficiencies in determining active tracks during recovery operations, leading to linear scaling with cache size and prolonged scanning times.

Innovation Solution

Implementing cache control blocks with associated bitmaps that include active and additional bits to encode track states, allowing for efficient identification and management of active tracks, reducing the need for full cache scans.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If traditional cache scanning methods are used to identify active tracks, then all tracks in the cache must be scanned sequentially, but this results in linear scaling with cache size and prolonged scanning times

Engineering Contradiction:
Improvetrack identification accuracyVSAvoidcache scan time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent divides the cache into multiple zones or regions, each with its own control block and bitmap. Instead of scanning the entire cache sequentially, the system can selectively scan only the zones that contain active tracks, as indicated by the bitmaps. This segmentation reduces the scanning scope from the entire cache to specific active zones, thereby reducing cache scan time while maintaining track identification accuracy.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces bitmaps as intermediary data structures that store track state information (active/inactive) without requiring physical inspection of each track. The bitmaps act as intermediaries between the cache control blocks and the scanning process, allowing the system to quickly identify which tracks are active without scanning the actual track data. This intermediary mechanism dramatically reduces scanning time while preserving accurate track identification.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If full cache scans are performed during recovery operations, then all tracks are examined to determine activity status, but this increases recovery latency and processing time

Engineering Contradiction:
Improverecovery completenessVSAvoidrecovery latency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent maintains bitmaps that are updated in real-time or near-real-time as tracks are allocated or deallocated in the cache. During recovery operations, these pre-maintained bitmaps provide immediate information about which tracks are active, eliminating the need to scan the entire cache to determine track activity status. This preliminary action of maintaining track state information allows recovery operations to proceed much faster while ensuring completeness by relying on the authoritative bitmap data.

Inventive Principle:
Principle #10Preliminary action

3Adaptability or versatility

If cache control blocks are instantiated for each track with detailed tracking information, then track management becomes more comprehensive, but the complexity of managing and scanning these control blocks increases

Engineering Contradiction:
Improvetrack management capabilityVSAvoidcontrol block management complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent extracts the essential track state information (active/inactive status) from the detailed cache control blocks and stores it separately in compact bitmap structures. This extraction allows the system to maintain comprehensive track management capabilities through the full control blocks while simplifying the scanning and identification operations by using only the extracted state information in the bitmaps. The separation reduces the complexity of track management during scanning operations while preserving full adaptability through the detailed control blocks.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS12572293B2Speeding cache scans with a bytemap of active tracks with encoded bits
Publication Date: 2026.03.10 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US12572293B2 patent drawing
  • US12572293B2 patent drawing
  • US12572293B2 patent drawing

AI summary

A computer-implemented method for managing tracks in a cache is provided. The computer-implemented method includes instantiating cache control blocks to each manage operations for one of the tracks and instantiating a bitmap corresponding to each of the cache control blocks. Each bitmap includes an active bit indicating whether the one of the tracks for which the corresponding cache control block manages operations is active and additional bits indicating additional characteristics of the one of the tracks for which the corresponding cache control block manages operations.