Cache Hit Ratio Simulation Using Partial Data Sets

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current cache hit ratio simulation methods are inefficient as they require processing all memory addresses, which is processor and memory intensive, and may produce inaccurate results due to sampling errors, especially when a small number of frequently accessed addresses are not adequately represented in the sample set.

Innovation Solution

A method using a simulation engine with a cache management algorithm to determine a cache hit ratio by sampling a subset of addresses (between 0.1% and 2% of all addresses) and correcting the results based on the quantity of memory access operations to frequently accessed addresses, including maintaining a sequential table to identify sequential access patterns and periodically updating actual cache size and hit ratio information.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If all memory addresses are processed in cache hit ratio simulation, then measurement precision is improved, but productivity deteriorates due to processor and memory intensity

Engineering Contradiction:
Improvecache hit ratio simulation accuracyVSAvoidsimulation processing speed
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent segments the complete set of memory addresses into a representative subset for simulation purposes. Instead of processing all addresses, the system selects a carefully chosen subset that captures the essential access patterns and characteristics of the full address space, thereby reducing computational load while maintaining simulation accuracy.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent creates a simplified copy of the actual cache system for simulation purposes. This virtual cache model replicates the key behaviors and parameters of the physical cache without requiring the full computational resources needed to simulate every address, enabling faster experimentation and analysis.

Inventive Principle:
Principle #26Copying

2Productivity

If a small subset of addresses is sampled for simulation, then productivity is improved, but measurement precision deteriorates due to sampling errors

Engineering Contradiction:
Improvesimulation processing speedVSAvoidcache hit ratio simulation accuracy
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The patent applies preliminary actions by pre-processing and analyzing address access patterns before selecting the sample subset. This includes identifying frequently accessed addresses, sequential access patterns, and other characteristic behaviors in advance, ensuring that the selected subset is representative of the full address space without requiring post-hoc corrections.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent changes the parameters of the simulation by adjusting the subset size, selection criteria, and weighting factors to optimize both processing speed and accuracy. By dynamically modifying these parameters based on the specific workload and cache characteristics, the system achieves high productivity without sacrificing measurement precision.

Inventive Principle:
Principle #35Parameter changes

3Device complexity

If frequently accessed addresses are not adequately represented in the sample, then device complexity is reduced, but measurement precision deteriorates

Engineering Contradiction:
Improvesimulation data structure complexityVSAvoidcache hit ratio accuracy
Core Design Contradiction:
Device complexityVSMeasurement precision

Solution Approach 1:

The patent applies local quality by treating different regions of the address space differently based on their access characteristics. Frequently accessed addresses, sequential access patterns, and other important local patterns are identified and given appropriate representation in the sample subset, ensuring that critical local behaviors are captured while maintaining overall system simplicity.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS11360892B2Cache hit ratio simulation using a partial data set
Publication Date: 2022.06.14 EMC IP HLDG CO LLC
  • US11360892B2 patent drawing
  • US11360892B2 patent drawing
  • US11360892B2 patent drawing

AI summary

A method of cache hit ratio simulation using a partial data set includes determining a set of sampled addresses, the set of sampled addresses being a subset of all addresses of a storage system of a storage environment. The method further includes using, by a simulation engine, a cache management algorithm to determine a cache hit ratio of the sampled addresses, the cache management algorithm being also used by a cache manager to place a portion of the addresses of the storage system into cache during a runtime operation. The method further includes determining a quantity of memory access operations to frequently accessed addresses in the set of sampled addresses, and correcting, by the simulation engine, the cache hit ratio of the sampled addresses based on the quantity of memory access operations to the frequently accessed addresses in the set of sampled addresses. The simulation also handles sequential operations accurately.