IP Library Granted Patent US 10,055,168
Granted Patent B2
US 10,055,168 · App. 15/253,123 · Granted Aug 21, 2018

Delaying hot block garbage collection with adaptation

Inventors: Frederick K. H. Lee (Mountain View, CA); Xiangyu Tang (San Jose, CA); Lingqi Zeng (San Jose, CA)
Assignee: SK Hynix Inc.
G06F3/0652G06F3/061G06F3/0616G06F3/0688G06F13/16G11C16/10
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,055,168
App. No.
15/253,123
Granted
Aug 21, 2018
Kind
B2
Abstract

Memory systems may include a memory storage, and a controller suitable for measuring a write amplification (WA) value of a first, current window, comparing the WA value for the first window with a previous WA value for a previous window, and calculating and setting a value of a ratio threshold based on the comparison of the WA value for the current window threshold to the WA value of the previous window threshold.

Claims (34)

1. A memory system, comprising:

a memory storage including a plurality of memory blocks, and

a controller suitable for selecting a victim memory block, among the plurality of memory blocks, for garbage collection (GC) by:

measuring a write amplification (WA) value of a first, current window;

comparing the WA value for the first window with a previous WA value for a previous window;

calculating and setting a value of a ratio threshold based on the comparison of the WA value for the current window to the WA value of the previous window; and

using the ratio threshold to determine which of a first candidate memory block and a second candidate memory block, from among the plurality of memory blocks, to select as the victim memory block.

2. The memory system of claim 1 , wherein the calculating includes selecting a direction of an adjustment to the value of the ratio threshold.

3. The memory system of claim 1 , wherein the ratio threshold comprises a threshold against which a ratio of a number of valid pages in the second candidate memory block to a number of valid pages in the first candidate memory block is compared to select the first or second candidate memory block as the victim memory block for GC.

4. The memory system of claim 1 , wherein the calculating includes adjusting the value of the ratio threshold based on a predetermined proportionality constant.

5. The memory system of claim 1 , wherein the first current window and the previous window are the most current windows.

6. The memory system of claim 1 , wherein the controller is suitable for setting the value of the ratio threshold to be above a ratio threshold lower limit value to prevent the ratio threshold value from becoming too small.

7. A method, comprising:

measuring, with a controller, a write amplification (WA) value of a first, current window;

comparing, with the controller, the WA value for the first window with a previous WA value for a previous window;

calculating and setting, with the controller, a value of a ratio threshold based on the comparison of the WA value for the current window to the WA value of the previous window; and

using the ratio threshold to determine which of a first candidate memory block and a second candidate memory block, from among a plurality of memory blocks in a memory storage, to select as a victim memory block for garbage collection (GC).

8. The method of claim 7 , wherein the calculating includes selecting a direction of an adjustment to the value of the ratio threshold.

9. The method of claim 7 , wherein the ratio threshold comprises a threshold against which a ratio of a number of valid pages in the second candidate memory block to a number of valid pages in the first candidate memory block is compared to select the first or second candidate memory block as the victim memory block for GC.

10. The method of claim 7 , wherein the calculating includes adjusting the value of the ratio threshold based on a predetermined proportionality constant.

11. The method of claim 7 , wherein the first current window and the previous window are the most current windows.

12. The method of claim 7 , further comprising setting the value of the ratio threshold to be above a ratio threshold lower limit value to prevent the ratio threshold value from becoming too small.

13. A memory device, comprising:

a memory storage including a plurality of memory blocks, and

a controller configured to select a victim memory block, among the plurality of memory blocks, for garbage collection (GC) by performing operations to:

measure a write amplification (WA) value of a first, current window;

compare the WA value for the first window with a previous WA value for a previous window;

calculate and set a value of a ratio threshold based on the comparison of the WA value for the current window to the WA value of the previous window; and

use the ratio threshold to determine which of a first candidate memory block and a second candidate memory block, from among the plurality of memory blocks, to select as the victim memory block.

14. The memory device of claim 13 , wherein the calculating includes selecting a direction of an adjustment to the value of the ratio threshold.

15. The memory device of claim 13 , wherein the ratio threshold comprises a threshold against which a ratio of a number of valid pages in the second candidate memory block to a number of valid pages in the first candidate memory block is compared.

16. The memory device of claim 13 , wherein the calculating includes adjusting the value of the ratio threshold based on a predetermined proportionality constant.

17. The memory device of claim 13 , wherein the first current window and the previous window are the most current windows.

18. The memory device of claim 13 , wherein the controller is configured to set the value of the ratio threshold to be above a ratio threshold lower limit value to prevent the ratio threshold value from becoming too small.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 15, 2017
From: SK HYNIX MEMORY SOLUTIONS INC.
To: SK HYNIX INC.
Reel/Frame 044899/0443 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 14, 2016
From: LEE, FREDERICK K.H.; TANG, XIANGYU; ZENG, LINGQI
To: SK HYNIX MEMORY SOLUTIONS INC.
Reel/Frame 039739/0653 →
Continuity (2)
Provisional Application 62212371 · Aug 31, 2015
Related Publication 20170060428A1 · Mar 2, 2017