IP Library Granted Patent US 11,886,743
Granted Patent B2
US 11,886,743 · App. 17/532,175 · Granted Jan 30, 2024

Method for enhancing quality of service of solid-state drive and solid-state drive

Inventors: Yuanbing Liu (Shenzhen, CN); Xiang Chen (Shenzhen, CN); Hongbo Wan (Shenzhen, CN); Weijun Li (Shenzhen, CN); Yafei Yang (Shenzhen, CN)
Assignee: SHENZHEN DAPU MICROELECTRONICS CO., LTD.
G06F3/0659G06F3/0613G06F3/0679
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 11,886,743
App. No.
17/532,175
Granted
Jan 30, 2024
Kind
B2
Abstract

Disclosed is a method for enhancing service quality of a solid state drive and the solid state drive, and the method includes the steps of obtaining a remaining storage resource corresponding to a write I/O request periodically, and determining a resource waiting time of the write I/O request based on a resource consumption rate of the write I/O request. The method also includes setting a maximum scheduling delay time for the write I/O request according to the resource waiting time of the write I/O request. The method also includes identifying a type of unprocessed I/O requests and obtaining an arrival time of the unprocessed I/O requests, and sorting the unprocessed I/O requests in combination with the maximum scheduling delay time. The method further includes processing the unprocessed I/O requests according to the sort of the unprocessed I/O requests.

Claims (32)

1. A method for enhancing service quality of a solid state drive, comprising:

obtaining a remaining storage resource corresponding to a write I/O request periodically, and determining a resource waiting time of the write I/O request based on a resource consumption rate of the write I/O request;

setting a maximum scheduling delay time for the write I/O request according to the resource waiting time of the write I/O request;

identifying one or more types of a set of unprocessed I/O requests, obtaining a set of arrival times associated with the set of unprocessed I/O requests, and sorting adjusting an order of the set of unprocessed I/O requests based on the set of arrival times and the maximum scheduling delay time; and

processing the set of unprocessed I/O requests according to the order of the set of unprocessed I/O requests.

2. The method of claim 1 , wherein the set of unprocessed I/O requests comprise at least one of a read I/O request, the write I/O request, or an erase I/O request.

3. The method of claim 1 , wherein the remaining storage resource is a current Cache water level, and the resource consumption rate is a bandwidth of a current write I/O request.

4. The method of claim 3 , wherein setting the maximum scheduling delay time for the write I/O request according to the resource waiting time of the write I/O request further comprises:

setting the maximum scheduling delay time for the write I/O request according to a preset Cache water level warning threshold and the resource waiting time of the write I/O request.

5. The method of claim 2 , wherein the step of identifying the one or more types of the set of unprocessed I/O requests, obtaining the set of arrival times associated with the set of unprocessed I/O requests, and adjusting the order of the set of unprocessed I/O requests based on the set of arrival times and the maximum scheduling delay time further comprises:

obtaining at least one arrival time of at least one of the read I/O request, the write I/O request, or the erase I/O request; and

adjusting an order of the at least one of the read I/O request, the write I/O request, or the erase I/O request according to the at least one arrival time and the maximum scheduling delay time.

6. A solid state drive, comprising a memory and a processor, wherein the processor is coupled with the memory, and a computer program capable of running on the processor is stored in the memory, wherein when executing the computer program, the processor implements a method for enhancing service quality of the solid state drive, the method comprising:

obtaining a remaining storage resource corresponding to a write I/O request periodically, and determining a resource waiting time of the write I/O request based on a resource consumption rate of the write I/O request;

setting a maximum scheduling delay time for the write I/O request according to the resource waiting time of the write I/O request;

identifying a one or more types of a set of unprocessed I/O requests, obtaining a set of arrival times associated with the set of unprocessed I/O requests, and adjusting an order of the set of unprocessed I/O requests based on the set of arrival times and the maximum scheduling delay time; and

processing the set of unprocessed I/O requests according to the order of the set of unprocessed I/O requests.

7. The solid state drive of claim 6 , wherein the set of unprocessed I/O requests comprise at least one of a read I/O request, the write I/O request, or an erase I/O request.

8. The solid state drive of claim 6 , wherein the remaining storage resource is a current Cache water level, and the resource consumption rate is a bandwidth of a current write I/O request.

9. The solid state drive of claim 8 , wherein setting the maximum scheduling delay time for the write I/O request according to the resource waiting time of the write I/O request further comprises:

setting the maximum scheduling delay time for the write I/O request according to a preset Cache water level warning threshold and the resource waiting time of the write I/O request.

10. The solid state drive of claim 7 , wherein identifying the one or more types of the set of unprocessed I/O requests, obtaining the set of arrival times associated with the set of unprocessed I/O requests, and adjusting the order of the set of unprocessed I/O requests based on the set of arrival times and the maximum scheduling delay time further comprises:

obtaining at least one arrival time of at least one of the read I/O request, the write I/O request, or the erase I/O request; and

adjusting an order of the at least one of the read I/O request, the write I/O request, or the erase I/O request according to the at least one arrival time and the maximum scheduling delay time.

11. A method for enhancing service quality of a solid state drive, comprising:

acquiring free space of the solid state drive periodically, and determining a maximum scheduling delay time of an erase I/O request through the free space;

identifying one or more types of a set of unprocessed I/O requests, acquiring a set of arrival times associated with the set of unprocessed I/O requests, and adjusting an order of the set of unprocessed I/O requests based on the set of arrival times and the maximum scheduling delay time; and

processing the set of unprocessed I/O requests according to the order of the set of unprocessed I/O requests.

12. The method of claim 11 , wherein the set of unprocessed I/O request comprises at least one of a read I/O request, a write I/O request, or the erase I/O request.

13. The method of claim 12 , wherein identifying the one or more types of the set of unprocessed I/O requests, acquiring the set of arrival times associated with the set of unprocessed I/O requests, and adjusting the order of the set of unprocessed I/O requests based on the set of arrival times and the maximum scheduling delay time further comprises:

obtaining at least one arrival time of at least one of the read I/O request, the write I/O request, or the erase I/O request; and

adjusting an order of the at least one of the read I/O request, the write I/O request, or the erase I/O request according to the at least one arrival time and the maximum scheduling delay time.

Assignments (2)
CHANGE OF NAME AND ADDRESS Recorded May 20, 2025
From: SHENZHEN DAPU MICROELECTRONICS CO., LTD.
To: DAPUSTOR CORPORATION
Reel/Frame 071515/0132 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 22, 2021
From: LIU, YUANBING; CHEN, XIANG; WAN, HONGBO; LI, WEIJUN; YANG, YAFEI
To: SHENZHEN DAPU MICROELECTRONICS CO., LTD.
Reel/Frame 058180/0614 →
Priority Claims (1)
CN 201910619194.6 · Jul 10, 2019 · national
Continuity (2)
Continuation PCTCN2020098672 · Jun 29, 2020
Related Publication 20220083275A1 · Mar 17, 2022