Virtualized CPU Power Control via Parallelism Monitoring

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current methods for managing power in multicore CPUs are inefficient, as they do not effectively adapt to varying workloads, leading to increased power consumption and potential performance penalties.

Innovation Solution

A dynamic power control method that uses a hypervisor and parallelism monitor to determine the degree of workload parallelism, adjusting the number of active cores and their voltage-frequency operating points based on threshold values to optimize power usage and performance.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If the number of active cores is increased to handle varying workloads, then processing performance is improved, but power consumption increases

Engineering Contradiction:
Improveprocessing performanceVSAvoidpower consumption
Core Design Contradiction:
ProductivityVSUse of energy by moving object

Solution Approach 1:

The system dynamically adjusts the number of active CPU cores and their voltage-frequency operating points based on real-time workload parallelism detection. The parallelism monitor continuously tracks workload characteristics and triggers transitions between different core activation states and voltage-frequency points, enabling the system to adapt power consumption to actual processing needs rather than maintaining a fixed high-performance state

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes operational parameters (number of active cores and voltage-frequency points) based on detected workload parallelism. When high parallelism is detected, more cores are activated and voltage-frequency points are increased; when parallelism is low, cores are deactivated and voltage-frequency points are reduced, optimizing the match between system capabilities and actual workload requirements

Inventive Principle:
Principle #35Parameter changes

2Use of energy by moving object

If the number of active cores is reduced to decrease power consumption, then power usage is optimized, but processing performance deteriorates

Engineering Contradiction:
Improvepower consumptionVSAvoidprocessing performance
Core Design Contradiction:
Use of energy by moving objectVSProductivity

Solution Approach 1:

The parallelism monitor provides continuous feedback about workload characteristics to the power management system. This feedback loop enables the system to make informed decisions about core activation and voltage-frequency adjustment, ensuring that performance is maintained at adequate levels while optimizing power consumption by avoiding both over-provisioning and under-provisioning of processing resources

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system dynamically transitions between different core activation states and voltage-frequency operating points based on real-time workload assessment. This dynamic adjustment ensures that the system maintains sufficient processing performance for actual workload requirements while minimizing power consumption by deactivating unnecessary cores and reducing voltage-frequency points when full performance is not needed

Inventive Principle:
Principle #15Dynamics

3Device complexity

If static power management is used to simplify control, then device complexity is reduced, but adaptability to varying workloads deteriorates

Engineering Contradiction:
Improvecontrol complexityVSAvoidworkload adaptability
Core Design Contradiction:
Device complexityVSAdaptability or versatility

Solution Approach 1:

The parallelism monitor acts as an intermediary component that detects workload characteristics and triggers appropriate power management actions. This intermediary layer simplifies the overall control architecture by separating workload detection from power management decision-making, allowing the system to adapt to varying workloads without requiring complex integrated control logic

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The power management system is segmented into distinct functional components: the parallelism monitor that detects workload characteristics and the power management module that executes core activation and voltage-frequency adjustments. This segmentation allows each component to perform its specialized function efficiently while maintaining overall system adaptability to varying workload conditions

Inventive Principle:
Principle #1Segmentation

Data Source

PatentEP2513751B1System and method for controlling central processing unit power in a virtualized system
Publication Date: 2018.05.09 QUALCOMM INC
  • EP2513751B1 patent drawingFigure 1
  • EP2513751B1 patent drawingFigure 2
  • EP2513751B1 patent drawingFigure 3

AI summary

A method of dynamically controlling power within a multicore central processing unit is disclosed and includes executing a plurality of virtual cores, virtually executing one or more tasks, one or more threads, or a combination thereof at the virtual cores, and physically executing one or more tasks, one or more threads, or a combination thereof at a zeroth physical core. The method may further include receiving a degree of parallelism in a workload of a plurality of virtual cores and determining whether the degree of parallelism in the workload of the virtual cores is equal to a first wake condition.