IP Library › Granted Patent US 10,942,676
Granted Patent B2
US 10,942,676 · App. 16/212,114 · Granted Mar 9, 2021

Data storage device for determining a write mode, operation method thereof and storage system having the same

Inventors: Hoe Seung Jung (Seoul, KR); Joo Young Lee (Seoul, KR)
Assignee: SK hynix Inc.
G06F3/0659G06F3/0604G06F3/0634G06F3/0673
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,942,676
App. No.
16/212,114
Granted
Mar 9, 2021
Kind
B2
Abstract

A data storage device includes a storage unit; and a controller configured to select a write mode by analyzing a tendency of commands received from a host device, and operate in the selected write mode to write data to the storage or to read data from the storage.

Claims (35)

1. A data storage device comprising:

a storage; and

a controller configured to select a write mode by analyzing a workload based on commands received from a host device, and operate in the selected write mode to write data to the storage or to read data from the storage,

wherein, when it is determined that the workload shows that a mix of read and write commands are received, the controller selects a normal program mode in which a next write command is processed after an operation of writing data to a memory cell of the storage according to a current write command is completed, and

when it is determined that the workload is deprived of write command execution depending on how many write commands have been processed relative to how many write commands have been received in a recent set period of time, the controller selects a cache program mode in which data corresponding to the next write command are stored in a register of the storage while data corresponding to the current write command are written to a memory cell of the storage.

2. The data storage device according to claim 1 , wherein the controller analyzes the workload based on a ratio of write commands to read commands in the received commands.

3. The data storage device according to claim 1 , wherein, when it is determined that the workload shows that write commands are received rather than read commands, the controller selects the cache program mode.

4. The data storage device according to claim 1 , wherein, when it is determined that the workload is not deprived of write command execution, the controller selects the normal program mode in which a next write command is processed after an operation of writing data to a memory cell of the storage according to a current write command is completed.

5. The data storage device according to claim 1 , wherein the controller determines whether the workload is deprived of write command execution based on the ratio of processed write commands to processed read commands.

6. A data storage device comprising:

a storage;

a controller configured to control data exchange with the storage in response to commands received from a host device;

a command analyzing circuit configured to analyze the commands;

a workload analyzing circuit configured to analyze a workload of the commands based on the analysis result of the command analyzing circuit; and

a write mode decision circuit configured to select a write mode which supports a program suspend function or a write mode which does not support the program suspend function based on the analysis result of the workload analyzing circuit,

wherein, when it is determined that the workload shows that a mix of read and write commands are received, the controller selects a normal program mode in which a next write command is processed after an operation of writing data to a memory cell of the storage according to a current write command is completed, and

when it is determined that the workload is deprived of write command execution depending on how many write commands have been processed relative to how many write commands have been received in a recent set period of time, the controller selects a cache program mode in which data corresponding to the next write command are stored in a register of the storage while data corresponding to the current write command are written to a memory cell of the storage.

7. The data storage device according to claim 6 , wherein, when it is determined that the workload shows that write commands are received rather than read commands, the write mode decision circuit selects the cache program mode.

8. The data storage device according to claim 6 , wherein, when it is determined that the workload is not deprived of write command execution, the write mode decision circuit selects the normal program mode in which a next write command is processed after an operation of writing data to a memory cell of the storage according to a current write command is completed, wherein the normal program mode supports the program suspend function.

9. A method of operating a data storage device which includes a storage and a controller for controlling data exchange with the storage, the method comprising the steps of:

analyzing a workload based on commands received from a host device;

selecting a write mode based on a result of the analyzing operation; and

wherein the selecting of the write mode comprises:

selecting a normal program mode in which a next write command is processed after an operation of writing data to a memory cell of the storage according to a current write command is completed, when it is determined that the workload shows that a mix of read and write commands are received;

selecting a cache program mode in which data corresponding to the next write command are stored in a register of the storage while data corresponding to the current write command are written to a memory cell of the storage when it is determined that the workload is deprived of write command execution depending on how many write commands have been processed relative to how many write commands have been received in a recent set period of time.

10. The method according to claim 9 , wherein the analyzing of the workload comprises determining the ratio of write commands to read commands in the commands received from the host device.

11. The method according to claim 9 , wherein the selecting of the write mode comprises selecting a cache program mode in which data corresponding to a next write command are stored in a register of the storage while data corresponding to a current write command are written to a memory cell of the storage, when it is determined that the workload shows that write commands are received rather than read commands.

12. The method according to claim 9 , wherein, when it is determined that the workload is not deprived of write command execution, the normal program mode is selected.

13. The method according to claim 9 , wherein the controller determines whether the workload is deprived of write command execution based on the ratio of processed write commands to processed read commands.

14. A storage system comprising:

a host device; and

a data storage device comprising a storage and a controller configured to write data to the storage or read data from the storage,

wherein the controller selects a write mode by analyzing a workload based on commands received from the host device, and operates in the selected write mode to write data to the storage,

wherein, when it is determined that the workload shows that a mix of read and write commands are received, the controller selects a normal program mode in which a next write command is processed after an operation of writing data to a memory cell of the storage according to a current write command is completed, and

when it is determined that the workload is deprived of write command execution depending on how many write commands have been processed relative to how many write commands have been received in a recent set period of time, the controller selects a cache program mode in which data corresponding to the next write command are stored in a register of the storage while data corresponding to the current write command are written to a memory cell of the storage.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 6, 2018
From: JUNG, HOE SEUNG; LEE, JOO YOUNG
To: SK HYNIX INC.
Reel/Frame 047696/0860 →
Priority Claims (1)
KR 10-2018-0082694 · Jul 17, 2018 · national
Continuity (1)
Related Publication 20200026465A1 · Jan 23, 2020
Cited By (1)
US 12,254,191