Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Execution method and device of queue command of NVMe protocol and storage medium

An execution method and execution device technology, applied in the storage field, can solve the problems that cannot be executed first, commands cannot be executed first, etc.

Active Publication Date: 2018-03-30
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF17 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The traditional selection method of candidate commands is to poll all the queues one by one without considering the priority of the queues, resulting in many commands in high priority queues being unable to be executed preferentially. For example, mana

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Execution method and device of queue command of NVMe protocol and storage medium
  • Execution method and device of queue command of NVMe protocol and storage medium
  • Execution method and device of queue command of NVMe protocol and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0051] The embodiment of the present invention discloses a method, device and storage medium for executing queue commands of the NVMe protocol, which avoids the problem that commands with higher priority in the NVMe queue cannot be executed preferentially.

[0052] See figure 1 , figure 1 A schematic flowchart of an execution method of a queue command of the NVMe protocol provided by an embodiment of the present invention, including:

[0053]S101. Receive an exec...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an execution method of a queue command of an NVMe protocol. The method comprises the steps that when an execution instruction of the queue command is received, a target queue is selected in a plurality of queues through a priority rule according to the execution instruction first, and then a target queue instruction in the target queue is executed through a predefined rule.Therefore, when queue commands in the queues are executed, the queue high in priority is selected as the target queue according to the priority rule, the target queue meeting the priority rule is executed according to the predefined rule, and the problem that all the queues are equally selected so that the queue command high in priority cannot be executed is avoided. The invention further discloses an execution device of the queue command of the NVMe protocol and a readable storage medium. By means of the execution device and the readable storage medium, the technical problem can also be solved.

Description

technical field [0001] The present invention relates to the field of storage, in particular to a method, device and storage medium for executing queue commands of the NVMe protocol. Background technique [0002] NVMe (Non-Volatile Memory) is a protocol specially designed for flash storage. It is a specification of SSD (Solid State Drive) using PCI-E channel. The parallelism of SSD can be fully utilized by the hardware and software of the host computer. Compared with the current AHCI standard, the NVMe standard can bring various performance improvements . [0003] The NVMe protocol designs a variety of queues, including Admin Submission Queue (ASQ) queues, AdminCompletion Queue (ACQ) queues, IO Submission Queue (IOSQ) queues, and IO CompletionQueue (IOCQ) queues. [0004] When the host needs to send a management command to the NVMe SSD, it will submit the command to ASQ, and then send an interrupt to the NVMe controller. The NVMe controller will take the command out of ASQ,...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F13/18G06F13/42
CPCG06F13/18G06F13/4234
Inventor 王超
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products