In-Memory Configuration Registers for Context Switching

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The increasing number of latch-based control registers in computing environments leads to performance, chip area, and power consumption issues, particularly during context switching and due to the sequential nature of updates in program order.

Innovation Solution

Implementing in-memory configuration state registers that are mapped to the system memory hierarchy, allowing for speculative access and reordering of requests, replacing traditional latch-based in-processor registers with load and store operations to improve performance and efficiency during context switching.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If latch-based control registers are used in-processor, then access speed is improved, but chip area and power consumption increase

Engineering Contradiction:
Improveaccess speedVSAvoidchip area
Core Design Contradiction:
SpeedVSArea of stationary object

Solution Approach 1:

The patent extracts control registers from the processor chip and places them in system memory. Specifically, the control registers are mapped to memory locations that can be accessed through the memory hierarchy, removing the latch-based register array from the chip fabric. This extraction resolves the chip area constraint while maintaining register functionality.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent introduces a memory-mapped intermediary layer between the processor and control registers. Instead of direct latch access, the processor accesses control registers through memory addresses, using the memory subsystem as an intermediary to store and retrieve register values. This mediator approach allows register functionality to be maintained without requiring physical registers on-chip.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Speed

If latch-based control registers are used in-processor, then access speed is improved, but power consumption increases

Engineering Contradiction:
Improveaccess speedVSAvoidpower consumption
Core Design Contradiction:
SpeedVSUse of energy by stationary object

Solution Approach 1:

The patent extracts the power-intensive latch-based register array from the processor chip and relocates it to system memory. The memory subsystem's lower power consumption characteristics replace the high-power latches, reducing overall power consumption while maintaining the functional capability of storing and accessing control register values.

Inventive Principle:
Principle #2Taking out (Extraction)

3Adaptability or versatility

If more control registers are added for multi-threading, then threading capability is improved, but context switching cost increases

Engineering Contradiction:
Improvethreading capabilityVSAvoidcontext switching cost
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The patent extracts control registers from the processor and places them in memory, enabling efficient context switching between threads. By using memory-mapped registers, the system can quickly load and store thread context information without the overhead of manipulating physical register files, thereby reducing context switching time while supporting multiple threads.

Inventive Principle:
Principle #2Taking out (Extraction)

4Reliability

If latch-based control registers are used, then register functionality is maintained, but updates occur in program order affecting performance

Engineering Contradiction:
Improveregister functionalityVSAvoidprocessing performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent introduces dynamic memory access patterns that allow out-of-order updates to control registers. Instead of strict program-order updates enforced by latch-based registers, the memory-mapped approach enables the processor to reorder memory accesses to control register locations, improving performance while maintaining the functional reliability of register operations.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS10698686B2Configurable architectural placement control
Publication Date: 2020.06.30 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US10698686B2 patent drawing
  • US10698686B2 patent drawing
  • US10698686B2 patent drawing

AI summary

Configurable architectural placement control. A control is provided that specifies a location in memory at which one or more in-memory configuration state registers are stored. The control is used to access an in-memory configuration state register of the one or more in-memory configuration state registers. The control may be a configuration state register in which a base address specifying the location in memory is included.