Dynamic In-Memory Versioning for Latency Optimization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing memory systems face inefficiencies in managing in-memory versioning due to high metadata and memory location access overhead, particularly in balancing read and write operations across different modes (Zero Copy and Direct Copy).

Innovation Solution

The implementation of a dynamic in-memory versioning system that customizes the mode for each request address based on predicted access behavior, using usage data and policy rules to determine whether to configure a memory address as Zero Copy or Direct Copy mode, thereby optimizing memory device performance.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If in-memory versioning is implemented with fixed mode configuration, then memory consistency is maintained, but read latency and write latency increase due to unnecessary data copying operations

Engineering Contradiction:
Improvememory consistencyVSAvoidread latency and write latency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system dynamically switches between Zero Copy mode and Direct Copy mode based on real-time access patterns detected through access profile data structures. This allows the memory versioning system to adapt its operation mode rather than being fixed, thereby reducing unnecessary data copying operations while maintaining memory consistency when needed.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes the operational parameter (copying behavior) based on access patterns. By monitoring whether memory locations are frequently read or written, the system adjusts the versioning mode parameter to optimize performance - using Zero Copy for frequently accessed locations and Direct Copy for others, thus reducing overall latency.

Inventive Principle:
Principle #35Parameter changes

2Productivity

If Zero Copy mode is used for all memory locations, then write performance is improved, but memory access complexity increases due to select field management

Engineering Contradiction:
Improvewrite performanceVSAvoidmetadata access complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

Instead of applying Zero Copy mode uniformly to all memory locations, the system applies it selectively only to locations that benefit from it based on their access patterns. This local optimization reduces the overall metadata management complexity while maintaining high write performance where applicable.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The memory system is segmented into different operational regions based on access patterns - some locations use Zero Copy mode while others use Direct Copy mode. This segmentation allows the system to manage complexity locally rather than globally, reducing the burden of select field management.

Inventive Principle:
Principle #1Segmentation

3Speed

If memory locations are pre-allocated for versioning, then rollback operations are faster, but memory wastage occurs due to unused allocations

Engineering Contradiction:
Improverollback operation speedVSAvoidmemory wastage
Core Design Contradiction:
SpeedVSLoss of substance

Solution Approach 1:

The system dynamically allocates and deallocates memory locations for versioning based on actual usage needs rather than pre-allocating fixed memory. By monitoring access patterns and checkpoint requirements, the system adjusts memory allocation in real-time, ensuring fast rollback operations when needed while minimizing memory wastage when versioning is not required.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The memory versioning system self-regulates its resource usage by monitoring its own access patterns and automatically adjusting memory allocation accordingly. This self-service approach allows the system to maintain fast rollback capability while avoiding unnecessary memory consumption by deallocating unused versioning memory locations.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS20250156092A1Adaptive control for in-memory versioning
Publication Date: 2025.05.15 MICRON TECHNOLOGY INC
  • US20250156092A1 patent drawing
  • US20250156092A1 patent drawing
  • US20250156092A1 patent drawing

AI summary

Disclosed in some examples are systems, devices, machine-readable mediums, and methods for customizing an in-memory versioning mode for each memory location according to a predicted access behavior to optimize memory device performance. Usage data in a previous time period may be utilized along with policy rules to determine whether to configure a particular memory address as a zero copy or direct copy mode. For example, memory addresses that are read frequently may be configured as direct copy mode to reduce the read latency penalty. This improves the functioning of the memory system by reducing read latency for memory addresses that are frequently read but written to less frequently, and reduces write latency for memory locations that are frequently written to, but not read as frequently.