Acceleration processing method for autonomously outputting NVME protocol command

A processing method and protocol command technology, applied in the direction of electrical digital data processing, input/output to record carrier, input/output process of data processing, etc., can solve the problem of increasing processing overhead and design difficulty, long-term occupation of CPU resources, and time delay Problems such as large consumption, to achieve the effect of improving CPU access efficiency, reducing the number of CPU operations, and low latency

Pending Publication Date: 2020-10-27
SHANDONG SINOCHIP SEMICON
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The existing solution is that the controller gets the NVME command and writes the command into the register inside the controller, and the CPU inside the controller gets the command by reading the register, but an NVME command is 64Byte, and the data volume of a single register is only 4byte , so the CPU needs to read 16 consecutive registers to get an NVME command. This solution has the disadvantages of frequent CPU operations, long-term occupation of CPU resources, and large delay consumption.
[0004] In addition, in order to support different types of application layers, the NVME protocol supports multiple namespaces. One space can correspond to several logical spaces. Each namespace has an ID. HOST uses ID to distinguish different namespaces. Different namespaces can have different data. Structure and related settings, but while supporting multiple namespaces, it will increase the processing overhead and design difficulty of the software for different namespaces

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
  • Acceleration processing method for autonomously outputting NVME protocol command
  • Acceleration processing method for autonomously outputting NVME protocol command
  • Acceleration processing method for autonomously outputting NVME protocol command

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] The present embodiment discloses a method for speeding up processing of autonomously outputting NVME protocol commands, comprising the following steps:

[0030] S01), such as figure 1 As shown, one or more data tightly coupled memory units DTCM (Data Tightly Coupled Memory) are integrated in the CPU of the NVME subsystem, and an AXI MASTER interface is added to the NVME controller. The AXIMASTER interface is connected to the AXI bus, and the address access space It is the DTCM address inside the CPU;

[0031] S02), the NVME controller writes the NVME command into the DTCM through the AXI MASTER interface, and the CPU core in the NVME subsystem directly accesses the DTCM;

[0032] S03), the NVME subsystem writes all the commands with the namespace ID i into the DTCM through the AXI MASTER interface according to the namespace ID i Among them, i=1,2,…,n:

[0033] S04) Each DTCM is implemented in a queue mode, which is jointly maintained by the NVME controller and the CP...

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 acceleration processing method for autonomously outputting an NVME protocol command. According to the method, one or more data tight coupling memory units DTCM are integrated in a CPU of an NVME subsystem; an AXI MASTER interface is added to an NVME controller, the AXI MASTER interface is accessed to an AXI bus, and an address access space is a DTCM address in a CPU; theNVME controller writes an NVME command into the DTCM through an AXI MASTER interface, and a CPU core in the NVME subsystem directly accesses the DTCM; and the NVME subsystem writes all the commands with different namespace IDs into the corresponding DTCMs according to the namespace IDs. According to the invention, the CPU reading operation frequency is reduced, the time delay is reduced, and theperformance is improved.

Description

technical field [0001] The invention relates to the field of NVME protocol command processing, in particular to an accelerated processing method for independently outputting NVME protocol commands. Background technique [0002] NVM Express (NVME): The non-volatile memory host controller interface specification is a set of interface standards mainly developed for PCIe SSD. NVME defines system interfaces, queues, registers, and command sets, and has the advantages of lower latency, better performance, and lower power consumption. [0003] In the processing flow of the existing NVME command, the first is the host stage, the host writes the NVME command to the submission queue (SubmissionQueue, SQ), and the host notifies the controller to extract the NVME command by updating the register SQ Tail Doorbell in the NVME subsystem controller; The second stage is the stage of the NVME subsystem controller. The controller extracts the NVME command from the SQ and executes the command....

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): G06F3/06
CPCG06F3/0611G06F3/0658G06F3/0659G06F3/0679
Inventor 孙中琳刘奇浩粟如发段好强
Owner SHANDONG SINOCHIP SEMICON
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products