Memory Controller Write Buffer Threshold Management

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Flash memory data storage devices face performance degradation due to limited internal buffer space, leading to early writing and idle flash memory dies, which reduces transmission bandwidth and overall performance, especially when handling mixed read and write commands.

Innovation Solution

A write control method that collects and buffers write commands in a memory controller's buffer memory, flushing data into non-volatile memory only when a predetermined threshold of data is accumulated, thereby optimizing command rearrangement and reducing idle flash memory dies.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If data is directly written from host device to internal memory buffer, then write performance is improved, but the limited buffer space causes early triggering of flash memory writes, resulting in idle flash memory dies and reduced transmission bandwidth

Engineering Contradiction:
Improvewrite performanceVSAvoidtransmission bandwidth
Core Design Contradiction:
SpeedVSProductivity

Solution Approach 1:

The patent applies preliminary action by collecting and buffering multiple write commands before triggering a flash memory write operation. Instead of immediately writing to flash memory when the buffer is full, the system continues to collect subsequent write commands and only triggers a flash write when the accumulated data reaches a predetermined threshold. This preliminary accumulation of data ensures that flash memory operations are delayed until sufficient data is available, preventing idle flash memory dies and optimizing transmission bandwidth utilization.

Inventive Principle:
Principle #10Preliminary action

2Productivity

If the buffer space is increased to delay flash memory writes, then transmission bandwidth is improved, but the device complexity and cost increase

Engineering Contradiction:
Improvetransmission bandwidthVSAvoidbuffer space
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent applies dynamics by implementing a dynamic buffer management strategy where the effective buffer capacity is not fixed but adapts based on operational conditions. The system uses an accumulated data threshold mechanism that dynamically determines when to trigger flash memory writes, effectively creating a variable buffer size that optimizes transmission bandwidth without requiring permanent hardware expansion. This dynamic approach allows the system to maximize the utilization of existing buffer space while maintaining optimal flash memory write timing.

Inventive Principle:
Principle #15Dynamics

3Speed

If flash memory writes are triggered early due to limited buffer space, then write performance is maintained, but idle flash memory dies reduce overall system efficiency

Engineering Contradiction:
Improvewrite performanceVSAvoidsystem efficiency
Core Design Contradiction:
SpeedVSReliability

Solution Approach 1:

The patent applies feedback by implementing a monitoring mechanism that tracks the accumulated data volume in the buffer and the status of flash memory operations. The system continuously monitors whether the accumulated data has reached the predetermined threshold and adjusts the flash memory write trigger timing accordingly. This feedback loop ensures that flash memory writes are triggered at optimal moments when sufficient data is available, preventing idle flash memory dies and improving overall system efficiency while maintaining write performance.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS10990325B2Write control method, associated data storage device and controller thereof
Publication Date: 2021.04.27 SILICON MOTION INC
  • US10990325B2 patent drawing
  • US10990325B2 patent drawing
  • US10990325B2 patent drawing

AI summary

A write control method, an associated data storage device and the controller thereof are provided. The write control method includes: receiving one or more commands from a host device and executing the one or more commands, and performing determining operations to generate determining results; in response to the determining results, starting performing write collection; collecting and handling one or more write commands to buffer data of the one or more write commands through a buffer memory, and performing other determining operations to generate other determining results; in response to the other determining results, according to a quantity of one or more collected and handled write commands, determining whether data thereof has filled up a write buffer region of the buffer memory; and in response to the data having filled up the write buffer region, flushing the write buffer region to write the data therein into a non-volatile memory.