Memory System Garbage Collection Threshold Selection
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current memory systems face inefficiencies in garbage collection, particularly in selecting the appropriate memory areas for garbage collection, leading to suboptimal data management and reduced performance due to the lack of targeted threshold-based selection mechanisms.
Innovation Solution
A memory system with a detection unit for data amount assessment, a management unit for setting thresholds, and a selection unit that identifies memory areas with data amounts below these thresholds for targeted garbage collection, enhancing the efficiency of data management by prioritizing areas with minimal valid data.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If traditional garbage collection is performed without threshold-based selection, then all memory areas are processed uniformly, but this leads to inefficient data management and reduced performance
Solution Approach 1:
The patent applies parameter changes by introducing a threshold parameter (threshold value) that dynamically determines which memory areas should undergo garbage collection. Instead of uniformly processing all memory areas, the system compares the data amount in each memory area against the threshold and only performs garbage collection on areas where the data amount exceeds the threshold, thereby optimizing garbage collection efficiency and reducing unnecessary processing time
Solution Approach 2:
The patent implements local quality by applying different garbage collection strategies to different memory areas based on their individual characteristics. Each memory area is evaluated independently against the threshold criterion, and only those areas that meet the condition (data amount > threshold) are selected for garbage collection. This localized approach ensures that resources are concentrated on areas that actually need cleanup, improving overall system productivity while minimizing time loss
2Reliability
If garbage collection is performed on all memory areas, then comprehensive data management is achieved, but this increases processing overhead and reduces system performance
Solution Approach 1:
The patent uses parameter changes by establishing a threshold parameter that controls the scope of garbage collection operations. The threshold acts as a filtering criterion that balances completeness and performance: memory areas with data amounts exceeding the threshold are selected for garbage collection, ensuring reliable data management for areas that need it while avoiding unnecessary operations in areas that don't require cleanup, thus maintaining system performance
Solution Approach 2:
The patent applies partial action by performing garbage collection only on the subset of memory areas that exceed the threshold, rather than on all memory areas. This selective approach achieves sufficient data management completeness for the critical areas while avoiding the excessive processing overhead that would result from universally applying garbage collection to every memory area, thereby preserving system productivity
Data Source
AI summary
According to one embodiment, a memory system includes a nonvolatile memory, detection unit, management unit, selection unit, and garbage collection unit. The nonvolatile memory includes memory areas divided into units of execution of garbage collection. The detection unit detects a data amount of data written to a different memory area among the memory areas when the garbage collection is executed, for each of the memory areas. The management unit manages a threshold set for each of the memory areas. The selection unit selects, based on the data amount and the threshold for each of the memory areas, a memory area whose data amount is smaller than the threshold of the memory area. The garbage collection unit executes the garbage collection on the memory area selected by the selection unit.


