MPAM Configuration via CPU Co-processor for Cache Partitioning

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional Memory-System Resource Partitioning and Monitoring (MPAM) solutions face challenges such as limited ability for distributed entities to impact MPAM configurations, inadequate guarantee of system-level Quality of Service (QOS), and poor coordination between different security states.

Innovation Solution

The proposed solution centralizes MPAM operations and introduces a CPU co-processor (CPUCP) to manage MPAM configurations, allowing for secure communication using the SCMI framework or IPC protocols. This enables partitioning of cache memory based on application requirements and QOS parameters, and coordinates between secure and non-secure states.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If MPAM operations are distributed across multiple entities, then system flexibility and decentralization are improved, but coordination difficulty and configuration inconsistency worsen

Engineering Contradiction:
Improvesystem flexibilityVSAvoidcoordination difficulty
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent introduces a dedicated MPAM configuration entity that acts as an intermediary between the kernel and the MPAM hardware. This centralized configuration entity receives requests from multiple distributed entities (applications, VMs, containers) and translates them into unified MPAM configurations, thereby maintaining system flexibility while reducing coordination complexity.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Speed

If MPAM configurations are managed locally by individual entities, then response speed is improved, but system-level QOS guarantee worsens

Engineering Contradiction:
Improveresponse speedVSAvoidsystem-level QOS guarantee
Core Design Contradiction:
SpeedVSReliability

Solution Approach 1:

The patent implements a feedback mechanism where the centralized MPAM configuration entity continuously monitors system-level QOS parameters and adjusts MPAM configurations accordingly. The entity receives performance feedback from the system and dynamically reallocates memory resources to maintain QOS guarantees while responding to changing workload demands.

Inventive Principle:
Principle #23Feedback

3Reliability

If MPAM configuration is centralized, then coordination and QOS guarantee are improved, but configuration flexibility and distributed control worsen

Engineering Contradiction:
Improvecoordination capabilityVSAvoidconfiguration flexibility
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent segments the MPAM configuration management into two distinct layers: a centralized configuration entity that handles high-level resource allocation and QOS policies, and distributed configuration entities (applications, VMs, containers) that handle local workload-specific requirements. This segmentation allows both centralized coordination and distributed flexibility to coexist.

Inventive Principle:
Principle #1Segmentation

4Reliability

If secure communication protocols are implemented for MPAM configuration, then security is improved, but communication overhead and complexity worsen

Engineering Contradiction:
ImprovesecurityVSAvoidcommunication complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent merges the secure communication functionality into the existing SCMI (System Control and Management Interface) framework. By utilizing the established SCMI protocol for secure message passing between the CPU and CPUCP, the patent avoids duplicating security mechanisms and reduces communication complexity while maintaining security guarantees.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS20250045467A1Memory-system resource partitioning and monitoring (MPAM) configuration using secure processor
Publication Date: 2025.02.06 QUALCOMM INC
  • US20250045467A1 patent drawing
  • US20250045467A1 patent drawing
  • US20250045467A1 patent drawing

AI summary

Various embodiments include systems and methods for allocating memory resources in a computing system that includes a Memory-System Resource Partitioning and Monitoring (MPAM) feature. The computing system may transition from using a CPU-controlled MPAM configuration to using an MPAM configuration that is managed by an external entity, such as a CPU co-processor (CPUCP). The computing system may centralize the MPAM operations, introduce various modes of control, and/or incorporate the use of system sensors and parameters to inform autonomous decision-making processes.