Adaptive Memory Consistency Controller for Disaggregated Datacenters

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In disaggregated datacenters with Fabric-Attached Memory (FAM) systems, ensuring adaptive memory consistency across multiple requestors accessing shared memory regions is challenging, particularly when the number of authorized requestors changes dynamically.

Innovation Solution

The implementation of a requestor-side adaptive consistency controller (ACC) that requests notifications from a fabric manager regarding changes in authorized requestors. Upon notification of multiple requestors accessing a shared memory region, the ACC activates fences for selected memory access instructions to maintain memory consistency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a simple consistency model (Sequential Consistency) is used to ensure memory consistency, then memory consistency is maintained, but system performance and productivity deteriorate due to inability to reorder memory operations

Engineering Contradiction:
Improvememory consistencyVSAvoidsystem performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system dynamically switches between different consistency models (sequential consistency and relaxed consistency) based on the number of authorized requestors. When only one requestor is authorized, sequential consistency is used for simplicity. When multiple requestors are authorized, relaxed consistency with fences is applied to maintain consistency while allowing performance optimization through reordering of independent memory operations.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The consistency model parameters are changed based on system state. The system transitions from a fixed consistency model to a variable one that adapts to the number of authorized requestors. This involves changing the ordering constraints on memory operations from strict (sequential) to relaxed with conditional fencing, thereby optimizing performance while maintaining necessary consistency guarantees.

Inventive Principle:
Principle #35Parameter changes

2Productivity

If relaxed consistency models with fences are used to allow reordering of memory operations, then system performance improves, but device complexity increases due to need for fence operations and consistency management

Engineering Contradiction:
Improvesystem performanceVSAvoidconsistency management complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The adaptive consistency controller automatically monitors the number of authorized requestors and dynamically adjusts the consistency model without requiring manual intervention or complex external coordination. The system self-manages the transition between consistency models based on real-time system state, reducing the operational complexity despite the increased structural complexity of supporting multiple consistency models.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system implements feedback mechanisms where the adaptive consistency controller continuously monitors the number of authorized requestors and uses this information to adjust the consistency model. This feedback loop enables automatic adaptation to changing system conditions, managing the complexity of multiple consistency models through real-time monitoring and dynamic adjustment rather than static complex configuration.

Inventive Principle:
Principle #23Feedback

3Ease of operation

If the consistency model is fixed to maintain simplicity, then ease of operation is improved, but adaptability to dynamic changes in authorized requestors deteriorates

Engineering Contradiction:
Improveconsistency model simplicityVSAvoidadaptability to requestor changes
Core Design Contradiction:
Ease of operationVSAdaptability or versatility

Solution Approach 1:

The system transitions from a static consistency model to a dynamic one that automatically adapts to changes in the number of authorized requestors. The adaptive consistency controller monitors system state and adjusts the consistency model in real-time, maintaining simplicity for single-requestor scenarios while automatically providing appropriate consistency guarantees for multi-requestor scenarios without requiring manual reconfiguration.

Inventive Principle:
Principle #15Dynamics

4Adaptability or versatility

If multiple consistency models are supported to handle dynamic requestor scenarios, then adaptability improves, but device complexity increases due to multiple consistency models and management overhead

Engineering Contradiction:
Improveadaptability to requestor scenariosVSAvoidmulti-model management complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The adaptive consistency controller automatically selects and configures the appropriate consistency model based on the number of authorized requestors without requiring manual intervention or complex external management. The system self-manages the complexity of supporting multiple consistency models by implementing automatic detection and dynamic switching based on real-time system state, thereby providing high adaptability while managing complexity through automation rather than manual processes.

Inventive Principle:
Principle #25Self-service

Data Source

PatentEP4315047B1Adaptive memory consistency in disaggregated datacenters
Publication Date: 2025.04.16 ADVANCED MICRO DEVICES INC
  • EP4315047B1 patent drawingFigure 1
  • EP4315047B1 patent drawingFigure 2
  • EP4315047B1 patent drawingFigure 3

AI summary

A data processor includes a fabric-attached memory (FAM) interface for coupling to a data fabric and fulfilling memory access instructions. A requestor-side adaptive consistency controller coupled to the FAM interface requests notifications from a fabric manager for the fabric-attached memory regarding changes in requestors authorized to access a FAM region which the data processor is authorized to access. If a notification indicates that more than one requestor is authorized to access the FAM region, fences are activated for selected memory access instructions in a local application.