Dynamic Garbage Collection Period Adjustment in Memory Controllers

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing memory systems face inefficiencies in garbage collection operations due to fixed garbage collection periods, leading to potential memory space shortages or unnecessary performance degradation in foreground operations.

Innovation Solution

A memory system that dynamically adjusts the garbage collection operation period based on estimated operation times, calculating the required time for garbage collection and updating the period to ensure efficient generation of free blocks while minimizing performance impact on foreground operations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a fixed garbage collection period is used, then the garbage collection operation can be performed regularly, but memory space shortages or performance degradation may occur

Engineering Contradiction:
Improvememory space allocationVSAvoidforeground operation performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent applies dynamics by transitioning from a fixed garbage collection period to a dynamic one. The controller calculates the actual time required for garbage collection operations and adjusts the period accordingly. This allows the system to adapt the collection frequency to current memory conditions and operation loads, ensuring reliable memory space allocation while minimizing impact on foreground operations.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent implements feedback by continuously monitoring garbage collection operation times and using this information to adjust future collection periods. The controller measures the time taken for each garbage collection operation and uses this feedback to optimize subsequent collection scheduling, balancing memory space requirements with foreground performance.

Inventive Principle:
Principle #23Feedback

2Quantity of substance

If garbage collection is performed frequently, then free blocks are generated reliably, but foreground operation performance deteriorates

Engineering Contradiction:
Improvefree block quantityVSAvoidforeground operation speed
Core Design Contradiction:
Quantity of substanceVSProductivity

Solution Approach 1:

The patent changes the parameter of garbage collection frequency by calculating optimal collection intervals based on measured operation times. Instead of using a fixed high frequency, the system dynamically adjusts the collection frequency parameter to generate sufficient free blocks while minimizing disruption to foreground operations.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent applies partial action by performing garbage collection only when necessary to maintain adequate free block quantities. The controller calculates the actual time needed for collection and schedules operations accordingly, avoiding excessive collection activities that would unnecessarily degrade foreground performance.

Inventive Principle:
Principle #16Partial or excessive action

3Productivity

If garbage collection period is extended, then foreground operation performance is maintained, but memory space may become insufficient

Engineering Contradiction:
Improveforeground operation performanceVSAvoidavailable memory space
Core Design Contradiction:
ProductivityVSQuantity of substance

Solution Approach 1:

The system uses feedback from monitoring memory space conditions and collection operation times to dynamically adjust the collection period. When memory space becomes constrained, the controller shortens the collection period to generate more free blocks. When space is充足, it can extend the period to maintain foreground performance.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent makes the garbage collection period dynamic rather than fixed. The controller continuously adapts the collection timing based on current memory conditions and operation characteristics, ensuring sufficient memory space is maintained while minimizing impact on foreground operations.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS11036630B2Memory system and operating method thereof
Publication Date: 2021.06.15 MIMIRIP LLC
  • US11036630B2 patent drawing
  • US11036630B2 patent drawing
  • US11036630B2 patent drawing

AI summary

A memory system includes: a memory device; and a controller suitable for performing: a free block management operation of detecting victim blocks onto which a garbage collection operation is to be performed to generate required free blocks; a garbage collection operation time management operation of calculating an estimated garbage collection operation time for the detected victim blocks; and a garbage collection operation period management operation of dynamically changing a garbage collection operation period based on the estimated garbage collection operation time and periodically performing a garbage collection operation based on the garbage collection operation period during a specific time, wherein the controller repeatedly performs, whenever an update period arrives, the free block management operation, the garbage collection operation time management operation, and the garbage collection operation period management operation.