Cache Prefetch Policy Adjustment via Predicted Pollution

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Dynamic workloads in computing systems lead to unpredictable cache performance due to varying request frequencies, sizes, and sequentiality, causing cache pollution and performance degradation, as existing prefetching policies are not adaptable to changing access patterns.

Innovation Solution

A predictive pollution model is trained to correlate workload sequentiality profiles with cache pollution levels, enabling proactive adjustment of prefetching policies on a per-LUN basis to minimize pollution without impacting cache hit rates, by dynamically enabling or disabling prefetching based on predicted pollution thresholds.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If prefetching is enabled to improve cache hit rate, then cache performance is improved, but cache pollution increases and performance degradation occurs

Engineering Contradiction:
Improvecache hit rateVSAvoidcache pollution
Core Design Contradiction:
ReliabilityVSObject-generated harmful factors

Solution Approach 1:

The prefetching policy is made dynamic by continuously monitoring workload sequentiality metrics and adapting the prefetching behavior in real-time. The system transitions from static prefetching to dynamic adjustment based on observed access patterns, enabling the cache to respond to changing workload characteristics and avoid pollution while maintaining high hit rates.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes the parameter of prefetching aggressiveness based on workload sequentiality measurements. When sequentiality exceeds a threshold, prefetching is enabled; when it falls below, prefetching is reduced or disabled. This parameter adjustment resolves the contradiction by matching prefetching intensity to actual workload characteristics.

Inventive Principle:
Principle #35Parameter changes

2Object-generated harmful factors

If prefetching policy is adjusted to reduce cache pollution, then harmful factors are reduced, but cache hit rate may be impacted

Engineering Contradiction:
Improvecache pollutionVSAvoidcache hit rate
Core Design Contradiction:
Object-generated harmful factorsVSReliability

Solution Approach 1:

The system implements feedback by continuously measuring workload sequentiality and using this information to adjust prefetching policy. The sequentiality metric serves as feedback about actual access patterns, enabling the system to optimize prefetching behavior and maintain high hit rates while minimizing pollution through informed decision-making.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system takes preliminary action by proactively adjusting prefetching policy based on predicted workload characteristics before pollution occurs. By monitoring sequentiality trends and adjusting prefetching in advance, the system prevents pollution rather than reacting to it after damage is done, thereby protecting cache hit rate while reducing harmful factors.

Inventive Principle:
Principle #10Preliminary action

3Ease of operation

If fixed prefetching policy is used to simplify system operation, then ease of operation is improved, but adaptability to changing workloads deteriorates

Engineering Contradiction:
Improveprefetching policy managementVSAvoidworkload adaptability
Core Design Contradiction:
Ease of operationVSAdaptability or versatility

Solution Approach 1:

The prefetching system serves itself by automatically monitoring workload sequentiality and adjusting its own policy without external intervention. The sequentiality metric drives automatic policy adaptation, eliminating the need for manual configuration or complex external control mechanisms, thereby maintaining ease of operation while achieving high adaptability to changing workloads.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS11194725B2Method and apparatus for adjusting cache prefetch policies based on predicted cache pollution from dynamically evolving workloads
Publication Date: 2021.12.07 EMC IP HLDG CO LLC
  • US11194725B2 patent drawing
  • US11194725B2 patent drawing
  • US11194725B2 patent drawing

AI summary

A cache management system includes a sequentiality determination process configured to determine sequentiality profiles of a workload of IO traces as the workload dynamically changes over time. A learning process is trained to learn a correlation between workload sequentiality and cache pollution, and the trained learning process is used to predict cache pollution before the cache starts to experience symptoms of excessive pollution. The predicted pollution value is used by a cache policy adjustment process to change the prefetch policy applied to the cache, to proactively control the manner in which prefetching is used to write data to the cache. Selection of the cache policy is implemented on a per-LUN basis, so that cache performance for each LUN is individually managed by the cache management system.