Task Affinity in Symmetric Multiprocessing Systems

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In symmetric multiprocessing systems, the dynamic task assignment across processing units can lead to inefficient power management and task balancing, particularly in embedded systems where specific processing units are designed for specific tasks, resulting in potential overuse and increased power consumption.

Innovation Solution

The method involves 'affining' or 'linking' computational tasks to specific processing units, ensuring that those units process designated instructions and entering a low power state when not in use, thereby managing workload and power consumption by maintaining task affinity or linkage.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If dynamic task assignment is used across processing units, then task balancing is improved, but power consumption increases

Engineering Contradiction:
Improvetask balancingVSAvoidpower consumption
Core Design Contradiction:
ProductivityVSUse of energy by moving object

Solution Approach 1:

The system dynamically adjusts task assignment based on real-time processor state. When a processor completes its designated tasks, it transitions to a low-power state. New tasks are dynamically assigned to processors that have become available, resolving the contradiction by making the system adaptive rather than static.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The invention changes the operational parameters of processors by introducing discrete power states (active and low-power). The system monitors task completion and modifies the power state parameter accordingly, allowing processors to switch between high-performance and low-consumption modes based on workload requirements.

Inventive Principle:
Principle #35Parameter changes

2Use of energy by moving object

If specific processing units are assigned to specific tasks, then power consumption is reduced, but task flexibility decreases

Engineering Contradiction:
Improvepower consumptionVSAvoidtask flexibility
Core Design Contradiction:
Use of energy by moving objectVSAdaptability or versatility

Solution Approach 1:

The system maintains dedicated task assignments for power efficiency while introducing dynamic reassignment capability when processors become available. This dynamic approach preserves the benefits of both static assignment (power savings) and dynamic assignment (flexibility).

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The invention segments the system into dedicated task domains and available processor resources. By segmenting tasks into bounded domains and processors into available pools, the system can efficiently match tasks to processors while maintaining power efficiency and flexibility.

Inventive Principle:
Principle #1Segmentation

3Speed

If processing units continuously monitor for new tasks, then task responsiveness is improved, but power consumption increases

Engineering Contradiction:
Improvetask responsivenessVSAvoidpower consumption
Core Design Contradiction:
SpeedVSUse of energy by moving object

Solution Approach 1:

Instead of continuous monitoring, processors periodically check for new tasks at defined intervals or event triggers (such as when a task completes). This periodic action maintains task responsiveness while dramatically reducing power consumption during idle periods.

Inventive Principle:
Principle #19Periodic action

Solution Approach 2:

The system implements self-service by having processors automatically transition to low-power states when no tasks are pending, and automatically wake when new tasks are assigned. This eliminates the need for continuous active monitoring while maintaining responsiveness.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS10228970B2Domain bounding for symmetric multiprocessing systems
Publication Date: 2019.03.12 SIEMENS INDUSTRY SOFTWARE INC
  • US10228970B2 patent drawing
  • US10228970B2 patent drawing
  • US10228970B2 patent drawing

AI summary

Methods and apparatuses for bounding the processing domain in a symmetric multiprocessing system are provided. In various implementations, a particular computational task is “affined” to a particular processing unit. Subsequently, when the particular task is executed, the symmetric multiprocessing operating system ensures that the affined processing unit processes the instruction. When the affined processing unit is not processing the particular computational task, the symmetric multiprocessing operating system may cause the processing unit to process alternate instructions. With some implementations, a particular computational task is “linked” to a particular processing unit. Subsequently, when the particular task is executed, the symmetric multiprocessing operating system ensures that the bound processing unit processes the instruction. When the bound processing unit is not processing the particular computational instruction, the bound processing unit may enter a low power or idle state.