Solid-state drive with initiator mode

By adopting the initiator mode and direct coupling technology in the solid-state drive, direct requests and command transmission between SSDs are realized, which solves the problem of low efficiency in the existing technology and improves the performance and efficiency of the data storage system.

CN111352583BActive Publication Date: 2024-10-15MARVELL ASIA PTE LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN201911327339.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-12-17
Filing Date
2019-12-20
Publication Date
2024-10-15
Estimated Expiration
2039-12-20

AI Technical Summary

Technical Problem

Existing solid-state drives (SSDs) need to transmit requests and commands through the host device during the data storage process, resulting in inefficiencies such as copying and protocol conversion, and large communication delays.

Method used

The SSD is configured to operate in initiator mode, passing requests and commands between SSD devices through direct coupling, eliminating dependence on the host device, using a collection of queues and local processors to achieve direct communication.

Benefits of technology

It improves communication efficiency between SSDs, reduces dependence on host devices, reduces communication delays and processing time, and enhances the performance of data storage systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111352583B_ABST
    Figure CN111352583B_ABST
Patent Text Reader

Abstract

Embodiments of this disclosure relate to a solid-state drive with an initiator mode. A solid-state drive, configured to store persistent digitally encoded data, can operate in initiator mode. When operating in initiator mode, the solid-state drive can initiate the generation and issuance of commands or requests to cause another solid-state drive to perform data storage-related processes. Commands or requests generated by the solid-state drive can be directly transmitted to another solid-state drive without communication through an intermediate device such as a host processor.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] The present disclosure claims the benefit of priority to U.S. Provisional Application Serial No. 62 / 783,060, filed on December 20, 2018, entitled “SOLID-STATE DRIVE (SSD) INITIATOR MODE,” the contents of which are incorporated herein by reference in their entirety. Technical Field

[0003] The present disclosure relates generally to the field of data storage for computer and electronic network systems, and more particularly to operating modes for data storage devices. Background Art

[0004] A solid-state drive (SSD) is a data storage device that uses nonvolatile memory such as NAND (not AND) or NOR (not OR) nonvolatile memory to store persistent digitally encoded data. An SSD can be configured to emulate a hard disk drive, i.e., a device that stores persistent digitally encoded data on the magnetic surface of a rapidly rotating platter, and replaces a hard disk drive (HDD) in many applications.

[0005] The host is usually coupled to the SSD to read data from the SSD, write data to the SSD, and erase data from the SSD. The host can be coupled to the SSD through an intermediate device such as an interface switch. In order to facilitate the reading, writing, and erasing of data, the SSD may include: an SSD controller having a host interface for communicating with the host; and a non-volatile memory interface for managing the non-volatile memory included at the SSD. The host interface includes addressing, data bus, and controls for communicating with the host, and complies with data communication protocols such as Serial Advanced Technology Attachment (SATA), Serial Attached Small Computer System Interface (SAS), high-speed non-volatile memory (NVMe), or Universal Serial Bus (USB), while the non-volatile memory interface includes addressing, data bus, and controls for managing non-volatile memory, and complies with data communication protocols such as Open NAND Flash Interface (ONFI) for NAND non-volatile memory.

[0006] In operation, the host generally issues requests to the data storage service, such as write, read and erase requests, to perform write, read and erase operations on the data stored at the SSD, respectively. In order to perform a write operation, the host sends a write request to the SSD through an interface switch in various cases. The write request indicates the data to be written and the data address where the data is written. The write request is received at the host interface of the SSD. Then, the SSD controller executes hardware and / or firmware to write the data to the non-volatile memory via the non-volatile memory interface based on the data address. In order to perform a read operation, the host sends a read request to the SSD through an interface switch in some cases. The read request indicates the data address to be read. The read request is received at the host interface of the SSD. The SSD controller executes hardware and / or firmware to read the data in the non-volatile memory based on the data address. The SSD controller receives the data read from the non-volatile memory via the non-volatile memory interface and provides the read data to the host via the host interface. In order to perform an erase operation, the host sends an erase request to the SSD through an interface switch in some cases. The erase request indicates the data address to be erased. An erase request is received at a host interface of the SSD. The SSD controller executes hardware and / or firmware to perform an erase operation in the non-volatile memory based on the data address. Summary of the invention

[0007] The present disclosure relates to a solid-state drive (SSD) configured to generate and initiate one or more requests and commands that can be directly transmitted between one or more peer SSD devices without having these requests and commands transmitted between the SSD devices through a host device. In the embodiments described in the present disclosure, the SSD can operate in an initiator mode and use direct coupling to generate and issue requests and / or commands to one or more other SSDs, and the direct coupling does not involve the use of a host device to which the SSD can also be coupled. This initiation and direct coupling of requests and commands between SSD devices can eliminate the need to have these requests and / or commands copied by the host device as part of handling the requests and / or commands transmitted between separate SSD devices, and can also eliminate the need to convert requests and / or commands from one protocol or format to a different protocol or format for a communication standard, which is usually required if the requests and / or commands are not transmitted between SSD devices through a host device using the direct coupling described in the present disclosure.

[0008] According to one aspect of the described systems and techniques, a method includes: establishing a queue set at a first solid-state drive and at a second solid-state drive, the queue set being configured to control direct communication between the first solid-state drive and the second solid-state drive through an interconnect coupling the first solid-state drive with the second solid-state drive; initiating generation of at least one command or request by the first solid-state drive; and driving the at least one command or request by the first solid-state drive through the interconnect so that the at least one command or request is directly transmitted between the first solid-state drive and the second solid-state drive.

[0009] According to another aspect of the described systems and techniques, a non-transitory computer-readable medium storing instructions that, when executed by one or more processors, cause the one or more processors to at least: establish a queue set at a first solid-state drive and at a second solid-state drive, the queue set configured to control direct communication between the first solid-state drive and the second solid-state drive through an interconnect coupling the first solid-state drive with the second solid-state drive; initiate generation of at least one command or request at the first solid-state drive; and drive the at least one command or request through the interconnect so that the at least one command or request is directly transmitted between the first solid-state drive and the second solid-state drive.

[0010] According to yet another aspect of the described systems and techniques, an apparatus includes: a solid-state drive including a local processor and a memory array, wherein the memory array is configured to store persistent digitally encoded data on a non-volatile memory, and wherein the local processor is configured to operate in an initiator mode, wherein the local processor initiates generation of a command or request for a data storage process that is transmitted directly to one or more additional solid-state drives communicatively coupled to the solid-state drive via an interconnect. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 An example configuration of a storage system including a solid-state storage drive configured to operate in initiator mode is illustrated.

[0012] Figure 2 is a flow chart of a method according to various examples described in this disclosure and any equivalents thereof.

[0013] Figure 3 is a simplified example block diagram of a solid state drive that may be configured according to the various examples as described throughout this disclosure and any equivalents thereof.

[0014] The drawings are for the purpose of illustrating example embodiments, but it is to be understood that the embodiments are not limited to the arrangements and instrumentality shown in the drawings. DETAILED DESCRIPTION

[0015] The present disclosure provides examples and details of data storage services provided to one or more hosts, the one or more hosts having a switching device coupled between the one or more hosts and a solid-state drive (SSD) configured to provide data storage. The SSD is configured to receive, process and respond to requests for data storage services made by one or more hosts and transmitted through the switching device. In addition, the SSD itself is configured to operate as a request initiator, wherein the request for data storage services may originate from a first SSD of one of the one or more SSDs, wherein the first SSD may be referred to as an initiator SSD. The request for (multiple) data storage services initiated by the initiator SSD may be transmitted to a second SSD (referred to as a target SSD) in the plurality of SSDs, received, processed and responded to by it, and the communication between the initiator SSD and the target SSD uses a direct communication link coupling the initiator SSD and the target SSD without communicating through an intermediate device host processor. Although an intermediate device such as a switching device or a host is not required, one or more intermediate devices may be operated in a pass-through mode as part of a connectivity scheme coupling one or more SSDs. The principles described herein may be applied to control the performance of other types of storage devices, such as hard disk drives (HDDs) or hybrid SSD / HDD drives.

[0016] Figure 1An example configuration of a data storage system 100 is illustrated, which provides various data storage services to a host, and also provides an SSD, which is configured to operate as an initiator of a command, or an execution of a data storage process, or a request for a data storage service, and the command or request is directly transmitted between the SSDs without the need for the host coupled to the system to originate the command or request, and in some examples, the SSDs do not need to communicate between the SSDs through an intermediate device such as a host processor. The data storage system 100 may include one or more hosts 102 (hereinafter also referred to as "host 102"), a data storage device 136 including one or more solid-state drives (SSDs) 130, 140, 150 communicatively coupled to the one or more hosts through a switching device 110. One or more hosts can be used as servers that provide information resources, services, and / or applications to users or other nodes on a network. In some examples, one or more hosts may include a virtual machine (VM). The VM can be implemented on the host using a high-speed peripheral component interconnect (PCIe) single root input / output virtualization (SR-IOV). In various examples, one or more hosts 102 may be coupled to a network 106 via a communication link 101, such as a wired network link, such as a local area network (LAN) or a wide area network (WAN), and / or a wireless communication link, such as the Internet. Network 106 may include one or more other devices, such as one or more additional hosts, interface switches, and / or data storage systems communicatively coupled to one or more hosts 102, where these additional devices and systems may request and receive data storage services involving one or more of SSDs 130, 140, and / or 150.

[0017] In various examples, one or more of SSDs 130, 140, and 150 may include an integrated circuit (IC)-based storage mechanism that can persistently store data to enable one or more hosts 102 to provide the required functionality. SSDs 130, 140, and 150 may be able to provide higher bandwidth and lower latency than a hard disk drive (HDD).

[0018] An interface switch ("switch") 110 may be placed between one or more hosts 102 and SSDs 130, 140, and 150, and may be configured to communicatively couple the one or more hosts to the SSDs. In various examples, the switch 110 is an NVMe switch that is configured to process NVMe commands to control PCIe-based point-to-point switch connections between the one or more hosts 102 and the SSDs 130, 140, and 150. In some examples of the system 100, each SSD has its own dedicated connection to the one or more hosts 102. In various examples, the switch 110 includes a processor circuit 114 that is communicatively coupled to a host interface 112, an SSD interface 116, and a memory that includes a queue 118.

[0019] Examples of processor circuit 114 may include one or more computer processors such as a microprocessor, and additional circuits such as one or more of a management processor module, a command processor module, and a data processor module. In some examples, the host interface may be an endpoint, such as but not limited to a PCIe endpoint cluster, which facilitates communication between the switch 110 and one or more hosts 102, and the SSD interface may be a PCIe root complex cluster in some examples, which facilitates communication between the switch 110 and the SSDs 130, 140, and 150. The command processor of the processor circuit 114 may be configured to process commands from one or more hosts 102. The command may be a command for obtaining data from one of the multiple SSDs and providing it to the host or storing data from the host in the SSD, such as an NVMe command. The command processor of the processor circuit may be configured to add a tag to the command. The tag may indicate that the command is received from a specific host. The command is then sent to one of the SSDs that may be designated as part of the command. Thus, switch 110 may provide additional processing, such as header and address changes, needed to provide proper routing and manipulation of requests, commands, and / or data transmitted between host 102 and SSDs 130 , 140 , and 150 .

[0020] In response to receiving the command or request, the SSD to which the command or request is directed may send a PCIe memory request, such as a PCIe memory read request, to the switch 110. The PCIe memory request may include a tag to enable the data processor module of the processor circuit 114 to send the PCIe memory request to a specified host to execute the command or request associated with the host. The management processor module may be configured to perform management functions for the switch 110. For example, if the NVMe or PCIe transaction does not conform to an operation that the command processor module is capable of performing (e.g., due to an error, or due to the complexity or size of the PCIe memory request), the function may be offloaded to the management processor module. As another example, the management processor module may manage partitions of the SSDs 130, 140, and / or 150 with respect to reserved access and / or namespaces associated with the SSDs.

[0021] In various examples, one or more hosts 102 may implement a queue pair, for example, based on NVMe, to facilitate SSD access. The queue pair may consist of a submission queue and a completion queue. As shown for system 100, the host may include a submission queue 105 and a completion queue 107. The host may also have additional queues, such as management queues. The host may generate a command, such as an NVMe command, comprising a data storage service request for obtaining data stored in the SSD or storing data in the SSD, wherein the command is placed in the submission queue 105. The command is forwarded from the host to the switch 110, as pictorially represented by arrow 104.

[0022] When the command is ultimately executed by SSDs 130, 140, and / or 150, a completion indicating that execution of the process indicated by the command has completed may be stored in completion queue 107. As part of this process, switch 110 may include a device queue manager module as part of processor circuit 114. The device queue manager module may provide queue pairs 118 to facilitate communication of commands between switch 110 and SSDs 130, 140, and 150. The device queue manager module may maintain a corresponding submission queue and completion queue for each of SSDs 130, 140, 150 coupled to the switch via interconnect 137. As shown, queue pairs 118 may include: queue 121, which includes a submission queue (SQ) and a completion queue (CQ) associated with SSD 130 (SSD-1); queue 122, which includes a submission queue (SQ) and a completion queue (CQ) associated with SSD 140 (SSD-2); and queue 123, which includes a submission queue (SQ) and a completion queue (CQ) associated with SSD 150 (SSD-N). Additional queue pairs may be provided as part of queue 118 to be associated with any additional SSDs included in data storage device 136.

[0023] In various examples, the command processor module of the processor circuit 114 may terminate commands, such as NVMe commands, associated with requests for access to SSDs received from the host 102 by distributing instructions in the SQ of a specific queue pair in the queue pairs 121, 122, or 123, respectively, based on the SSDs 130, 140, 150 to which the requests for data storage services are being directed. Then, through commands issued by the switch 110 through the SSD interface 116, these requests for data storage services from the host 102 may be distributed to the corresponding SSDs, as represented by arrows 111 extending between the switch 110 and the SSDs 130, 140, and 150.

[0024] One or more SSDs may receive the command as directed by switch 110. Upon receiving the command, one or more corresponding SSDs may update a commit queue located in the SSD to indicate that the command has been received, and then a local processor for the SSD may begin executing the actual data storage process indicated by the command to be performed.

[0025] After completing the requested data storage process, one or more of the SSDs 130, 140, and 150 may issue a command indicating that the requested service has been completed and forward the completion indication back to the switch 110, as illustratively represented by the dashed arrow 113. Completion of the data storage process may also include the one or more SSDs executing the process updating a corresponding completion queue within the SSD or each of the corresponding SSDs to indicate that the process indicated by the command has been executed and completed.

[0026] After receiving the completion indication at the switch 110, the indication may be stored in a CQ queue in the queue pair 121, 122, 123 located at the switch and in a corresponding one of the CQ queues associated with the SSD providing the completion indication. The device queue manager module of the switch 110 may then process the completion indication stored in the CQ, including preparing a command, as illustratively represented by the dashed arrow 108, which is sent from the switch 110 to the CQ 107 of the host 102 via the host interface 112. Then, based on the update of the completion queue 107 indicating the completion of the process requested by the command, the host may update the status of the command by clearing the submission indication of the command stored in the queue 105.

[0027] like Figure 1 As illustrated in , the interconnect 103 used to communicatively couple the one or more hosts 102 with the switch 110 may require a different communication format and / or a different data interface than the communication format and / or data interface used to communicatively couple the switch 110 with the SSDs 130, 140, and 150. As such, when the switch 110 processes and formats data storage service requests from the hosts 102 to the SSDs 130, 140, and 150, and forwards responses including requests to read or write data from the SSDs back to the one or more hosts 102, additional processing is typically encountered, and therefore time delays are encountered when processing commands. In addition, in order to process these commands and data requests, the switch 110 may also typically need to redundantly store data such as device identification, addresses, and / or data at the switch, which requires additional memory requirements and processing provided by the switch itself. In examples where host 102 may be coupled directly to SSDs 130 , 140 , and 150 without the use of switch 110 , the host itself may be required to handle the management and storage of data transactions being executed, thereby loading processing and data storage requirements directly at and on the host.

[0028] like Figure 1As shown in , the SSDs of system 100 may be configured to provide direct communications between the SSDs themselves, for example using interconnect 137 and in some examples interconnect 139, without involving one or more hosts 102. In various embodiments, communications between SSDs may be routed to a switch such as switch 110, where the communications may be rerouted to another SSD as peer-to-peer traffic. Figure 1 As shown in FIG. 1 , SSDs 130 , 140 , and 150 are configured to include a submission queue (SQ) and a corresponding completion queue (CQ) within the SSDs themselves, which allow the SSDs to directly communicate commands and / or requests for data storage services or other data-related processes between each other.

[0029] As non-limiting examples of system 100, SSD 130 includes a local processor 132, a memory array 135, a submission queue (SQ) 133, and a completion queue (CQ) 134, SSD 140 includes a local processor 142, a memory array 145, a submission queue (SQ) 143, and a completion queue (CQ) 144, and SSD 150 includes a local processor 152, a memory array 155, a submission queue (SQ) 153, and a completion queue (CQ) 154. Each of the memory arrays 135, 145, and 155 may include an array of persistent memory devices configured to allow digital data to be written to, read from, and erased from the memory arrays. The respective SQ and CQ for each SSD may be located in a portion of the respective memory array for the SSD, or may be configured as separate memories located within each respective SSD. The local processor 132 , 142 , and 152 for each SSD may be configured to manage data operations associated with the respective SSD in which the local processor is located, such as read, write, and erase data operations associated with the memory array of the SSD in which the local processor is located.

[0030] Additionally, the local processors 132, 142, and 152 may also be configured to operate in an initiator mode, wherein the local processor may initiate commands and / or requests for a data storage service or other data-related process that is to be performed by another SSD and that originates at the SSD where the local processor is located and is not issued by or received from one or more hosts 102 and / or switches 110. In various alternative examples, the SSD that originates the command or request may do so in response to a command or request directed to the SSD by a host such as host 102, but is initially directed only to the SSD that originates the command or request that is directed to another SSD.

[0031] As a non-limiting example, arrow 147 extending from SSD 140 (SSD-2) to SSD 130 (SSD-1) represents a communication, which may include a command or request to perform a data storage service or other data storage process, which is initiated by SSD 140 and transmitted directly to SSD 130 using interconnect 137, for example, without passing through switch 110. As part of initiating the communication, local processor 142 of SSD 140 may input an indication that the command and / or request was originally generated by SSD 140 into SC 143 of SSD 140 and issue it to SSD 130. Upon receiving the command and / or request at SSD 130, local processor 132 may update SQ 133 of SSD 130 to indicate that the request has been received and then continue to process the received command / request. From the perspective of the target SSD, in this example SSD 130, the request is like any other type of request that may be received from a host device such as host 102, for example. The target SSD does not necessarily have information indicating that the communication is coming from another SSD, and therefore operates on the request as if it were coming from a host device such as host 102 .

[0032] After processing of the command / request is complete, CQ 134 of SSD 130 may be updated to provide an indication that the command / request has been completed. Based on the updated indication, local processor 132 may clear the indication of receipt of the command / request from SQ 133 and provide a communication directed to SSD 140, which is graphically represented by a dashed arrow 148 extending between SSD 130 and SSD 140. The communication may include an indication of completion of the command / request originally generated and initiated by SSD 140. Upon receiving the indication of completion of the command / request originally initiated by SSD 140, local processor 142 may update CQ 144 with an indication that the command / request has been completed, and update SQ 143 of SSD 140 to remove or clear the indication that the command / request is pending. Likewise, communication from SSD 130 to SSD 140 , represented diagrammatically by dashed arrow 148 , may be conducted using interconnect 137 and accomplished without passing through switch 110 or host 102 .

[0033] Based on the indication of the command / request completion, or in the alternative, while the command / request is still pending, the local processor 142 of the SSD 140 may perform one or more other processes, including: generating and initiating one or more commands / requests that communicate directly with other SSDs included in the data storage device 136, receiving and processing commands / requests received from other SSDs included in the data storage device 136, and / or communicating with the switch 110 and / or processing commands / requests for data storage services sent from the host 102 through the switch 110 and directed to the SSD 140. The SSD 140 may utilize the SQ 143 and CQ 144 to keep track of pending data storage operations that have been initiated by the SSD 140 and have been requested to be performed by the SSD 140, and to track the completion of these operations.

[0034] Regarding queues established at the SSD, SQ and CQ are typically only used for slave operations, where the SSD is the target device that receives requests or commands and responds to received requests or commands. In these cases, the SQ holds all transactions that the SSD needs to perform, and the CQ holds all transactions that have been completed and need to be reported to the requester. In other words, the SQ is an input to the SSD, which has all requests or commands that the SSD has been asked to perform, and the CQ is the output queue of the SSD with its responses. When the SSD is operating in initiator mode, the purpose of these queues (although they may be named the same) needs to be considered from the host perspective, which includes: the SQ will be the output queue of the SSD, which records all work that the initiator SSD has requested other SSDs to perform, and the CQ will be the input to the SSD with responses from other SSDs.

[0035] The example of system 100 is not limited to one of the SSDs or any particular one of the SSDs being configured to act in an initiator mode to generate and issue commands / requests to other SSDs, and in various examples, one, some, or all of the SSDs coupled together as part of data storage device 136 may be configured to operate in an initiator mode and generate and issue commands / requests to data storage services directly to other SSDs without going through an intermediary device such as host 102. For example, SSD 130 may operate in an initiator mode and generate and issue one or more commands or requests for (multiple) data storage processes to be transmitted to and executed by one or both of SSD 140 and SSD 150. Similarly, SSD 140 and / or SSD 150 may operate in an initiator mode, generating and issuing one or more commands or requests for (multiple) data storage processes to be transmitted to and executed by one or both of SSD 140 and SSD 150.

[0036] The ability of SSDs 130, 140, and 150 to communicate directly with each other without having to pass the communication through an intermediate device such as host 102 can save processing time by not having to redundantly save communication formatting and / or data formats used to transmit commands / requests from device to device at one or more intermediate devices such as a switch or host. Direct communication between SSDs can also speed up the overall throughput of communications and thereby speed up the overall processing speed of commands / requests by eliminating the need to format messages at these intermediate devices (such as from host to switch to SSD) and then back up from the SSD to the host(s) through the switch.

[0037] Examples of system 100 are not limited to having a particular number of SSDs. In various examples, system 100 may include as few as two SSDs, and may include some positive integer "N" number of SSDs, such as Figure 1 138. As a non-limiting example, the data storage device may include multiple individual SSDs coupled to interconnects 137 / 139 in the arrangement of system 100. Each SSD included in system 100 may be communicatively linked to switch 110, such as in Figure 1 13 and dashed arrow 139, which represents a communication link to any SSD represented by the point generally indicated by bracket 138.

[0038] The types of data storage services or data storage processes that can be generated by an SSD and communicated directly to one or more other SSDs are not limited to any particular type of command or request. In various examples, the command or request can relate to the same type of read, write, or erase request that can also be generated from a host such as host 102 and sent to one or more SSDs. In various examples, an individual SSD such as SSD 130, 140, or 150 can have a command or request initially initiated by a host such as host 102 directed to the SSD, where the SSD can then perform the task or process indicated by the command or request and return an indication that the task or process has been completed without involving any other SSD included in data storage device 136.

[0039] For example, an SSD such as SSD 130, 140, or 150 that receives a write request from a remote host such as host 102 or system 100 coupled to the host via network 106 can generate a subsequent request to a peer SSD and forward the request to the peer SSD, or alternatively replicate the write request to be performed by the SSD and the peer SSD, such as for redundancy purposes. In both cases, the receiving SSD will still be the SSD that interfaces with the remote host to complete, but the actual work can be completed by a different SSD. In the example of system 100, there may be some entity, such as one of the local processors located with the SSD, or one or more separate processors, that will load balance the work between the receiving SSDs to ensure that no bottlenecks occur. Such a solution can, for example, achieve full box virtualization without adding the complex computing resources required to achieve this effect in existing systems.

[0040] In various examples, the individual SSD with the command or request initially generated by a host such as host 102 and directed to the individual SSD may then operate in an initiator mode and generate and issue additional commands and / or requests directed to one or more SSDs included in data storage 136 but not specifically included in the original command and / or request generated and issued by the host. As a non-limiting example, a host such as host 102 may generate and issue a command to read and forward all data (e.g., video and audio data) associated with a movie back to the host. The command may be directed to a single SSD, such as SSD 130. However, the data associated with the movie may be stored in multiple SSDs included in data storage 136. In response to receiving the command initially generated and issued by host 102, SSD 130 may operate in an initiator mode and generate and issue commands to SSD 140 and / or SSD 150 to read the data associated with the movie stored at these respective SSDs and forward it back to SSD 130. SSD 140 and SSD 150 may be considered target SSDs with respect to commands issued by SSD 130 , and in response to receiving commands from SSD 130 , may perform required data read / forward operations by responding to SSD 130 with the requested data.

[0041] Communication between SSD 130 and SSD 140 and / or SSD 150 may occur over interconnect 137, which may include passing through switch 110, but does not require any communication to pass through host 102. Once SSD 130 has received the requested data from SSD 140 and / or SSD 150, SSD 130 may coordinate the forwarding of the requested data associated with the movie to switch 110 and / or host 102 to complete the operation originally requested in the command issued by the host and directed to SSD 130. This ability to pass between individual SSDs included in data storage device 136 without also passing through or being controlled by switch 110 or host 102 may allow for faster overall processing of commands while offloading host 102 and switch 110 with respect to memory and / or processing load requirements.

[0042] In various examples, the operations requested by the SSD operating in initiator mode may not be triggered by a command or request initially generated by a host, such as the host 102. As a non-limiting example, a command or request may be generated and issued by a first SSD of the data storage device 136 requesting that a second SSD of the data storage device 136 copy data in the first SSD to the second SSD for redundancy purposes. Such a command may be initiated by the first SSD without being prompted or triggered by any command or request from the switch 110 or the host 102. Thus, in this example, the first SSD may be configured to initiate a command or request to perform a data backup process at some predetermined time interval or, for example, based on the detection of a triggering event, such as the detection of a power loss or a shutdown of the system 100.

[0043] Other types of functions or events that may trigger an SSD to operate in initiator mode may include: transferring tasks from an initiator SSD to a target SSD, virtualizing physical drives from a remote host processor, data management tasks, and self-healing system functions. For example, an SSD of data storage device 136 may operate in initiator mode to generate commands requesting various functions such as computational storage functions to be performed on data stored on other SSDs included in data storage device 136. These computational storage functions may include using artificial intelligence (AI) to perform computational storage functions.

[0044] The type of network format and communication protocol used to provide communication utilized between the SSDs of the data storage device 136 via the interconnect 137 / 139 is not limited to any particular protocol or (multiple) network standards. In one non-limiting example, communication between the SSDs included in the data storage device 136 includes using PCI Express as a transport layer, and using MVE as a protocol layer. Variants may include using NVMe as a transport layer for communication. Variants may include using Ethernet. When Ethernet is included as part of the communication link between the SSDs, additional queues such as remote direct memory access (RDMA) queue pairs or transmission control protocol (TCP) queues may be set at the SSD to establish these communication links that are then formatted using Ethernet communication.

[0045] Example SSD Initiator Mode

[0046] In various examples, one or more SSDs communicatively coupled together as part of a data storage system may operate in an initiator mode to provide direct communications between a first SSD and a second SSD, wherein the first SSD acts as an initiator to generate commands and / or requests associated with data storage management and issue them directly to the second SSD without requiring the communications to pass through an intermediary device such as a switch device or a host, and without requiring the commands / requests to be initiated from the host.

[0047] Figure 2 is an example flow chart of a method 200 according to various examples described in the present disclosure and any equivalents thereof. The method 200 includes various functions associated with one or more SSDs operating in an initiator mode to generate and issue directly transmitted commands or requests associated with data storage management to another SSD without passing the communication through an intermediate device such as a switch or host device.

[0048] At box 202, method 200 includes: establishing a queue set at a first solid-state drive and at a second solid-state drive, the queue set being configured to control direct communication between the first solid-state drive and the second solid-state drive through an interconnect coupling the first solid-state drive with the second solid-state drive. In various embodiments, the first queue set established at the first solid-state drive includes a first submission queue and a first completion queue, and the second queue set established at the second solid-state drive includes a second submission queue and a second completion queue. In various embodiments, the first queue set established at the first solid-state drive includes SQs and CQs for protocol operations of the drive, and in some embodiments, a second queue set above the first queue set, such as one or more RDMA queue pairs or TCP queues, is established for protocol operations of a structure such as Ethernet.

[0049] At block 204, the method 200 includes initiating, by the first solid-state drive, generation of at least one command or request. In various embodiments, the request may include a request to write data to a memory array of a solid-state drive, such as a second solid-state drive. In various embodiments, the request may include a request to read data from a memory array of a solid-state drive, such as a second solid-state drive. In various embodiments, the request may include a request to erase data from a portion or all of a memory array included in a solid-state drive, such as a second solid-state drive. In various embodiments, the command may include a command for performing a data management operation related to a memory array and / or a solid-state drive, such as a second solid-state drive.

[0050] At block 206, method 200 includes: driving at least one command or request by the first solid-state drive through the interconnect so that the at least one command or request is directly transmitted between the first solid-state drive and the second solid-state drive. In various examples, transmitting the at least one command or request includes driving the at least one command or request through a PCIe interface. In various examples, transmitting the at least one command or request includes driving the at least one command or request through NVMe on a fabric interface. In various examples, transmitting the at least one command or request includes transmitting through an Ethernet connection. In examples using an Ethernet connection, method 200 may include: establishing a second or additional queue RDMA QP or TCP queue set dedicated to operations of the fabric used in a communication path for the interconnect.

[0051] At block 208, an embodiment of the method 200 includes receiving at a second solid-state drive at least one command or request transmitted by the first solid-state drive. Receiving the at least one command or request may include updating at least one queue in the second solid-state drive, such as a commit queue in the second solid-state drive, to indicate that a command or request for some data storage related operation has been received at the second solid-state drive.

[0052] At box 210, an example of method 200 includes: in response to receiving at least one command or request, performing one or more data storage related operations by the second solid-state drive on data stored on the second solid-state drive. Performing the one or more data storage related operations may include: writing data to a memory array included in the second solid-state drive. Performing the one or more data storage related operations may include: reading data from the memory array included in the second solid-state drive. Performing the one or more data storage related operations may include: erasing data from a portion or multiple portions of the memory array included in the second solid-state drive. Performing the one or more data storage related operations may include: performing (multiple) computing storage operations on the data stored at the second solid-state drive. Performing the one or more data storage related operations may include: rearranging the data stored at the second solid-state drive, for example as part of a defragmentation process performed on the data stored at the second solid-state drive.

[0053] After completing (multiple) operations indicated by at least one command or request to be performed by the second solid-state drive, an example of method 200 includes: updating at least one queue in the second solid-state drive, such as a completion queue in the second solid-state drive, to indicate that the operation has been completed by the second solid-state drive.

[0054] At block 212, the example of method 200 includes driving, by the second solid-state drive, a response to the first solid-state drive through the interconnect, the response indicating that one or more data operations on the data stored at the second solid-state drive have been completed. In various examples, data read from the second solid-state drive may also be driven to the first solid-state drive through the interconnect in response to a command or request initiated by the first solid-state drive and transmitted to the second solid-state drive.

[0055] At block 214, an example of method 200 includes receiving a response at the first solid-state drive that indicates at least that the data storage operation indicated by the command or request has been completed by the second solid-state drive. In various examples of method 200, receiving the response at the first solid-state drive includes updating a queue at the first solid-state drive, such as a completion queue at the first solid-state drive, with an indication that the command or request sent from the first solid-state drive to the second solid-state drive has been completed by the second solid-state drive. Updating the queue at the first solid-state drive based on receiving an indication that the command or request sent from the first solid-state drive to the second solid-state drive has been completed by the second solid-state drive includes updating a submission queue at the first solid-state drive to clear out indications related to submission of at least one command or request.

[0056] Example Device

[0057] Figure 3300. An example of a solid state drive (SSD) 300 may include a local processor 302, a memory array 304, an interface 306, and one or more queue sets 308. A bus 303 may be coupled to various elements included in the SSD 300 and configured to communicatively couple these elements. An example of the SSD 300 may be as described with respect to Figure 1 Any one or more of the SSDs 130, 140, and / or 150 shown and described, and may be configured to perform the method 200 ( Figure 2 ) and any equivalents thereof.

[0058] Examples of local processor 302 may include multiple processors, multiple cores, multiple nodes, and / or implement multithreading, etc., that coordinate operations on SSD 300. Examples of memory array 304 are not limited to any particular type of memory, and may include memory 604, which may be system memory (e.g., one or more of a cache, random access memory (RAM), synchronous RAM (SRAM), dynamic RAM (DRAM), zero capacitor RAM, two-transistor RAM, embedded DRAM (eDRAM), extended data output RAM (EDO RAM), double data rate RAM (DDR RAM), electrically erasable programmable read-only memory (EEPROM), nano RAM (NRAM), resistive RAM (RRAM), nitride oxide silicon memory (SONOS), parameter random access memory (PRAM), etc.) or any one or more other possible implementations of one or more non-transitory machine-readable media.

[0059] Examples of interface 306 are not limited to any particular type of interface, and may include one or more interface devices or modules controllable by local processor 302 to provide communication between SSD 300 and one or more other SSDs using any of the methods and / or techniques described throughout this disclosure and any equivalents thereof. For example, interface 306 may be controlled by a local processor to provide direct communication between SSD 300 and another SSD via an interconnection without requiring communication to pass through an intermediate device such as a host device. When SSD 300 is operating in initiator mode, interface 306 may provide direct communication with another SSD, and generate and issue commands or requests to cause another SSD to perform some data storage related processes. When SSD 300 is operating as a target SSD and is receiving commands or requests sent directly to SSD 300 from another SSD acting in initiator mode, interface 306 may provide direct communication with another SSD.

[0060] In various examples, the interface 306 may also be configured to receive data from, for example, a switch 110 ( Figure 1 ) is coupled to the SSD 300 by a switch device such as one or more hosts 102 ( Figure 1 ) transmits and receives commands and requests directed to SSD 300.

[0061] The bus 303 is not limited to any particular type of bus, and may conform to, for example, the Peripheral Component Interconnect (PCI), Industry Standard Architecture (ISA), High Speed ​​PCI, NuBus, Advanced Extensible Bus AXI Bus, and Ethernet standards. The bus 303 may also facilitate communication between the local processor 302 and the memory array 304 and the queue 308. The queue 308 may include one or more queues established to provide a communication link between the SSD 300 and one or more other SSDs. In various examples, the queue 308 includes a queue pair 310, which includes a submission queue (SQ) and a completion queue (CQ) configured to allow a communication link to be established between the SSD 300 and another SSD. Additional queues, illustratively represented by queues 311, may also be established within the queue 308 as needed to provide any and all communication links required for the SSD 300 to communicate with one or more hosts and also to communicate directly with one or more additional SSDs when acting in initiator mode, without the need for the communication between the SSD 300 and one or more other SSDs to pass through an intermediate device such as a switch or host.

[0062] The functions attributed to SSD 300 may be implemented in a combination of software (e.g., computer code, program instructions, program code, computer instructions) and / or hardware stored on one or more non-transitory machine-readable media. In some cases, local processor 302 and memory array 304 may implement or facilitate implementation of the functionality in lieu of or in addition to a management processor module, a data processor module, and / or a command processor module. Additionally, examples of SSD 300 may include Figure 3 Fewer or additional components not shown (e.g., video cards, audio cards, other network interfaces, peripheral devices, etc.).

[0063] Some implementations have been described in detail above, and various modifications are possible. The disclosed subject matter, including the functional operations described in this specification, can be implemented in electronic circuits, computer hardware, firmware, software, or a combination thereof, such as the structural devices disclosed in this specification and their structural equivalents: potentially including a program (such as a program encoded in a non-transitory computer-readable medium, which can be a memory device, a storage device, a machine-readable storage substrate, or other physical, machine-readable medium, or a combination of one or more of them) that is operable to cause one or more data processing devices such as a processor to perform the described operations.

[0064] A program (also referred to as a computer program, software, software application, script, or code) can be written in any form of programming language, including compiled or interpreted languages, declarative or procedural languages, and can be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment. A program does not necessarily correspond to a file in a file system. A program may be stored in a portion of a file that holds other programs or data (e.g., one or more scripts stored in a markup language document), in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or partial codes). A program may be deployed to be executed on a single computer or on multiple computers located at a site or distributed at multiple sites and interconnected by a communication network.

[0065] Although this specification contains many specific details, these should not be interpreted as limitations on the scope that can be claimed, but should be interpreted as descriptions of features that may be specific to a particular implementation. Certain features described in the context of various implementations in this specification may also be implemented in combination in a single implementation. On the contrary, various features described in the context of a single implementation may also be implemented in multiple implementations or in any suitable sub-combination. In addition, although features may be described above as working in certain combinations and even initially claimed as such, one or more features in the claimed combination may be cut out from the combination in some cases, and the claimed combination may be directed to a sub-combination or a variant of the sub-combination.

[0066] Similarly, although operations are depicted in a particular order in the accompanying drawings, this should not be understood as requiring that such operations be performed in the particular order shown or in a continuous order, or that all illustrated operations be performed to achieve the desired results. In certain scenarios, multitasking and parallel processing may be advantageous. Moreover, the separation of various system components in the above implementations should not be understood as requiring such separation in all implementations.

[0067] Unless expressly stated, the use of the phrase "at least one of" before a list with the conjunction "and" should not be viewed as an exclusive list nor should it be interpreted as a list of categories with one item from each category. Only one of the listed items, multiple items from the listed items, and one or more items from the list plus another item not listed violate the clause reciting "at least one of A, B, and C."

[0068] Other implementations are within the scope of the following claims.

Claims

1. A method comprising: Establishing a set of queues at a first solid-state drive and at a second solid-state drive, the set of queues being configured to control direct communication between the first solid-state drive and the second solid-state drive through an interconnect coupling the first solid-state drive with the second solid-state drive, comprising: establishing at the first solid-state drive: i) a submission queue configured to store indications of commands or requests issued by the first solid-state drive to the second solid-state drive, and ii) a completion queue configured to store indications of completions of commands or requests executed by the second solid-state drive; initiating generation of at least one command or request by the first solid-state drive; driving the at least one command or request by the first solid state drive through the interconnect such that the at least one command or request is directly transmitted between the first solid state drive and the second solid state drive; and The storing, by the first solid-state drive, of the at least one command or request in the submission queue of the first solid-state drive is an indication that the first solid-state drive is issuing to the second solid-state drive.

2. The method according to claim 1, further comprising: receiving, at the second solid-state drive, the at least one command or request transmitted by the first solid-state drive; performing, by the second solid-state drive, one or more data operations on data stored at the second solid-state drive in response to receiving the at least one command or request; as well as A response is driven by the second solid state drive through the interconnect to the first solid state drive, the response indicating that the one or more data operations on the data stored at the second solid state drive have been completed.

3. The method according to claim 2, further comprising: At the first solid-state drive, the acknowledgement is received indicating that the one or more data operations have been completed.

4. The method of claim 1, wherein the interconnect coupling the first solid state drive with the second solid state drive utilizes Peripheral Component Interconnect Express (PCIe) and Ethernet.

5. The method of claim 1 , wherein initiating generation of the at least one command or request comprises: updating the submission queue with a first indication that the command or request has been generated and issued to the second solid-state drive and has not yet been completed by the second solid-state drive, and In response to receiving a response issued by the second solid-state drive at the first solid-state drive, the completion queue is updated with a second indication, the response indicating that one or more data operations performed on the data stored at the second solid-state drive have been completed by the second solid-state drive, the second indication being that the one or more data operations have been completed.

6. The method according to claim 1, further comprising: An initiator mode is entered at the first solid-state drive, and the generating of at least one command or request is initiated in response to an incoming command originated by a host and received at the first solid-state drive.

7. The method according to claim 1, further comprising: An initiator mode is entered at the first solid-state drive, and in response to detecting an event not associated with a command originated by a host, the generating of at least one command or request is initiated.

8. A non-transitory computer-readable medium storing instructions that, when executed by one or more processors, cause the one or more processors to at least: Establishing a queue set at a first solid state drive and at a second solid state drive, the queue set configured to control direct communication between the first solid state drive and the second solid state drive through an interconnect coupling the first solid state drive with the second solid state drive, comprising: establishing at the first solid-state drive: i) a submission queue configured to store indications of commands or requests issued by the first solid-state drive to the second solid-state drive, and ii) a completion queue configured to store indications of completions of commands or requests executed by the second solid-state drive; Initiating, at the first solid-state drive, generation of at least one command or request; driving the at least one command or request through the interconnect such that the at least one command or request is communicated directly between the first solid state drive and the second solid state drive; and The storing, by the first solid-state drive, of the at least one command or request in the submission queue of the first solid-state drive is an indication that the first solid-state drive is issuing to the second solid-state drive.

9. The non-transitory computer readable medium of claim 8, further comprising instructions to: receiving, at the second solid-state drive, the at least one command or request transmitted by the first solid-state drive; in response to receiving the at least one command or request, performing one or more data operations on data stored at the second solid-state drive; as well as An acknowledgement is driven to the first solid-state drive through the interconnect, the acknowledgement indicating that the one or more data operations on the data stored at the second solid-state drive have been completed.

10. The non-transitory computer readable medium of claim 9, further comprising instructions to: receive, at the first solid-state drive, the response indicating that the one or more data operations have been completed.

11. The non-transitory computer readable medium of claim 8, wherein the interconnect coupling the first solid state drive with the second solid state drive utilizes Peripheral Component Interconnect Express (PCIe) and Ethernet.

12. The non-transitory computer readable medium of claim 8, wherein the instructions for generating the at least one command or request comprise: Instructions for updating the submission queue with a first indication that the command or request has been generated and issued to the second solid-state drive and has not yet been completed by the second solid-state drive, and Instructions for updating the completion queue with a second indication in response to receiving at the first solid-state drive a reply issued by the second solid-state drive, the reply indicating that one or more data operations performed on data stored at the second solid-state drive have been completed by the second solid-state drive, the second indication being that the one or more data operations have been completed.

13. The non-transitory computer readable medium of claim 8, further comprising: The generated instructions are for entering an initiator mode at the first solid state drive and initiating at least one command or request in response to an incoming command originated by a host and received at the first solid state drive.

14. The non-transitory computer readable medium of claim 8, further comprising: The generated instructions are for entering an initiator mode at the first solid state drive and initiating at least one command or request in response to detecting an event not associated with a command originated by a host.

15. An apparatus comprising: a first solid-state drive comprising a local processor and a memory array and configured to communicate directly with a second solid-state drive, wherein the memory array is configured to store persistent digitally encoded data on a non-volatile memory, wherein the first solid-state drive is configured to store a set of queues, the set of queues being configured to control direct communication between the first solid-state drive and the second solid-state drive via an interconnect coupling the first solid-state drive with the second solid-state drive, the set of queues comprising: i) a submission queue configured to store indications of commands or requests issued by the first solid-state drive to the second solid-state drive, and ii) a completion queue configured to store indications of completions of commands or requests executed by the second solid-state drive, and wherein the local processor is configured to operate in an initiator mode, wherein the local processor initiates generation of a command or request for a data storage process, the command or request being transmitted directly to the second solid-state drive communicatively coupled to the first solid-state drive via an interconnect, and wherein the local processor is configured to store in the submission queue of the first solid-state drive an indication that the command or request was issued by the first solid-state drive to the second solid-state drive.

16. The apparatus of claim 15, wherein the submission queue is configured to store one or more status indicators associated with the generation and the issuance of the command or request for a data storage process provided by the first solid-state drive.

17. The apparatus of claim 15, wherein the completion queue is configured to store one or more status indications associated with an indication of completion of a data storage process performed by the second solid-state drive in response to the command or request generated and issued by the first solid-state drive.

18. The apparatus of claim 15, wherein the interconnect comprises a Peripheral Component Interconnect Express (PCIe) bus and Ethernet.

Citation Information

Patent Citations

  • System and method for peer-to-peer PCIe storage transfers

    CN105068953A

  • Storage device capable of performing peer-to-peer communication and data storage system including the same

    CN107918525A

  • SYSTEM AND METHOD FOR PROVIDING DATA REPLICATION IN NVMe-oF ETHERNET SSD

    CN108696569A

  • METHOD FOR IMPLEMENTING RDMA NVMe DEVICE

    KR1020170007103A

  • Techniques for Input / Output Access to Memory or Storage by a Virtual Machine or Container

    US20180088978A1