CN107274923A - The method and solid state hard disc of order reading flow performance in a kind of raising solid state hard disc - Google Patents
The method and solid state hard disc of order reading flow performance in a kind of raising solid state hard disc Download PDFInfo
- Publication number
- CN107274923A CN107274923A CN201710371746.7A CN201710371746A CN107274923A CN 107274923 A CN107274923 A CN 107274923A CN 201710371746 A CN201710371746 A CN 201710371746A CN 107274923 A CN107274923 A CN 107274923A
- Authority
- CN
- China
- Prior art keywords
- data
- solid state
- state hard
- read
- hard disc
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C7/00—Arrangements for writing information into, or reading information out from, a digital store
- G11C7/10—Input/output [I/O] data interface arrangements, e.g. I/O data control circuits, I/O data buffers
- G11C7/1051—Data output circuits, e.g. read-out amplifiers, data output buffers, data output registers, data output level conversion circuits
- G11C7/1057—Data output buffers, e.g. comprising level conversion circuits, circuits for adapting load
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C16/00—Erasable programmable read-only memories
- G11C16/02—Erasable programmable read-only memories electrically programmable
- G11C16/06—Auxiliary circuits, e.g. for writing into memory
- G11C16/26—Sensing or reading circuits; Data output circuits
Landscapes
- Memory System Of A Hierarchy Structure (AREA)
Abstract
A kind of method and solid state hard disc for improving order reading flow performance in solid state hard disc of the present invention, it is characterized in that solid-state hard disk controller is received after main machine-readable data instruction, first search whether there are the required data read in hard disk cache, if directly returning data to main frame from hard disk cache;The operation that data are read from storage medium is triggered if being not present in solid state cache;The adjacent particularly follow-up data of logical address that data command accesses will be read simultaneously to read in hard disk cache in advance, realize data pre-cache.By analyzing the characteristics of host application program accesses data, there is substantial amounts of order read operation in it, by the adjacent data pre-cache of current reading instruction order to solid state cache kind, maximum probability reduces the subsequent instructions digital independent response time, the performance that solid state hard disc is read is lifted, especially in order is read.
Description
Technical field
It is more particularly to a kind of to improve order reading flow performance in solid state hard disc the present invention relates to solid state hard disc control technology
Method and solid state hard disc.
Background technology
The order reading performance of solid state hard disc is the important performance indexes of solid state hard disc, is difficult for the device intrinsic response time
It is improved, can only be typically optimized by hardware design change, thus it is more difficult.Internal control is provided with solid state hard disc
Device, realizes and is communicated with main frame HOST, receives the control instruction of main frame, completes the access to solid state hard disc storage medium.General feelings
It is internal under condition to be additionally provided with DRAM cache, for caching the caching for the write-in data that main frame HOST is issued and for caching main frame from admittedly
The user data read in state hard disk storage medium.Typically all operated according to the address of main frame HOST requirements, belong to string
Row operation.Fig. 1 is the schematic flow sheet that routine data is read, and main frame is issued after read command, and SSD could start Nand Flash and arrive
DRAM, DRAM to HOST data transfer.Wherein data from Nand Flash to DRAM with data from DRAM to HOST in theory
It is parallel, but their transmission start points are inconsistent, because after data are from Nand Flash to DRAM, could start
DRAM to HOST transmission, so DRAM to HOST startup point can a little later 1 point.For convenience of description, it is assumed that Nand Flash are arrived
DRAM data transmission speed is equal to DRAM to HOST data transmission bauds.Assuming that main frame issues multiple order read commands 1,2,3,
4,5,6,7 ... ..., the size each ordered is the same, forward read order it is actual perform when all have from the DRAM data for feeding back to main frame
There is certain delay, therefore the performance that overall order is read is not good.
The content of the invention
For disadvantages described above, how the object of the invention improves the speed of solid state hard disc read operation, and raise speed solid state hard disc performance.
A kind of method for improving order reading flow performance in solid state hard disc is proposed in order to solve the problem above present invention, its
It is characterised by that solid-state hard disk controller is received after main machine-readable data instruction, first searches whether there is required reading in hard disk cache
The data taken, if directly returning data to main frame from hard disk cache;If in solid state cache be not present if trigger from
Solid state hard disc reads the operation of data;The adjacent particularly follow-up data of logical address that data command accesses will be read simultaneously advance
Read in hard disk cache, realize data pre-cache.
The described method for improving order reading flow performance in solid state hard disc, it is characterised in that the caching of the solid state hard disc
In at least provided with a data cached information list, solid state hard disc is received after the instruction of main machine-readable data by retrieving caching number
Quickly judge according to information list in hard disk cache with the presence or absence of the required data read;It is all that hard disk is read from solid state hard disc
The operation of caching all includes updating read buffer data message into data cached information list.
The described method for improving order reading flow performance in solid state hard disc, it is characterised in that return the data of hard disk cache
After main frame, the hard disk cache space corresponding to the data is reclaimed immediately, and update data cached information list.
The described method for improving order reading flow performance in solid state hard disc, it is characterised in that the data cached information row
Table includes each data cached access time.
The described method for improving order reading flow performance in solid state hard disc, it is characterised in that the solid-state hard disk controller
On also include cache garbage collection program, the cache garbage collection program exceeded cache-time pre- according to the data cached access time
Reclaimed in the hard disk cache space of the time first set.
A kind of solid state hard disc, it is characterised in that employ in the raising solid state hard disc described in claim 1 to 5 any one
The method of order reading flow performance improves the order reading performance of solid state hard disc.
The present invention is by analyzing the characteristics of host application program accesses data, and it has substantial amounts of order read operation, ought
The adjacent data pre-cache of preceding reading instruction order is into solid state cache, and maximum probability reduces the subsequent instructions digital independent response time,
The performance that solid state hard disc is read is lifted, especially in order is read.
Brief description of the drawings
Fig. 1 is the schematic flow sheet that routine data is read;
Fig. 2 is the schematic flow sheet of digital independent after improving.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
I.e. the APP applications main frame of vast scale is patrolled the data access of solid state hard disc in the presence of order mostly by analysis
The digital independent of volume address LBA data, so if the speed of alphabetic data reading can be lifted, by can be to solid state hard disc
Reading performance has a distinct increment.
Therefore a kind of method for improving order reading flow performance in solid state hard disc is proposed, is the slow of the solid state hard disc
At least provided with a data cached information list in depositing, solid state hard disc is cached after receiving main machine-readable data instruction by retrieving
Data message list is quickly judged in hard disk cache with the presence or absence of the required data read;If being incited somebody to action directly from hard disk cache
Data return to main frame;The operation that data are read from storage medium is triggered if being not present in solid state cache;Simultaneously by reading
Read in advance in the hard disk cache of solid state hard disc according to the multi-block data in the adjacent logical address of the logical address of instruction access,
Realize data pre-cache.All operations that hard disk cache is read from solid state hard disc all include updating read buffer data message
Into data cached information list.The data of hard disk cache are returned to after main frame, immediately delayed the hard disk corresponding to the data
Deposit space to be reclaimed, and update data cached information list.
In order to further optimize solid state hard disc caching, if the data of pre-cache within a period of time all without access, its
Accessed probability will be reduced in the recent period, therefore each data cached access time is further comprises in data cached information list.
Cache garbage collection program exceedes cache-time in the hard disk cache space of time set in advance according to the data cached access time
Reclaimed.
Fig. 2 is the schematic flow sheet of digital independent after improving;Solid-state hard disk SSD is in advance data below from Nand
DRAM is read on Flash, after follow-up order read command is issued to SSD, DRAM to HOST data transfer is directly carried out.
Still assume that main frame issues multiple order read commands 1,2,3,4,5,6,7,8,9 ..., the size one each ordered
Sample.SSD found when receiving order 2 it and before order 1 LBA band between be order, then the order after conjecture
It is also order, then SSD backstages start Nand Flash to DRAM data transfer, and follow-up data are read DRAM in advance
In, after follow-up order read command is issued to SSD, find data in DRAM all set, then directly taken from DRAM
Data, greatly improve order reading performance.The implementation status of these orders is shown in Fig. 2.As can be seen from the figure these orders is total
The body execution time has larger shortening.
Above disclosed is only an embodiment of the present invention, can not limit the interest field of sheet with this certainly,
One of ordinary skill in the art will appreciate that realizing all or part of journey of above-described embodiment, and made according to the claims in the present invention
Equivalent variations, still fall within the scope that is covered of the present invention.
Claims (6)
1. a kind of method for improving order reading flow performance in solid state hard disc, it is characterised in that solid-state hard disk controller receives master
After machine-readable data instruction, first search whether there are the required data read in hard disk cache, if directly from hard disk cache
In return data to main frame;The operation that data are read from storage medium is triggered if being not present in solid state cache;Simultaneously will
Read the adjacent particularly follow-up data of logical address that data command accesses to read in hard disk cache in advance, realize that data are pre- slow
Deposit.
2. the method according to claim 1 for improving order reading flow performance in solid state hard disc, it is characterised in that described solid
At least provided with a data cached information list in the caching of state hard disk, solid state hard disc leads to after receiving main machine-readable data instruction
Cross and retrieve the data that data cached information list quickly judges to read with the presence or absence of needed in hard disk cache;It is all from solid state hard disc
In read the operation of hard disk cache and all include updating read buffer data message into data cached information list.
3. the method according to claim 2 for improving order reading flow performance in solid state hard disc, it is characterised in that by hard disk
The data of caching are returned to after main frame, are immediately reclaimed the hard disk cache space corresponding to the data, and update caching number
According to information list.
4. the method according to claim 3 for improving order reading flow performance in solid state hard disc, it is characterised in that described slow
Deposit data information list includes each data cached access time.
5. the method according to claim 4 for improving order reading flow performance in solid state hard disc, it is characterised in that described solid
Also include cache garbage collection program on state hard disk controller, the cache garbage collection program, will be slow according to the data cached access time
Reclaimed in the hard disk cache space that the time is deposited more than the time set in advance.
6. a kind of solid state hard disc, it is characterised in that employ suitable in the raising solid state hard disc described in claim 1 to 5 any one
The method of sequence reading flow performance improves the order reading performance of solid state hard disc.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710371746.7A CN107274923A (en) | 2017-05-24 | 2017-05-24 | The method and solid state hard disc of order reading flow performance in a kind of raising solid state hard disc |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710371746.7A CN107274923A (en) | 2017-05-24 | 2017-05-24 | The method and solid state hard disc of order reading flow performance in a kind of raising solid state hard disc |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107274923A true CN107274923A (en) | 2017-10-20 |
Family
ID=60065596
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710371746.7A Pending CN107274923A (en) | 2017-05-24 | 2017-05-24 | The method and solid state hard disc of order reading flow performance in a kind of raising solid state hard disc |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107274923A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109901797A (en) * | 2019-02-25 | 2019-06-18 | 深圳忆联信息系统有限公司 | Data pre-head method, device, computer equipment and storage medium |
CN111324288A (en) * | 2018-12-14 | 2020-06-23 | 北京兆易创新科技股份有限公司 | Memory device |
CN113515232A (en) * | 2021-04-26 | 2021-10-19 | 深圳忆联信息系统有限公司 | Method and device for improving SSD low-command deep reading performance, computer equipment and storage medium |
CN114063917A (en) * | 2021-11-11 | 2022-02-18 | 天津兆讯电子技术有限公司 | Method and microcontroller for fast reading program data |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102378971A (en) * | 2011-08-05 | 2012-03-14 | 华为技术有限公司 | Method for reading data and memory controller |
US20140304464A1 (en) * | 2013-04-03 | 2014-10-09 | Lsi Corporation | Methods and systems for performing deduplication in a data storage system |
CN104503707A (en) * | 2014-12-24 | 2015-04-08 | 华为技术有限公司 | Method and device for reading data |
-
2017
- 2017-05-24 CN CN201710371746.7A patent/CN107274923A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102378971A (en) * | 2011-08-05 | 2012-03-14 | 华为技术有限公司 | Method for reading data and memory controller |
US20140304464A1 (en) * | 2013-04-03 | 2014-10-09 | Lsi Corporation | Methods and systems for performing deduplication in a data storage system |
CN104503707A (en) * | 2014-12-24 | 2015-04-08 | 华为技术有限公司 | Method and device for reading data |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111324288A (en) * | 2018-12-14 | 2020-06-23 | 北京兆易创新科技股份有限公司 | Memory device |
CN111324288B (en) * | 2018-12-14 | 2024-02-23 | 兆易创新科技集团股份有限公司 | Memory device |
CN109901797A (en) * | 2019-02-25 | 2019-06-18 | 深圳忆联信息系统有限公司 | Data pre-head method, device, computer equipment and storage medium |
CN113515232A (en) * | 2021-04-26 | 2021-10-19 | 深圳忆联信息系统有限公司 | Method and device for improving SSD low-command deep reading performance, computer equipment and storage medium |
CN113515232B (en) * | 2021-04-26 | 2023-08-29 | 深圳忆联信息系统有限公司 | Method, device, computer equipment and storage medium for improving SSD low order depth reading performance |
CN114063917A (en) * | 2021-11-11 | 2022-02-18 | 天津兆讯电子技术有限公司 | Method and microcontroller for fast reading program data |
CN114063917B (en) * | 2021-11-11 | 2024-01-30 | 天津兆讯电子技术有限公司 | Method and microcontroller for fast reading program data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102556431B1 (en) | Solid state drive with heterogeneous nonvolatile memory types | |
CN103136121B (en) | Cache management method for solid-state disc | |
US9069484B2 (en) | Buffer pool extension for database server | |
CN107274923A (en) | The method and solid state hard disc of order reading flow performance in a kind of raising solid state hard disc | |
CN103186350B (en) | The moving method of mixing storage system and hot spot data block | |
US20160328176A1 (en) | Providing access information to a storage controller to determine a storage tier for storing data | |
CN107943719B (en) | Flash translation layer control method based on request classification | |
US20110066808A1 (en) | Apparatus, System, and Method for Caching Data on a Solid-State Storage Device | |
US10540095B1 (en) | Efficient garbage collection for stable data | |
KR102437775B1 (en) | Page cache device and method for efficient mapping | |
CN109800185B (en) | Data caching method in data storage system | |
WO2012116369A2 (en) | Apparatus, system, and method for managing contents of a cache | |
CN101673192B (en) | Method for time-sequence data processing, device and system therefor | |
CN107797760B (en) | Method and device for accessing cache information and solid-state drive | |
EP2765522B1 (en) | Method and device for data pre-heating | |
CN107148622B (en) | Intelligent flash memory high-speed cache recorder | |
CN109710541B (en) | Optimization method for Greedy garbage collection of NAND Flash main control chip | |
CN104320448B (en) | A kind of caching of the calculating equipment based on big data and prefetch acceleration method and device | |
CN106502587A (en) | Data in magnetic disk management method and magnetic disk control unit | |
CN108845957B (en) | Replacement and write-back self-adaptive buffer area management method | |
CN103049393B (en) | Memory headroom management method and device | |
CN106681660B (en) | IO scheduling method and IO scheduling device | |
CN107797772A (en) | A kind of garbage retrieving system and method based on flash media | |
CN104391653A (en) | Data block-based cache design method | |
US20150212744A1 (en) | Method and system of eviction stage population of a flash memory cache of a multilayer cache system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171020 |