MPAM Configuration via CPU Co-processor for Cache Partitioning
Find Innovative SolutionsGenerate 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
Engineering 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
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.
2Speed
If MPAM configurations are managed locally by individual entities, then response speed is improved, but system-level QOS guarantee worsens
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.
3Reliability
If MPAM configuration is centralized, then coordination and QOS guarantee are improved, but configuration flexibility and distributed control worsen
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.
4Reliability
If secure communication protocols are implemented for MPAM configuration, then security is improved, but communication overhead and complexity worsen
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.
Data Source
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.


