Dynamic Cache Size Management for Multi-Tenant Systems

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In multi-tenant computing systems, existing methods for managing cache memory are inefficient as they rely on monitoring cache miss rates and fixed cache sizes, leading to suboptimal performance and increased costs due to over-provisioning or under-provisioning of cache resources, especially during varying workload demands.

Innovation Solution

A dynamic cache management system that uses machine learning to predict cache performance by analyzing memory access patterns and reallocates cache memory among tenants, employing a fully connected neural network to adjust cache sizes in real-time, ensuring each tenant meets their service level agreement (SLA) without over-provisioning the entire system.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If more cache memory is allocated to each tenant, then cache hit rate is improved, but system cost and resource over-provisioning increase

Engineering Contradiction:
Improvecache hit rateVSAvoidcache memory allocation
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent implements dynamic cache size adjustment where the cache memory allocation is not fixed but continuously adapted based on real-time workload conditions. The system monitors cache performance metrics and automatically adjusts the cache size to match actual demand, allowing the cache to expand during high-demand periods and contract during low-demand periods, thus resolving the contradiction between maintaining high hit rates and avoiding over-provisioning

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes the parameter of cache size dynamically based on workload conditions. By monitoring cache miss rates, memory access patterns, and workload intensity, the system adjusts the cache size parameter in real-time, transforming it from a static configuration to a dynamic variable that adapts to changing requirements, thereby achieving high hit rates without permanent over-allocation

Inventive Principle:
Principle #35Parameter changes

2Reliability

If cache size is increased to guarantee maximum hit rates, then service level agreement compliance is improved, but system resource utilization efficiency deteriorates

Engineering Contradiction:
Improveservice level agreement complianceVSAvoidresource utilization efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent implements a feedback mechanism where cache performance metrics (hit rates, miss rates, access patterns) are continuously monitored and fed back to the cache management system. This feedback loop enables the system to learn from past performance and automatically adjust cache allocation to maintain SLA compliance while optimizing resource utilization, preventing both over-provisioning and under-provisioning

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The cache management system performs self-adjustment based on monitored performance metrics without requiring external intervention. The system automatically detects when cache performance degrades and independently increases cache size, or when performance is sufficient, reduces cache size to free resources for other uses, enabling the system to self-optimize resource allocation while maintaining SLA compliance

Inventive Principle:
Principle #25Self-service

3Device complexity

If fixed cache size is used to simplify management, then system complexity is reduced, but adaptability to varying workload demands deteriorates

Engineering Contradiction:
Improvecache management complexityVSAvoidworkload adaptability
Core Design Contradiction:
Device complexityVSAdaptability or versatility

Solution Approach 1:

The cache management system autonomously monitors its own performance and automatically adjusts cache size based on detected workload patterns. This self-service approach eliminates the need for complex manual configuration and intervention, allowing the system to adapt to varying workload demands while keeping the management interface simple and automated

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS11561897B2Dynamic cache size management of multi-tenant caching systems
Publication Date: 2023.01.24 VISA INTERNATIONAL SERVICE ASSOCIATION
  • US11561897B2 patent drawing
  • US11561897B2 patent drawing
  • US11561897B2 patent drawing

AI summary

Cache memory requirements between normal and peak operation may vary by two orders of magnitude or more. A cache memory management system for multi-tenant computing environments monitors memory requests and uses a pattern matching classifier to generate patterns which are then delivered to a neural network. The neural network is trained to predict near-future cache memory performance based on the current memory access patterns. An optimizer allocates cache memory among the tenants to ensure that each tenant has sufficient memory to meet its required service levels while avoiding the need to provision the computing environment with worst-case scenario levels of cache memory. System resources are preserved while maintaining required performance levels.