IP Library Granted Patent US 9,811,462
Granted Patent B2
US 9,811,462 · App. 14/848,844 · Granted Nov 7, 2017

Memory system executing garbage collection

Inventor: Shinichi Kanno (Tokyo, JP)
Assignee: Toshiba Memory Corporation
G06F12/0253G06F3/0619G06F3/0655G06F3/0688G06F12/0246G06F2212/1016G06F2212/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 9,811,462
App. No.
14/848,844
Granted
Nov 7, 2017
Kind
B2
Abstract

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.

Claims (21)

1. A memory system comprising:

a nonvolatile memory including first and second memory areas; and

a controller controlling the nonvolatile memory, the controller configured to:

detect data amounts of valid data written to the first memory area and data amounts of valid data written to the second memory area;

update, if writing for the second memory area is executed after writing for the first memory area, at least one of first and second thresholds such that the first threshold corresponding to the first memory area is greater than the second threshold corresponding to the second memory area;

select the first memory area as a memory area of a garbage collection target if the data amounts of the first memory area are smaller than the first threshold, and select the second memory area as the memory area of the garbage collection target if the data amounts of the second memory area are smaller than the second threshold; and

execute garbage collection on the selected memory area of the garbage collection target.

2. The memory system of claim 1 , wherein

the first and second memory areas are two areas of memory areas included in the nonvolatile memory,

the first and second thresholds are two values of thresholds associated with the memory areas respectively,

the controller is further configured to manage order information including each of write orders for each of the memory areas, the write orders designating writing occurrence orders in which writing has occurred, and

the updating by the controller includes setting, based on the order information, at least one of the first and second thresholds such that the first threshold is greater than the second threshold.

3. The memory system of claim 2 , wherein the selecting by the controller includes calculating each of values obtained by subtracting each of data amounts for each of the memory areas from each of the thresholds for each of the memory areas, and selecting the memory area whose value is the greatest.

4. The memory system of claim 2 , wherein the selecting by the controller includes calculating each of values obtained by subtracting each of data amounts for each of the memory areas from each of the thresholds for each of the memory areas, and selecting the memory area whose value is not less than a set value that allows execution of the garbage collection.

5. The memory system of claim 2 , wherein the order information is information obtained by allocating ascending numbers designating each of the write orders for each of the memory areas.

6. The memory system of claim 5 , wherein the updating by the controller includes identifying that the writing for the first memory area is earlier than the writing for the second memory area, based on that a difference between a newest number and a first number corresponding to the first memory area is greater than a difference between the newest number and a second number corresponding to the second memory area.

7. A memory system comprising:

a nonvolatile memory including a first memory area for which a first threshold is set and a second memory area for which a second threshold is set; and

a controller controlling the nonvolatile memory, the controller configured to:

update, if data is written to the second memory area after data is written to the first memory area, at least one of first and second thresholds such that the first threshold is greater than the second threshold; and

execute garbage collection on the first memory area if valid data amounts detected in the first memory area are smaller than the first threshold, and execute the garbage collection on the second memory area if valid data amounts detected in the second memory area are smaller than the second threshold.

Assignments (5)
MERGER Recorded Jan 22, 2021
From: TOSHIBA MEMORY CORPORATION
To: K.K. PANGEA
Reel/Frame 055659/0471 →
CHANGE OF NAME AND ADDRESS Recorded Jan 22, 2021
From: TOSHIBA MEMORY CORPORATION
To: KIOXIA CORPORATION
Reel/Frame 055669/0001 →
CHANGE OF NAME AND ADDRESS Recorded Jan 22, 2021
From: K.K. PANGEA
To: TOSHIBA MEMORY CORPORATION
Reel/Frame 055669/0401 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 8, 2017
From: KABUSHIKI KAISHA TOSHIBA
To: TOSHIBA MEMORY CORPORATION
Reel/Frame 043529/0709 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 5, 2015
From: KANNO, SHINICHI
To: KABUSHIKI KAISHA TOSHIBA
Reel/Frame 036723/0480 →
Continuity (2)
Provisional Application 62155249 · Apr 30, 2015
Related Publication 20160321171A1 · Nov 3, 2016