Dynamic Write Buffer Sizing for Mixed Workload Memory Systems

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Memory systems face inefficiencies in managing write buffers, particularly in mixed workloads where read and write commands coexist, leading to increased read latency and reduced program performance due to insufficient buffer size.

Innovation Solution

A memory system with a controller that dynamically adjusts the size of the write buffer based on detected workloads, reducing the buffer size in mixed workloads and increasing it in sequential workloads to optimize read and write operations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If the write buffer size is increased to improve program performance during sequential workloads, then write throughput is improved, but read latency increases due to buffer occupancy

Engineering Contradiction:
Improveprogram performanceVSAvoidread latency
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent applies dynamics by making the write buffer size adjustable rather than fixed. The controller dynamically changes the write buffer size based on workload detection: increasing buffer size during sequential workloads to improve program performance, and decreasing buffer size during mixed workloads to reduce read latency. This dynamic adaptation resolves the contradiction between program performance and read latency.

Inventive Principle:
Principle #15Dynamics

2Speed

If the write buffer size is decreased to reduce read latency during mixed workloads, then read access speed is improved, but program performance deteriorates due to insufficient buffer capacity

Engineering Contradiction:
Improveread access speedVSAvoidprogram performance
Core Design Contradiction:
SpeedVSProductivity

Solution Approach 1:

The controller dynamically adjusts the write buffer size based on detected workload characteristics. During mixed workloads, the buffer size is reduced to improve read access speed by freeing up buffer resources. During sequential workloads, the buffer size is increased to enhance program performance. This dynamic adjustment resolves the contradiction between read speed and program performance.

Inventive Principle:
Principle #15Dynamics

3Device complexity

If a fixed write buffer size is used, then device complexity is reduced, but the system cannot adapt to different workload types leading to performance degradation

Engineering Contradiction:
Improvebuffer management complexityVSAvoidworkload adaptability
Core Design Contradiction:
Device complexityVSAdaptability or versatility

Solution Approach 1:

The patent implements feedback by introducing a workload detection mechanism that monitors incoming command patterns and provides feedback to the buffer management unit. The controller detects whether the workload is sequential or mixed and adjusts the write buffer size accordingly. This feedback loop enables the system to adapt to different workload types while maintaining manageable complexity through automated control.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The buffer management system operates autonomously by detecting workload characteristics and automatically adjusting buffer size without external intervention. The controller self-manages the buffer allocation based on real-time workload conditions, improving adaptability while keeping the system relatively simple through self-service operation.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS12079131B2Memory system and operating method thereof
Publication Date: 2024.09.03 SK HYNIX INC
  • US12079131B2 patent drawing
  • US12079131B2 patent drawing
  • US12079131B2 patent drawing

AI summary

A memory system is provided to include a memory device including a plurality of memory blocks and a controller for dynamically changing a size of a write buffer based on whether a current workload is a sequential workload or a mixed workload. The controller includes a workload detecting unit suitable for changing current workload from the sequential workload to the mixed workload based on a read count, or from the mixed workload to the sequential workload based on a write count and a write buffer managing unit suitable for reducing the size of the write buffer when the current workload is changed to the mixed workload.