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

Connecting and processing method of solid state disk (SSD), SSD and system

A solid-state hard disk and processing device technology, applied in the field of communications, can solve problems such as unfavorable SSD performance, large overhead, and improvement, and achieve the effects of improving performance and reducing the number of setup and shutdown times.

Active Publication Date: 2012-05-02
HUAWEI TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] During the research and practice of the prior art, the inventors of the present invention found that the operation of frequently opening and closing connections is a huge overhead for high-performance SSDs, which is not conducive to the improvement of SSD performance

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
  • Connecting and processing method of solid state disk (SSD), SSD and system
  • Connecting and processing method of solid state disk (SSD), SSD and system
  • Connecting and processing method of solid state disk (SSD), SSD and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] This embodiment will be described from the perspective of SSD.

[0030] Such as figure 1 As shown, the specific process can be as follows:

[0031] 101. Establish a connection between the SSD and the host, and establish a corresponding new command queue and a ready command queue for the connection; wherein, the new command queue is used to store unexecuted host commands received from the host, and the ready command The queue is used to store the execution result of the host command, which has not yet returned a response to the host.

[0032] Since SAS has the feature of supporting multi-device connections, SSDs can establish connections with multiple hosts through SAS. During specific implementation, preset rules can be used to control the timing of establishing connections between each host and SSD. For example, the preset rule can be:

[0033] Establish connection A between the SSD and the first host (referred to as host 1), maintain connection A, and establish con...

Embodiment 2

[0056] According to the method described in Embodiment 1, an example will be given below for further detailed description.

[0057] The SSD establishes connections with multiple hosts through SAS, and establishes new command queues and standby command queues for each host. When the host sends host commands to the SSD, the command receiving module of the SSD receives these host commands and sends the received host commands to the SSD. The command is placed in the new command queue of the corresponding host, and the command execution module of the SSD invokes the required host command from the new command queue for execution, and puts the execution result into the standby command queue of the corresponding host, which can then be passed to the SSD The command receiving module returns a command response to the corresponding host. After executing the host command, the SSD will not immediately disconnect from the corresponding host, but when it is determined that the connection reac...

Embodiment 3

[0089] In order to better implement the above method, the embodiment of the present invention also provides a corresponding SSD, such as Figure 3a As shown, the SSD includes a building unit 301, a receiving unit 302, an executing unit 303 and a closing unit 304;

[0090] Establishing unit 301, configured to establish a connection between the SSD and the host, and establish a new command queue and a standby command queue;

[0091] For example, the SSD receives a connection request message (open_req) sent by the host, and then returns an accept connection message (open_accept) to the host to establish a connection between the SSD and the host according to the received open_req, and establishes a new command queue and a standby command queue.

[0092] It should be noted that since SAS has the feature of supporting multi-device connections, SSDs can establish connections with multiple hosts through SAS, namely:

[0093] The establishment unit 301 is specifically configured to es...

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 a connecting and processing method of a solid state disk (SSD), the SSD and a communication system. In the embodiment of the invention, the method comprises the following steps of: when connection between the SSD and a host is established, establishing a new command queue and a standby command queue; executing host commands by using the queues; and after all host commands are executed, not closing the connection directly but closing the connection when the standby command queue is empty. Therefore, connection establishing and closing times is reduced greatly, the input / output per second (IOPS) of the SSD is enhanced effectively and the improvement on the performance of the SSD is facilitated.

Description

technical field [0001] The present invention relates to the technical field of communication, in particular to a solid state disk (SSD, solid state disk) connection processing method, SSD and a communication system. Background technique [0002] Serial Attached Small Computer System Interface (SAS, Serial Attached SCSI) is a new generation of Small Computer System Interface (SCSI, Small Computer System Interface) technology, and a new interface developed after the parallel SCSI interface. Because SAS has great advantages in transmission speed, reliability and compatibility, it should be widely used on various storage devices, such as SSD. [0003] Since SAS has the feature of supporting multi-device connections, each time SAS needs to establish a connection before interacting between an initiator (such as a host) and a target (such as an SSD). Wherein, the interaction includes issuing commands, transmitting data, or returning responses. Since the traditional disk seek time...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F3/06
Inventor 张靖余夕亮张昆
Owner HUAWEI 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