Memory system and host device
US-2024394189-A1 · Nov 28, 2024 · US
US10417137B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-10417137-B2 |
| Application number | US-201715712483-A |
| Country | US |
| Kind code | B2 |
| Filing date | Sep 22, 2017 |
| Priority date | Sep 23, 2016 |
| Publication date | Sep 17, 2019 |
| Grant date | Sep 17, 2019 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
Embodiments of the present disclosure relate to a method and device for flushing pages from a solid-state storage device. Specifically, the present disclosure discloses a method of flushing pages from a solid-state storage device comprising: determining a first number based on a period length of one flushing cycle and a period length required for building one flushing transaction, the first number indicating a maximum number of flushing transactions that can be built in the flushing cycle; and flushing pages from the solid-state storage device with an upper limit of the first number in the flushing cycle. The present disclosure also discloses a device for flushing pages from a solid-state storage device and a computer program product for implementing steps of a method of flushing pages from a solid-state storage device.
Opening claim text (preview).
We claim: 1. A method of flushing pages from a solid-state storage device, comprising: determining a first number based on a period length of one flushing cycle and a period length required for building one flushing transaction, the first number indicating a maximum number of flushing transactions that can be built in the flushing cycle; and during the flushing cycle, flushing the pages from the solid-state storage device with an upper limit of the first number. 2. The method according to claim 1 , further comprising: determining, based on a central processing unit (CPU) time, a start time and an end time of building the flushing transaction; and determining, based on a difference between the start time and the end time, the period length required for building the flushing transaction. 3. The method according to claim 1 , further comprising: determining a second number based on a response time of the solid-state storage device to one flushing transaction, the second number indicating a maximum number of flushing transactions that can be executed in parallel in the solid-state storage device during the flushing cycle; and during the flushing cycle, flushing the pages from the solid-state storage device with an upper limit of a smaller one of the first and second numbers. 4. The method according to claim 1 , wherein flushing the pages comprises: in response to a page to be flushed being a clean page, invalidating metadata corresponding to the page; and in response to the page to be flushed being a dirty page, copying data of the page into a hard disk; and invalidating the metadata corresponding to the page. 5. The method according to claim 4 , wherein copying the data of the page into the hard disk comprises: determining a third number based on a response time of the hard disk to one flushing transaction, the third number indicating a maximum number of flushing transactions that can be executed in parallel in the hard disk during the flushing cycle; and during the flushing cycle, flushing the page into the hard disk with an upper limit of the third number. 6. The method according to claim 4 , further comprising: maintaining a first list and a second list in the solid-state storage device, the first list indicating clean pages, and the second list indicating dirty pages; and performing the flushing of the pages using the first list and the second list. 7. The method according to claim 4 , wherein the flushing of the clean page precedes the flushing of the dirty page. 8. An electronic device comprising: a processor; and a memory coupled to the processor and storing instructions executable by the processor, the instructions, when being executed by the processor, causing the electronic device to: determine a first number based on a period length of one flushing cycle and a period length required for building one flushing transaction, the first number indicating a maximum number of flushing transactions that can be built in the flushing cycle; and during the flushing cycle, flush pages from a solid-state storage device with an upper limit of the first number. 9. The electronic device according to claim 8 , wherein the instructions, when being executed by the processor, further cause the electronic device to: determine, based on a central processing unit (CPU) time, a start time and an end time of building the flushing transaction; and determine, based on a difference between the start time and the end time, the period length required for building the flushing transaction. 10. The electronic device according to claim 8 , wherein the instructions, when being executed by the processor, further cause the electronic device to: determine a second number based on a response time of the solid-state storage device to one flushing transaction, the second number indicating a maximum number of flushing transactions that can be executed in parallel in the solid-state storage device during the flushing cycle; and during the flushing cycle, flush the pages from the solid-state storage device with an upper limit of a smaller one of the first number and the second number. 11. The electronic device according to claim 8 , wherein the instructions causing the electronic device to flush the pages include instructions causing the electronic device to: in response to a page to be flushed being a clean page, invalidate metadata corresponding to the page; and in response to the page to be flushed being a dirty page, copy data of the page into a hard disk; and invalidate metadata corresponding to the page. 12. The electronic device according to claim 11 , wherein the instructions causing the electronic device to copy the data of the page into the hard disk include instructions causing the electronic device to: determine a third number based on a response time of the hard disk to one flushing transaction, the third number indicating a maximum number of flushing transactions that can be executed in parallel in the hard disk during the flushing cycle; and during the flushing cycle, flush the page into the hard disk with an upper limit of the third number. 13. The electronic device according to claim 11 , wherein the instructions, when being executed by the processor, further cause the electronic device to: maintain a first list and a second list in the solid-state storage device, the first list indicating clean pages, and the second list indicating dirty pages; and perform the flushing of the pages using the first list and the second list. 14. The electronic device according to claim 11 , wherein the instructions causing the electronic device to flush the pages include instructions causing the electronic device to perform the flushing of the clean page before the flushing of the dirty page. 15. A computer program product for flushing pages from a solid-state storage device, the computer program product comprising: a non-transitory computer readable medium encoded with computer-executable program code for flushing pages from the solid-state storage device, the code configured to enable the execution of: determining a first number based on a period length of one flushing cycle and a period length required for building one flushing transaction, the first number indicating a maximum number of flushing transactions that can be built in the flushing cycle; and during the flushing cycle, flushing the pages from the solid-state storage device with an upper limit of the first number. 16. The computer program product according to claim 15 , wherein the code is further configured to enable the execution of: determining, based on a central processing unit (CPU) time, a start time and an end time of building the flushing transaction; and determining, based on a difference between the start time and the end time, the period length required for building the flushing transaction. 17. The computer program product according to claim 15 , wherein the code is further configured to enable the execution of: determining a second number based on a response time of the solid-state storage device to one flushing transaction, the second number indicating a maximum number of flushing transactions that can be executed in parallel in the solid-state storage device during the flushing cycle; and during the flushing cycle, flushing the pages from the solid-state storage device with an upper limit of a smaller one of the first and second numbers. 18. The computer program product according to claim 15 , wherein flushing the pages comprises: in response to a page to be flushe
using adaptive policy · CPC title
Metadata, control data · CPC title
configured as RAID · CPC title
Hybrid disk, e.g. using both magnetic and solid state storage devices · CPC title
Solid state disk · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.