CN102436352A - Method for increasing NCQ (Native Command Queuing) efficiency of SATA (Serial Advanced Technology Attachment) interface of SSD (Solid State Drive) - Google Patents
Method for increasing NCQ (Native Command Queuing) efficiency of SATA (Serial Advanced Technology Attachment) interface of SSD (Solid State Drive) Download PDFInfo
- Publication number
- CN102436352A CN102436352A CN201110250022XA CN201110250022A CN102436352A CN 102436352 A CN102436352 A CN 102436352A CN 201110250022X A CN201110250022X A CN 201110250022XA CN 201110250022 A CN201110250022 A CN 201110250022A CN 102436352 A CN102436352 A CN 102436352A
- Authority
- CN
- China
- Prior art keywords
- instruction
- ssd
- ncq
- instructions
- correlativity
- 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
Images
Abstract
The invention provides a method for increasing the NCQ (Native Command Queuing) efficiency of an SATA (Serial Advanced Technology Attachment) interface of an SSD (Solid State Drive), belonging to the technical field of micro-electronics. The method comprises the following steps of: finally executing a write instruction in instructions in a command queue according to different speeds of read and write; analyzing the correlation of the instructions, placing the instructions with the correlation together and executing according to an instruction press-in sequence and then placing the instructions without correlation together and executing according to the sequence; and executing the instructions with the correlation before the instructions without the correlation. Compared with the prior art, the method disclosed by the invention has increased read-write efficiency of the SSD.
Description
Technical field
The present invention relates to microelectronics technology, specifically a kind of method that improves the SATA interface NCQ efficient of SSD.
Background technology
SSD is because its storage medium is NandFlash, so it has just had similar advantage with NandFlash: light, storage density is big, low in energy consumption, antidetonation and temperature adaptation wide ranges.And that the SATA interface has transmission speed is fast, self has CRC check, has very high data transmission accuracy, supports hot plug, has therefore occupied most markets of memory device.
The SSD of SATA interface proportion in solid-state storage is very big, and NCQ is designed to improve the performance of hard disk under the load condition that increases day by day and the technology of stability.Send many hard disks that instruct the user when application program of user, the NCQ hard disk can be optimized the order of accomplishing these instructions, reaches the purpose that promotes performance thereby reduce mechanical load.The NCQ technology is a kind of inner optimization work load of hard disk execution sequence that makes, and realizes the intelligent data management through the order in the internal queues is resequenced, and improves the various performance restrictions that hard disk receives because of mechanical part.But this is obviously for the solid state hard disc that does not have mechanical part (SSD) and be not suitable for, and therefore, proposes the NCQ mechanism of a kind of suitable SSD, can have very great help for improving the SSD read-write efficiency.
Summary of the invention
The method that the purpose of this invention is to provide the SATA interface NCQ efficient of a kind of SSD of raising.
The objective of the invention is to realize that the speed according to read and write is different earlier with instruction in the command queue (Command Queue), is placed on last execution writing to instruct by following mode; The order that is pressed into according to instruction again, the correlativity of analysis instruction is put the instruction with correlativity and according to being pressed into the order execution, putting the instruction that does not have correlativity together and carry out in proper order together; Carry out before being placed on instruction the instruction that does not have correlativity with correlativity.
The instruction of correlativity is meant the instruction that writes and read identical address or read identical data.
The present invention compares with prior art, utilizes the characteristics that the NCQ of SATA can out of order execution command, according to the characteristics of Nandflash self, arranges the instruction sequences among the Queue again, makes the SATA instruction carry out to such an extent that efficient is improved.
Description of drawings
Accompanying drawing 1 is a work system structured flowchart of the present invention.
Embodiment
Detailed explanation below below in conjunction with accompanying drawing a kind of method of the SATA interface NCQ efficient that improves SSD being done.
Speed according to read and write is different earlier with the instruction in the command queue (Command Queue), is placed on last execution writing instruction; The order that is pressed into according to instruction again, the correlativity of analysis instruction is put the instruction with correlativity and according to being pressed into the order execution, putting the instruction that does not have correlativity together and carry out in proper order together; Carry out before being placed on instruction the instruction that does not have correlativity with correlativity.The instruction of correlativity is meant the instruction that writes and read identical address or read identical data.
Workflow is that the SATA instruction is pressed into instruction in the command queue (Queue) through the command analysis device; For example, system has 8 passages, and each passage has an independently Queue; Once can be pressed into maximum 12 instructions among the Queue, be respectively cmd0 to cmdb.Instruction is mainly reads or writes.The order that method is pressed into according to instruction earlier, whether analysis instructs has correlativity, like cmd0 and cmd2, be respectively the data that write and read identical address, but cmd0 is pressed into Queue earlier, so the sequencing of cmd0 and cmd2 is that cmd0 is preceding.Because after cmd0 was finished, the data that write so can data directly be read, and did not need from Nandflash, to read also in buffer again, therefore, cmd2 is adjusted to after the cmd0, before the cmd1.Cmd7 and cmd9 are similarly and read identical data, and the data that also have no between them change, therefore, and cmd7 and the cmd9 execution of will putting together.Other instruction does not have correlativity again, and therefore, cmd3 and cmd6 are for writing instruction, and speed is slow, so be placed on the last of Queue, other read instruction and are placed on before them.The adjustment of instruction sequences among the Queue finishes like this, and order is carried out afterwards.
The present invention compares with prior art, utilizes the characteristics that the NCQ of SATA can out of order execution command, according to the characteristics of Nandflash self; Again arrange the instruction sequences among the Queue; Make the SATA instruction carry out to such an extent that efficient is improved, thereby, have good value for applications.
Except that the described technical characterictic of instructions, be the known technology of those skilled in the art.
Claims (2)
1. a method that improves the SATA interface NCQ efficient of SSD is characterized in that the speed according to read and write is different earlier with the instruction in the command queue (Command Queue), is placed on last execution writing instruction; The order that is pressed into according to instruction again, the correlativity of analysis instruction is put the instruction with correlativity and according to being pressed into the order execution, putting the instruction that does not have correlativity together and carry out in proper order together; Carry out before being placed on instruction the instruction that does not have correlativity with correlativity.
2. method according to claim 1 is characterized in that the instruction of correlativity is meant the instruction that writes and read identical address or read identical data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110250022XA CN102436352A (en) | 2011-08-29 | 2011-08-29 | Method for increasing NCQ (Native Command Queuing) efficiency of SATA (Serial Advanced Technology Attachment) interface of SSD (Solid State Drive) |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110250022XA CN102436352A (en) | 2011-08-29 | 2011-08-29 | Method for increasing NCQ (Native Command Queuing) efficiency of SATA (Serial Advanced Technology Attachment) interface of SSD (Solid State Drive) |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102436352A true CN102436352A (en) | 2012-05-02 |
Family
ID=45984439
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110250022XA Pending CN102436352A (en) | 2011-08-29 | 2011-08-29 | Method for increasing NCQ (Native Command Queuing) efficiency of SATA (Serial Advanced Technology Attachment) interface of SSD (Solid State Drive) |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102436352A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103064636A (en) * | 2012-12-24 | 2013-04-24 | 创新科存储技术有限公司 | Solid-state disk read-write method and solid-state disk |
CN103425438A (en) * | 2013-07-15 | 2013-12-04 | 记忆科技(深圳)有限公司 | Solid state disk and method for optimizing write request of solid state disk |
CN104462181A (en) * | 2014-10-08 | 2015-03-25 | 记忆科技(深圳)有限公司 | SSD rear end data path management acceleration module and SSD equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070088860A1 (en) * | 2005-09-27 | 2007-04-19 | Chang Nai-Chih | Command scheduling and affiliation management for serial attached storage devices |
CN101196850A (en) * | 2007-12-28 | 2008-06-11 | 祥硕科技股份有限公司 | Data access integration method and its system |
CN102053914A (en) * | 2009-10-30 | 2011-05-11 | 慧荣科技股份有限公司 | Memory device and data access method for memory unit |
CN102141898A (en) * | 2011-04-26 | 2011-08-03 | 记忆科技(深圳)有限公司 | Method and system for reordering read-write commands in solid state disk |
-
2011
- 2011-08-29 CN CN201110250022XA patent/CN102436352A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070088860A1 (en) * | 2005-09-27 | 2007-04-19 | Chang Nai-Chih | Command scheduling and affiliation management for serial attached storage devices |
CN101196850A (en) * | 2007-12-28 | 2008-06-11 | 祥硕科技股份有限公司 | Data access integration method and its system |
CN102053914A (en) * | 2009-10-30 | 2011-05-11 | 慧荣科技股份有限公司 | Memory device and data access method for memory unit |
CN102141898A (en) * | 2011-04-26 | 2011-08-03 | 记忆科技(深圳)有限公司 | Method and system for reordering read-write commands in solid state disk |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103064636A (en) * | 2012-12-24 | 2013-04-24 | 创新科存储技术有限公司 | Solid-state disk read-write method and solid-state disk |
CN103064636B (en) * | 2012-12-24 | 2016-04-13 | 创新科存储技术有限公司 | A kind of solid state disk read-write method and a kind of solid state hard disc |
CN103425438A (en) * | 2013-07-15 | 2013-12-04 | 记忆科技(深圳)有限公司 | Solid state disk and method for optimizing write request of solid state disk |
CN103425438B (en) * | 2013-07-15 | 2016-08-10 | 记忆科技(深圳)有限公司 | Optimize method and the solid state hard disc thereof of write request of solid state disk |
CN104462181A (en) * | 2014-10-08 | 2015-03-25 | 记忆科技(深圳)有限公司 | SSD rear end data path management acceleration module and SSD equipment |
CN104462181B (en) * | 2014-10-08 | 2017-12-19 | 记忆科技(深圳)有限公司 | A kind of SSD Back end datas path management accelerating module and SSD equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100801015B1 (en) | Hybrid hard disk drive and data storing method | |
US8341374B2 (en) | Solid state drive and related method of scheduling operations | |
Park et al. | A high performance controller for NAND flash-based solid state disk (NSSD) | |
CN101419828B (en) | Hard disc video recording and retrieval method for analog magnetic tape serial schema | |
Park et al. | Exploiting internal parallelism of flash-based SSDs | |
US8072704B1 (en) | Energy-saving operation of a storage device | |
US8195971B2 (en) | Solid state disk and method of managing power supply thereof and terminal including the same | |
CN102096556B (en) | Method for copying data as well as method, device and system for reading data | |
US9274865B2 (en) | Implementing enhanced buffer management for data storage devices | |
CN102981783A (en) | Cache accelerating method based on Nand Flash | |
CN103631528B (en) | Reading/writing method, system and read-write controller with solid state hard disc as buffer | |
CN103049216B (en) | Solid state hard disc and data processing method, system | |
US20140075102A1 (en) | Controller of a nonvolatile memory device and a command scheduling method thereof | |
CN104424103A (en) | Management method for cache in solid state storage device | |
JP2009163647A (en) | Disk array device | |
CN102982122A (en) | Repeating data deleting method suitable for mass storage system | |
WO2016082227A1 (en) | Data storage method and apparatus | |
CN105446665A (en) | Computer storage acceleration system and optimization method thereof | |
JP2010532061A5 (en) | ||
CN101794259A (en) | Data storage method and device | |
CN102541458A (en) | Method for increasing data writing speed of electronic hard disk | |
CN102436352A (en) | Method for increasing NCQ (Native Command Queuing) efficiency of SATA (Serial Advanced Technology Attachment) interface of SSD (Solid State Drive) | |
US20160283387A1 (en) | Dynamic caching method and system for data storage system | |
CN103425439A (en) | Method for reading and writing solid-state disk and solid-state disk thereof | |
CN106681660A (en) | IO (input/output) scheduling method and IO scheduling device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20120502 |