IP Library › Granted Patent US 10,789,164
Granted Patent B2
US 10,789,164 · App. 16/225,021 · Granted Sep 29, 2020

Memory system for performing garbage collection operation based on valid page decrease amounts of closed memory blocks and method for operating the same

Inventors: Hyeong-Ju Na (Gyeonggi-do, KR); Jong-Min Lee (Seoul, KR)
Assignee: SK hynix Inc.
G06F12/0253G06F3/061G06F3/064G06F3/065G06F3/0652G06F3/0679G06F11/073G06F2201/81G06F2201/88G06F2212/7201G06F2212/7205
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,789,164
App. No.
16/225,021
Granted
Sep 29, 2020
Kind
B2
Abstract

A memory system includes: a memory device including a closed memory block; an update block detector detecting a total sum of valid page decrease amounts and the number of update blocks based on the number of valid pages of the closed memory block that are counted before and after a map update operation; and a garbage collector performing a garbage collection operation on a victim block, based on the number of free blocks in the memory device, the counted number of the update blocks and the calculated total sum of the valid page decrease amounts.

Claims (34)

1. A memory system, comprising:

a memory device including a plurality of closed memory blocks;

an update block detector configured to calculate a total sum of valid page decrease amounts, and count a number of update blocks based on a number of valid pages of the closed memory blocks that are counted before and after a map update operation; and

a garbage collector configured to perform a garbage collection operation on a victim block, when a number of free blocks in the memory device is less than a first threshold value and greater than or equal to a second threshold value; and the total sum of the valid page decrease amounts is less than or equal to a fourth threshold value,

wherein the first threshold value is greater than the second threshold value,

wherein the total sum of the valid page decrease amounts is obtained by summing up all valid page decrease amounts calculated for each of the closed memory blocks, and

wherein the valid page decrease amounts represent differences between the number of the valid pages of the closed memory blocks counted after the map update operation and the number of the valid pages of the closed memory blocks counted before the map update operation.

2. The memory system of claim 1 , further comprising:

an urgent sensor configured to compare the number of the free blocks in the memory device with the first and second threshold values.

3. The memory system of claim 2 , wherein the garbage collector performs a garbage collection operation on the victim block, when the number of the free blocks is less than the second threshold value.

4. The memory system of claim 1 , further comprising:

a valid page counter configured to count the number of the valid pages of the closed memory blocks before and after the map update operation.

5. The memory system of claim 1 , wherein the update block is a closed memory block whose valid page decrease amount is not 0.

6. The memory system of claim 2 , wherein each of the free blocks is a memory block whose number of empty pages is greater than or equal to a threshold value.

7. The memory system of claim 1 , wherein each of the closed memory blocks is a memory block whose number of valid pages is not 0 and which is not an open block where a program operation is performed.

8. The memory system of claim 1 , wherein the garbage collector performs the garbage collection operation by copying a valid data of the victim block into an empty page of a target block.

9. A method for operating a memory system, comprising:

calculating a total sum of valid page decrease amounts; and

counting a number of update blocks based on a number of valid pages of a plurality of closed memory blocks that are counted before and after a map update operation; and

performing a garbage collection operation on a victim block, when a number of free blocks in a memory device is less than a first threshold value and greater than or equal to a second threshold value; and the total sum of the valid page decrease amounts is less than or equal to a fourth threshold value,

wherein the first threshold value is greater than the second threshold value,

wherein the total sum of the valid page decrease amounts is obtained by summing up all valid page decrease amounts calculated for each of the closed memory blocks, and

wherein the valid page decrease amounts represent differences between the number of valid pages of the closed memory blocks counted after the map update operation and the number of the valid pages of the closed memory blocks counted before the map update operation.

10. The method of claim 9 , further comprising:

comparing the number of the free blocks in the memory device with the first and second threshold values.

11. The method of claim 10 , wherein the performing of the garbage collection operation comprises

performing a garbage collection operation on the victim block, when the number of the free blocks is less than the second threshold value.

12. The method of claim 9 , further comprising:

counting the number of the valid pages of the closed memory blocks before and after the map update operation.

13. The method of claim 9 , wherein the update block is a closed memory block whose valid page decrease amount is not 0.

14. The method of claim 10 , wherein each of the free blocks is a memory block whose number of empty pages is greater than or equal to a threshold value.

15. The method of claim 9 , wherein each of the closed memory blocks is a memory block whose number of valid pages is not 0 and which is not an open block where a program operation is performed.

16. The method of claim 9 , wherein the performing of the garbage collection operation comprises

performing the garbage collection operation by copying a valid data of the victim block into an empty page of a target block.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 19, 2018
From: NA, HYEONG-JU; LEE, JONG-MIN
To: SK HYNIX INC.
Reel/Frame 047813/0988 →
Priority Claims (1)
KR 10-2018-0080678 · Jul 11, 2018 · national
Continuity (1)
Related Publication 20200019495A1 · Jan 16, 2020