CN109508151A - A method of promoting solid state hard disk performance - Google Patents

A method of promoting solid state hard disk performance Download PDF

Info

Publication number
CN109508151A
CN109508151A CN201811356774.2A CN201811356774A CN109508151A CN 109508151 A CN109508151 A CN 109508151A CN 201811356774 A CN201811356774 A CN 201811356774A CN 109508151 A CN109508151 A CN 109508151A
Authority
CN
China
Prior art keywords
mapping table
hard disk
solid state
state hard
interim
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
Application number
CN201811356774.2A
Other languages
Chinese (zh)
Inventor
不公告发明人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Focus Information Technology Co Ltd
Original Assignee
Suzhou Focus Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Suzhou Focus Information Technology Co Ltd filed Critical Suzhou Focus Information Technology Co Ltd
Priority to CN201811356774.2A priority Critical patent/CN109508151A/en
Publication of CN109508151A publication Critical patent/CN109508151A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0679Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention proposes a kind of methods for promoting solid state hard disk performance.Reach the method for responding user data write operation in mapping table memory phase by increasing interim mapping table, to effectively promote the write performance of this stage SSD, reduces performance shake, promote solid state hard disk performance.Judge whether interim mapping table is empty it is characterized in that increasing after the operation for needing to retrieve or update mapping table in the read command of solid state hard disk system response host or write order, if being not sky, then increase retrieval or update the operation of interim mapping table, the retrieval or the method for updating the operating method of interim mapping table and operating mapping table are consistent.It is characterized in that the data structure of mapping table and interim mapping table is consistent.

Description

A method of promoting solid state hard disk performance
Technical field
The present invention relates to solid state hard disk control technology, in particular to a kind of method for promoting solid state hard disk performance.
Background technique
During SSD operation while processes user data, some system datas are also handled, and often in processing system When data, SSD can block the response for user data.Wherein typical scene first is that solid-state hard disc equipment usually in memory Logic is maintained to the mapping table of physical address, with the write-in of user data, mapping table can constantly update, and system is in order to answer The mapping table powered on again after power down is rebuild, mapping table is written to NAND flash by meeting timing in whole or in part In.Existing strategy is all when suspending the modification and storage for mapping table during this, this relates to mapping table during this period It is in the lock state, the write request of user can be suspended, and lead to not the write order for responding user data, to operate the phase herein Between, SSD performance can a degree of decline.Write performance during Fig. 1 is mapping table storage shakes schematic diagram, in system maintenance The write performance decline i.e. write performance shake of short time are caused during modifying Mapping table flush to mapping table.? The write performance of external SSD apparently at this time will decline, and on the whole be exactly that inconsistent there are write performance jitter problems for writing rate.
Summary of the invention
For disadvantages described above, object of the present invention is to how overcome to modify Mapping to mapping table in system maintenance Solid state hard disk performance jitter problem caused by during table flush.
The invention proposes a kind of methods for promoting solid state hard disk performance in order to solve problem above, it is characterised in that solid Increase the interim map operation of creation in state hard-disk system, solid state hard disk system also creates one while creating mapping table The interim mapping table of a sky, solid state hard disk system is during responding the write order that host issues, when solid state hard disk system executes To when needing to update mapping table, detect current mapping table be in the lock state can not execute when, then directly by need update arrive The list item data of mapping table are updated to interim mapping table;Whether mapping table judges in interim mapping table to be sky when unlocking, if not Then the list item data in interim mapping table are merged into mapping table for sky, and empty interim mapping table.
The method of the promotion solid state hard disk performance, it is characterised in that in the read command of solid state hard disk system response host Or increase after the operation for needing to retrieve or update mapping table in write order and judge whether interim mapping table is sky, if not being Sky then increases retrieval or updates the operation of interim mapping table, the retrieval or the operating method and operation for updating interim mapping table The method of mapping table is consistent.
The method of the promotion solid state hard disk performance, it is characterised in that the data structure of mapping table and interim mapping table is protected It holds consistent.
The present invention responds the side of user data write operation in mapping table memory phase to reach by increasing interim mapping table Method reduces performance shake, promotes solid state hard disk performance to effectively promote the write performance of this stage SSD.
Detailed description of the invention
Write performance during Fig. 1 is mapping table storage shakes schematic diagram;
Fig. 2 is that the mapping table of write order triggering updates schematic diagram;
Fig. 3 is the schematic diagram of routine data write-in;
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
A mapping table is all maintained inside solid state hard disk, which has recorded number stored in FLASH in detail According to logical address to the transformational relation of physical address, all user data read-write operations will be according to the logical address of order It just can be carried out the corresponding read-write operation for being directed to NAND flash after obtaining corresponding physical address after inquiry mapping table.Fig. 3 is The schematic diagram of routine data write-in, all read write command WR are required to execute after inquiry mapping table obtains physical address and can just be held Read-write operation of the row to NAND flash;Fig. 2 be write order triggering mapping table update schematic diagram, write operation executed it is right Also need to increase the update operation to mapping table after the write operation of NAND flash, mapping table needs to patrol new write-in data page It collects the corresponding physical address PPA of address LPA and is updated operation, this write-in data of host could be replied after the completion of only updating It completes.
With the write-in of user data, mapping table can constantly update, and system is in order to cope with reflecting of being powered on after power down again Firing table is rebuild, being written in NAND flash in whole or in part by mapping table of meeting timing.It is existing during mapping table stores Strategy, when occurring needing to be carrying out because of system maintenance that mapping table is written to NAND in whole or in part Flash then locks current mapping table, and the external modification for mapping table of pause operates, and write request of user can be temporary during this Stop, therefore even if current write operation has actual write in NAND flash, but the update due to being unable to complete mapping table Operation, the update that just can be performed after can only waiting in mapping table write-in NAND flash to mapping table operate, suspend during causing The problem of responding write operation.Reality executes mapping table in system and NAND is written since existing solid state hard disk all supports multichannel Other channels still can execute read write command parallel when flash, therefore because can not execute update either access map The operation of table and suspend read write command completely is inappropriate.
This programme is applied to by increasing interim mapping table temp_mapping_table, the table newly in main mapping table storage period Between, if user issues write request, the mapping table modification information that write request generates is recorded in interim mapping table, thus will not The modification for influencing ongoing main mapping table in the same time, it is real without carrying out the operation of pause user data write order The quick response of existing time period user command write operation.Externally, the decline for inscribing performance at this time can be substantially reduced, is protected Demonstrate,prove the consistency of system performance.
By increasing the interim map operation of creation in solid state hard disk system, solid state hard disk system is mapped in creation Also an empty interim mapping table is created while table, the data structure of mapping table and interim mapping table is consistent, and solid-state is hard Disc system is during responding the write order that host issues, when solid state hard disk system, which is gone to, to be needed to update mapping table, detection It is in the lock state to current mapping table when can not execute, then will directly need to update list item data update to mapping table to facing When mapping table;Whether mapping table judges in interim mapping table to be sky when unlocking, by the table in interim mapping table if being not sky Item data is merged into mapping table, and empties interim mapping table.
In the operation for needing to retrieve or update mapping table in the read command of solid state hard disk system response host or write order Increase afterwards and judge whether interim mapping table is empty, if being not sky, increases retrieval or update the operation of interim mapping table, it is described The method of the operating method and operation mapping table of retrieving or update interim mapping table is consistent.
The above disclosure is only one embodiment of the present invention, and of course, the scope of this right cannot be limited by this, Those skilled in the art can understand all or part of the processes for realizing the above embodiment, and according to the claims in the present invention institute The equivalent variations of work still falls within the range that the present invention is covered.

Claims (3)

1. a kind of method for promoting solid state hard disk performance, it is characterised in that increase a creation in solid state hard disk system and temporarily reflect Firing table operation, solid state hard disk system also create an empty interim mapping table, solid state hard disk system while creating mapping table During responding the write order that host issues, when solid state hard disk system, which is gone to, to be needed to update mapping table, detect current Mapping table is in the lock state when can not execute, then will directly need to update the list item data for arriving mapping table and update to interim mapping Table;Whether mapping table judges in interim mapping table to be sky when unlocking, by the list item data in interim mapping table if being not sky It is merged into mapping table, and empties interim mapping table.
2. the method according to claim 2 for promoting solid state hard disk performance, it is characterised in that responded in solid state hard disk system In the read command of host or write order need retrieve or update mapping table operation after increase judge interim mapping table whether be Sky increases retrieval or updates the operation of interim mapping table if being not sky, the retrieval or the operation for updating interim mapping table Method and the method for operation mapping table are consistent.
3. the method according to claim 1 or 2 for promoting solid state hard disk performance, it is characterised in that mapping table and interim mapping The data structure of table is consistent.
CN201811356774.2A 2018-11-15 2018-11-15 A method of promoting solid state hard disk performance Pending CN109508151A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811356774.2A CN109508151A (en) 2018-11-15 2018-11-15 A method of promoting solid state hard disk performance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811356774.2A CN109508151A (en) 2018-11-15 2018-11-15 A method of promoting solid state hard disk performance

Publications (1)

Publication Number Publication Date
CN109508151A true CN109508151A (en) 2019-03-22

Family

ID=65748491

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811356774.2A Pending CN109508151A (en) 2018-11-15 2018-11-15 A method of promoting solid state hard disk performance

Country Status (1)

Country Link
CN (1) CN109508151A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111949559A (en) * 2019-05-16 2020-11-17 北京兆易创新科技股份有限公司 Data writing method and device and storage equipment
WO2023103495A1 (en) * 2021-12-08 2023-06-15 深圳忆联信息系统有限公司 Delayed updating method and apparatus for mapping table of solid state disk, and computer device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101477492A (en) * 2009-01-21 2009-07-08 华中科技大学 Circulating rewriting flash memory equalization method used for solid state disk
CN105700830A (en) * 2016-02-26 2016-06-22 湖南国科微电子股份有限公司 Solid-state disk master control supporting WORM storage, solid-state disk and WORM storage method
CN107957852A (en) * 2017-10-13 2018-04-24 记忆科技(深圳)有限公司 A kind of method for lifting solid state hard disc consistency of performance

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101477492A (en) * 2009-01-21 2009-07-08 华中科技大学 Circulating rewriting flash memory equalization method used for solid state disk
CN105700830A (en) * 2016-02-26 2016-06-22 湖南国科微电子股份有限公司 Solid-state disk master control supporting WORM storage, solid-state disk and WORM storage method
CN107957852A (en) * 2017-10-13 2018-04-24 记忆科技(深圳)有限公司 A kind of method for lifting solid state hard disc consistency of performance

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111949559A (en) * 2019-05-16 2020-11-17 北京兆易创新科技股份有限公司 Data writing method and device and storage equipment
CN111949559B (en) * 2019-05-16 2024-04-16 兆易创新科技集团股份有限公司 Data writing method and device and storage equipment
WO2023103495A1 (en) * 2021-12-08 2023-06-15 深圳忆联信息系统有限公司 Delayed updating method and apparatus for mapping table of solid state disk, and computer device and storage medium

Similar Documents

Publication Publication Date Title
US10019196B2 (en) Efficient enforcement of command execution order in solid state drives
TWI628542B (en) Methods for gc (garbage collection) por (power off recovery) of a flash memory device and apparatuses using the same
CN107957852A (en) A kind of method for lifting solid state hard disc consistency of performance
EP3588259B1 (en) Garbage collection method for storage media, storage medium, and program product
US20150253992A1 (en) Memory system and control method
CN109558457A (en) A kind of method for writing data, device, equipment and storage medium
JP2009163647A (en) Disk array device
CN110674056A (en) Garbage recovery method and device
CN107632943A (en) A kind of method and solid state hard disc of solid state hard disc data protection
CN109508151A (en) A method of promoting solid state hard disk performance
CN109684271A (en) Snapshot data management method, device, electronic equipment and machine readable storage medium
CN109117297A (en) Fault positioning method and device for solid state disk
US11340806B2 (en) Meta data processing during startup of storage devices
CN104461384A (en) Data write-in method and storage device
US20160070648A1 (en) Data storage system and operation method thereof
US20160011792A1 (en) Media control device and control method
CN108431784A (en) Access request processing method, device and computer system
US8631166B2 (en) Storage devices with bi-directional communication techniques and method of forming bi-directional communication layer between them
CN108932209B (en) Memory device and operation method thereof
CN106649131B (en) Solid state disk and method and system for monitoring logical address range conflict thereof
US9520197B2 (en) Adaptive erase of a storage device
CN110781133B (en) ROW snapshot method, system, equipment and computer readable storage medium
CN112825098A (en) Data protection method and device, computing equipment and storage medium
CN103713860A (en) Method and system for building virtual disk base on basis of backup architecture
US20160259572A1 (en) Storage system and storage control method

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190322