Enabling communication between single port device and multiple storage system controllers
By adopting a direct-mapped flash storage system in the flash storage system, data writing and reading are controlled across multiple flash drives, which solves the data writing and reading latency and complexity problems in traditional storage systems and improves the efficiency of flash storage. System reliability and efficiency.
Patent Information
- Application Number
- CN202280092169.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2021-12-30
- Filing Date
- 2022-12-30
- Publication Date
- 2024-09-27
AI Technical Summary
Existing storage systems have latency issues during data writing and reading, and traditional flash drives require address translation by the storage controller, resulting in complex operations and low efficiency.
Using a direct-mapped flash storage system, the operating system controls data writing and reading across multiple flash drives, which avoids the storage controller performing address translation and improves the efficiency of data writing and reading.
Improves the reliability and efficiency of flash storage systems, reduces unnecessary write operations, and reduces the load on flash drives.
Smart Images

Figure CN118715501A
Abstract
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0001] Figure 1A A first example system for data storage according to some embodiments is described.
[0002] Figure 1B A second example system for data storage is described in accordance with some embodiments.
[0003] Figure 1C A third example system for data storage is described in accordance with some embodiments.
[0004] Figure 1D A fourth example system for data storage is described in accordance with some embodiments.
[0005] Figure 2A is a perspective diagram of a storage cluster having multiple storage nodes and internal storage devices coupled to each storage node to provide network attached storage according to some embodiments.
[0006] Figure 2B is a block diagram illustrating an interconnect switch coupling a plurality of storage nodes according to some embodiments.
[0007] Figure 2C is a multi-level block diagram showing the contents of a storage node and the contents of one of the non-volatile solid-state storage units according to some embodiments.
[0008] Figure 2D A storage server environment is shown according to some embodiments using the storage nodes and storage units of some of the previous figures.
[0009] Figure 2E is a hardware block diagram showing a control plane, compute and storage planes, and authorized blades interacting with underlying physical resources according to some embodiments.
[0010] Figure 2F Depicted is a resiliency software layer in a blade of a storage cluster according to some embodiments.
[0011] Figure 2G Depicted are authorization and storage resources in blades of a storage cluster according to some embodiments.
[0012] Figure 3A A diagram of a storage system coupled for data communication with a cloud service provider is presented in accordance with some embodiments of the present disclosure.
[0013] Figure 3B A diagram illustrating a storage system according to some embodiments of the present disclosure is presented.
[0014] Figure 3CAn example of a cloud-based storage system according to some embodiments of the present disclosure is presented.
[0015] Figure 3D An exemplary computing device is illustrated that may be specifically configured to perform one or more of the processes described herein.
[0016] Figure 4 An example block diagram illustrating an example system for communication between multiple storage system controllers and a single-port storage device according to some embodiments of the present disclosure is set forth.
[0017] Figure 5 An example block diagram illustrating an additional example system for communication between multiple storage system controllers and a single-port storage device according to some embodiments of the present disclosure is set forth.
[0018] Figure 6 An example block diagram illustrating an additional example system for communication between multiple storage system controllers and a single-port storage device according to some embodiments of the present disclosure is set forth.
[0019] Figure 7 An example block diagram illustrating an additional example system for communication between multiple storage system controllers and a single-port storage device according to some embodiments of the present disclosure is set forth.
[0020] Figure 8 A flow chart illustrating an example method of implementing communications between multiple storage system controllers and a single-port storage device according to some embodiments of the present disclosure is set forth.
[0021] Fig. 9 Flowcharts illustrating additional example methods of implementing communications between multiple storage system controllers and a single-ported storage device according to some embodiments of the present disclosure are set forth. DETAILED DESCRIPTION
[0022] by Figure 1A Initially, example methods, apparatuses, and products for implementing communication between multiple storage system controllers and a single-port storage device according to embodiments of the present disclosure are described with reference to the accompanying drawings. Figure 1A An example system for data storage according to some embodiments is described. For purposes of illustration and not limitation, system 100 (also referred to herein as a "storage system") includes numerous elements. It may be noted that in other embodiments, system 100 may include the same, more, or fewer elements configured in the same or different manners.
[0023] The system 100 includes a plurality of computing devices 164A-B. The computing devices (also referred to herein as "client devices") may be embodied as servers, workstations, personal computers, notebooks, or the like in a data center, for example. The computing devices 164A-B may be coupled for data communication with one or more storage arrays 102A-B via a storage area network ('SAN') 158 or a local area network ('LAN') 160.
[0024] SAN 158 may be implemented with a variety of data communication architectures, devices, and protocols. For example, the architecture for SAN 158 may include Fibre Channel, Ethernet, InfiniBand, Serial Attached Small Computer System Interface ('SAS'), or the like. Data communication protocols used with SAN 158 may include Advanced Technology Attachment ('ATA'), Fibre Channel Protocol, Small Computer System Interface ('SCSI'), Internet Small Computer System Interface ('iSCSI'), Ultra SCSI, Non-Volatile Memory Express Architecture ('NVMe'), or the like. It may be noted that SAN 158 is provided for illustration and not limitation. Other data communication couplings may be implemented between computer devices 164A-B and storage arrays 102A-B.
[0025] LAN 160 may also be implemented with a variety of architectures, devices, and protocols. For example, the architecture for LAN 160 may include Ethernet (802.3), wireless (802.11), or the like. Data communication protocols used in LAN 160 may include Transmission Control Protocol ('TCP'), User Datagram Protocol ('UDP'), Internet Protocol ('IP'), Hypertext Transfer Protocol ('HTTP'), Wireless Access Protocol ('WAP'), Handheld Device Transport Protocol ('HDTP'), Session Initiation Protocol ('SIP'), Real Time Protocol ('RTP'), or the like.
[0026] Storage arrays 102A-B may provide persistent data storage for computing devices 164A-B. In an embodiment, storage array 102A may be housed in a chassis (not shown) and storage array 102B may be housed in another chassis (not shown). Storage arrays 102A and 102B may include one or more storage array controllers 110A-D (also referred to herein as "controllers"). Storage array controllers 110A-D may be embodied as modules of automated computing machinery including computer hardware, computer software, or a combination of computer hardware and software. In some embodiments, storage array controllers 110A-D may be configured to perform various storage tasks. Storage tasks may include writing data received from computing devices 164A-B to storage arrays 102A-B, erasing data from storage arrays 102A-B, retrieving data from storage arrays 102A-B and providing data to computing devices 164A-B, monitoring and reporting disk utilization and performance, performing redundancy operations (e.g., redundant array of independent drives ('RAID') or RAID-like data redundancy operations), compressing data, encrypting data, and the like.
[0027] The storage array controllers 110A-D may be implemented in various ways, including as a field programmable gate array ('FPGA'), a programmable logic chip ('PLC'), an application specific integrated circuit ('ASIC'), a system on a chip ('SOC'), or any computing device including discrete components such as a processing device, a central processing unit, a computer memory, or various adapters. The storage array controllers 110A-D may include, for example, a data communications adapter configured to support communications via a SAN 158 or a LAN 160. In some implementations, the storage array controllers 110A-D may be independently coupled to a LAN 160. In an implementation, the storage array controllers 110A-D may include an I / O controller or the like that couples the storage array controllers 110A-D for data communications to persistent storage resources 170A-B (also referred to herein as "storage resources") through a midplane (not shown). The persistent storage resources 170A-B may include any number of storage drives 171A-F (also referred to herein as "storage devices") and any number of non-volatile random access memory ('NVRAM') devices (not shown).
[0028] In some embodiments, the NVRAM device of the persistent storage resource 170A to B may be configured to receive data to be stored in the storage drive 171A to F from the storage array controller 110A to D. In some examples, the data may originate from the computing device 164A to B. In some examples, writing data to the NVRAM device may be faster than writing data directly to the storage drive 171A to F. In an embodiment, the storage array controller 110A to D may be configured to utilize the NVRAM device as a fast accessible buffer for data intended to be written to the storage drive 171A to F. Relative to a system in which the storage array controller 110A to D writes data directly to the storage drive 171A to F, the latency of a write request using the NVRAM device as a buffer may be improved. In some embodiments, the NVRAM device may be implemented with a computer memory in the form of a high-bandwidth, low-latency RAM. The NVRAM device is called "non-volatile" because the NVRAM device may receive or contain a unique power source that maintains the state of the RAM after the NVRAM device loses the main power supply. This power source may be a battery, one or more capacitors, or the like. In response to a loss of power, the NVRAM device may be configured to write the contents of the RAM to a persistent storage device, such as storage drives 171A-F.
[0029] In an implementation, storage drives 171A-F may refer to any device configured to persistently record data, where "persistently" or "persistent" refers to the ability of the device to maintain the recorded data after power is lost. In some implementations, storage drives 171A-F may correspond to non-disk storage media. For example, storage drives 171A-F may be one or more solid-state drives ('SSD'), flash memory-based storage devices, any type of solid-state non-volatile memory, or any other type of non-mechanical storage device. In other implementations, storage drives 171A-F may include a mechanical or rotating hard disk, such as a hard disk drive ('HDD').
[0030] In some embodiments, the storage array controllers 110A-D may be configured to offload device management responsibilities from the storage drives 171A-F in the storage arrays 102A-B. For example, the storage array controllers 110A-D may manage control information that may describe the status of one or more memory blocks in the storage drives 171A-F. The control information may indicate, for example, that a particular memory block has failed and should no longer be written to, that a particular memory block contains boot code for the storage array controllers 110A-D, the number of program-erase ('P / E') cycles that have been performed on a particular memory block, the age of the data stored in the particular memory block, the type of data stored in the particular memory block, and the like. In some embodiments, the control information may be stored as metadata with the associated memory blocks. In other embodiments, the control information of the storage drives 171A-F may be stored in one or more specific memory blocks of the storage drives 171A-F selected by the storage array controllers 110A-D. The selected memory blocks may be tagged with an identifier indicating that the selected memory blocks contain the control information. The identifier may be used by the storage array controllers 110A-D in conjunction with the storage drives 171A-F to quickly identify a memory block containing control information. For example, the storage controllers 110A-D may issue a command to locate a memory block containing control information. It may be noted that the control information may be so large that portions of the control information may be stored in multiple locations, that the control information may be stored in multiple locations, for example, for redundancy purposes, or that the control information may be otherwise distributed across multiple memory blocks in the storage drives 171A-F.
[0031] In an embodiment, the storage array controller 110A-D may offload device management responsibilities from the storage drives 171A-F of the storage array 102A-B by retrieving control information describing the state of one or more memory blocks in the storage drives 171A-F from the storage drives 171A-F. Retrieving the control information from the storage drives 171A-F may be performed, for example, by the storage array controller 110A-D querying the storage drives 171A-F for the location of the control information for a particular storage drive 171A-F. The storage drives 171A-F may be configured to execute instructions that enable the storage drives 171A-F to identify the location of the control information. The instructions may be executed by a controller (not shown) associated with or otherwise located on the storage drives 171A-F and may cause the storage drives 171A-F to scan a portion of each memory block to identify a memory block storing the control information for the storage drives 171A-F. The storage drives 171A-F may respond by sending a response message including the location of the control information for the storage drives 171A-F to the storage array controllers 110A-D. In response to receiving the response message, the storage array controllers 110A-D may issue a request to read data stored at the address associated with the location of the control information for the storage drives 171A-F.
[0032] In other embodiments, the storage array controllers 110A-D may further offload device management responsibilities from the storage drives 171A-F by performing storage drive management operations in response to receiving the control information. The storage drive management operations may include, for example, operations that are typically performed by the storage drives 171A-F, e.g., a controller (not shown) associated with the particular storage drives 171A-F. The storage drive management operations may include, for example, ensuring that data is not written to failed memory blocks within the storage drives 171A-F, ensuring that data is written to memory blocks within the storage drives 171A-F in a manner such that adequate wear leveling is achieved, and the like.
[0033] In an embodiment, the storage array 102A to B may implement two or more storage array controllers 110A to D. For example, the storage array 102A may include a storage array controller 110A and a storage array controller 110B. In a given example, a single storage array controller 110A to D (e.g., storage array controller 110A) of the storage system 100 may be designated as having a primary status (also referred to herein as a "primary controller"), and other storage array controllers 110A to D (e.g., storage array controller 110A) may be designated as having a secondary status (also referred to herein as a "secondary controller"). The primary controller may have specific rights, such as permission to change data in the persistent storage resources 170A to B (e.g., write data to the persistent storage resources 170A to B). At least some rights of the primary controller may replace the rights of the secondary controller. For example, when the primary controller has permission to change data in the persistent storage resources 170A to B, the secondary controller may not have the rights. The status of the storage array controllers 110A to D may change. For example, storage array controller 110A may be designated as having a secondary status and storage array controller 110B may be designated as having a primary status.
[0034] In some embodiments, a primary controller (e.g., storage array controller 110A) may be used as a primary controller for one or more storage arrays 102A to B, and a secondary controller (e.g., storage array controller 110B) may be used as a secondary controller for one or more storage arrays 102A to B. For example, storage array controller 110A may be the primary controller for storage array 102A and storage array 102B, and storage array controller 110B may be the secondary controller for storage arrays 102A and 102B. In some embodiments, storage array controllers 110C and 110D (also referred to as "storage processing modules") may not have primary or secondary status. Storage array controllers 110C and 110D implemented as storage processing modules may be used as a communication interface between primary and secondary controllers (e.g., storage array controllers 110A and 110B, respectively) and storage array 102B. For example, storage array controller 110A of storage array 102A may send a write request to storage array 102B via SAN 158. The write request may be received by both storage array controllers 110C and 110D of the storage array 102B. The storage array controllers 110C and 110D facilitate communication, for example, sending the write request to the appropriate storage drives 171A through F. It may be noted that in some embodiments, the storage processing module may be used to increase the number of storage drives controlled by the primary and secondary controllers.
[0035] In an embodiment, storage array controllers 110A-D are communicatively coupled to one or more storage drives 171A-F and to one or more NVRAM devices (not shown) included as part of storage arrays 102A-B via a mid-plane (not shown). Storage array controllers 110A-D may be coupled to the mid-plane via one or more data communications links, and the mid-plane may be coupled to storage drives 171A-F and NVRAM devices via one or more data communications links. For example, the data communications links described herein are collectively illustrated by data communications links 108A-D and may include a Peripheral Component Interconnect Express ('PCIe') bus.
[0036] Figure 1B An example system for data storage is described according to some embodiments. Figure 1B The storage array controller 101 described in Figure 1A 1. Storage array controller 101 may be similar to storage array controller 110A or storage array controller 110B. For purposes of illustration and not limitation, storage array controller 101 includes numerous elements. It is noted that in other embodiments, storage array controller 101 may include the same, more, or fewer elements configured in the same or different manners. It is noted that the following may include Figure 1A 1 to help illustrate the features of storage array controller 101.
[0037] The storage array controller 101 may include one or more processing devices 104 and a random access memory ('RAM') 111. The processing device 104 (controller 101) represents one or more general-purpose processing devices, such as a microprocessor, a central processing unit, or the like. More specifically, the processing device 104 (or controller 101) may be a complex instruction set computing ('CISC') microprocessor, a reduced instruction set computing ('RISC') microprocessor, a very long instruction word ('VLIW') microprocessor, or a processor that implements other instruction sets or a number of processors that implement a combination of instruction sets. The processing device 104 (controller 101) may also be one or more special-purpose processing devices, such as an ASIC, an FPGA, a digital signal processor ('DSP'), a network processor, or the like.
[0038] Processing device 104 may be connected to RAM 111 via data communication link 106, which may be embodied as a high-speed memory bus, such as a double data rate 4 ('DDR4') bus. Stored in RAM 111 is an operating system 112. In some embodiments, instructions 113 are stored in RAM 111. Instructions 113 may include computer program instructions for performing operations in a direct-mapped flash storage system. In one embodiment, a direct-mapped flash storage system is a system that directly addresses data blocks within a flash drive and does not require address translation performed by a storage controller of the flash drive.
[0039] In an embodiment, storage array controller 101 includes one or more host bus adapters 103A-C coupled to processing device 104 via data communication links 105A-C. In an embodiment, host bus adapters 103A-C may be computer hardware that connects a host system (e.g., storage array controller) to other networks and storage arrays. In some examples, host bus adapters 103A-C may be Fibre Channel adapters that enable storage array controller 101 to connect to a SAN, Ethernet adapters that enable storage array controller 101 to connect to a LAN, or the like. Host bus adapters 103A-C may be coupled to processing device 104 via data communication links 105A-C, such as a PCIe bus, for example.
[0040] In an embodiment, storage array controller 101 may include a host bus adapter 114 coupled to an expander 115. Expander 115 may be used to attach a host system to a greater number of storage drives. In an embodiment where host bus adapter 114 is embodied as a SAS controller, expander 115 may be, for example, a SAS expander for enabling host bus adapter 114 to attach to storage drives.
[0041] In an embodiment, storage array controller 101 may include a switch 116 coupled to processing device 104 via data communication link 109. Switch 116 may be a computer hardware device that can create multiple endpoints from a single endpoint, thereby enabling multiple devices to share a single endpoint. Switch 116 may, for example, be a PCIe switch that couples to a PCIe bus (e.g., data communication link 109) and presents multiple PCIe connection points to a midplane.
[0042] In an embodiment, storage array controller 101 includes a data communication link 107 for coupling storage array controller 101 to other storage array controllers. In some examples, data communication link 107 may be a Quick Path Interconnect (QPI) interconnect.
[0043] A conventional storage system using conventional flash drives may implement processes across the flash drives that are part of the conventional storage system. For example, a higher level process of the storage system may initiate and control processes across the flash drives. However, the flash drives of the conventional storage system may include their own storage controllers that also perform the processes. Thus, for the conventional storage system, both higher level processes (e.g., initiated by the storage system) and lower level processes (e.g., initiated by the storage controller of the storage system) may be performed.
[0044] To address various shortcomings of conventional storage systems, operations may be performed by higher level processes rather than by lower level processes. For example, a flash storage system may include a flash drive that does not include a storage controller that provides the process. Thus, the operating system of the flash storage system itself may initiate and control the process. This may be accomplished by a direct mapped flash storage system that directly addresses data blocks within the flash drive and does not require address translation performed by the flash drive's storage controller.
[0045] In an embodiment, storage drives 171A-F may be one or more partitioned storage devices. In some embodiments, one or more partitioned storage devices may be shingled HDDs. In an embodiment, one or more storage devices may be flash-based SSDs. In a partitioned storage device, the partition namespace on the partitioned storage device may be addressed by groups of blocks that are grouped and aligned in natural sizes, forming a number of addressable regions. In an embodiment utilizing an SSD, the natural size may be an erase block size based on the SSD.
[0046] The mapping from zones to erase blocks (or to shingled tracks in an HDD) can be arbitrary, dynamic, and hidden from view. The process of opening a zone can be an operation that allows a new zone to be dynamically mapped to the underlying storage of a partitioned storage device and then allows data to be written by additional writes to the zone until the zone reaches capacity. A zone can be completed at any time, after which additional data may not be written to the zone. When the data stored at a zone is no longer needed, the zone can be reset, which effectively deletes the contents of the zone from the partitioned storage device, making the physical storage held by that zone available for subsequent data storage. Once a zone has been written and completed, the partitioned storage device ensures that the data stored at the zone will not be lost until the zone is reset. In the time between writing data to a zone and resetting the zone, a zone can be moved between shingled tracks or erase blocks as part of a maintenance operation within the partitioned storage device, such as by copying data to keep the data refreshed or handling memory cell aging in an SSD.
[0047] In embodiments utilizing HDDs, resetting a zone may allow shingled tracks to be assigned to a new open zone that may be opened at some point in the future. In embodiments utilizing SSDs, resetting a zone may cause the zone's associated physical erase blocks to be erased and subsequently reused for storage of data. In some embodiments, a zoned storage device may have a limit on the number of open zones at a point in time to reduce the amount of overhead dedicated to keeping zones open.
[0048] The operating system of the flash storage system can identify and maintain a list of allocation units across multiple flash drives of the flash storage system. An allocation unit can be a whole erase block or multiple erase blocks. The operating system can maintain a mapping or address range that maps addresses directly to erase blocks of the flash drives of the flash storage system.
[0049] The erase blocks mapped directly to the flash drive can be used to rewrite data and erase data. For example, an operation can be performed on one or more allocation units containing first data and second data, where the first data will be retained and the second data is no longer used by the flash storage system. The operating system can initiate a process to write the first data to a new location within other allocation units and erase the second data and mark the allocation unit as available for subsequent data. Therefore, the process can be performed only by the higher-level operating system of the flash storage system, and additional lower-level processes do not need to be performed by the controller of the flash drive.
[0050] Advantages of the process being performed only by the operating system of the flash storage system include improving the reliability of the flash drives of the flash storage system because no unnecessary or redundant write operations are performed during the process. Here, a possible novelty is the concept of initiating and controlling the process at the operating system of the flash storage system. In addition, the process can be controlled by the operating system across multiple flash drives. This is in contrast to the process being performed by the storage controller of the flash drive.
[0051] A storage system may consist of two storage array controllers that share a set of drives for failover purposes, or it may consist of a single storage array controller that provides storage services that utilize multiple drives, or it may consist of a distributed network of storage array controllers, each having a certain number of drives or a certain amount of flash storage, where the storage array controllers in the network cooperate to provide a complete storage service and cooperate in various aspects of the storage service including storage allocation and obsolete item collection.
[0052] Figure 1C A third example system 117 for data storage according to some embodiments is described. For purposes of illustration and not limitation, the system 117 (also referred to herein as a "storage system") includes numerous elements. It may be noted that in other embodiments, the system 117 may include the same, more, or fewer elements configured in the same or different manner.
[0053] In one embodiment, system 117 includes dual peripheral component interconnect ('PCI') flash memory devices 118 with individually addressable fast write storage. System 117 may include storage controller 119. In one embodiment, storage controllers 119A-D may be a CPU, ASIC, FPGA, or any other circuitry that may implement the necessary control structures according to the present disclosure. In one embodiment, system 117 includes flash memory devices (e.g., including flash memory devices 120a-n) operably coupled to various channels of storage device controller 119. Flash memory devices 120a-n may be presented to controller 119A-D as an addressable collection of flash pages, erase blocks, and / or control elements sufficient to allow storage device controller 119A-D to program and retrieve various aspects of the flash memory. In one embodiment, the storage device controllers 119A to D can perform operations on the flash memory devices 120a to n, including storing and retrieving the data contents of a page, arranging and erasing any blocks, tracking statistics related to the use and reuse of flash memory pages, erase blocks and cells, tracking and predicting error codes and failures within the flash memory, controlling voltage levels associated with programming and retrieving the contents of flash memory cells, etc.
[0054] In one embodiment, the system 117 may include a RAM 121 to store individually addressable fast write data. In one embodiment, the RAM 121 may be one or more separate discrete devices. In another embodiment, the RAM 121 may be integrated into the storage device controller 119A to D or multiple storage device controllers. The RAM 121 may also be used for other purposes, such as temporary program storage for a processing device (e.g., a CPU) in the storage device controller 119.
[0055] In one embodiment, system 117 may include energy storage device 122, such as a rechargeable battery or capacitor. Energy storage device 122 may store enough energy to power storage controller 119, some amount of RAM (e.g., RAM 121), and some amount of flash memory (e.g., flash memory 120a-120n) for a sufficient time to write the contents of the RAM to the flash memory. In one embodiment, if the storage controller detects a loss of external power, storage controller 119A-D may write the contents of the RAM to the flash memory.
[0056] In one embodiment, the system 117 includes two data communication links 123a, 123b. In one embodiment, the data communication links 123a, 123b may be PCI interfaces. In another embodiment, the data communication links 123a, 123b may be based on other communication standards (e.g., HyperTransport, InfiniBand, etc.). The data communication links 123a, 123b may be based on the Non-Volatile Memory Express ('NVMe') or NVMe Architecture ('NVMf') specification, which allows external connection to the storage device controllers 119A to D from other components in the storage system 117. It should be noted that for convenience, the data communication links may be interchangeably referred to as PCI buses herein.
[0057] The system 117 may also include an external power source (not shown) which may be provided via one or both of the data communication links 123a, 123b, or may be provided separately. An alternative embodiment includes a separate flash memory (not shown) dedicated to storing the contents of the RAM 121. The storage device controllers 119A-D may present a logical device (which may include an addressable fast write logical device) or a distinct portion of the logical address space of the storage device 118 (which may be presented as PCI memory or as a persistent storage device) via the PCI bus. In one embodiment, operations to store into the device are directed into the RAM 121. In the event of a power failure, the storage device controllers 119A-D may write the stored contents associated with the addressable fast write logical storage to a flash memory (e.g., flash memory 120a-n) for long-term persistent storage.
[0058] In one embodiment, the logic device may include some representation of some or all of the contents of flash memory devices 120a-n, wherein the representation allows a storage system (e.g., storage system 117) including storage device 118 to directly address flash memory pages and directly reprogram erase blocks from storage system components external to the storage device over a PCI bus. The representation may also allow one or more of the external components to control and retrieve other aspects of the flash memory, including some or all of the following: tracking statistics related to the use and reuse of flash memory pages, erase blocks, and cells across all flash memory devices; tracking and predicting error codes and failures within and across flash memory devices; controlling voltage levels associated with programming and retrieving the contents of flash cells; etc.
[0059] In one embodiment, the energy storage device 122 may be sufficient to ensure completion of ongoing operations on the flash memory devices 120a to 120n, and the energy storage device 122 may power the storage device controllers 119A to D and the associated flash memory devices (e.g., 120a to n) for those operations, as well as for storing fast write RAM to flash memory. The energy storage device 122 may be used to store accumulated statistics and other parameters maintained and tracked by the flash memory devices 120a to n and / or the storage device controller 119. A separate capacitor or energy storage device (e.g., a smaller capacitor near or embedded within the flash memory device itself) may be used for some or all of the operations described herein.
[0060] Various schemes may be used to track and optimize the life of the energy storage component, such as adjusting voltage levels over time, partially discharging the energy storage device 122 to measure corresponding discharge characteristics, etc. If the available energy decreases over time, the effective available capacity of the addressable fast write storage device may be reduced to ensure it can be safely written based on the currently available stored energy.
[0061] Figure 1D A third example system 124 for data storage according to some embodiments is illustrated. In one embodiment, the system 124 includes storage controllers 125a, 125b. In one embodiment, the storage controllers 125a, 125b are operably coupled to dual PCI storage devices 119a, 119b and 119c, 119d, respectively. The storage controllers 125a, 125b are operably coupled (e.g., via a storage network 130) to a number of host computers 127a to n.
[0062] In one embodiment, two storage controllers (e.g., 125a and 125b) provide storage services, such as an SCS block storage array, a file server, an object server, a database or data analysis service, etc. The storage controllers 125a, 125b may provide services to host computers 127a to n external to the storage system 124 through a number of network interfaces (e.g., 126a to d). The storage controllers 125a, 125b may provide integrated services or applications entirely within the storage system 124, thereby forming a converged storage and computing system. The storage controllers 125a, 125b may utilize fast write memory within or across the storage devices 119a to d to journal ongoing operations to ensure that operations are not lost in the event of a power failure, storage controller removal, storage controller or storage system shutdown, or some failure of one or more software or hardware components within the storage system 124.
[0063] In one embodiment, the controllers 125a, 125b operate as PCI masters for one or the other PCI buses 128a, 128b. In another embodiment, 128a, 128b may be based on other communication standards (e.g., HyperTransport, InfiniBand, etc.). Other storage system embodiments may operate the storage controllers 125a, 125b as multi-masters for both PCI buses 128a, 128b. Alternatively, a PCI / NVMe / NVMf switching infrastructure or architecture may connect multiple storage controllers. Some storage system embodiments may allow storage devices to communicate directly with each other, rather than just with the storage controllers. In one embodiment, the storage device controller 119a may operate under guidance from the storage controller 125a to retrieve data from a computer that has been stored in RAM (e.g., Figure 1C The recalculated version of the RAM contents may be transferred after the storage controller has determined that the operation has been fully committed across the storage system or when the fast write memory on the device has reached a certain usage capacity or after a certain amount of time to ensure improved data security or to free up addressable fast write capacity for reuse. This mechanism can be used, for example, to avoid secondary transfers from the storage controller 125a, 125b via a bus (e.g., 128a, 128b). In one embodiment, the recalculation may include compressing the data, appending indexes or other metadata, combining multiple data segments together, performing erasure code calculations, etc.
[0064] In one embodiment, under direction from the storage controllers 125a, 125b, the storage device controllers 119a, 119b are operable to retrieve data from a RAM (eg, Figure 1C The memory device 120 can be used to calculate data from the data in the RAM 121 of the memory device 125a and transfer the data to other memory devices without involving the memory controllers 125a, 125b. This operation can be used to mirror the data stored in one controller 125a to the other controller 125b, or it can be used to offload the compression, data aggregation and / or erasure coding calculations and transfers to the memory device to reduce the load on the memory controller or the memory controller interface 129a, 129b to the PCI bus 128a, 128b.
[0065] The storage device controllers 119A-D may include mechanisms for implementing high availability primitives for use by other components of the storage system external to the dual PCI storage device 118. For example, a reservation or exclusion primitive may be provided so that in a storage system having two storage controllers providing highly available storage services, one storage controller may prevent the other storage controller from accessing or continuing to access the storage device. This may be used, for example, in situations where one of the controllers detects that the other controller is not functioning properly or where the interconnect between the two storage controllers itself may not be functioning properly.
[0066] In one embodiment, a storage system for use with dual PCI direct mapped storage devices with individually addressable fast write storage includes a system that manages erase blocks or groups of erase blocks as allocation units for storing data on behalf of a storage service or for storing metadata associated with the storage service (e.g., indexes, logs, etc.) or for proper management of the storage system itself. Flash pages, which may be several kilobytes in size, may be written as data arrives or when the storage system will hold data for a long time interval (e.g., exceeding a defined time threshold). To commit data more quickly, or to reduce the number of writes to the flash memory device, the storage controller may first write the data to an individually addressable fast write storage device on one or more storage devices.
[0067] In one embodiment, the storage controllers 125a, 125b may initiate the use of erase blocks within and across storage devices such as 118 based on the age and expected remaining useful life of the storage devices or based on other statistics. The storage controllers 125a, 125b may initiate obsolete item collection and data migration data between storage devices based on pages that are no longer needed and in order to manage flash page and erase block useful life and in order to manage overall system performance.
[0068] In one embodiment, the storage system 124 may utilize mirroring and / or erasure coding schemes as part of storing data in addressable fast write storage devices and / or as part of writing data to allocation units associated with erase blocks. Erasure codes may be used across storage devices and within erase blocks or allocation units, or within and across flash memory devices on a single storage device to provide redundancy against single or multiple storage device failures or to protect against corruption within flash memory pages caused by flash memory operations or by flash memory cell degradation. Mirroring and erasure coding at various levels may be used to recover from multiple types of failures occurring alone or in combination.
[0069] refer to Figure 2AThe embodiments depicted in FIG. 1 and FIG. 2 illustrate a storage cluster that stores user data, such as user data originating from one or more users or client systems or other sources external to the storage cluster. The storage cluster uses erasure coding and redundant copies of metadata to distribute user data across storage nodes housed in a chassis or across multiple chassis. Erasure coding refers to a method of data protection or reconstruction in which data is stored across a set of different locations (such as disks, storage nodes, or geographic locations). Flash memory is a type of solid-state memory that can be integrated with embodiments, but embodiments can be extended to other types of solid-state memory or other storage media, including non-solid-state memory. Control of storage locations and workloads is distributed across storage locations in a cluster peer system. Tasks such as mediating communications between storage nodes, detecting when a storage node becomes unavailable, and balancing I / O (input and output) across storage nodes are all handled on a distributed basis. In some embodiments, data is laid out or distributed across multiple storage nodes in data segments or stripes that support data recovery. Ownership of data can be reassigned within the cluster, independent of the input and output type. This architecture, described in more detail below, allows for storage node failures in a cluster while the system remains operational because data can be reconstructed from other storage nodes and thus remain available for input and output operations.In various embodiments, a storage node may be referred to as a cluster node, a blade, or a server.
[0070] The storage cluster may be housed in a chassis (i.e., a housing that houses one or more storage nodes). A mechanism for providing power to each storage node (e.g., a power distribution bus) and a communication mechanism (e.g., a communication bus that enables communication between storage nodes) are included in the chassis. According to some embodiments, the storage cluster may operate as a standalone system in one location. In one embodiment, the chassis houses at least two instances of both power distribution and communication buses that can be enabled or disabled individually. The internal communication bus may be an Ethernet bus, however, other technologies such as PCIe, Infiniband, and others are equally suitable. The chassis provides ports for an external communication bus for communication between multiple chassis and with client systems, either directly or through a switch. External communications may use technologies such as Ethernet, Infiniband, Fibre Channel, etc. In some embodiments, the external communication bus uses different communication bus technologies for inter-chassis and client communications. If a switch is deployed within a chassis or between chassis, the switch may be used as a translator between multiple protocols or technologies. When multiple chassis are connected to define a storage cluster, the storage cluster may be accessed by clients using a proprietary interface or a standard interface, such as a Network File System ('NFS'), Common Internet File System ('CIFS'), Small Computer System Interface ('SCSI'), or Hypertext Transfer Protocol ('HTTP'). Protocol translation from the client may occur at a switch, a chassis external communication bus, or within each storage node. In some embodiments, multiple chassis may be coupled or connected to each other via an aggregator switch. A portion and / or all of the coupled or connected chassis may be designated as a storage cluster. As discussed above, each chassis may have multiple blades, each blade having a media access control ('MAC') address, but in some embodiments, the storage cluster appears to the external network as having a single cluster IP address and a single MAC address.
[0071] Each storage node may be one or more storage servers, and each storage server is connected to one or more non-volatile solid-state memory units, which may be referred to as storage units or storage devices. One embodiment includes a single storage server in each storage node and between 1 and 8 non-volatile solid-state memory units, however, this one example is not meant to be limiting. The storage server may include a processor, DRAM, and interface for an internal communication bus and power distribution for each of the power buses. In some embodiments, inside the storage node, the interface and the storage unit share a communication bus, such as PCI Express. The non-volatile solid-state memory unit may directly access the internal communication bus interface through the storage node communication bus, or request the storage node to access the bus interface. The non-volatile solid-state memory unit contains an embedded CPU, a solid-state storage controller, and a certain number of solid-state mass storage devices, for example, in some embodiments, between 2 and 32 terabytes ('TB'). Embedded volatile storage media (such as DRAM) and energy storage devices are included in the non-volatile solid-state memory unit. In some embodiments, the energy storage device is a capacitor, supercapacitor, or battery that enables a subset of DRAM content to be transferred to a stable storage medium in the event of a power loss. In some embodiments, the non-volatile solid-state memory cell is constructed with a storage class memory such as phase change or magnetoresistive random access memory ('MRAM') that replaces DRAM and enables reduced power retention devices.
[0072] One of the many features of storage nodes and non-volatile solid-state storage devices is the ability to actively rebuild data in a storage cluster. Storage nodes and non-volatile solid-state storage devices can determine when a storage node or non-volatile solid-state storage device in a storage cluster is unreachable, independent of whether an attempt is made to read data involving that storage node or non-volatile solid-state storage device. The storage nodes and non-volatile solid-state storage devices then cooperate to recover and rebuild the data in at least a portion of the new location. This constitutes an active reconstruction because the system does not need to wait until the data is needed for a read access initiated from a client system employing the storage cluster to rebuild the data. These and other details of the storage memory and its operation are discussed below.
[0073] Figure 2A1 is a perspective view of a storage cluster 161 according to some embodiments, which has multiple storage nodes 150 and internal solid-state storage coupled to each storage node to provide a network attached storage device or storage area network. A network attached storage device, storage area network or storage cluster or other storage storage may include one or more storage clusters 161, each storage cluster having one or more storage nodes 150, arranging both the physical components and the amount of storage storage provided thereby in a flexible and reconfigurable manner. The storage cluster 161 is designed to be assembled in a rack, and one or more racks can be configured and populated for storage storage as needed. The storage cluster 161 has a chassis 138 with multiple slots 142. It should be understood that the chassis 138 can be referred to as a housing, a shell, or a rack unit. In one embodiment, the chassis 138 has fourteen slots 142, but other numbers of slots can be easily designed. For example, some embodiments have 4 slots, 8 slots, 16 slots, 32 slots, or other suitable numbers of slots. In some embodiments, each slot 142 can accommodate one storage node 150. The chassis 138 includes fins 148 that can be used to mount the chassis 138 on a rack. The fans 144 provide air circulation for cooling the storage nodes 150 and their components, but other cooling components can be used, or embodiments without cooling components can be designed. The switch architecture 146 couples the storage nodes 150 within the chassis 138 together and couples to a network for communication with the storage. In the embodiments depicted herein, for illustrative purposes, the slots 142 on the left side of the switch architecture 146 and the fans 144 are shown as being occupied by the storage nodes 150, while the slots 142 on the right side of the switch architecture 146 and the fans 144 are empty and can be used to insert the storage nodes 150. This configuration is an example, and in various other arrangements, one or more storage nodes 150 can occupy the slots 142. In some embodiments, the storage node arrangement need not be sequential or adjacent. The storage nodes 150 are hot-swappable, meaning that the storage nodes 150 can be inserted into or removed from the slots 142 in the chassis 138 without stopping or powering off the system. After the storage nodes 150 are inserted or removed from the slots 142, the system automatically reconfigures to recognize and adapt to the changes. In some embodiments, the reconfiguration includes restoring storage redundancy and / or rebalancing data or load.
[0074] Each storage node 150 may have multiple components. In the embodiment shown here, the storage node 150 includes a printed circuit board 159, which is populated by a CPU 156 (i.e., a processor), a memory 154 coupled to the CPU 156, and a non-volatile solid-state storage device 152 coupled to the CPU 156, but in other embodiments, other mountings and / or components may be used. The memory 154 has instructions executed by the CPU 156 and / or data operated on by the CPU 156. As further explained below, the non-volatile solid-state storage device 152 includes flash memory, or in other embodiments, includes other types of solid-state memory.
[0075] refer to Figure 2A , the storage cluster 161 is scalable, which means that storage capacity with non-uniform storage size can be easily added, as described above. One or more storage nodes 150 can be inserted into or removed from each chassis, and in some embodiments, the storage cluster self-configures. The plug-in storage node 150 can have different sizes whether it is installed in the chassis at the time of delivery or added later. For example, in one embodiment, the storage node 150 can have any multiple of 4TB, such as 8TB, 12TB, 16TB, 32TB, etc. In another embodiment, the storage node 150 can have any multiple of other storage amounts or capacities. The storage capacity of each storage node 150 is broadcast and affects the decision of how to stripe data. For maximum storage efficiency, the embodiment can be self-configured in the stripe to be as wide as possible, subject to predetermined continuous operation requirements, wherein up to one or up to two non-volatile solid-state storage units 152 or storage nodes 150 are lost in the chassis.
[0076] Figure 2B 1 is a block diagram showing a communication interconnect 173 and a power distribution bus 172 coupling a plurality of storage nodes 150. Return to Reference Figure 2A In some embodiments, the communication interconnect 173 may be included in or implemented with the switch architecture 146. In the case where multiple storage clusters 161 occupy a rack, in some embodiments, the communication interconnect 173 may be included in or implemented with the top of the rack switch. Figure 2B 1, storage cluster 161 is enclosed within a single chassis 138. External port 176 is coupled to storage node 150 via communication interconnect 173, while external port 174 is directly coupled to storage node. External power port 178 is coupled to power distribution bus 172. Storage node 150 may include non-volatile solid-state storage devices 152 of varying amounts and capacities, as described in reference to FIG. Figure 2A In addition, one or more storage nodes 150 may be computing-only storage nodes, such as Figure 2B. The authorization 168 is implemented on the non-volatile solid-state storage device 152, for example as a list or other data structure stored in a memory. In some embodiments, the authorization is stored in the non-volatile solid-state storage device 152 and supported by software executed on a controller or other processor of the non-volatile solid-state storage device 152. In another embodiment, the authorization 168 is implemented on the storage node 150, for example as a list or other data structure stored in a memory 154 and supported by software executed on a CPU 156 of the storage node 150. In some embodiments, the authorization 168 controls how data is stored in the non-volatile solid-state storage device 152 and where the data is stored in the non-volatile solid-state storage device 152. This control helps determine which type of erasure coding scheme is applied to the data and which storage nodes 150 have which parts of the data. Each authorization 168 can be assigned to a non-volatile solid-state storage device 152. In various embodiments, each authorization may control a range of inode numbers, segment numbers, or other data identifiers assigned to data by the file system, by the storage node 150, or by the non-volatile solid-state storage device 152.
[0077] In some embodiments, each piece of data and each piece of metadata has redundancy in the system. In addition, each piece of data and each piece of metadata has an owner, which can be called an authorization. If that authorization is unreachable, such as by the failure of a storage node, there is a succession plan for how to find that data or that metadata. In various embodiments, there are redundant copies of authorization 168. In some embodiments, authorization 168 has a relationship with a storage node 150 and a non-volatile solid-state storage device 152. Each authorization 168 covering the range of data segment numbers or other identifiers of data can be assigned to a specific non-volatile solid-state storage device 152. In some embodiments, authorization 168 for all such ranges is distributed on the non-volatile solid-state storage device 152 of the storage cluster. Each storage node 150 has a network port that provides access to the non-volatile solid-state storage device 152 of that storage node 150. Data can be stored in segments, and in some embodiments, the segment is associated with a segment number and that segment number is the indirectness of the configuration of a RAID (Redundant Array of Independent Disks) stripe. The assignment and use of authorization 168 therefore establishes indirectness to data. According to some embodiments, indirectness may be referred to as the ability to reference data indirectly (in this case, via authorization 168). A segment identifies a set of non-volatile solid-state storage devices 152 and a local identifier to the set of non-volatile solid-state storage devices 152 that may contain data. In some embodiments, the local identifier is an offset into the device and may be reused sequentially by multiple segments. In other embodiments, the local identifier is unique to a particular segment and is never reused. The offset in the non-volatile solid-state storage device 152 is applied to locate data for writing to or reading from the non-volatile solid-state storage device 152 (in the form of a RAID stripe). Data is striped across multiple units of the non-volatile solid-state storage device 152, which may include a non-volatile solid-state storage device 152 having an authorization 168 for a particular data segment or a non-volatile solid-state storage device 152 different from the non-volatile solid-state storage device 152.
[0078] If the location where a particular data segment is located changes, for example, during data movement or data reconstruction, the authorization 168 for that data segment should be consulted at the non-volatile solid-state storage device 152 or storage node 150 with that authorization 168. In order to locate a particular piece of data, an embodiment calculates a hash value of the data segment or applies an index node number or a data segment number. The output of this operation points to the non-volatile solid-state storage device 152 with the authorization 168 for that particular piece of data. In some embodiments, there are two stages for this operation. The first stage maps an entity identifier (ID) (such as a segment number, an index node number, or a directory number) to an authorization identifier. This mapping may include, for example, the calculation of a hash or a bit mask. The second stage is to map the authorization identifier to a specific non-volatile solid-state storage device 152, which can be accomplished by explicit mapping. The operation is repeatable so that when the calculation is performed, the result of the calculation can be repeatedly and reliably pointed to a specific non-volatile solid-state storage device 152 with that authorization 168. The operation may include a reachable storage node set as input. If the set of reachable non-volatile solid-state storage units changes, the best set changes. In some embodiments, the value maintained is the current assignment (which is always true) and the calculated value is the target assignment that the cluster will attempt to reconfigure. This calculation can be used to determine the best non-volatile solid-state storage device 152 for authorization when there is a group of non-volatile solid-state storage devices 152 that are reachable and constitute the same cluster. The calculation also determines an ordered set of peer non-volatile solid-state storage devices 152, which will also record the authorization mapped to the non-volatile solid-state storage device so that the authorization can be determined even when the assigned non-volatile solid-state storage device is unreachable. In some embodiments, if a specific authorization 168 is not available, a duplicate or alternative authorization 168 can be consulted.
[0079] refer to Figure 2A and 2B, two of the many tasks of the CPU 156 on the storage node 150 are to decompose write data and reassemble read data. When the system has determined that data is to be written, the authorization 168 for that data is located as described above. When the segment ID of the data has been determined, the write request is forwarded to the non-volatile solid-state storage device 152 of the host that is currently determined to be the authorization 168 determined from the segment. Then, the host CPU 156 of the storage node 150 on which the non-volatile solid-state storage device 152 and the corresponding authorization 168 reside decomposes or splits the data and transmits the data out to various non-volatile solid-state storage devices 152. The transmitted data is written as a data stripe according to an erasure coding scheme. In some embodiments, the request pulls the data, and in other embodiments, the data is pushed. In contrast, when data is read, the authorization 168 for the segment ID containing the data is located as described above. The host CPU 156 of the storage node 150 on which the non-volatile solid-state storage device 152 and the corresponding grant 168 reside requests data from the non-volatile solid-state storage device and the corresponding storage node pointed to by the grant. In some embodiments, the data is read from the flash storage device as a data stripe. Then, the host CPU 156 of the storage node 150 reorganizes the read data, thereby correcting any errors (if any) according to the appropriate erasure coding scheme and forwarding the reorganized data to the network. In other embodiments, some or all of these tasks can be handled in the non-volatile solid-state storage device 152. In some embodiments, the segment host requests data to be sent to the storage node 150 by requesting a page from the storage device and then sending the data to the storage node that issued the original request.
[0080] In an embodiment, authorization 168 operates to determine how operations will be performed for specific logical elements. Each of the logical elements can be operated by specific authorization across multiple storage controllers of the storage system. Authorization 168 can communicate with multiple storage controllers so that multiple storage controllers perform operations together for those specific logical elements.
[0081] In embodiments, a logical element may be, for example, a file, a directory, an object bucket, an individual object, a descriptive portion of a file or object, other forms of key-value databases or tables. In embodiments, performing an operation may involve, for example, ensuring consistency, structural integrity, and / or recoverability of other operations on the same logical element, reading metadata and data associated with that logical element, determining what data should be persistently written to the storage system to preserve any changes to the operation, or metadata and data may be determined where modular storage devices attached to multiple storage controllers in the storage system are to be stored.
[0082] In some embodiments, operations are token-based transactions that are efficiently passed within a distributed system. Each transaction may be accompanied or associated with a token that gives permission to perform the transaction. In some embodiments, authorization 168 can maintain the pre-transaction state of the system until the operation is completed. Token-based communications can be completed without global locks across the system and can also restart operations in the event of corruption or other failures.
[0083] In some systems, such as in UNIX-style file systems, data is handled with index nodes (inodes) that specify a data structure representing an object in the file system. For example, an object may be a file or a directory. Metadata may accompany the object as attributes, such as permission data and a creation timestamp, among other attributes. Segment numbers may be assigned to all or part of this object in the file system. In other systems, data segments are handled with segment numbers assigned elsewhere. For discussion purposes, a distribution unit is an entity, and an entity may be a file, a directory, or a segment. That is, an entity is a unit of data or metadata stored by a storage system. Entities are grouped into sets called grants. Each grant has a grant owner, which is a storage node that has the exclusive right to update the entities in the grant. In other words, a storage node contains a grant, and a grant contains an entity.
[0084] According to some embodiments, a segment is a logical container for data. A segment is an address space between the media address space and the physical flash location, i.e., the data segment number is in this address space. A segment may also contain metadata that enables data redundancy to be restored (rewritten to a different flash location or device) without involving higher-level software. In one embodiment, the internal format of a segment contains client data and a media map to determine the location of that data. Where applicable, each data segment is protected by breaking it into several data and parity fragments, e.g., to prevent the effects of memory and other failures. The data and parity fragments are distributed (i.e., striped) across the non-volatile solid-state storage device 152 coupled to the host CPU 156 according to an erasure coding scheme (see Figure 2E and 2G ). In some embodiments, the use of the term segment refers to a container and its location in the address space of a segment. According to some embodiments, the use of the term stripe refers to the same set of fragments as a segment and includes how the fragments and redundant or parity information are distributed.
[0085] A series of address space transformations occur across the entire storage system. At the top is a directory entry (file name) linked to an index node. The index node points to a media address space where data is logically stored. The media address can be mapped through a series of indirect media to expand the load of large files or implement data services such as deduplication or snapshots. The media address can be mapped through a series of indirect media to expand the load of large files or implement data services such as deduplication or snapshots. Then, the segment address is translated into a physical flash location. According to some embodiments, the physical flash location has an address range defined by the amount of flash memory in the system. The media address and segment address are logical containers, and in some embodiments, 128-bit or larger identifiers are used so that they are actually infinite, where the possibility of reuse is calculated to be longer than the expected life of the system. In some embodiments, addresses from logical containers are allocated in a hierarchical manner. Initially, each non-volatile solid-state storage unit 152 can be assigned an address space range. Within this assigned range, the non-volatile solid-state storage device 152 can allocate addresses without synchronizing with other non-volatile solid-state storage devices 152.
[0086] Data and metadata are stored by a set of underlying storage layouts optimized for different workload types and storage devices. These layouts incorporate a variety of redundancy schemes, compression formats, and indexing algorithms. Some of these layouts store information about authorization and authorization masters, while other layouts store file metadata and file data. Redundancy schemes include error correction codes that tolerate corrupted bits within a single storage device (e.g., a NAND flash chip), erasure codes that tolerate failures of multiple storage nodes, and replication schemes that tolerate data center or regional failures. In some embodiments, low-density parity check ('LDPC') codes are used within a single storage unit. In some embodiments, Reed-Solomon encoding is used within a storage cluster, and mirroring is used within a storage grid. Metadata can be stored using an ordered log structure index (e.g., a log structure merge tree), and large data may not be stored in a log structure layout.
[0087] In order to maintain consistency across multiple copies of an entity, storage nodes implicitly agree on two things through computation: (1) the authorization containing the entity, and (2) the storage node containing the authorization. The assignment of entities to authorizations can be accomplished by pseudo-randomly assigning entities to authorizations, by splitting entities into ranges based on an externally generated key, or by placing a single entity into each authorization. Examples of pseudo-random schemes are linear hashing and hashing of the replication under scalable hashing ('RUSH') family, including controlled replication under scalable hashing ('CRUSH'). In some embodiments, pseudo-random assignment is only used to assign authorizations to nodes, because the set of nodes can change. The set of authorizations cannot change, so any subjective function can be applied in these embodiments. Some placement schemes automatically place authorizations on storage nodes, while other placement schemes rely on an explicit mapping of authorizations to storage nodes. In some embodiments, a pseudo-random scheme is used to map from each authorization to a set of candidate authorization owners. A pseudo-random data distribution function related to CRUSH can assign authorizations to storage nodes and create a list of where to assign authorizations. Each storage node has a copy of the pseudo-random data distribution function and can derive the same calculations to distribute and later find or locate the grant. In some embodiments, each of the pseudo-random schemes requires a reachable set of storage nodes as input in order to derive the same target node. Once an entity has been placed in a grant, the entity can be stored on a physical device so that expected failures will not result in unexpected data loss. In some embodiments, the rebalancing algorithm attempts to store copies of all entities within a grant in the same layout and on the same set of machines.
[0088] Examples of expected failures include device failures, stolen machines, data center fires, and regional disasters, such as nuclear or geological events. Different failures result in different levels of acceptable data loss. In some embodiments, the theft of a storage node affects neither the security nor the reliability of the system, while regional events may result in no data loss, a few seconds or minutes of update loss, or even complete data loss, depending on the system configuration.
[0089] In an embodiment, the placement of data for storage redundancy is independent of the placement of authorization for data consistency. In some embodiments, the storage node containing authorization does not contain any persistent storage device. Instead, the storage node is connected to a non-volatile solid-state storage unit that does not contain authorization. The communication interconnection between the storage node and the non-volatile solid-state storage unit consists of a variety of communication technologies and has non-uniform performance and fault tolerance characteristics. In some embodiments, as mentioned above, the non-volatile solid-state storage unit is connected to the storage node via PCI Express, and the storage node is connected together in a single chassis using an Ethernet backplane, and the chassis are connected together to form a storage cluster. In some embodiments, the storage cluster is connected to the client using Ethernet or Fiber Channel. If multiple storage clusters are configured as a storage grid, then multiple storage clusters are connected using the Internet or other long-distance networking links (e.g., "metro scale" links or private links that do not cross the Internet).
[0090] The authorized owner has the exclusive right to modify the entity, migrate the entity from one non-volatile solid-state storage unit to another non-volatile solid-state storage unit, and add and remove copies of the entity. This allows the redundancy of the underlying data to be maintained. When the authorized owner fails, is to be stopped or overloaded, the authorization is transferred to the new storage node. Transient failures make it very important to ensure that all non-faulty machines agree on the new authorized location. Ambiguities caused by transient failures can be automatically implemented through consensus protocols (such as Paxos) and hot-warm failover schemes via manual intervention by a remote system administrator or by a local hardware administrator (for example, by physically removing the failed machine from the cluster, or pressing a button on the failed machine). In some embodiments, a consensus protocol is used and failover is automatic. According to some embodiments, if too many failures or replication events occur in too short a period of time, the system enters a self-protection mode and stops replication and data movement activities until the administrator intervenes.
[0091] When authorization is transferred between a storage node and an authorization owner to update an authorization of an entity, the system transmits messages between the storage node and the non-volatile solid-state storage unit. Regarding persistent messages, messages with different purposes have different types. Depending on the type of message, the system maintains different sorting and durability guarantees. When processing persistent messages, messages are temporarily stored with multiple persistent and non-persistent storage hardware technologies. In some embodiments, messages are stored in RAM, NVRAM, and on NAND flash memory devices, and various protocols are used to effectively use each storage medium. Latency-sensitive client requests can be kept in replicated NVRAM, and then, later kept in NAND, while background rebalancing operations are kept directly to NAND.
[0092] Persistent messages are persistently stored before being transmitted. This allows the system to continue to serve client requests despite failures and component replacements. Although many hardware components contain unique identifiers visible to system administrators, manufacturers, hardware supply chains, and ongoing monitoring quality control infrastructure, applications running on infrastructure addresses virtualize the addresses. These virtualized addresses do not change over the life of the storage system, regardless of component failures and replacements. This allows each component of the storage system to be replaced over time without reconfiguring or interrupting client request processing, i.e., the system supports non-disruptive upgrades.
[0093] In some embodiments, virtualized addresses are stored with sufficient redundancy. The continuous monitoring system correlates hardware and software states with hardware identifiers. This allows for detection and prediction of failures due to faulty components and manufacturing details. In some embodiments, the monitoring system can also proactively transfer authorizations and entities away from affected devices before a failure occurs by removing components from critical paths.
[0094] Figure 2C 1 is a multi-level block diagram showing the contents of a storage node 150 and the contents of a non-volatile solid-state storage device 152 of the storage node 150. In some embodiments, data is passed to and from the storage node 150 by a network interface controller ('NIC') 202. Each storage node 150 has a CPU 156 and one or more non-volatile solid-state storage devices 152, as discussed above. Figure 2C Moving down one level in FIG. 1 , each non-volatile solid-state storage device 152 has relatively fast non-volatile solid-state memory, such as non-volatile random access memory ('NVRAM') 204 and flash memory 206. In some embodiments, NVRAM 204 may be a component (DRAM, MRAM, PCM) that does not require program / erase cycles and may be a memory that can support writes much more frequently than reads from the memory. Figure 2CMoving down another level in FIG. 2 , in one embodiment, NVRAM 204 is implemented as a high-speed volatile memory, such as dynamic random access memory (DRAM) 216, backed up by an energy reserve 218. The energy reserve 218 provides sufficient power to keep the DRAM 216 powered long enough to transfer the contents to the flash memory 206 in the event of a power failure. In some embodiments, the energy reserve 218 is a capacitor, supercapacitor, battery, or other device that supplies a suitable energy supply sufficient to enable the contents of the DRAM 216 to be transferred to a stable storage medium in the event of a loss of power. The flash memory 206 is implemented as a plurality of flash die 222, which may be referred to as a package of flash die 222 or an array of flash die 222. It should be appreciated that the flash die 222 may be packaged in any number of ways, with a single die per package, multiple die per package (i.e., a multi-chip package), in a hybrid package, as an exposed die on a printed circuit board or other substrate, as an encapsulated die, and the like. In the embodiment shown, the non-volatile solid-state storage device 152 has a controller 212 or other processor and an input-output (I / O) port 210 coupled to the controller 212. The I / O port 210 is coupled to the CPU 156 and / or the network interface controller 202 of the flash storage node 150. The flash input-output (I / O) port 220 is coupled to the flash die 222, and the direct memory access unit (DMA) 214 is coupled to the controller 212, the DRAM 216, and the flash die 222. In the embodiment shown, the I / O port 210, the controller 212, the DMA unit 214, and the flash I / O port 220 are implemented on a programmable logic device ('PLD') 208, such as an FPGA. In this embodiment, each flash die 222 has pages organized as 16kB (kilobyte) pages 224 and registers 226 through which data can be written to or read from the flash die 222. In further embodiments, other types of solid-state memory are used in place of or in addition to the flash memory illustrated within flash die 222 .
[0095] In various embodiments as disclosed herein, storage cluster 161 can be generally contrasted with storage array. Storage node 150 is part of a collection that creates storage cluster 161. Each storage node 150 owns a slice of data and provides the calculations required for the data. Multiple storage nodes 150 cooperate to store and retrieve data. As commonly used in storage arrays, storage memory or storage devices are less involved in processing and manipulating data. Storage memory or storage devices in storage arrays receive commands to read, write or erase data. Storage memory or storage devices in storage arrays do not know the larger system in which they are embedded, or what the data means. Storage memory or storage devices in storage arrays may include various types of storage memory, such as RAM, solid-state drives, hard disk drives, etc. The storage unit 152 described herein has multiple interfaces that are simultaneously effective and serve multiple purposes. In some embodiments, a certain functionality of storage node 150 is shifted into storage unit 152, thereby transforming storage unit 152 into a combination of storage unit 152 and storage node 150. Placing computation (as opposed to storing data) into a storage unit 152 places this computation closer to the data itself. Various system embodiments have a hierarchy of storage node tiers with different capabilities. In contrast, in a storage array, a controller owns and knows everything about all the data that the controller manages in a shelf or storage device. In a storage cluster 161, as described herein, multiple storage units 152 and / or multiple controllers in a storage node 150 cooperate in various ways (e.g., for erasure coding, data slicing, metadata communication and redundancy, storage capacity expansion or contraction, data recovery, etc.).
[0096] Figure 2D Demonstration of use Figure 2A 1 and 152. In this version, each storage unit 152 has a storage server environment in a chassis 138 (see Figure 2A ) on a PCIe (Peripheral Component Interconnect Express) board, for example, a controller 212 (see Figure 2C ) of the processor, FPGA, flash memory 206 and NVRAM 204 (which is a supercapacitor-backed DRAM 216, see Figure 2B and 2C ). Storage unit 152 may be implemented as a single board containing storage devices and may be the largest tolerable failure domain within the chassis. In some embodiments, up to two storage units 152 may fail and the device will continue without data loss.
[0097] In some embodiments, the physical storage device is divided into named areas based on application use. NVRAM 204 is a continuous block of memory retained in the storage unit 152 DRAM 216 and is supported by NAND flash memory. NVRAM 204 is logically divided into multiple memory areas, two of which are written as spools (e.g., spool_region). The space within the NVRAM 204 spool is managed independently by each authorization 168. Each device provides a certain amount of storage space to each authorization 168. That authorization 168 further manages the life cycle and allocation within that space. The instance of the spool includes a distributed transaction or concept. When the main power to the storage unit 152 fails, the on-board super capacitor provides a shorter duration of power retention. During this retention interval, the content of NVRAM 204 is refreshed to the flash memory 206. At the next power-on, the content of NVRAM 204 is restored from the flash memory 206.
[0098] With respect to the storage unit controller, the responsibility of the logical "controller" is distributed across each of the blades containing the authorization 168. This logical control is distributed across Figure 2D 1 and 2 are shown as host controller 242, mid-tier controller 244, and storage unit controller 246. The management of the control plane and storage plane are treated independently, but the components can be physically co-located on the same blade. Each authorization 168 effectively acts as an independent controller. Each authorization 168 provides its own data and metadata structures, its own background workers, and maintains its own life cycle.
[0099] Figure 2E It is displayed in Figure 2D Used in a storage server environment Figure 2A 1. A hardware block diagram of a blade 252 of an embodiment of a storage node 150 and storage unit 152 of FIG. 10 interacts with underlying physical resources, a control plane 254, a compute and storage plane 256, 258, and an authorization 168. The control plane 254 is partitioned into a number of authorizations 168 that can run on any of the blades 252 using the compute resources in the compute plane 256. The storage plane 258 is partitioned into a set of devices, each of which provides access to the flash memory 206 and NVRAM 204 resources. In one embodiment, the compute plane 256 can perform the operations of a storage array controller on one or more devices of the storage plane 258 (e.g., a storage array), as described herein.
[0100] exist Figure 2EIn the compute and storage planes 256, 258 of the system, the authorizations 168 interact with the underlying physical resources (i.e., devices). From the perspective of the authorizations 168, their resources are striped across all physical devices. From the perspective of the devices, they provide resources to all authorizations 168, no matter where the authorizations happen to be running. Each authorization 168 has or has been assigned one or more partitions 260 of storage memory in the storage unit 152, such as the partitions 260 in the flash memory 206 and the NVRAM 204. Each authorization 168 uses those allocated partitions 260 belonging to it for writing or reading user data. Authorizations can be associated with different amounts of physical storage of the system. For example, one authorization 168 can have a greater number of partitions 260 or larger size partitions 260 in one or more storage units 152 than one or more other authorizations 168.
[0101] Figure 2F Depicts the elasticity software layer in the blade 252 of a storage cluster according to some embodiments. In the elastic architecture, the elasticity software is symmetrical, i.e., the computing module 270 of each blade runs Figure 2F The storage manager 274 executes read and write requests from other blades 252 for data and metadata stored in the local storage unit 152 NVRAM 204 and flash memory 206. The authorization 168 implements the client request by issuing the necessary reads and writes to the blade 252 on whose storage unit 152 the corresponding data or metadata resides. The endpoint 272 parses the client connection request received from the switch architecture 146 monitoring software, relays the client connection request to the authorization 168 responsible for implementation, and relays the response of the authorization 168 to the client. The symmetric three-tier structure realizes a high degree of concurrency in the storage system. In these embodiments, elasticity is efficiently and reliably scaled out. In addition, elasticity implements a unique scale-out technology that evenly balances work across all resources regardless of the client access pattern, and maximizes concurrency by eliminating most of the need for inter-blade coordination that usually occurs for conventional distributed locking.
[0102] Still refer to Figure 2F, the authority 168 running in the compute module 270 of the blade 252 performs the internal operations required to complete the client request. One feature of resiliency is that the authority 168 is stateless, that is, it caches valid data and metadata in the DRAM of its own blade 252 for fast access, but the authority stores each update in its partition of NVRAM 204 on three separate blades 252 until the update has been written to flash memory 206. In some embodiments, all storage system writes to NVRAM 204 are triplicated to the partitions on the three separate blades 252. With three mirrored NVRAM 204 and persistent storage protected by parity and Reed-Solomon RAID checksums, the storage system can withstand the concurrent failure of two blades 252 without losing data, metadata, or access to either.
[0103] Because the authorization 168 is stateless, it can be migrated between blades 252. Each authorization 168 has a unique identifier. In some, the partitions of NVRAM 204 and flash memory 206 are associated with the identifier of the authorization 168, rather than the blade 252 on which it is running. Therefore, when the authorization 168 migrates, the authorization 168 continues to manage the same storage partitions from its new location. When a new blade 252 is installed in an embodiment of the storage cluster, the system automatically rebalances the load by partitioning the storage device of the new blade 252 for use by the authorization 168 of the system, migrating the selected authorization 168 to the new blade 252, opening the endpoint 272 on the new blade 252, and including it in the client connection distribution algorithm of the switch architecture 146.
[0104] The migrated authority 168 maintains the contents of its NVRAM 204 partition on flash memory 206 from its new location, processes read and write requests from other authorities 168, and completes client requests directed to it by endpoint 272. Similarly, if a blade 252 fails or is removed, the system redistributes its authorities 168 among the remaining blades 252 in the system. The redistributed authorities 168 continue to perform their original functions from their new location.
[0105] Figure 2GDepicts the authorities 168 and storage resources in the blades 252 of a storage cluster according to some embodiments. Each authority 168 is specifically responsible for a partition of flash memory 206 and NVRAM 204 on each blade 252. An authority 168 manages the content and integrity of its partition independently of other authorities 168. An authority 168 compresses incoming data and temporarily saves it in a partition of its NVRAM 204, and then consolidates, RAID protects, and maintains the data in a segment of the storage device in its flash memory 206 partition. As the authority 168 writes data to the flash memory 206, the storage manager 274 performs the necessary flash translations to optimize write performance and maximize media life. In the background, the authority 168 "does garbage collection" or reclaims space occupied by data that has been made obsolete by clients overwriting the data. It should be appreciated that because the partitions of the authority 168 are disjoint, no distributed locking is required to execute clients and writes or to perform background functions.
[0106] The embodiments described herein may utilize various software, communication and / or networking protocols. In addition, the configuration of the hardware and / or software may be adjusted to accommodate various protocols. For example, embodiments may utilize Active Directory, which is a Windows TM A database-based system that provides authentication, directory, policy and other services in an environment. In these embodiments, LDAP (Lightweight Directory Access Protocol) is an example application protocol for querying and modifying items in a directory service provider (such as an active directory). In some embodiments, a network lock manager ('NLM') is used as a facility that works in cooperation with a network file system ('NFS') to provide System V-style advisory file and record locking via a network. The Server Message Block ('SMB') protocol (a version of which is also called the Common Internet File System ('CIFS')) can be integrated with the storage system discussed herein. SMP operations are application layer network protocols that are typically used to provide shared access to files, printers, and serial ports, as well as miscellaneous communications between nodes on a network. SMB also provides an authenticated inter-process communication mechanism. AMAZON TMS3 (Simple Storage Service) is a web service provided by Amazon Web Services, and the system described herein can interface with Amazon S3 through web service interfaces (REST (Representational State Transfer), SOAP (Simple Object Access Protocol), and BitTorrent). The RESTful API (Application Programming Interface) decomposes transactions to create a series of small modules. Each module addresses a specific underlying part of the transaction. The control or permissions provided by these embodiments, especially for object data, can include the use of access control lists ('ACLs'). An ACL is a list of permissions attached to an object, and the ACL specifies which users or system processes are authorized to access an object and what operations are allowed on a given object. The system can utilize Internet Protocol version 6 ('IPv6') as well as IPv4, a communication protocol for providing identification and location systems and routing services across the Internet for computers on a network. Packet routing between networked systems can include equal cost multipath routing ('ECMP'), which is a routing strategy in which next-hop packet forwarding to a single destination can occur via multiple "best paths" that are at the top of the routing metric calculation. Multipath routing can be used with most routing protocols because it is a per-hop decision limited to a single router. The software can support multi-tenancy, which is an architecture in which a single instance of a software application serves multiple customers. Each customer may be referred to as a tenant. In some embodiments, tenants may be given the ability to customize some parts of the application, but may not be able to customize the code of the application. An embodiment may maintain an audit log. An audit log is a document that records events in a computing system. In addition to recording what resources are accessed, audit log entries typically include destination and source addresses, timestamps, and user login information to comply with various regulations. An embodiment may support various key management strategies, such as encryption key rotation. In addition, the system may support a dynamic root password or a change in a dynamic password.
[0107] Figure 3A A diagram of a storage system 306 coupled for data communication with a cloud service provider 302 is presented in accordance with some embodiments of the present disclosure. Although depicted in less detail, Figure 3A The storage system 306 depicted in FIG. 3 may be similar to the storage system 306 described above with reference to FIG. Figures 1A to 1D and Figures 2A to 2G In some embodiments, Figure 3AThe storage system 306 depicted in the diagram may be embodied as a storage system including unbalanced active / active controllers, a storage system including balanced active / active controllers, a storage system including active / active controllers (in which less than all resources of each controller are utilized such that each controller has reserved resources available to support failover), a storage system including fully active / active controllers, a storage system including data set isolation controllers, a storage system including a two-tier architecture with a front-end controller and a back-end integrated storage controller, a storage system including a scale-out cluster of dual-controller arrays, and combinations of such embodiments.
[0108] exist Figure 3A 304, the storage system 306 is coupled to the cloud service provider 302 via a data communication link 304. The data communication link 304 may be embodied as a dedicated data communication link, a data communication path provided by using one or more data communication networks, such as a wide area network ('WAN') or a LAN, or some other mechanism capable of transmitting digital information between the storage system 306 and the cloud service provider 302. This data communication link 304 may be completely wired, completely wireless, or some aggregation of wired and wireless data communication paths. In this example, digital information may be exchanged between the storage system 306 and the cloud service provider 302 via the data communication link 304 using one or more data communication protocols. For example, the digital information may be exchanged between the storage system 306 and the cloud service provider 302 via the data communication link 304 using the Handheld Device Transfer Protocol ('HDTP'), the Hypertext Transfer Protocol ('HTTP'), the Internet Protocol ('IP'), the Real-time Transport Protocol ('RTP'), the Transmission Control Protocol ('TCP'), the User Datagram Protocol ('UDP'), the Wireless Application Protocol ('WAP'), or other protocols.
[0109] For example, Figure 3A The cloud service provider 302 depicted in FIG. 3 may embody a system and computing environment that provides a number of services to users of the cloud service provider 302 by sharing computing resources via a data communication link 304. The cloud service provider 302 may provide on-demand access to a pool of shared configurable computing resources (e.g., computer networks, servers, storage devices, applications and services, etc.). The shared pool of configurable resources may be quickly assigned and released to users of the cloud service provider 302 with minimal management effort. Generally, users of the cloud service provider 302 are unaware of the precise computing resources used by the cloud service provider 302 to provide services. Although in many cases this cloud service provider 302 may be accessed via the Internet, readers in the art will recognize that any system that abstracts the use of shared resources to provide services to users via any data communication link may be considered a cloud service provider 302.
[0110] exist Figure 3A , cloud service provider 302 may be configured to provide various services to storage system 306 and users of storage system 306 by implementing various service models. For example, cloud service provider 302 may be configured to provide services by implementing an infrastructure as a service ('IaaS') service model, by implementing a platform as a service ('PaaS') service model, by implementing a software as a service ('SaaS') service model, by implementing an authentication as a service ('AaaS') service model, by implementing a storage as a service model (in which cloud service provider 302 provides access to its storage infrastructure for use by storage system 306 and users of storage system 306), etc. The reader will appreciate that cloud service provider 302 may be configured to provide additional services to storage system 306 and users of storage system 306 by implementing additional service models, as the service models described above are included for explanation purposes only, and in no way represent a limitation on the services that may be provided by cloud service provider 302 or a limitation on the service models that may be implemented by cloud service provider 302.
[0111] exist Figure 3A In the example depicted in , cloud service provider 302 may be embodied as, for example, a private cloud, a public cloud, or a combination of a private cloud and a public cloud. In embodiments where cloud service provider 302 is embodied as a private cloud, cloud service provider 302 may be dedicated to providing services to a single organization, rather than providing services to multiple organizations. In embodiments where cloud service provider 302 is embodied as a public cloud, cloud service provider 302 may provide services to multiple organizations. In yet alternative embodiments, cloud service provider 302 may be embodied as a mix of private and public cloud services using a hybrid cloud deployment.
[0112] although Figure 3A 306 and users of the storage system 306. For example, the storage system 306 may be coupled to (or even include) a cloud storage gateway. For example, this cloud storage gateway may be embodied as a hardware-based or software-based device that is locally deployed (on premises) with the storage system 306. This cloud storage gateway may operate as a bridge between local applications executed on the storage array 306 and remote cloud-based storage devices utilized by the storage array 306. By using a cloud storage gateway, an organization can move the main iSCSI or NAS to the cloud service provider 302, thereby enabling the organization to save space on its locally deployed storage system. This cloud storage gateway may be configured to emulate a disk array, a block-based device, a file server, or other storage system that can translate SCSI commands, file server commands, or other appropriate commands into a REST space protocol that facilitates communication with the cloud service provider 302.
[0113] In order to enable storage system 306 and users of storage system 306 to use services provided by cloud service provider 302, a cloud migration process may be performed during which data, applications, or other elements from an organization's local systems (or even from another cloud environment) are moved to cloud service provider 302. In order to successfully migrate data, applications, or other elements to the environment of cloud service provider 302, middleware such as cloud migration tools may be used to bridge the gap between the environment of cloud service provider 302 and the environment of the organization. Such cloud migration tools may also be configured to address the potential high network costs and long transfer times associated with migrating large amounts of data to cloud service provider 302, as well as to address security issues associated with sensitive data to cloud service provider 302 via data communications networks. In order to enable storage system 306 and users of storage system 306 to further use services provided by cloud service provider 302, a cloud orchestrator may also be used to arrange and coordinate automated tasks to create a merged process or workflow. This cloud orchestrator may perform tasks such as configuring various components, whether those components are cloud components or locally deployed components, and managing the interconnections between such components. Cloud orchestrators simplify communication and connectivity between components to ensure links are properly configured and maintained.
[0114] exist Figure 3A In the example depicted in , and as briefly described above, the cloud service provider 302 may be configured to provide services to the storage system 306 and users of the storage system 306 by using a SaaS service model, thereby eliminating the need to install and run applications on local computers, which can simplify the maintenance and support of the applications. According to various embodiments of the present disclosure, such applications may take many forms. For example, the cloud service provider 302 may be configured to provide access to data analysis applications to the storage system 306 and users of the storage system 306. Such data analysis applications may be configured, for example, to receive a large amount of telemetry data that is phoned home by the storage system 306. Such telemetry data may describe various operating characteristics of the storage system 306 and may be analyzed for a number of purposes, including, for example, determining the health of the storage system 306, identifying workloads executed on the storage system 306, predicting when the storage system 306 will run out of various resources, recommending configuration changes, hardware or software upgrades, workflow migrations, or other actions that may improve the operation of the storage system 306.
[0115] The cloud service provider 302 may also be configured to provide access to a virtualized computing environment to the storage system 306 and users of the storage system 306. For example, such a virtualized computing environment may be embodied as a virtual machine or other virtualized computer hardware platform, a virtual storage device, virtualized computer network resources, etc. Examples of such a virtualized environment may include a virtual machine created to emulate an actual computer, a virtualized desktop environment that separates a logical desktop from a physical machine, a virtualized file system that allows uniform access to different types of specific file systems, and many others.
[0116] To explain further, Figure 3B A diagram of a storage system 306 is presented in accordance with some embodiments of the present disclosure. Although not depicted in detail, Figure 3B The storage system 306 depicted in FIG. 3 may be similar to the storage system 306 described above with reference to FIG. Figures 1A to 1D and Figures 2A to 2G The storage system described above is because the storage system may include many of the components described above.
[0117] Figure 3B The storage system 306 depicted in can include a number of storage resources 308, which can be embodied in many forms. For example, the storage resources 308 can include nano-RAM or another form of non-volatile random access memory utilizing carbon nanotubes deposited on a substrate, 3D cross-point non-volatile memory, flash memory (including single-level cell ('SLC') NAND flash memory, multi-level cell ('MLC') NAND flash memory, three-level cell ('TLC') NAND flash memory, four-level cell ('QLC') NAND flash memory), or other. Likewise, the storage resources 308 can include non-volatile magnetoresistive random access memory ('MRAM'), including spin transfer torque ('STT') MRAM. The example storage resources 308 can alternatively include non-volatile phase change memory ('PCM'), quantum memory that allows storage and retrieval of photon quantum information, resistive random access memory ('ReRAM'), storage class memory ('SCM'), or other forms of storage resources, including any combination of the resources described herein. The reader will appreciate that other forms of computer memory and storage devices may be utilized by the memory system described above, including DRAM, SRAM, EEPROM, general purpose memory, and many others. Figure 3A The storage resources 308 depicted in may be embodied in various form factors, including, but not limited to, dual in-line memory modules ('DIMMs'), non-volatile dual in-line memory modules ('NVDIMMs'), M.2, U.2, and others.
[0118] Figure 3AThe storage resources 308 depicted in FIG. 3 may include various forms of SCM. The SCM may effectively treat fast non-volatile memory (e.g., NAND flash) as an extension of DRAM, so that the entire data set may be treated as an in-memory data set that resides entirely in DRAM. The SCM may include non-volatile media such as, for example, NAND flash. This NAND flash may be accessed using NVMe, which may use the PCIe bus as its transport, providing relatively low access latency compared to older protocols. In practice, network protocols for SSDs in an all-flash array may include NVMe using Ethernet (ROCE, NVME TCP), Fibre Channel (NVMe FC), InfiniBand (iWARP), and others that make it possible to treat fast non-volatile memory as an extension of DRAM. Given the fact that DRAM is typically byte-addressable and fast non-volatile memory (e.g., NAND flash) is block-addressable, a controller software / hardware stack may be required to convert block data into bytes stored in the media. Examples of media and software that may be used as SCM may include, for example, 3D XPoint, Intel memory drive technology, Samsung's Z-SSD, and others.
[0119] Figure 3A The storage resources 308 depicted in FIG. 3 may also include racetrack memory (also referred to as domain-wall memory). Such racetrack memory may be embodied in a form of non-volatile solid-state memory that relies, in addition to the charge of the electrons, on the intrinsic strength and orientation of the magnetic field created by the electrons in the solid-state device as they spin. By using spin-coherent current to move magnetic domains along nanopermalloy wires, the magnetic domains may be transferred by a magnetic read / write head positioned near the wire as the current is passed through the wire, which changes the magnetic domains to record a bit pattern. To create a racetrack memory device, many such wires and read / write elements may be packaged together.
[0120] Figure 3B The example storage system 306 depicted in can implement various storage architectures. For example, a storage system according to some embodiments of the present disclosure may utilize block storage, where data is stored in blocks, and each block essentially acts as an individual hard drive. A storage system according to some embodiments of the present disclosure may utilize object storage, where data is managed as objects. Each object may include the data itself, a variable amount of metadata, and a globally unique identifier, where object storage can be implemented at multiple levels (e.g., device level, system level, interface level). A storage system according to some embodiments of the present disclosure utilizes file storage, where data is stored in a hierarchical structure. This data can be saved in files and folders and presented to both the system that stores it and the system that retrieves it in the same format.
[0121] Figure 3B The example storage system 306 depicted in FIG. 300 may be embodied as a storage system in which additional storage resources may be added using a scale-up model, additional storage resources may be added using a scale-out model, or some combination thereof. In a scale-up model, additional storage may be added by adding additional storage devices. However, in a scale-out model, additional storage nodes may be added to a cluster of storage nodes, wherein such storage nodes may include additional processing resources, additional networking resources, and the like.
[0122] Figure 3B The example storage system 306 depicted in the can utilize the storage resources described above in various different ways. For example, a portion of the storage resources can be used as a write cache, where data is initially written to the storage resources under relatively fast write latency, relatively high write bandwidth, or similar characteristics. In this example, data written to the storage resource used as a write cache can be written to other storage resources characterized by slower write latency, lower write bandwidth, or similar characteristics compared to the storage resource used as a write cache. In a similar manner, storage resources within a storage system can be used as a read cache, where the read cache is filled according to a set of predetermined rules or heuristics. In other embodiments, tiering can be implemented within a storage system by placing data within the storage system according to one or more strategies, for example, so that frequently accessed data is stored in a faster storage tier, and infrequently accessed data is stored in a slower storage tier.
[0123] Figure 3B The storage system 306 depicted in also includes communication resources 310, which can be used to facilitate data communication between components within the storage system 306 and between the storage system 306 and computing devices external to the storage system 306, including embodiments in which those resources are separated by relatively wide areas. The communication resources 310 can be configured to utilize a variety of different protocols and data communication architectures to facilitate data communication between components within the storage system and computing devices external to the storage system. For example, the communication resources 310 can include: Fibre Channel ('FC') technology, such as an FC architecture and FC protocol that can transmit SCSI commands over an FC network; FC over Ethernet ('FCoE') technology, by which FC frames are encapsulated and transmitted over an Ethernet network; InfiniBand ('IB') technology, in which a switch fabric topology is used to facilitate transmissions between channel adapters; NVM Express ('NVMe') technology and Fabric-based NVMe ('NVMeoF') technology, by which non-volatile storage media attached via a PCI Express ('PCIe') bus can be accessed; and others. In fact, the storage system described above may directly or indirectly use neutrino communication techniques and devices by which information (including binary information) is transmitted using neutrino beams.
[0124] The communication resources 310 may also include mechanisms for accessing storage resources 308 within the storage system 306 utilizing Serial Attached SCSI ('SAS'), a Serial ATA ('SATA') bus interface for connecting storage resources 308 within the storage system 306 to a host bus adapter within the storage system 306, Internet Small Computer System Interface ('iSCSI') technology for providing block-level access to storage resources 308 within the storage system 306, and other communication resources that may be used to facilitate data communications between components within the storage system 306 and data communications between the storage system 306 and computing devices external to the storage system 306.
[0125] Figure 3B The storage system 306 depicted in FIG. 3 also includes processing resources 312 that can be used to execute computer program instructions and perform other computing tasks within the storage system 306. The processing resources 312 can include one or more ASICs and one or more CPUs customized for a particular purpose. The processing resources 312 can also include one or more DSPs, one or more FPGAs, one or more systems on a chip ('SoC'), or other forms of processing resources 312. The storage system 306 can utilize the storage resources 312 to perform a variety of tasks, including (but not limited to) supporting the execution of software resources 314, which will be described in more detail below.
[0126] Figure 3B The storage system 306 depicted in FIG. 3 also includes software resources 314 that, when executed by processing resources 312 within the storage system 306, can perform a number of tasks. The software resources 314 can include, for example, one or more computer program instruction modules that, when executed by processing resources 312 within the storage system 306, are used to implement various data protection techniques to maintain the integrity of data stored within the storage system. The reader will appreciate that such data protection techniques can be implemented, for example, by system software executing on computer hardware within the storage system, by a cloud service provider, or otherwise. Such data protection technologies may include, for example, data archiving technology, which causes data that is no longer actively used to be moved to a separate storage device or a separate storage system for long-term retention; data backup technology, by which data stored in a storage system can be copied and stored in a different location to avoid data loss in the event of equipment failure or some other form of disaster to the storage system; data replication technology, by which data stored in a storage system is copied to another storage system so that the data is accessible via multiple storage systems; data snapshot technology, by which the state of data within a storage system is captured at various points in time; data and database cloning technology, by which duplicate copies of data and databases can be created; and other data protection technologies.
[0127] Software resources 314 may also include software for implementing software defined storage ('SDS'). In this example, software resources 314 may include one or more computer program instruction modules that, when executed, provide for policy-based provisioning and management of data storage, independent of the underlying hardware. Such software resources 314 may be used to implement storage virtualization to separate storage hardware from the software that manages the storage hardware.
[0128] The software resources 314 may also include software for facilitating and optimizing I / O operations directed to the storage resources 308 in the storage system 306. For example, the software resources 314 may include software modules that execute and implement various data reduction techniques such as, for example, data compression, data deduplication, and others. The software resources 314 may include software modules that intelligently group I / O operations together to facilitate better use of the underlying storage resources 308, software modules that perform data migration operations to migrate from within the storage system, and software modules that perform other functions. Such software resources 314 may be embodied as one or more software containers or in many other ways.
[0129] To explain further, Figure 3C An example of a cloud-based storage system 318 according to some embodiments of the present disclosure is presented. Figure 3C In the example depicted in , cloud-based storage system 318 is created entirely in a cloud computing environment 316, such as, for example, Amazon Web Services ('AWS'), Microsoft Azure, Google Cloud Platform, IBM Cloud, Oracle Cloud, and others. Cloud-based storage system 318 may be used to provide services similar to those that may be provided by the storage systems described above. For example, cloud-based storage system 318 may be used to provide block storage services to users of cloud-based storage system 318, cloud-based storage system 318 may be used to provide storage services to users of cloud-based storage system 318 through the use of solid-state storage devices, etc., and so on.
[0130] Figure 3C318 includes two cloud computing instances 320, 322, each for supporting the execution of a storage controller application 324, 326. For example, the cloud computing instances 320, 322 may be embodied as instances of cloud computing resources (e.g., virtual machines) that may be provided by the cloud computing environment 316 to support the execution of software applications (e.g., storage controller applications 324, 326). In one embodiment, the cloud computing instances 320, 322 may be embodied as Amazon Elastic Compute Cloud ('EC2') instances. In this example, an Amazon Machine Image ('AMI') containing the storage controller applications 324, 326 may be launched to create and configure a virtual machine that may execute the storage controller applications 324, 326.
[0131] exist Figure 3C In the example method described in the embodiment, the storage controller applications 324, 326 may be embodied as computer program instruction modules that, when executed, perform various storage tasks. For example, the storage controller applications 324, 326 may be embodied as computer program instruction modules that, when executed, perform the same tasks as described above. Figure 1A The controllers 110A, 110B in the cloud-based storage system 318 may perform the same tasks, such as writing data received from users of the cloud-based storage system 318 to the cloud-based storage system 318, erasing data from the cloud-based storage system 318, retrieving data from the cloud-based storage system 318 and providing such data to users of the cloud-based storage system 318, monitoring and reporting disk utilization and performance, performing redundancy operations (e.g., RAID or RAID-like data redundancy operations), compressing data, encrypting data, deduplicating data, and the like. The reader will appreciate that because there are two cloud computing instances 320, 322 each including a storage controller application 324, 326, in some embodiments, one cloud computing instance 320 may operate as a primary controller as described above, while the other cloud computing instance 322 may operate as a secondary controller as described above. The reader will appreciate that Figure 3C The storage controller applications 324 , 326 depicted in can include the same source code that executes within different cloud computing instances 320 , 322 .
[0132] Consider an example in which cloud computing environment 316 is embodied as AWS and cloud computing instances are embodied as EC2 instances. In this example, cloud computing instance 320 operating as a primary controller may be deployed on one of the instance types with a relatively large amount of memory and processing power, while cloud computing instance 322 operating as a secondary controller may be deployed on one of the instance types with a relatively small amount of memory and processing power. In this example, after a failover event occurs in which the primary and secondary roles are switched, a double failover may be implemented in effect, such that: 1) a first failover event occurs in which cloud computing instance 322, which previously operated as a secondary controller, begins operating as a primary controller; 2) a third cloud computing instance (not shown) of an instance type with a relatively large amount of memory and processing power is started with a copy of the storage controller application, in which the third cloud computing instance begins operating as a primary controller, and cloud computing instance 322, which initially operated as a secondary controller, begins operating as a secondary controller again. In this example, cloud computing instance 320, which previously operated as a primary controller, may be terminated. The reader will appreciate that, in alternative embodiments, the cloud computing instance 320 operating as a secondary controller after a failover event may continue to operate as a secondary controller, and the cloud computing instance 322 operating as a primary controller after a failover occurs may terminate after a third cloud computing instance (not shown) assumes the primary role.
[0133] The reader will appreciate that while the embodiments described above relate to embodiments in which one cloud computing instance 320 operates as a primary controller and a second cloud computing instance 322 operates as a secondary controller, other embodiments are within the scope of the present disclosure. For example, each cloud computing instance 320, 322 may operate as a primary controller for some portion of the address space supported by the cloud-based storage system 318, each cloud computing instance 320, 322 may operate as a primary controller in which the service of I / O operations directed to the cloud-based storage system 318 is divided in some other manner, etc. Indeed, in other embodiments in which cost savings may take precedence over performance requirements, there may be only a single cloud computing instance containing a storage controller application.
[0134] Figure 3C The cloud-based storage system 318 depicted in FIG. 1 includes cloud computing instances 340a, 340b, 340n having local storage devices 330, 334, 338. For example, Figure 3C The cloud computing examples 340a, 340b, 340n depicted in FIG. 3 may embody examples of cloud computing resources that may be provided by the cloud computing environment 316 to support the execution of software applications. Figure 3C The cloud computing examples 340a, 340b, 340n may be different from the cloud computing examples 320, 322 described above because Figure 3CThe cloud computing instances 340a, 340b, 340n of the storage controller applications 324, 326 have local storage 330, 334, 338 resources, while the cloud computing instances 320, 322 supporting the execution of the storage controller applications 324, 326 do not need to have local storage resources. For example, the cloud computing instances 340a, 340b, 340n with local storage 330, 334, 338 can be embodied as EC2 M5 instances including one or more SSDs, EC2 R5 instances including one or more SSDs, EC2 I3 instances including one or more SSDs, and so on. In some embodiments, the local storage 330, 334, 338 must be embodied as a solid-state storage device (e.g., an SSD) rather than a storage device using a hard disk drive.
[0135] exist Figure 3C In the example depicted in FIG. 1 , each of the cloud computing instances 340a, 340b, 340n having local storage devices 330, 334, 338 may include a software daemon 328, 332, 336 that, when executed by the cloud computing instances 340a, 340b, 340n, may present itself to the storage controller application 324, 326 as if the cloud computing instances 340a, 340b, 340n were physical storage devices (e.g., one or more SSDs). In this example, the software daemons 328, 332, 336 may include computer program instructions similar to those typically included on storage devices, such that the storage controller application 324, 326 may send and receive the same commands that a storage controller would send to the storage devices. In this way, the storage controller application 324, 326 may include code that is the same (or substantially the same) as the code that would be executed by the controller in the storage system described above. In these and similar embodiments, communication between the storage controller application 324, 326 and the cloud computing instances 340a, 340b, 340n having local storage devices 330, 334, 338 may utilize iSCSI, NVMe over TCP, messaging, a custom protocol, or some other mechanism.
[0136] exist Figure 3CIn the example depicted in FIG. 1 , each of the cloud computing instances 340a, 340b, 340n having local storage devices 330, 334, 338 may also be coupled to a block storage device 342, 344, 346 provided by the cloud computing environment 316. For example, the block storage devices 342, 344, 346 provided by the cloud computing environment 316 may be embodied as Amazon Elastic Block Store ('EBS') volumes. For example, a first EBS volume may be coupled to the first cloud computing instance 340a, a second EBS volume may be coupled to the second cloud computing instance 340b, and a third EBS volume may be coupled to the third cloud computing instance 340n. In this example, the block storage devices 342, 344, 346 provided by the cloud computing environment 316 can be utilized in a manner similar to how the NVRAM devices described above are utilized, because the software daemon 328, 332, 336 (or some other module) executing within a particular cloud computing instance 340a, 340b, 340n can initiate the writing of data to its attached EBS volumes and to its local storage device 330, 334, 338 resources upon receiving a request to write data. In some alternative embodiments, data can only be written to the local storage device 330, 334, 338 resources within a particular cloud computing instance 340a, 340b, 340n. In an alternative embodiment, rather than using the block storage 342, 344, 346 provided by the cloud computing environment 316 as NVRAM, actual RAM on each of the cloud computing instances 340a, 340b, 340n having local storage 330, 334, 338 may be used as NVRAM, thereby reducing the network utilization costs associated with using EBS volumes as NVRAM. In yet another embodiment, a high-performance block storage resource such as one or more Azure ultra disks may be used as NVRAM.
[0137] exist Figure 3C, cloud computing instances 340a, 340b, 340n having local storage devices 330, 334, 338 may be used by cloud computing instances 320, 322 supporting execution of storage controller applications 324, 326 to service I / O operations directed to a cloud-based storage system 318. Consider an example in which a first cloud computing instance 320 executing a storage controller application 324 operates as a primary controller. In this example, the first cloud computing instance 320 executing the storage controller application 324 may receive a request from a user of the cloud-based storage system 318 (directly or indirectly via a secondary controller) to write data to the cloud-based storage system 318. In this example, the first cloud computing instance 320 executing the storage controller application 324 may perform various tasks such as, for example, deduplicating the data included in the request, compressing the data included in the request, determining where to write the data included in the request, etc. before ultimately sending a request to one or more of the cloud computing instances 340a, 340b, 340n with local storage devices 330, 334, 338 to write a deduplicated, encrypted, or other possible updated version of the data. In some embodiments, the cloud computing instances 320, 322 may receive a request to read data from the cloud-based storage system 318 and may ultimately send a request to read data to one or more of the cloud computing instances 340a, 340b, 340n with local storage devices 330, 334, 338.
[0138] The reader will appreciate that when a request to write data is received by a particular cloud computing instance 340a, 340b, 340n having a local storage device 330, 334, 338, the software daemon 328, 332, 336 or some other module of computer program instructions executing on the particular cloud computing instance 340a, 340b, 340n may be configured to write the data not only to its own local storage device 330, 334, 338 resources and any appropriate block storage device 342, 344, 346 provided by the cloud computing environment 316, but the software daemon 328, 332, 336 or some other module of computer program instructions executing on the particular cloud computing instance 340a, 340b, 340n may also be configured to write the data to a cloud-based object storage device 348 attached to the particular cloud computing instance 340a, 340b, 340n. For example, the cloud-based object storage 348 attached to a particular cloud computing instance 340a, 340b, 340n may be embodied as an Amazon Simple Storage Service ('S3') storage device accessible by the particular cloud computing instance 340a, 340b, 340n. In other embodiments, each cloud computing instance 320, 322 including a storage controller application 324, 326 may initiate the storage of data in the local storage 330, 334, 338 and the cloud-based object storage 348 of the cloud computing instance 340a, 340b, 340n.
[0139] The reader will appreciate that, as described above, the cloud-based storage system 318 can be used to provide block storage services to users of the cloud-based storage system 318. While the local storage 330, 334, 338 resources and block storage 342, 344, 346 resources utilized by the cloud computing instances 340a, 340b, 340n can support block-level access, the cloud-based object storage 348 attached to a particular cloud computing instance 340a, 340b, 340n only supports object-based access. To address this issue, a software daemon 328, 332, 336 or some other module of computer program instructions being executed on a particular cloud computing instance 340a, 340b, 340n can be configured to take blocks of data, package those blocks into objects, and write the objects to the cloud-based object storage 348 attached to the particular cloud computing instance 340a, 340b, 340n.
[0140] Consider an example where data is written in 1MB blocks to the local storage 330, 334, 338 resources and block storage 342, 344, 346 resources utilized by the cloud computing instances 340a, 340b, 340n. In this example, assume that a user of the cloud-based storage system 318 issues a request to write data that, after being compressed and deduplicated by the storage controller applications 324, 326, results in 5MB of data needing to be written. In this example, writing the data to the local storage 330, 334, 338 resources and block storage 342, 344, 346 resources utilized by the cloud computing instances 340a, 340b, 340n is relatively straightforward because 5 blocks of 1MB in size are written to the local storage 330, 334, 338 resources and block storage 342, 344, 346 resources utilized by the cloud computing instances 340a, 340b, 340n. In this example, the software daemon 328, 332, 336 or some other module of computer program instructions being executed on the particular cloud computing instance 340a, 340b, 340n may be configured to: 1) create a first object including a first 1MB of data and write the first object to the cloud-based object storage 348; 2) create a second object including a second 1MB of data and write the second object to the cloud-based object storage 348; 3) create a third object including a third 1MB of data and write the third object to the cloud-based object storage 348; and so on. Thus, in some embodiments, the size of each object written to the cloud-based object storage 348 may be the same (or nearly the same). The reader will appreciate that in this example, metadata associated with the data itself may be included in each object (e.g., the first 1MB of the object is the data, and the remainder is the metadata associated with the data).
[0141] The reader will appreciate that the cloud-based object storage device 348 can be incorporated into the cloud-based storage system 318 to improve the durability of the cloud-based storage system 318. Continuing the example described above where the cloud computing instances 340a, 340b, 340n are EC2 instances, the reader will appreciate that the EC2 instance only guarantees a monthly uptime of 99.9%, and the data stored in the local instance storage area only persists during the life of the EC2 instance. Thus, relying on the cloud computing instances 340a, 340b, 340n with local storage devices 330, 334, 338 as the only source of persistent data storage in the cloud-based storage system 318 may result in a relatively unreliable storage system. Similarly, EBS volumes can be designed for 99.999% availability. Thus, even relying on EBS as a persistent data storage area in the cloud-based storage system 318 may result in a storage system that is not durable enough. However, Amazon S3 is designed to provide 99.9999999999% durability, which means that a cloud-based storage system 318 that may incorporate S3 into its storage pool is substantially more durable than various other options.
[0142] The reader will appreciate that while a cloud-based storage system 318 that may incorporate S3 into its storage pool is substantially more durable than various other options, utilizing S3 as the primary storage pool may result in a storage system with relatively slow response times and relatively long I / O latencies. Figure 3C The cloud-based storage system 318 depicted in FIG. 1 not only stores data in S3, but the cloud-based storage system 318 also stores data in local storage devices 330, 334, 338 resources and block storage devices 342, 344, 346 resources utilized by cloud computing examples 340a, 340b, 340n, so that read operations can be served from the local storage devices 330, 334, 338 resources and block storage devices 342, 344, and 346 resources utilized by cloud computing examples 340a, 340b, 340n, thereby reducing read latency when users of the cloud-based storage system 318 attempt to read data from the cloud-based storage system 318.
[0143] In some embodiments, all data stored by the cloud-based storage system 318 may be stored in both: 1) a cloud-based object store 348; and 2) at least one of a local storage 330, 334, 338 resource or a block storage 342, 344, 346 resource utilized by the cloud computing instances 340a, 340b, 340n. In such embodiments, the local storage 330, 334, 338 resource and the block storage 342, 344, 346 resource utilized by the cloud computing instances 340a, 340b, 340n may effectively operate as a cache that generally includes all data also stored in S3, such that all reads of data may be served by the cloud computing instances 340a, 340b, 340n without requiring the cloud computing instances 340a, 340b, 340n to access the cloud-based object store 348. However, the reader will appreciate that in other embodiments, all data stored by the cloud-based storage system 318 may be stored in the cloud-based object storage 348, but not all data stored by the cloud-based storage system 318 may be stored in at least one of the local storage 330, 334, 338 resources or block storage 342, 344, 346 resources utilized by the cloud computing instances 340a, 340b, 340n. In this example, various strategies may be utilized to determine which subset of data stored by the cloud-based storage system 318 should reside in: 1) the cloud-based object storage 348; and 2) at least one of the local storage 330, 334, 338 resources or block storage 342, 344, 346 resources utilized by the cloud computing instances 340a, 340b, 340n.
[0144] As described above, when the cloud computing instances 340a, 340b, 340n with local storage 330, 334, 338 are embodied as EC2 instances, the cloud computing instances 340a, 340b, 340n with local storage 330, 334, 338 only guarantee a monthly uptime of 99.9%, and the data stored in the local instance storage area only persists during the life of the cloud computing instances 340a, 340b, 340n with local storage 330, 334, 338. Thus, one or more computer program instruction modules executed within the cloud-based storage system 318 (e.g., a monitoring module executed on its own EC2 instance) can be designed to handle the failure of one or more of the cloud computing instances 340a, 340b, 340n with local storage 330, 334, 338. In this example, the monitoring module can handle the failure of one or more of the cloud computing instances 340a, 340b, 340n with local storage 330, 334, 338 by creating one or more new cloud computing instances with local storage, retrieving data stored on the failed cloud computing instances 340a, 340b, 340n from the cloud-based object storage 348, and storing the data retrieved from the cloud-based object storage 348 in the local storage on the newly created cloud computing instances. The reader will appreciate that many variations of this process can be implemented.
[0145] Consider an example in which all cloud computing instances 340a, 340b, 340n with local storage 330, 334, 338 fail. In this example, the monitoring module can create a new cloud computing instance with local storage, where a high-bandwidth instance type is selected that allows for a maximum data transfer rate between the newly created high-bandwidth cloud computing instance with local storage and the cloud-based object storage 348. The reader will appreciate that the instance type selected allows for a maximum data transfer rate between the new cloud computing instance and the cloud-based object storage 348 so that the new high-bandwidth cloud computing instance can be replenished with data from the cloud-based object storage 348 as quickly as possible. Once the new high-bandwidth cloud computing instance is replenished with data from the cloud-based object storage 348, a cheaper lower-bandwidth cloud computing instance can be created, data can be migrated to the cheaper lower-bandwidth cloud computing instance, and the high-bandwidth cloud computing instance can be terminated.
[0146] The reader will appreciate that in some embodiments, the number of new cloud computing instances created may substantially exceed the number of cloud computing instances required to locally store all data stored by cloud-based storage system 318. The number of new cloud computing instances created may substantially exceed the number of cloud computing instances required to locally store all data stored by cloud-based storage system 318 so that data can be pulled from cloud-based object storage 348 and placed into the new cloud computing instances more quickly, since each new cloud computing instance may (in parallel) retrieve some portion of the data stored by cloud-based storage system 318. In this embodiment, once data stored by cloud-based storage system 318 is pulled into the newly created cloud computing instances, the data may be merged into a subset of the newly created cloud computing instances, and those newly created excess cloud computing instances may be terminated.
[0147] Consider an example where 1,000 cloud computing instances are needed in order to locally store all valid data that users of cloud-based storage system 318 have written to cloud-based storage system 318. In this example, assume that all 1,000 cloud computing instances fail. In this example, the monitoring module may cause the creation of 100,000 cloud computing instances, each of which is responsible for retrieving a distinct 1 / 100,000th chunk of valid data that users of cloud-based storage system 318 have written to cloud-based storage system 318 from cloud-based object storage 348 and locally storing a distinct chunk of its retrieved data set. In this example, because each of the 100,000 cloud computing instances can retrieve data from cloud-based object storage 348 in parallel, the cache layer can be restored 100 times faster than an embodiment in which the monitoring module only creates 1,000 replacement cloud computing instances. In this example, over time, the 100,000th locally stored data may be merged into the 1,000th cloud computing instance, and the remaining 99,000 cloud computing instances may be terminated.
[0148] The reader will appreciate that various performance aspects of the cloud-based storage system 318 may be monitored (e.g., by a monitoring module executing in an EC2 instance) such that the cloud-based storage system 318 may be scaled up or scaled out as needed. Consider an example in which the monitoring module monitors the performance of the cloud-based storage system 318 via communication with one or more of the cloud computing instances 320, 322, each of which is used to support the execution of a storage controller application 324, 326 via monitoring communications between the cloud computing instances 320, 322, 340a, 340b, 340n, via monitoring communications between the cloud computing instances 320, 322, 340a, 340b, 340n and a cloud-based object storage device 348, or in some other manner. In this example, assume that the monitoring module determines that the cloud computing instances 320, 322 used to support the execution of the storage controller applications 324, 326 are undersized and insufficient to service I / O requests issued by users of the cloud-based storage system 318. In this example, the monitoring module may create a new, more powerful cloud computing instance (e.g., a type of cloud computing instance that includes more processing power, more memory, etc.) that includes the storage controller application so that the new, more powerful cloud computing instance can begin operating as the primary controller. Likewise, if the monitoring module determines that the cloud computing instances 320, 322 used to support execution of the storage controller applications 324, 326 are oversized and cost savings can be obtained by switching to a smaller, less powerful cloud computing instance, the monitoring module may create a new, less powerful (and cheaper) cloud computing instance that includes the storage controller application so that the new, less powerful cloud computing instance can begin operating as the primary controller.
[0149] As an additional example of dynamically sizing the cloud-based storage system 318, consider an instance in which the monitoring module determines that the utilization of the local storage collectively provided by the cloud computing instances 340a, 340b, 340n has reached a predetermined utilization threshold (e.g., 95%). In this example, the monitoring module may create additional cloud computing instances with local storage to expand the local storage pool provided by the cloud computing instances. Alternatively, the monitoring module may create one or more new cloud computing instances that have a larger amount of local storage than the existing cloud computing instances 340a, 340b, 340n, so that data stored in the existing cloud computing instances 340a, 340b, 340n may be migrated to the one or more new cloud computing instances, and the existing cloud computing instances 340a, 340b, 340n may be terminated, thereby expanding the local storage pool provided by the cloud computing instances. Similarly, if the local storage pool provided by the cloud computing instances is unnecessarily large, then the data may be consolidated and some cloud computing instances may be terminated.
[0150] The reader will appreciate that the cloud-based storage system 318 can be automatically sized up and down through the monitoring module applying a set of predetermined rules that can be relatively simple or relatively complex. In fact, the monitoring module can not only consider the current state of the cloud-based storage system 318, but the monitoring module can also apply predictive policies based on, for example, observed behavior (e.g., every night from 10 pm to 6 am, the storage system is relatively lightly used), predetermined fingerprints (e.g., every time the virtual desktop infrastructure adds 100 virtual desktops, the number of IOPS directed to the storage system increases by X), etc. In this example, the dynamic expansion of the cloud-based storage system 318 can be based on current performance metrics, predicted workloads, and many other factors, including combinations thereof.
[0151] The reader will further appreciate that because the cloud-based storage system 318 can be dynamically scalable, the cloud-based storage system 318 can operate in an even more dynamic manner. Consider the example of abandoned project collection. In traditional storage systems, the amount of storage is fixed. Thus, at some point, the storage system may be forced to perform abandoned project collection because the available storage has become so limited that the storage system is about to run out of storage. In contrast, the cloud-based storage system 318 described herein can always 'add' additional storage devices (for example, by adding more cloud computing instances with local storage devices). Because the cloud-based storage system 318 described herein can always 'add' additional storage devices, the cloud-based storage system 318 can make more intelligent decisions about when to perform abandoned project collection. For example, the cloud-based storage system 318 can implement a policy such that abandoned project collection is only performed when the number of IOPS served by the cloud-based storage system 318 drops below a certain level. In some embodiments, given that the size of cloud-based storage system 318 is not as constrained as traditional storage systems, other system-level functions (eg, deduplication, compression) may also be turned off and on in response to system load.
[0152] The reader will appreciate that embodiments of the present disclosure address a problem with block storage services provided by some cloud computing environments, as some cloud computing environments only allow one cloud computing instance to connect to a block storage volume at a time. For example, in Amazon AWS, only a single EC2 instance can connect to an EBS volume. By using EC2 instances with local storage devices, embodiments of the present disclosure may provide multi-connection capabilities, where multiple EC2 instances can connect to another EC2 instance ('driver instance') with local storage devices. In this embodiment, the driver instance may include software executed within the driver instance that allows the driver instance to support I / O directed to a specific volume from each connected EC2 instance. Thus, some embodiments of the present disclosure may be embodied as a multi-connection block storage service, which may not include Figure 3C All components depicted in .
[0153] In some embodiments, particularly in embodiments where the cloud-based object storage 348 resource is embodied as Amazon S3, the cloud-based storage system 318 may include one or more modules (e.g., computer program instruction modules executed on an EC2 instance) that are configured to ensure that when the local storage of a particular cloud computing instance is replenished with data from S3, the appropriate data is actually in S3. The main reason for this problem is that S3 implements an eventual consistency model, in which when an existing object is overwritten, reads of the object will eventually (but not necessarily immediately) become consistent and eventually (but not necessarily immediately) return the overwritten version of the object. To address this issue, in some embodiments of the present disclosure, objects in S3 are never overwritten. In contrast, a traditional 'overwrite' will result in the creation of a new object (containing an updated version of the data) and the eventual deletion of the old object (containing the previous version of the data).
[0154] In some embodiments of the present disclosure, as part of an attempt to never (or almost never) overwrite an object, when data is written to S3, the resulting object may be tagged with a sequence number. In some embodiments, these sequence numbers may be maintained elsewhere (e.g., in a database) so that the sequence numbers associated with the latest version of a piece of data are known at any point in time. In this way, it may be determined whether S3 has the latest version of a piece of data simply by reading the sequence number associated with the object without actually reading the data from S3. The ability to make this determination may be particularly important when a cloud computing instance with a local storage device crashes, because it is undesirable to supplement the local storage device that replaces the cloud computing instance with outdated data. In fact, because the cloud-based storage system 318 does not need to access the data to verify its validity, the data can remain encrypted and access fees can be avoided.
[0155] The storage system described above may implement intelligent data backup techniques by which data stored in the storage system may be replicated and stored in a different location to avoid data loss in the event of an equipment failure or some other form of disaster. For example, the storage system described above may be configured to check each backup to avoid restoring the storage system to an unintended state. Consider an example in which malware infects the storage system. In this example, the storage system may include software resources 314 that may scan each backup to identify backups captured before the malware infected the storage system and those captured after the malware infected the storage system. In this example, the storage system may restore itself from a backup that does not contain the malware - or at least not restore the portion of the backup that contains the malware. In this example, the storage system may include software resources 314 that can scan each backup to identify the presence of malware (or a virus or something else unexpected), for example, by identifying write operations served by the storage system and originating from a network subnet suspected of having delivered malware, by identifying write operations served by the storage system and originating from users suspected of having delivered malware, by identifying write operations served by the storage system and checking the contents of the write operations against a fingerprint of malware, and in many other ways.
[0156] The reader will further appreciate that backups (typically in the form of one or more snapshots) may also be used to perform rapid recovery of the storage system. Consider an example where a storage system is infected with ransomware that locks users out of the storage system. In this example, software resources 314 within the storage system may be configured to detect the presence of ransomware and may further be configured to use the retained backup to recover the storage system to a point in time prior to the point in time when the ransomware infected the storage system. In this example, the presence of ransomware may be explicitly detected through the use of a software tool utilized by the system, through the use of a key (e.g., a USB drive) inserted into the storage system, or in a similar manner. Likewise, the presence of ransomware may be inferred in response to system activity satisfying a predetermined fingerprint, such as, for example, no reads or writes into the system for a predetermined period of time.
[0157] The reader will appreciate that the various components described above can be grouped into one or more optimized computing packages as a converged infrastructure. Such a converged infrastructure can include pools of computer, storage, and networking resources that can be shared by multiple applications and managed in a collective manner using policy-driven processes. Such a converged infrastructure can be implemented with a converged infrastructure reference architecture, with standalone appliances, with a software-driven hyper-convergence approach (e.g., hyper-convergence infrastructure), or in other ways.
[0158] The reader will appreciate that the storage system described above may be used to support various types of software applications. For example, the storage system 306 may be used to support artificial intelligence ('AI') applications, database applications, DevOps projects, electronic design automation tools, event-driven software applications, high-performance computing applications, simulation applications, high-speed data capture and analysis applications, machine learning applications, media production applications, media serving applications, picture archiving and communication system ('PACS') applications, software development applications, virtual reality applications, augmented reality applications, and many other types of applications by providing storage resources to such applications.
[0159] The storage system described above is operable to support a variety of applications. Given the fact that the storage system includes computing resources, storage resources, and a wide variety of other resources, the storage system may be well suited to support resource-intensive applications such as, for example, AI applications. AI applications may be deployed in a variety of fields, including: predictive maintenance in manufacturing and related fields; healthcare applications, such as patient data and risk analysis; retail and marketing deployments (e.g., search notifications, social media notifications); supply chain solutions; fintech solutions, such as business analytics and reporting tools; operational deployments, such as real-time analytics tools, application performance management tools, IT infrastructure management tools; and many others.
[0160] Such AI applications can enable devices to perceive their environment and take actions that maximize their chances of success on a certain goal. Examples of such AI applications may include IBM Watson, Microsoft Oxford, Google DeepMind, Baidu Minwa, and others. The storage system described above may also be very suitable for supporting other types of resource-intensive applications, such as (for example) machine learning applications. Machine learning applications can perform various types of data analysis to automate analytical model building. Using algorithms that learn iteratively from data, machine learning applications can enable computers to learn without being explicitly programmed. A specific field of machine learning is called reinforcement learning, which involves taking appropriate actions in specific situations to maximize rewards. Reinforcement learning can be used to find the best possible behavior or path that a specific software application or machine should take in a specific situation. Reinforcement learning is different from other fields of machine learning (such as supervised learning, unsupervised learning) in that it is not necessary to present the correct input / output pairs for reinforcement learning, and it is not necessary to explicitly correct suboptimal actions.
[0161] In addition to the resources already described, the storage system described above may also include a graphics processing unit ('GPU'), sometimes referred to as a visual processing unit ('VPU'). Such a GPU may be embodied as a dedicated electronic circuit that quickly manipulates and changes memory to accelerate the creation of images in a frame buffer that are desired for output to a display device. Such a GPU may be included within any of the computing devices that are part of the storage system described above, including as one of many individually scalable components of the storage system, where other examples of individually scalable components of such a storage system may include storage components, memory components, computing components (e.g., CPUs, FPGAs, ASICs), networking components, software components, and others. In addition to the GPU, the storage system described above may also include a neural network processor ('NNP') for use in various aspects of neural network processing. Such an NNP may be used in place of (or in addition to) a GPU, and it may also be independently scalable.
[0162] As described above, the storage system described herein can be configured to support artificial intelligence applications, machine learning applications, big data analysis applications, and many other types of applications. The rapid growth of such applications is driven by three technologies: deep learning (DL), GPU processors, and big data. Deep learning is a computing model that uses massively parallel neural networks inspired by the human brain. Instead of experts handcrafting software, deep learning models write their own software by learning from a large number of examples. Such GPUs can include thousands of cores, which are well suited to running algorithms that loosely represent the parallel nature of the human brain.
[0163] Advances in deep neural networks, including the development of multi-layer neural networks, have inspired a wave of new algorithms and tools for data scientists to mine their data with artificial intelligence (AI). Using improved algorithms, larger datasets, and a variety of frameworks (including open source software libraries for machine learning across a range of tasks), data scientists are addressing new use cases such as autonomous vehicles, natural language processing and understanding, computer vision, machine reasoning, strong AI, and many others. Applications of such technologies may include: machine and vehicle object detection, recognition, and avoidance; visual identification, classification, and tagging; algorithmic financial trading strategy performance management; simultaneous localization and mapping; predictive maintenance of high-value machinery; protection against cybersecurity threats, automation of expertise; image recognition and classification; question answering; robotics; text analysis (extraction, classification) and text generation and translation; and many others. Applications of AI technologies have been implemented in a wide variety of products, including, for example: Amazon Echo's voice recognition technology, which allows users to talk to their machines; Google Translate TM, which allows machine-based language translation; Spotify’s Discover Weekly, which provides recommendations for new songs and artists that users may like based on their usage and traffic analytics; Quill’s text generation product, which takes structured data and turns it into narrative stories; Chatbot, which provides real-time, context-specific answers to questions in a conversational format; and many others.
[0164] Data is at the heart of modern AI and deep learning algorithms. Before training can begin, one problem that must be solved is around collecting labeled data that is critical to training accurate AI models. A full-scale AI deployment may be required to continuously collect, clean, transform, label, and store large amounts of data. Adding additional high-quality data points translates directly into more accurate models and better insights. Data samples may undergo a series of processing steps, including (but not limited to): 1) ingesting data from external sources into the training system and storing the data in raw form; 2) cleaning and transforming data in a format that is convenient for training, including linking data samples to appropriate labels; 3) exploring parameters and models, testing quickly with smaller data sets, and iterating to converge the most promising models to advance into the production cluster; 4) performing a training phase to select several batches of random input data, including both new and older samples, and feeding those into the production GPU server for computation to update model parameters; and 5) evaluating the use of a reserved portion of the data that was not used for training in order to evaluate the model accuracy of the retained data. This life cycle can be applied to any type of parallelized machine learning, not just neural networks or deep learning. For example, a standard machine learning framework may rely on CPUs instead of GPUs, but the data ingestion and training workflows can be the same. Readers will appreciate that a single shared storage data hub creates a coordination point throughout the life cycle without the need for additional data copies during the ingestion, preprocessing, and training phases. Ingested data is rarely used for just one purpose, and shared storage gives the flexibility to train multiple different models or apply traditional analytics to the data.
[0165] The reader will understand that each stage in the AI data pipeline may have different requirements from the data center point (such as a storage system or a collection of storage systems). The scale-out storage system must provide unimpaired performance for all types and patterns of access (from small metadata-heavy to large files, from random to sequential access patterns, and from low to high concurrency). The storage system described above can be used as an ideal AI data center point because the system can serve unstructured workloads. In the first stage, the data is ideally ingested and stored on the same data center point that will be used in subsequent stages to avoid additional data copying. The next two steps can be completed on a standard computing server that optionally includes a GPU, and then, in the fourth and final stage, the complete training production job is run on a powerful GPU-accelerated server. Typically, there is a production pipeline next to the experimental pipeline operating on the same data set. In addition, GPU-accelerated servers can be used independently for different models or combined together to train on a larger model, or even distributed training across multiple systems. If the shared storage hierarchy is slow, then for each stage, data must be copied to local storage, resulting in wasted time staging data on different servers. The ideal data hub for an AI training pipeline provides performance similar to data stored locally on the server nodes, while also having the simplicity and performance to enable all pipeline stages to operate concurrently.
[0166] Although the preceding paragraphs discuss deep learning applications, the reader will appreciate that the storage system described herein may also be part of a distributed deep learning ('DDL') platform to support the execution of DDL algorithms. The storage system described above may also be paired with other technologies (e.g., TensorFlow, an open source software library for data flow programming across a range of tasks that can be used for machine learning applications (e.g., neural networks) to facilitate the development of such machine learning models, applications, and the like.
[0167] The storage system described above can also be used in a neuromorphic computing environment. Neuromorphic computing is a form of computing that simulates brain cells. To support neuromorphic computing, an architecture of interconnected "neurons" replaces traditional computing models with low-power signals transmitted directly between neurons to achieve more efficient computing. Neuromorphic computing can use very large scale integration (VLSI) systems containing electronic analog circuits for simulating the neurobiological architecture present in the nervous system, as well as analog, digital, mixed-mode analog / digital VLSI, and software systems that implement models of the nervous system for perception, motor control, or multi-sensory integration.
[0168] The reader will appreciate that the storage system described above can be configured to support the storage or use of blockchain (and other types of data). In addition to supporting the storage and use of blockchain technology, the storage system described above can also support the storage and use of derivative items, such as (for example) IBM TM The open source blockchain and related tools that are part of the Hyperledger project, permissioned blockchains where a certain number of trusted parties are allowed to access the blockchain, blockchain products that enable developers to build their own distributed ledger projects, and others. The blockchain and storage system described in this article can be used to support on-chain storage of data as well as off-chain storage of data.
[0169] Off-chain storage of data can be implemented in various ways, and can occur when the data itself is not stored within the blockchain. For example, in one embodiment, a hash function can be utilized, and the data itself can be fed into the hash function to produce a hash value. In this example, the hash of a large number of pieces of data can be embedded within the transaction, rather than the data itself. The reader will appreciate that in other embodiments, alternatives to blockchain can be used to facilitate decentralized storage of information. For example, one alternative to blockchain that can be used is blockweave. While conventional blockchains store each transaction to achieve confirmation, blockweaves allow for secure decentralization without using the entire chain, thereby achieving low-cost on-chain storage of data. Such blockweaves can utilize consensus mechanisms based on proof of access (PoA) and proof of work (PoW).
[0170] The storage systems described above may be used alone or in combination with other computing devices to support in-memory computing applications. In-memory computing involves storing information in RAM distributed across a cluster of computers. The reader will appreciate that the storage systems described above, particularly those that are configurable with customizable amounts of processing resources, storage resources, and memory resources (e.g., those systems where the blades contain configurable amounts of each type of resource), may be configured in a manner that can provide an infrastructure capable of supporting in-memory computing. Similarly, the storage systems described above may include component parts (e.g., NVDIMMs, 3D crosspoint storage devices that provide persistent fast random access memory) that may, in effect, provide an improved in-memory computing environment over an in-memory computing environment that relies on RAM distributed across dedicated servers.
[0171] In some embodiments, the storage system described above may be configured to operate as a hybrid in-memory computing environment that includes a universal interface to all storage media (e.g., RAM, flash storage, 3D crosspoint storage). In such embodiments, users may not know the details about where their data is stored, but they can still use the same complete unified API to address the data. In such embodiments, the storage system may (in the background) move the data to the fastest tier available - including relying on various characteristics of the data or relying on some other heuristics to intelligently place the data. In this example, the storage system may even use existing products (such as Apache Ignite and GridGain) to move data between the various storage tiers, or the storage system may use custom software to move data between the various storage tiers. The storage system described herein may implement various optimizations to improve the performance of in-memory computing, such as (for example) making the computing as close to the data as possible.
[0172] The reader will further appreciate that in some embodiments, the storage system described above may be paired with other resources to support the applications described above. For example, an infrastructure may include primary computing in the form of servers and workstations that specialize in using general-purpose computing on graphics processing units ('GPGPUs') to accelerate deep learning applications that are interconnected into a computing engine to train parameters of a deep neural network. Each system may have Ethernet external connectivity, Infiniband external connectivity, some other form of external connectivity, or some combination thereof. In this example, the GPUs may be grouped for a single large training or used independently to train multiple models. The infrastructure may also include a storage system (such as the storage system described above) to provide, for example, a scale-out all-flash file or object storage area through which data can be accessed via high-performance protocols (such as NFS, S3, etc.). The infrastructure may also include redundant top-of-rack Ethernet switches connected to storage and computing, such as via ports in an MLAG port channel, to achieve redundancy. The infrastructure may also include additional computing in the form of white box servers, optionally with GPUs, for data ingestion, preprocessing, and model debugging. The reader will appreciate that additional infrastructure is also possible.
[0173] The reader will appreciate that the storage system described above, alone or in coordination with other computing machinery, can be configured to support other AI-related tools. For example, the storage system can use tools such as ONXX or other open neural network exchange formats that make it easier to transfer models written in different AI frameworks. Likewise, the storage system can be configured to support tools such as Amazon's Gluon that allow developers to prototype, build, and train deep learning models. In fact, the storage system described above can be part of a larger platform, such as IBM TMPrivate cloud data, which includes integrated data science, data engineering, and application building services.
[0174] The reader will further appreciate that the storage system described above may also be deployed as an edge solution. Such an edge solution may be in place to optimize cloud computing systems by performing data processing at the edge of the network, near the source of the data. Edge computing can push applications, data, and computing power (i.e., services) from a centralized point to the logical extreme of the network. By using an edge solution, such as the storage system described above, computing tasks can be performed using computing resources provided by such a storage system, data can be stored using the storage resources of the storage system, and cloud-based services can be accessed by using various resources (including networking resources) of the storage system. By performing computing tasks on an edge solution, storing data on an edge solution, and generally using an edge solution, consumption of expensive cloud-based resources can be avoided, and in fact, performance improvements can be experienced relative to a heavier reliance on cloud-based resources.
[0175] While many tasks can benefit from utilizing edge solutions, some specific uses may be particularly well suited for deployment in this environment. For example, devices such as drones, self-driving cars, robots, and others may require extremely fast processing—so fast, in fact, that sending data up to a cloud environment and receiving data processing support back may simply be too slow. As an additional example, some IoT devices (such as connected cameras) may not be well suited to utilizing cloud-based resources because sending data to the cloud may be impractical (not just from a privacy perspective, a security perspective, or a financial perspective) simply due to the sheer volume of data involved. Thus, many tasks that truly involve data processing, storage, or communication may be better suited to a platform that includes edge solutions, such as the storage system described above.
[0176] The storage system described above can be used alone or in combination with other computing resources as a network edge platform that combines computing resources, storage resources, networking resources, cloud technologies, network virtualization technologies, etc. As part of the network, the edge can have characteristics similar to other network facilities from customer premises and backhaul aggregation facilities to access points (PoPs) and regional data centers. The reader will understand that network workloads (such as virtual network functions (VNFs) and others) will reside on the network edge platform. Through the combination of containers and virtual machines, the network edge platform can rely on controllers and schedulers that are no longer geographically co-located with data processing resources. Functions can be split into control planes, user and data planes, or even state machines as microservices, allowing independent optimization and scaling techniques to be applied. Such user and data planes can be implemented by adding accelerators that reside in server platforms (such as FPGAs and smart NICs) and are implemented by SDN-enabled commercial silicon and programmable ASICs.
[0177] The storage system described above can also be optimized for big data analytics. Big data analytics can be generally described as the process of examining large and disparate data sets to discover hidden patterns, unknown correlations, market trends, customer preferences, and other useful information that can help organizations make smarter business decisions. As part of that process, semi-structured and unstructured data (such as, for example, Internet clickstream data, web server logs, social media content, text from customer emails and survey responses, mobile phone call detail records, IoT sensor data, and other data) can be converted into a structured form.
[0178] The storage system described above may also support (including being implemented as a system interface) applications that perform tasks in response to human voice. For example, the storage system may support the execution of intelligent personal assistant applications, such as (for example) Amazon's Alexa, Apple's Siri, Google Voice, Samsung Bixby, Microsoft Cortana, and others. Although the examples described in the previous sentences use voice as input, the storage system described above may also support chatbots, conversational robots, chatbots, or other applications that are artificial dialogue entities or configured to conduct conversations via auditory or textual methods. Likewise, the storage system may actually execute such an application to enable users (such as system administrators) to interact with the storage system via voice. Such applications are typically capable of voice interaction, music playback, making to-do lists, setting alarms, streaming podcasts, playing audiobooks, and providing weather, traffic, and other real-time information, such as news, but in embodiments according to the present disclosure, such applications may be used as interfaces for various system management operations.
[0179] The storage systems described above may also implement an AI platform to realize the vision of self-driving storage. Such AI platforms may be configured to provide global predictive intelligence by collecting and analyzing a large number of storage system telemetry data points for easy management, analysis, and support. In fact, such storage systems may be able to predict both capacity and performance, as well as generate intelligent recommendations for workload deployment, interaction, and optimization. Such AI platforms may be configured to scan all incoming storage system telemetry data against a library of problem fingerprints to predict and resolve incidents in real time before they impact customer environments, and capture hundreds of performance-related variables for predicting performance loads.
[0180] The storage system described above can support the serial or simultaneous execution of artificial intelligence applications, machine learning applications, data analysis applications, data transformations, and other tasks that can collectively form an AI ladder. This AI ladder can be effectively formed by combining such elements to form a complete data science pipeline, where there are dependencies between the elements of the AI ladder. For example, AI may require some form of machine learning, machine learning may require some form of analysis, analysis may require some form of data and information system structure, and so on. Thus, each element can be viewed as a rung in the AI ladder, which together can form a complete and complex AI solution.
[0181] The storage system described above may also be used alone or in combination with other computing environments to provide an AI-everywhere experience, where AI permeates broad and expansive aspects of business and life. For example, AI may play an important role in providing deep learning solutions, deep reinforcement learning solutions, artificial general intelligence solutions, autonomous vehicles, cognitive computing solutions, commercial UAVs or drones, conversational user interfaces, enterprise classification, ontology management solutions, machine learning solutions, smart dust, smart robots, smart workplaces, and many others.
[0182] The storage system described above may also be used alone or in combination with other computing environments to provide a wide range of transparent immersive experiences (including experiences using digital twins of various "things" (e.g., people, places, processes, systems, etc.) where technology can introduce transparency between people, businesses, and things. This transparent immersive experience may be provided as augmented reality technology, connected home, virtual reality technology, brain-computer interface, human augmentation technology, nanotube electronics, volumetric displays, 4D printing technology, or others.
[0183] The storage system described above can also be used alone or in combination with other computing environments to support a variety of digital platforms. Such digital platforms may include, for example, 5G wireless systems and platforms, digital twin platforms, edge computing platforms, IoT platforms, quantum computing platforms, serverless PaaS, software-defined security, neuromorphic computing platforms, and the like.
[0184] The storage system described above may also be part of a multi-cloud environment, where multiple cloud computing and storage services are deployed in a single heterogeneous architecture. To facilitate the operation of this multi-cloud environment, DevOps tools may be deployed to enable orchestration across clouds. Similarly, continuous development and continuous integration tools may be deployed to standardize processes around continuous integration and delivery, new feature rollouts, and provisioning cloud workloads. By standardizing these processes, a multi-cloud strategy may be implemented that enables the use of the best provider for each workload.
[0185] The storage system described above can be used as part of a platform to enable the use of cryptographic anchors, which can be used to authenticate the origin and content of a product to ensure that it matches the blockchain record associated with the product. Similarly, as part of a tool suite to protect data stored on the storage system, the storage system described above can implement various cryptographic techniques and schemes, including grid cryptography. Grid cryptography can involve the construction of cryptographic primitives involving a grid, either in the construction itself or in security proofs. Unlike public key schemes such as RSA, Diffie-Hellman, or elliptic curve cryptography, which are vulnerable to attack by quantum computers, some grid-based constructions appear to be resistant to attack by both classical and quantum computers.
[0186] A quantum computer is a device that performs quantum computations. Quantum computing uses quantum mechanical phenomena, such as superposition and entanglement, to perform computations. Quantum computers are different from traditional computers based on transistors because such traditional computers require data to be encoded as binary digits (bits), each of which is always in one of two definite states (0 or 1). Unlike traditional computers, quantum computers use qubits that can be in a superposition of states. A quantum computer maintains a sequence of qubits, where a single qubit can represent one, zero, or any quantum superposition of those two qubit states. A pair of qubits can be in any quantum superposition of 4 states, and three qubits are in any superposition of 8 states. A quantum computer with n qubits can typically be in any superposition of up to 2^n different states at the same time, while a traditional computer can only be in one of these states at any one time. A quantum Turing machine is a theoretical model of this computer.
[0187] The storage system described above can also be paired with an FPGA acceleration server as part of a larger AI or ML infrastructure. Such an FPGA acceleration server may reside near the storage system described above (e.g., in the same data center) or even be incorporated into a device including one or more storage systems, one or more FPGA acceleration servers, a networking infrastructure supporting communication between one or more storage systems and one or more FPGA acceleration servers, and other hardware and software components. Alternatively, the FPGA acceleration server may reside in a cloud computing environment that can be used to perform computing-related tasks for AI and ML jobs. Any of the embodiments described above can be used together as an FPGA-based AI or ML platform. The reader will understand that in some embodiments of an FPGA-based AI or ML platform, the FPGA included in the FPGA acceleration server can be reconfigured for different types of ML models (e.g., LSTM, CNN, GRU). The ability to reconfigure the FPGA included in the FPGA acceleration server can achieve acceleration of ML or AI applications based on the optimal numerical precision and memory model used. The reader will understand that by viewing a collection of FPGA acceleration servers as an FPGA pool, any CPU in a data center can use the FPGA pool as a shared hardware microservice, rather than limiting the server to a dedicated accelerator inserted therein.
[0188] The FPGA accelerated servers and GPU accelerated servers described above can implement a computing model where, instead of keeping a small amount of data in the CPU and running a long instruction stream through it as happens in a more traditional computing model, the machine learning model and parameters are fixed to a high bandwidth single chip memory where a large amount of data flows through the high bandwidth single chip memory. For this computing model, FPGAs can be even more efficient than GPUs because FPGAs can be programmed with only the instructions needed to run such a computing model.
[0189] The storage system described above can be configured to provide parallel storage, for example, by using a parallel file system such as BeeGFS. Such a parallel file system can include a distributed metadata architecture. For example, a parallel file system can include multiple metadata servers across which metadata is distributed, and components that include services for clients and storage servers.
[0190] The system described above can support the execution of a large number of software applications. Such software applications can be deployed in various ways, including container-based deployment models. Containerized applications can be managed using various tools. For example, containerized applications can be managed using Docker Swarm, Kubernetes, and others. Containerized applications can be used to facilitate serverless, cloud-native computing deployment and management models for software applications. To support serverless, cloud-native computing deployment and management models for software applications, containers can be used as part of an event handling mechanism (e.g., AWS Lambdas) so that various events cause the containerized application to be launched to operate as an event handler.
[0191] The systems described above may be deployed in a variety of ways, including in a manner to support fifth generation ('5G') networks. 5G networks may support substantially faster data communications than previous generations of mobile communications networks, and thus may result in disaggregation of data and computing resources, as modern large-scale data centers may become less prominent and may be replaced, for example, by more local micro data centers near mobile network towers. The systems described above may be included in such local micro data centers, and may be part of or paired with multi-access edge computing ('MEC') systems. Such MEC systems may enable cloud computing capabilities and IT service environments at the edge of a cellular network. By running applications and performing related processing tasks closer to cellular clients, network congestion may be reduced, and applications may perform better.
[0192] The storage system described above may also be configured to implement NVMe partitioned namespaces. By using NVMe partitioned namespaces, the logical address space of the namespace is divided into zones. Each zone provides a logical block address range that must be written sequentially and explicitly reset before being rewritten, thereby enabling the creation of natural boundaries that expose the device and offloading the management of internal mapping tables to the host's namespace. In order to implement NVMe partitioned namespaces ('ZNS'), a ZNS SSD or some other form of partitioned block device may be utilized that uses zones to expose the namespace logical address space. In the case of aligning the zones to the internal physical properties of the device, several inefficiencies in data placement may be eliminated. In such embodiments, for example, each zone may be mapped to a separate application so that functions such as wear leveling and obsolete item collection may be performed on a per-zone or per-application basis (rather than across the entire device). In order to support ZNS, the storage controller described herein may be configured to perform wear leveling and obsolete item collection by using, for example, Linux TM Kernel partition block device interface or other tools to interact with partition block devices.
[0193] The storage system described above may also be configured to implement zoned storage in other ways, such as, for example, by using shingled magnetic recording (SMR) storage devices. In instances where zoned storage is used, a device-managed embodiment may be deployed, where the storage device hides this complexity by managing it in firmware, presenting an interface like any other storage device. Alternatively, zoned storage may be implemented via a host-managed embodiment, which relies on the operating system knowing how to handle the drive, and only writing sequentially to certain areas of the drive. Zoned storage may similarly be implemented using a host-aware embodiment, where a combination of drive-managed and host-managed implementations are deployed.
[0194] To explain further, Figure 3D An exemplary computing device 350 is illustrated that may be specifically configured to perform one or more of the processes described herein. Figure 3D , computing device 350 may include a communication interface 352, a processor 354, a storage device 356, and an input / output ("I / O") module 358 that are communicatively connected to each other via a communication infrastructure 360. Figure 3D An exemplary computing device 350 is shown in FIG. Figure 3D The components described in the description are not intended to be limiting. In other embodiments, additional or alternative components may be used. Figure 3D Components of computing device 350 are shown in FIG.
[0195] Communication interface 352 may be configured to communicate with one or more computing devices. Examples of communication interface 352 include, without limitation, a wired network interface (such as a network interface card), a wireless network interface (such as a wireless network interface card), a modem, an audio / video connection, and any other suitable interface.
[0196] The processor 354 generally represents any type or form of processing unit capable of processing data and / or interpreting, executing, and / or directing the execution of one or more of the instructions, processes, and / or operations described herein. The processor 354 may perform operations by executing computer-executable instructions 362 (e.g., applications, software, code, and / or other executable data examples) stored in the storage device 356.
[0197] Storage device 356 may include one or more data storage media, devices, or configurations and may employ any type, form, and combination of data storage media and / or devices. For example, storage device 356 may include, but is not limited to, any combination of non-volatile media and / or volatile media described herein. Electronic data, including data described herein, may be temporarily and / or permanently stored in storage device 356. For example, data representing computer executable instructions 362 configured to direct processor 354 to perform any of the operations described herein may be stored within storage device 356. In some examples, the data may be arranged in one or more databases residing within storage device 356.
[0198] The I / O module 358 may include one or more I / O modules configured to receive user input and provide user output. The I / O module 358 may include any hardware, firmware, software, or combination thereof that supports input and output capabilities. For example, the I / O module 358 may include hardware and / or software for capturing user input, including, but not limited to, a keyboard or keypad, a touch screen component (e.g., a touch screen display), a receiver (e.g., an RF or infrared receiver), a motion sensor, and / or one or more input buttons.
[0199] The I / O module 358 may include one or more devices for presenting output to a user, including, but not limited to, a graphics engine, a display (e.g., a display screen), one or more output drivers (e.g., a display driver), one or more audio speakers, and one or more audio drivers. In some embodiments, the I / O module 358 is configured to provide graphical data to the display for presentation to the user. The graphical data may represent one or more graphical user interfaces and / or any other graphical content that may serve a particular implementation. In some examples, any of the systems, computing devices, and / or other components described herein may be implemented by the computing device 350.
[0200] To explain further, Figure 4 An example system for enabling communication between a single-port storage device and multiple storage system controllers according to some embodiments of the present disclosure is presented.
[0201] In some examples, communication between a single-port storage device and multiple storage system controllers can be implemented within a storage system 400, where the storage system 400 can be implemented with the storage system 400 described above with reference to FIG. Figures 1A to 4 Any of the described storage systems are similarly implemented.In addition, storage system 400 may include some or all of the components described above for any of the example storage systems, including multiple storage system controllers that may be similar to the controllers described above.
[0202] In some embodiments, storage system 400 may include multiple storage system controllers enabled to communicate with a single storage device. In some embodiments, a storage device may have a single communication port so that only one storage system controller can communicate with the storage device at a time.
[0203] In some embodiments, a storage device (e.g., Figure 4 The storage device 450 shown in ) may refer to any device configured to record data persistently, where "persistently" or "persistent" refers to the ability of the device to maintain the recorded data after power is lost. In some implementations, the storage device 450 may correspond to a non-disk storage medium. For example, the storage device 450 may be one or more solid-state drives ('SSD'), flash memory-based storage devices, any type of solid-state non-volatile memory, or any other type of non-mechanical storage device. In other implementations, the storage device 450 may include a mechanical or rotating hard disk, such as a hard disk drive ('HDD').
[0204] In some embodiments, storage device 450 includes only a single communication interface or port through which storage device 450 can send data to a storage system controller (e.g., Figure 4 402 or controller 430 shown in FIG. 4) and receives data from a storage system controller. For example, storage device 450 may be manufactured with only one data communications port so that storage device 450 is only able to send and receive data signals via that data communications port. As another example, storage device 450 may have multiple other data ports, but they may all be dedicated for other purposes or assigned to communicate with a storage system controller (e.g., Figure 4 Communicates with other devices separate from the controller 402 or controller 430 shown in FIG.
[0205] In some implementations, the storage device 450 is a storage device that is designed and / or manufactured in accordance with industry standards and / or is not modified after manufacture before the storage device 450 is used as part of the storage system 400. For example, the storage device 450 may be manufactured based on industry-recognized standards applicable to the design and manufacture of storage devices. The design and / or manufacture of the storage device 450 may comply with standards applicable to, for example, drive interfaces, host buses, device interfaces and connectors, flash memory interfaces (in the case of flash memory storage devices), form factors, data security, and / or test methods used during the manufacture of the storage device 450. As a more specific example, the storage device 450 may be manufactured to comply with a particular drive interface standard, such as the NVMe standard developed by the Non-Volatile Memory Host Controller Interface (NVMHCI) working group.
[0206] As another example, storage device 450 may be manufactured with a device communication interface that complies with a standard. Storage device 450 may include a Peripheral Component Interconnect Express (PCIe) interface, a widely implemented host bus, and a solid-state storage device interface. The PCIe interface of storage device 450 may comply with the PCIe standard overseen and maintained by the Peripheral Component Interconnect Special Interest Group (PCI-SIG).
[0207] In some implementations, storage device 450 may be modified or deviate from the standard-compliant storage device design described above. However, the present disclosure contemplates that, regardless of any other modifications, in the implementations disclosed herein, the device communication interface of storage device 450 is unmodified and / or standard-compliant. In other words, the PCIe interface of storage device 450 is standard-compliant and / or not modified from its original form.
[0208] As a more specific example, the storage device 450 may be Optane TM A solid state drive, a solid state storage device for persistent data storage, as described above. According to the embodiments discussed in the present disclosure, the aforementioned Optane TM The PCIe interface of the solid-state drive may be standard compliant and / or unmodified from its original form when used as storage device 450. More specifically, the storage device 450 described herein has a single device communication interface or port through which the storage device 450 sends and receives data. As a single-port storage device, the storage device 450 is designed to send and receive data through a single data port, but the storage device 450 may have other communication channels for sending and receiving other non-data signals. For example, the storage device 450 may have one or more sideband channels that can be used to send and receive other signals, such as reset signals, clock / time signals, or other signals that can be used for tasks such as system management.
[0209] As mentioned above about Figures 1A to 4 4. In some embodiments, the storage device 450 may communicate with a storage system controller (also referred to herein as a "controller"). The controller may be embodied as a computing machine including computer hardware, computer software, or a combination of computer hardware and software. In some implementations, the controller may be configured to perform storage tasks, including writing data to the storage device 450 (e.g., data received from other computing devices (not shown)), erasing data from the storage device 450, retrieving data from the storage device 450 and providing data to other computing devices, compressing data, encrypting data, etc.
[0210] Steering Figure 4 As shown in the block diagram, system 400 includes several components. Figure 4, system 400 may include storage device 450. Storage device 450 may be configured to persistently store data using storage resources in various form factors.
[0211] In some embodiments, storage device 450 is connected to more than one controller (e.g., two controllers). The controller communicates with storage device 450 to perform one or more of the storage tasks described above. Communication between storage device 450 and one or more controllers may occur through a communication architecture that couples a communication port on a controller to a communication port on storage device 450. Figure 4 4, storage device 450 includes an upstream port 440. In some implementations, upstream port 440 is a PCIe port. As described above, storage device 450 can be configured to send and receive data through a communication interface such as a PCIe interface. A PCIe interface can be logically expressed as a PCIe link or interconnect. A PCIe link is a point-to-point communication channel between two PCIe ports that allows the two ports to send and receive PCIe requests and PCIe interrupts. Examples of PCIe requests can include configuration requests, I / O or memory read / write requests, etc.
[0212] At the physical level, a PCIe link consists of one or more data lanes. Thus, the upstream port 440 of the storage device 450 may be configured to communicate via one or more data lanes. Figure 4 The upstream port 440 is shown configured with a PCIe link including a plurality of data lanes, the data lanes including lane 0 440a, lane 1 440b, lane 2 440c, and lane 3 440d. Figure 4 The number and arrangement of data paths shown in are shown purely as non-limiting examples. The reader will appreciate that there may be any number or arrangement of data paths. For example, as described above, storage device 450 may send and receive data signals through an unmodified PCIe communication interface. Typically, the size of a PCIe interface link between two devices may vary between 1 and 16 paths. More specifically, a PCIe interface link may include 1, 2, 4, 8, or 16 data paths. Data may be striped across paths. In some implementations, the number of available paths may be greater than the number of paths actually used to transmit data. More specifically, the path count to be used may be negotiated during device initialization.
[0213] In some embodiments, the PCIe interface on the storage device 450 may be configured to receive a PCIe reset signal from another computing device via a reset sideband channel component 446. For example, the storage device 450 may receive a PCIe reset signal from one of the controller 402 and the controller 430. The reader will appreciate that a reset of the PCIe link may cause one or more of the device's state machine, hardware logic, port status, and configuration registers to be initialized to their default conditions. In some embodiments, software or other components external to the storage device 450 may trigger a reset of the PCIe link of the storage device 450 by sending a reset signal to the reset sideband channel component 446 of the storage device 450.
[0214] The storage device 450 may include a clocked sideband channel component 448. In some implementations, the storage device 450 may receive a clock signal as part of one of several clocking mechanisms or architectures that use the clocked sideband channel component 448. In some implementations, the storage device 450 may implement a reference clock that is Figure 4 4 and one or more controllers. In other implementations, the storage device 450 may implement a reference clock separate from the one or more controllers.
[0215] In some implementations, storage device 450 may be configured to send and receive additional sideband signals via additional sideband signal component 444. As an example, additional sideband signal component 444 may implement an inter-integrated circuit (I2C) protocol, which is intended to allow peripheral digital integrated circuits (such as those on storage device 450) to communicate with one or more 'controller' integrated circuits (such as those on controllers 402 and 430). Using additional sideband signal component 444, storage device 450 may be configured to send and receive other signals, such as signals related to diagnostic sensors (such as temperature sensors).
[0216] As shown, Figure 4 The controllers 402 and 430 may be implemented as storage system controllers that perform various storage tasks in conjunction with the storage device 450, as described above. Figures 1A to 4 Description. The reader will understand that although Figure 4Two controllers 402 and 430 are shown, but the methods described herein may be equally applicable to systems including any multiple (e.g., 3, 4, or more) controllers communicating with a storage device, such as storage device 450. The reader will further appreciate that, regardless of the number of controllers or other computing devices communicating with storage device 450, storage device 450 includes a single data port for sending and receiving data signals. The single data port may be embodied as upstream port 440 described above. Because there is only a single data port on storage device 450, only one of controllers 402 and 430 (or any number of controllers) is able to access storage device 450 at any given time.
[0217] like Figure 4 , controller 402 includes a root port (or downstream port) 404. Controller 402 is configured to send and receive data from storage device 450 via root port 404. As described above with respect to upstream port 440 of storage device 450, root port 404 may be a port configured for communication as a PCIe interface. The PCIe interface implemented on root port 404 of controller 402 includes two lanes: lane 0 412a and lane 1 412b. The reader will appreciate that, as with storage device 450, the PCIe link lanes on controller 402 may be any number and arrangement, and Figure 4 The two paths for controller 402 shown in are shown purely as non-limiting examples.
[0218] The controller 402 may include a reset sideband channel component 408. The controller 402 may use the reset sideband channel component 408 to send a PCIe reset command to the storage device 450. As described above with respect to the reset sideband channel component 446, the PCIe reset command may cause one or more of the state machine, hardware logic, port status, and configuration registers of the device to be initialized to their default conditions. In particular, the software or other components of the controller 402 may send a reset command to the storage device 450 to reset or initialize one or more components of the storage device 450 to a default condition. More specifically, the controller 402 may use the reset sideband channel component 408 to send a reset command to the reset sideband channel component 446 of the storage device 450. The aforementioned reset command may cause one or more lanes of the PCIe link at the storage device 450 to be reset or initialized to a default value. One result of receiving the reset command may be that the link training and state machine (LTSSM) at the storage device 450 is set to a 'detect' state. The LTSSM may be referenced by other components on the storage device 450 to determine the current link state. In some embodiments, the LTSSM checks and memorizes what is received on each lane of the PCIe link, determines what should be transmitted on each lane, and transitions from one state to another. The LTSSM may consist of 11 top-level states: Detect, Poll, Configure, Recover, L0, L0s, L1, L2, Warm Reset, Loopback, and Disable. In some embodiments, as a result of receiving a reset command, the LTSSM on the storage device 450 may be set to the 'Detect' state. This state is the initial state at power-on after a reset.
[0219] In some embodiments, the reset operation described above is a sideband reset, rather than an 'in-band' reset. In other words, the controller 402 may send a reset command to the memory device 450, to the reset sideband channel component 446 of the memory device 450, via the reset sideband channel component 408. The reader will appreciate that the reset command is not an in-band reset because the reset command is not sent via the data path of the PCIe link (e.g., from the controller 402's path 0 412a and / or path 412b to the memory device 450's path 440a and / or path 1 440b).
[0220] After transmitting the reset command, the controller may send specific data packets to the receiver (e.g., storage device 450) to initiate a process known as link training. As described above, the reset command causes the LTSSM to be set to the 'detect' state. Subsequently, the receiver (e.g., storage device 450) exchanges training sequence packets with the controller to negotiate several link parameters, including elements such as lane polarity, number of links / lanes, equalization, data rate, etc. In some embodiments, link training may involve sending one or more physical layer packets (PLPs) from the controller or other computing device to the storage device 450. In some embodiments, these data packets are referred to as training sequence packets TS1 and TS2. For example, these TS1 and TS2 packets may be sent by the controller 402 or the controller 430 to the storage device 450 to initiate link training.
[0221] The controller 402 may include a timed sideband channel component 420. In some implementations, the controller 402 may pass a clock signal as part of one of several timing mechanisms or architectures that use the timed sideband channel component 420. In some implementations, the controller 402 may implement a reference clock that is common to both the storage device 450 and the controller 402. In other implementations, the controller 402 may implement a reference clock that is separate from the storage device 450.
[0222] Controller 402 may include additional sideband signal components 406. In some implementations, controller 402 may be configured to send and receive additional sideband signals via additional sideband signal components 406. As an example, additional sideband signal components 406 may implement an inter-integrated circuit (I2C) protocol, which is intended to allow peripheral digital integrated circuits (e.g., a peripheral digital integrated circuit on storage device 450) to communicate with one or more 'controller' integrated circuits (e.g., a controller integrated circuit on controller 402). Using additional sideband signal components 406, controller 402 may be configured to send and receive other signals, such as signals related to diagnostic sensors (e.g., temperature sensors).
[0223] like Figure 4 , controller 430 includes a root port (or downstream port) 405. Controller 430 is configured to send and receive data from storage device 450 via root port 405. As described above with respect to upstream port 440 of storage device 450, root port 405 may be a port configured for communication as a PCIe interface. The PCIe interface implemented on root port 405 of controller 430 includes two lanes: lane 1 438a and lane 0 438b. The reader will appreciate that, as with storage device 450, the PCIe link lanes on controller 430 may be any number and arrangement, and Figure 4 The two paths for controller 430 shown in are shown purely as non-limiting examples.
[0224] The controller 430 may include a reset sideband channel component 434. The controller 430 may use the reset sideband channel component 434 to send a PCIe reset command to the storage device 450. As described above with respect to the reset sideband channel component 446 of the storage device 450 and the reset sideband channel component 408 of the controller 402, the PCIe reset command may cause one or more of the state machine, hardware logic, port status, and configuration registers of the device to be initialized to their default conditions. In particular, software or other components of the controller 430 may send a reset command to the storage device 450 to reset or initialize one or more components of the storage device 450 to a default condition. More specifically, the controller 430 may use the reset sideband channel component 434 to send a reset command to the reset sideband channel component 446 of the storage device 450. The aforementioned reset command may cause one or more lanes of the PCIe link at the storage device 450 to be reset or initialized to a default value. One result of receiving the reset command may be that the link training and state machine (LTSSM) at the storage device 450 is set to the 'detect' state. The LTSSM may be referenced by other components on the storage device 450 to determine the current link state. In some embodiments, the LTSSM checks and memorizes what is received on each lane of the PCIe link, determines what should be transmitted on each lane, and transitions from one state to another. The LTSSM may consist of 11 top-level states: Detect, Poll, Configure, Recover, L0, L0s, L1, L2, Hot Reset, Loopback, and Disable. In some embodiments, as a result of receiving a reset command, the LTSSM may reset to the 'Detect' state. This state is the initial state at power-on after a reset.
[0225] In some embodiments, the reset operation described above is a sideband reset, rather than an 'in-band' reset. In other words, the controller 430 may send a reset command to the memory device 450, to the reset sideband channel component 446 of the memory device 450, via the reset sideband channel component 434. The reader will appreciate that the reset command is not an in-band reset because the reset command is not sent via the data path of the PCIe link (e.g., from the path 0 412a and / or path 412b of the controller 430 to the path 440a and / or path 1 440b of the memory device 450).
[0226] After transmitting the reset command, the controller may send specific data packets to the receiver (e.g., storage device 450) to initiate a process known as link training. As described above, the reset command causes the LTSSM to be set to the 'detect' state. Subsequently, the receiver (e.g., storage device 450) exchanges training sequence packets with the controller to negotiate several link parameters, including elements such as lane polarity, number of links / lanes, equalization, data rate, etc. In some embodiments, link training may involve sending one or more physical layer packets (PLPs) from the controller or other computing device to the storage device 450. In some embodiments, these data packets are referred to as training sequence packets TS1 and TS2. For example, these TS1 and TS2 packets may be sent by the controller 402 or the controller 430 to the storage device 450 to initiate link training.
[0227] The controller 430 may include a timed sideband channel component 436. In some implementations, the controller 430 may pass a clock signal as part of one of several timing mechanisms or architectures that use the timed sideband channel component 436. In some implementations, the controller 430 may implement a reference clock that is common to both the storage device 450 and the controller 430. In other implementations, the controller 430 may implement a reference clock that is separate from the storage device 450.
[0228] Controller 430 may include an additional sideband signal component 432. In some implementations, controller 430 may be configured to send and receive additional sideband signals via additional sideband signal component 432. As an example, additional sideband signal component 432 may implement an inter-integrated circuit (I2C) protocol, which is intended to allow a peripheral digital integrated circuit (e.g., a peripheral digital integrated circuit on storage device 450) to communicate with one or more 'controller' integrated circuits (e.g., a controller integrated circuit on controller 430). Using additional sideband signal component 432, controller 430 may be configured to send and receive other signals, such as signals related to diagnostic sensors (e.g., temperature sensors).
[0229] In some implementations, system 400 includes an arbitrator 410. Arbitrator 410 may be configured to control communications between controllers 402 and 430 and storage device 450. More specifically, arbitrator 410 may be configured to determine, for example, that one of controllers 402 and 430 (e.g., controller 402) has obtained exclusive access to storage device 450. In response to this determination, arbitrator 410 may be configured to enable communications between controller 402 and storage device 450. Additionally, in response to the determination, arbitrator 410 may be configured to disable and / or prevent communications between storage device 450 and controller 430 (or any other controller) when controller 402 has exclusive access.
[0230] In some embodiments, the arbitrator 410 is any electronic device, mechanism, algorithm, routine, circuit, or other system that enables or disables communication access to some shared resource, such as storage device 450. The arbitrator 410 may be implemented as hardware and / or software. In some embodiments, the arbitrator 410 may be a hardware-only device that is independent of the controller 402 and the controller 430 and still enables or disables communication access to the storage device 450 by the controllers 402 and 430. In other embodiments, the arbitrator may be a software device executed on a hardware device that is independent of the controllers 402 and 430 and controls access to the storage device 450 by the controllers 402 and 430. In still other embodiments, the arbitrator 410 may be a hardware component that is partially implemented on one or both of the controllers 402 and 430. In these embodiments, the hardware component represented by the arbitrator 410 may execute software that enables or disables communication access to the storage device 450. In still other implementations, the arbitrator 410 may be a software-only device implemented on one or both of the controllers 402 and 430 (or any other controller that is a candidate for communication access to the storage device 450). In these implementations, the software device or component represented by the arbitrator 410 may perform software operations, such as those described above, including determining that a controller has obtained exclusive access to the storage device 450 and, in response, enabling that controller's access to the storage device 450 and disabling data communication access to the storage device 450 by any other controller.
[0231] In some implementations, the arbitrator 410 may be implemented as hardware-based logic controlled by software on one or both controllers 402 and 430. For example, the arbitrator 410 may be implemented as a low-speed Ethernet link between the two controllers or a high-speed Ethernet link between the two controllers. As another example, the arbitrator 410 implementation may be done as part of a high-availability (or "always-on") architecture designed to ensure an agreed-upon level of operational performance or uptime. The arbitrator 410 may be a wired connection and / or a wireless connection between the two controllers.
[0232] In some implementations, the arbitrator 410 may be implemented as a non-transparent bridge (NTB). When implemented using an NTB, the arbitrator 410 acts as a bridge where devices on one side of the bridge cannot see the other side of the bridge. For example, if the arbitrator 410 is implemented as an NTB, the controller 402 may not be able to fully see the memory or I / O space of the storage device 450. In fact, if the arbitrator 410 is implemented as an NTB, the controller 402 may treat the NTB arbitrator 410 as an endpoint device instead of treating the storage device 450 as an endpoint device.
[0233] The reader will appreciate that the arbitrator 410 may not necessarily decide or determine which candidate device or system among multiple candidates for access to a resource should be granted access. Instead, the arbitrator 410 may be configured to receive an indication that one access candidate (e.g., one of the controllers 402 and 430) has obtained exclusive access to the storage device 450. In response to this indication, the arbitrator 410 may be configured to enable a communication channel for the candidate device or system (e.g., the controller 402) that has obtained exclusive access. Additionally, the arbitrator 410 may disable a communication channel for any other candidate device or system (e.g., the controller 430 or any other controller) that is not the device that has obtained exclusive access to the storage device 450.
[0234] In some embodiments, the arbitrator 410 may monitor signals from the controllers 402 and 430 to determine which controller has obtained exclusive access to the storage device 450. For example, the arbitrator 410 may be implemented as one or more watchdog controllers or timers on both the controllers 402 and 430. As used herein, the term 'watchdog' may refer to any timing device that is set for a specific time period and expires unless it is reset. Upon expiration, the watchdog timer may send an alarm or perform some other action. In some embodiments, the software portion of other components in the controllers 402 and 430 may be used to set and reset the timer on each of the controllers 402 and 430. For example, there may be a first watchdog timer on the controller 402 and a second watchdog timer on the controller 430. The software executed on the controller 402 may be configured to set and / or reset the first watchdog timer. Similarly, the software executed on the controller 430 may be configured to set and / or reset the second watchdog timer.
[0235] Consider an example where the controller 430 may currently have exclusive access to send and receive data to the storage device 450. In other words, only the controller 430 is able to pass data signals to the storage device 450, while the controller 402 may not have any data communication capabilities with respect to the storage device 450. In the above scenario, consider that the software on both the controller 402 and the controller 430 continuously resets the respective first watchdog timer on the controller 402 and the respective second watchdog timer on the controller 430. In the above scenario, further consider that the second watchdog timer on the controller 430 has expired. In some implementations, the timer may expire due to the satisfaction of certain conditions. For example, the controller 430 may experience a fault, an error, or a loss of power. The fault may prompt the software on the controller 430 to allow the second watchdog timer to expire, or the second watchdog timer may automatically expire due to a loss of functionality at the controller 430. In this scenario, the arbitrator 410 determines that the second watchdog timer has expired. Therefore, the arbiter 410 determines that the controller 402 will now have exclusive access to send and receive data from the memory device 450 .
[0236] Since the detection that the controller 402 now has exclusive access to send data to and receive data from the storage device 450, the arbitrator 410 can enable communication access from the controller 402 to the storage device 450. In some implementations, the arbitrator 410 enables or otherwise permits the controller 402 to send a PCIe reset signal to the storage device 450 in response to the detection. Additionally, the arbitrator 410 disables or otherwise prevents the ability of the controller 430 to send a PCIe reset signal to the storage device 450 in response to the detection.
[0237] More specifically, the arbiter 410 enables the controller 402 to send a reset signal to the memory device 450 using the reset sideband channel component 408. In some embodiments, the controller 402 sends the reset signal to the reset sideband channel component 446 of the memory device 450 using the reset sideband channel component 408. In some embodiments, the system 400 includes a logic component 401 that relays the reset signal from the controllers 402 and 430 to the memory device 450. For example, the logic component 401 can be a wired OR connection. In some embodiments, the wired OR connection can be a wired connection between the controllers 402 and 430 and the memory device 450, such as Figure 4401 is shown in FIG. More specifically, logic component 401 provides an 'OR gate' connection between reset sideband channel components 408 and 434 on controllers 402 and 430 and reset sideband channel component 446 on storage device 450. In an example embodiment, logic component 401 provides an output to storage device 450 based on inputs from controllers 402 and 430. If there is no input from controller 402 or 430, then logic component 401 does not provide an output. If there is an input from one of controllers 402 and 430, then logic component 401 is configured to forward that input to storage device 450. The reader will appreciate that, as described above, arbitrator 410 is configured to ensure that only one of controllers 402 and 430 can transmit a reset signal at any given time. Therefore, logic component 401 can receive a reset signal from only one controller and forward it to storage device 450.
[0238] Referring back to the above example, the arbitrator 410 disables communication from the controller 430 to the storage device 450 and enables communication from the controller 402 to the storage device 450. In other words, the arbitrator 410 disables the controller 430 from sending a reset command or a link training sequence data packet to the storage device 450 and enables the controller 402 to send a reset command and a training sequence packet to the storage device 450. As an example, the arbitrator 410 may cause the PCIe lanes (lane0 412a and lane1 412b) on the controller 402 to be powered and / or active and cause the PCIe lanes (lane1 438a and lane0 438b) on the controller 430 to be powered off, passive, and / or disconnected. In some implementations, the controller 402 sends training sequence data packets from lane0 412a to lane0 440a and from lane1 412b to lane1 440b. Meanwhile, in some embodiments, path 2 440c and path 3 440d do not receive data from controller 430.
[0239] The training sequence data packets are interpreted by the PCIe lanes on the storage device 450 as an indication that lane 0 440a and lane 1 440b on the storage device 450 should respectively perform link training with lane 0 412a and lane 1 412b of the controller 402. Link training between the controller 402 and the corresponding lanes of the storage device 450 may include transmitting ordered data sets for initial bit alignment, initial symbol alignment, exchanging other physical layer parameters, negotiating elements such as lane polarity, number of links / lanes, link equalization, data rate, etc.
[0240] Although the above embodiments have contemplated the use of a communication interface known as Peripheral Component Interconnect Express (PCIe), the reader will appreciate that the systems and methods described herein may refer to any data communication interface used by computer components. In alternative embodiments, for example, some or all of Path 0 412a and Path 1 412b on controller 402 and Path 1 438a and Path 0 438b on controller 430 and Path 0 440a, Path 1 440b, Path 2 440c, and Path 3 440d of storage device 450 may represent components that implement computer component connectivity using the Compute Express Link (CXL) standard. The reader will appreciate that the CXL standard interconnect implements coherency and memory semantics over the PCIe standard interconnect described above. Thus, it should be appreciated that if the communication interface of the controller and storage device 450 is CXL, then the arbitrator 410 may enable and disable communications between them, just as if the communication interface were PCIe, as described above. Similarly, if the communication interface of the controller and the storage device 450 is any communication interface including multiple lanes or any link designed to have a predefined link width, data width, or bandwidth, the arbitrator 410 may enable and disable communication between them.
[0241] Figure 5 An example block diagram illustrating an additional example system 500 for communication between multiple storage controllers and a single-port storage device according to some embodiments of the present disclosure is set forth. System 500 is similar to system 400 in that: Figure 5 The system depicted in also includes controller 402, controller 430, arbitrator 410, storage device 450, and associated components.
[0242] Figure 5 and Figure 4 The difference is that Figure 5 Describe the use of multiplexer / mux / multiplexor devices instead Figure 4 The reader will understand that Figure 5 The multiplexer shown in is configured to select an input signal from among multiple incoming signals and output the selected input to a single output recipient. Figure 54, multiplexer 455 multiplexes additional sideband signals received from additional sideband signal component 406 and additional sideband signal component 432 and sends the output to additional sideband signal component 444 of memory device 450. Similarly, multiplexer 460 multiplexes reset sideband signals received from reset sideband channel component 408 and reset sideband channel component 434 and sends the output to reset sideband channel component 446 of memory device 450. Similarly, multiplexer 465 multiplexes clock sideband signals received from clocking sideband channel component 420 and clocking sideband channel component 436 and sends the output to clocking sideband channel component 448 of memory device 450.
[0243] Additionally, multiplexer 465 is communicatively coupled to multiplexer 460, and multiplexer 460 is communicatively coupled to multiplexer 455. The reader will appreciate that although Figure 5 Although a multiplexer is depicted in the drawings, any component that implements signal switching of a control signal may be used in place of the depicted multiplexer. The reader will further appreciate that although Figure 5 4 shows multiplexers in a specific connection configuration, but the systems and methods described herein may be used with any communication or network configuration that enables communication between multiplexers and / or between arbitrator 410 and multiplexers and / or between controllers 402 and 430 and storage device 450. Figure 5 4, arbitrator 410 is also communicatively coupled to multiplexer 465 in addition to being connected to controllers 402 and 430. Thus, arbitrator 410 is directly or indirectly connected to multiplexers 455 and 460.
[0244] In some implementations, arbiter 410 is configured to control the operation of multiplexers 455, 460, and / or 465. Figure 4 As described above, the arbitrator 410 enables communication from the active controller to the storage device 450 and disables communication from the passive controller to the storage device 450. In this way, the arbitrator 410 enables the active controller to send a reset command to the storage device 450, causing one or more components of the storage device 450 to be reset to a default condition or default value. Figure 5 , the arbiter 410 performs the Figure 4 4. The functionality described above is similar to that described above, in that the arbitrator 410 enables communication between the active controller and the storage device 450 and disables communication between the passive controller and the storage device 450. However, referring to Figure 5, arbitrator 410 also controls the operation of one or more of multiplexers 455, 460, 465. For example, arbitrator 410 may be configured to cause multiplexer 460 to select as an output a reset signal received as an input only from an active controller. For example, consider a scenario in which controller 402 is an active controller. Thus, arbitrator 410 enables communications from controller 402 and disables communications from controller 430. In addition, arbitrator 410 enables controller 402 to send a reset signal to storage device 450. Arbitrator 410 may also send a control signal to multiplexer 460 to cause multiplexer 460 to select an input received from controller 402 (i.e., a reset signal) as an output to be sent to storage device 450.
[0245] In some embodiments, arbitrator 410 is directly connected to multiplexer 460. In these embodiments, arbitrator 410 can directly send a control signal to multiplexer 460 to cause multiplexer 460 to select the input (i.e., the reset signal) being received from an active controller (e.g., controller 402 in the above example). In other embodiments, arbitrator 410 is indirectly connected to multiplexer 460 (e.g., via multiplexer 465). In these embodiments, arbitrator 410 can be configured to first send the control signal to multiplexer 465, which forwards the control signal to multiplexer 460.
[0246] Figure 6 An example block diagram illustrating an additional example system 600 for communication between multiple storage controllers and a single-port storage device according to some embodiments of the present disclosure is set forth. System 600 is similar to system 400 in that: Figure 6 The system depicted in also includes controller 402, controller 430, arbitrator 410, storage device 450, and associated components.
[0247] Figure 6 and Figure 4 The difference is that Figure 6Also depicted is an interposer component 490. Interposer component 490 may be any component that provides functionality of control interface routing, logical interface routing, physical interface routing, or electrical interface routing between one connection point and another connection point. Interposer component 490 may be hardware, software, or some combination of both. In some implementations, interposer component 490 is a component distinct from controller 402, controller 430, and storage device 450. In other implementations, interposer component 490 is a component that is part of controller 402 or controller 430 or shared between controllers 402 and 430. Since storage device 450 is considered to be an unmodified and / or standard-compliant endpoint device, interposer component 490 is not considered to be a component of storage device 450.
[0248] In some embodiments, the interposer component 490 includes the logic component 401. In other words, whereas the logic component 401 is shown as Figure 4 In the independent component, here the logic component 401 is in Figure 6 4 is a subcomponent of interposer component 490. Interposer component 490 can be configured to receive a reset signal from, for example, controller 402, determine that the reset signal is to be sent to logic component 401, and provide the reset signal to logic component 401.
[0249] in addition, Figure 6 An example path reversal configuration is shown with respect to the paths of the controller 430 and the storage device 450. Consider Figure 4 , the data path of controller 402 is depicted in an arrangement of path 0 412a followed by path 1 412b, and the data path of controller 430 is depicted in an arrangement of path 1 438a followed by path 0 438b. By contrast, in Figure 6 4, the data paths of the controller 430 are depicted in an arrangement where path 0 438b is followed by path 1 438a. Although the data paths of the root ports of the controller may be organized in any arrangement, the reader will appreciate that Figure 6 The pathway arrangements of controllers 402 and 430 shown in FIG. 4 are identical. This means, for example, that multiple storage system controllers with the same communication interface configuration can communicate with a single-port storage device using the systems and methods described herein, while the communication interface of the single-port storage device remains unmodified and / or compliant with the standard.
[0250] The reader will appreciate that a PCIe link is a point-to-point communication channel between two PCI Express ports. In other words, each lane of a PCIe link on one device (e.g., controller 430) has a point-to-point connection with a lane on another device (e.g., storage device 450). The reader will further appreciate that each PCIe lane may be numbered or otherwise ordered at each device on either end of the PCIe link. It will be appreciated that a conventional or optimal PCIe link between two devices may require that lanes having the same position on either device be trained with each other. In other words, for example, a lane at the outermost position on the controller should be trained with a lane at the outermost position on the storage device 450. As an example, a PCIe link may include lanes 0, 1, ..., N. In this example, both lane 0 and lane N are in the outermost position (or endmost) of the PCIe link, respectively. Therefore, a preferred embodiment may include lane 0 on one device being trained with lane 0 on another device or lane N on another device.
[0251] like Figure 6 4, the interposer component 490 enables the reversal of the lane connections between the controller 430 and the memory device 450. More specifically, the interposer component 490 enables the use of the controller 430 whose lanes are arranged as shown (lane 0 438b followed by lane 1 438a and thus having the same numbering order as the controller 402), while still enabling the lanes of the controller 430 to be trained in an optimal manner with the lanes of the memory device 450. For example, the interposer component 490 may include a hardware component that receives data received via lane 0 438b of the controller 430 and ensures that it is transmitted to lane 3 440d of the memory device 450, rather than lane 2 440c of the memory device 450.
[0252] Figure 7 An example block diagram illustrating an additional example system 700 for communication between multiple storage controllers and a single-port storage device according to some embodiments of the present disclosure is set forth. System 700 is similar to system 500 in that: Figure 7 The system depicted in also includes controller 402, controller 430, arbiter 410, storage device 450, multiplexers 455, 460 and 465, and associated components.
[0253] Figure 7 and Figure 5 The difference is that Figure 7Multiplexers 455, 460, and 465 are depicted as subcomponents of interposer component 590. Interposer component 590 may be similar to interposer component 490 in that interposer component 590 may be any component that provides functionality of control interface routing, logical interface routing, physical interface routing, or electrical interface routing between one connection point and another connection point. Interposer component 590 may be hardware, software, or some combination of both. In some implementations, interposer component 590 is a component distinct from controller 402, controller 430, and storage device 450. In other implementations, interposer component 590 is a component that is part of controller 402 or controller 430 or shared between controllers 402 and 430. Since storage device 450 is considered to be an unmodified and / or standard-compliant endpoint device, interposer component 590 is not considered to be a component of storage device 450.
[0254] Figure 7 and Figure 5 402 and 430 in that multiplexers 455, 460, and 465 may be configured to select from input signals received from controllers 402 and 430 and transmit the selected output to storage device 450. However, Figure 7 and Figure 5 The difference is that Figure 7 The system 700 in includes an interposer component 590 that receives signals from the controller 402, the controller 430, and / or the arbiter 410 and routes those signals to the appropriate multiplexers. For example, the interposer component 590 may receive a multiplexer control signal from the arbiter 410 that is sent to the multiplexer 465 and is intended for or destined to be received by the multiplexer 460. Thus, the interposer component 590 receives the multiplexer control signal and transmits it to the multiplexer 465. In an alternative embodiment, the interposer component 590 determines that the multiplexer control signal is directed to the multiplexer 460 and forwards the multiplexed control signal directly to the multiplexer 460.
[0255] in addition, Figure 7 An example path reversal configuration is shown with respect to the paths of the controller 430 and the storage device 450, similar to Figure 6 438a and 439b, and thus is identical to controller 402. As described above with respect to the functionality of interposer component 490, interposer component 590 also enables the inversion of the path connections between controller 430 and memory device 450. More specifically, interposer component 590 enables the use of controller 430 whose paths are arranged as shown (path 0 438b is followed by path 1 438a and is therefore identical to controller 402), while still enabling the paths of controller 430 to be trained in an optimal manner with the paths of memory device 450.
[0256] Figure 8 A flow chart illustrating an example method of implementing communication between multiple storage system controllers and a single-port storage device according to some embodiments of the present disclosure is set forth. As mentioned above, in some embodiments described herein, the storage device 450 may be an unmodified and / or standard-compliant single-port storage device or other endpoint device. Multiple controllers (also referred to as storage system controllers or storage array controllers) or other computing devices may send data to and receive data from the storage device via a communication link having one or more data paths that perform one or more link training operations when the storage device is connected to the controller device. Figure 8 The method described in may be implemented by an arbitrator, which is a software and / or hardware device that may or may not be a component of a plurality of controllers. The arbitrator determines that one of the plurality of controllers has obtained exclusive access to communicate data with a storage device, and in response, enables communication between the controllers and disables communication between the storage device and other controllers of the plurality of controllers.
[0257] Figure 8 The example method depicted in includes determining 802 that a first storage system controller of a plurality of storage system controllers has obtained exclusive access to a single-port storage device having a plurality of paths. As described herein, an arbitrator device (e.g., Figure 4 410) may make the above determination. For example, arbitrator 410 may receive a message or indication from a particular controller that a particular controller has become an active controller. Additionally or alternatively, arbitrator 410 may receive a message or indication from another controller that another controller has become a passive controller. For example, arbitrator 410 may determine that controller 430 ( Figure 4 402 (shown in FIG. 4 ) has expired. In some implementations, the timer may expire due to certain conditions being met. For example, controller 430 may experience a fault or error. The fault may cause software on controller 430 to allow its watchdog timer to expire, or its watchdog timer may automatically expire due to a loss of functionality at controller 430. In this scenario, arbitrator 410 determines that the watchdog timer of controller 430 has expired. Therefore, arbitrator 410 determines that now, for example, controller 402 ( Figure 4 Another controller (shown in ) will have exclusive access to send and receive data from storage device 450.
[0258] Figure 8 The example methods depicted in include arbitrators (e.g. Figure 4402 ) enables 804 communications between the first storage system controller and the storage device. For example, due to detecting that the controller 402 now has exclusive access to send data to and receive data from the storage device 450, the arbitrator 410 may enable communications access from the controller 402 to the storage device 450. In other words, the arbitrator 410 enables the controller 402 to send reset commands, training sequence packets, and other data packets to the storage device 450. As an example, the arbitrator 410 may cause the PCIe lane on the controller 402 to be powered on and / or active. As a result, the data lane of the storage device 450 may begin receiving data packets from the controller 402.
[0259] Figure 8 The example method depicted in includes preventing 806, by an arbitrator, communication between a storage device and at least one other storage system controller of a plurality of storage system controllers. In other words, the arbitrator 410 disables other controllers (e.g., Figure 4 40) prevents reset commands, link training sequence data packets, and any other data packets from being sent to storage device 450. As an example, arbiter 410 may cause the PCIe lane on controller 430 to be powered off, passive, and / or disconnected. As a result, the data lane of storage device 450 does not receive data from controller 430.
[0260] Fig. 9 Flowcharts illustrating additional example methods of implementing communications between multiple memory controllers and a single-port memory device according to some embodiments of the present disclosure are set forth.
[0261] Fig. 9 Methods and Figure 8 The method is similar in that Fig. 9 The method depicted in also includes determining that a storage system controller among the plurality of storage system controllers has obtained exclusive access to a storage device 802; enabling communication between the storage system controller and the storage device 804; and preventing communication between the storage device and another storage system controller among the plurality of storage system controllers 806.
[0262] Fig. 9 Methods and Figure 8 The difference between the methods is that Fig. 9The example method depicted in also includes implementing 902 communication of one or more sideband signals between an active controller (which may be a storage system controller) and a storage device through one or more sideband channels. As described above, a controller among the plurality of controllers may become an active controller. An arbitrator (e.g., arbitrator 410) may determine that a particular controller is an active controller and now has exclusive access to a single-port storage device. Therefore, the arbitrator may be configured to enable the active controller to pass sideband signals to the storage device. Sideband signals may be different from 'in-band' signals because, as described herein, in-band signals may refer to data packet signals representing data passed between a controller and a storage device. By contrast, sideband signals may refer to other signals, such as reset commands, control signals, clock synchronization signals, hardware diagnostic signals (e.g., temperature or fan speed readings), etc. Therefore, detection by the arbitrator that a particular controller is now an active controller may result in the arbitrator enabling the active storage system controller to transmit one or more sideband signals to the storage device.
[0263] More specifically, the arbitrator may enable the storage system controller to send reset commands to the storage device. As described herein, these reset commands may be used to cause one or more components of the storage device to initialize to their default states or values. Specifically, a reset command from the active storage system controller to the storage device may cause a link training and state machine (LTSSM) on the storage device to initialize to a 'detect' state. When the LTSSM on the storage device is in the 'detect' state, this may cause the data path of the storage device to enter a link training state, wherein the data path may perform a link training process, such as exchanging training sequence packets with the controller, negotiating a number of link parameters, including elements such as lane polarity, number of links / lanes, equalization, data rate, etc.
[0264] Fig. 9 Methods and Figure 8 The difference between the methods is that Fig. 9 The example method depicted in includes preventing 906 communication of one or more sideband signals between any controller that is not an active controller and a storage device via one or more sideband channels. As described herein, an arbitrator (e.g., Figure 4 The arbiter 410 depicted in FIG. 4 may prevent one or more controllers that are not active controllers from communicating with a storage device (eg, Figure 4450). As part of preventing communication, the arbitrator 410 may cause any sideband signal communication to be disabled. This includes reset commands, control signals, clock synchronization signals, hardware diagnostic signals (such as temperature or fan speed readings), etc. In particular, when a controller (such as controller 402) is the active controller, only the controller 402 may send a reset command to the storage device 450 to enable link training between the controller 402 and the storage device 450. In one embodiment, when the controller 402 is the active controller, the arbitrator 410 prevents another controller (such as controller 430) from sending a reset command to the storage device 450. In another embodiment, when the controller 402 is the active controller, the arbitrator 410 prevents another controller (such as controller 430) from sending anything to the storage device 450. In another embodiment, when the controller 402 is the active controller, the arbitrator 410 prevents another controller (such as controller 430) from sending anything to the storage device 450. In another embodiment, when the controller 402 is the active controller, the arbitrator 410 prevents another controller (such as controller 430) from sending anything to the storage device 450 or receiving anything from the storage device 450.
[0265] Although some embodiments are primarily described in the context of methods or storage systems, those skilled in the art will recognize that embodiments of the present disclosure may also take the form of a computer program product disposed on a computer-readable storage medium for use with any suitable processing system. Such computer-readable storage media may be any storage medium for machine-readable information, including magnetic media, optical media, solid-state media, or other suitable media. Examples of such media include magnetic disks in hard drives or floppy disks, optical disks in optical drives, magnetic tapes, and others as will occur to those skilled in the art. Those skilled in the art will immediately recognize that any computer system with suitable programming components will be able to perform the steps described herein as embodied in a computer program product. Those skilled in the art will also recognize that although some embodiments described in this specification are directed to software installed and executed on computer hardware, alternative embodiments implemented as firmware or hardware are also within the scope of the present disclosure.
[0266] In some examples, a non-transitory computer-readable medium storing computer-readable instructions may be provided according to the principles described herein. When executed by a processor of a computing device, the instructions may direct the processor and / or the computing device to perform one or more operations, including one or more of the operations described herein. Any of a variety of known computer-readable media may be used to store and / or transmit such instructions.
[0267] The non-transitory computer-readable media referred to herein may include any non-transitory storage media that participates in providing data (e.g., instructions) that can be read and / or executed by a computing device (e.g., by a processor of a computing device). For example, non-transitory computer-readable media may include, but are not limited to, any combination of non-volatile storage media and / or volatile memory media. Exemplary non-volatile storage media include, but are not limited to, read-only memory, flash memory, solid-state drives, magnetic storage devices (e.g., hard disks, floppy disks, magnetic tapes, etc.), ferroelectric random access memory ("RAM"), and optical disks (e.g., compact disks, digital video disks, Blu-ray disks, etc.). Exemplary volatile storage media include, but are not limited to, RAM (e.g., dynamic RAM).
[0268] The advantages and features of the present disclosure can be further described by the following statements:
[0269] 1. A method for implementing communication between multiple storage system controllers and a single-port storage device, comprising: determining, by an arbitrator, that a first storage system controller has obtained exclusive access to a single-port storage device having multiple paths; and in response to the determination: implementing, by the arbitrator, communication between the first storage system controller and the storage device; and preventing, by the arbitrator, communication between the storage device and at least one other storage system controller among the multiple storage system controllers.
[0270] 2. The method of statement 1, wherein the plurality of pathways comprises a plurality of data pathways, and wherein enabling communication between the first storage system controller and the storage device comprises enabling communication through one or more of the plurality of data pathways.
[0271] 3. The method of statement 2 or 1, wherein enabling communication between the first storage system controller and the storage device includes enabling communication of one or more sideband signals through one or more sideband channels.
[0272] 4. The method of statement 3, 2, or 1, wherein the first storage system controller is an active storage system controller, the method further comprising enabling the active storage system controller to issue a reset command to the storage device.
[0273] 5. The method of statement 4, 3, 2, or 1, wherein an endpoint communication interface of the storage device is trained to communicate with a first communication interface of the first storage system controller in response to receiving a reset command from the first storage system controller.
[0274] 6. The method of statement 5, 4, 3, 2, or 1, wherein the at least one other storage system controller is a passive storage system controller, the method further comprising preventing the passive storage system controller from issuing a reset command to the storage device.
[0275] 7. The method of statement 6, 5, 4, 3, 2, or 1, further comprising determining that the first storage system controller has obtained exclusive access to the storage device using a software-based arbitrator device.
[0276] 8. The method of statement 7, 6, 5, 4, 3, 2, or 1, further comprising determining that the first storage system controller has obtained exclusive access to the storage device using a hardware-based arbiter device.
[0277] 9. The method of statement 8, 7, 6, 5, 4, 3, 2, or 1, further comprising communicating a reset command between the plurality of storage system controllers and the storage device through a logical interface.
[0278] 10. The method of statement 9, 8, 7, 6, 5, 4, 3, 2, or 1, further comprising communicating a reset command between the plurality of storage system controllers and the storage devices through a multiplexer device.
[0279] 11. The method of statement 10, 9, 8, 7, 6, 5, 4, 3, 2 or 1 further comprising enabling communication between the first storage system controller and the storage device via a Peripheral Component Interconnect Express (PCIe) interface.
[0280] 12. The method of statement 11, 10, 9, 8, 7, 6, 5, 4, 3, 2 or 1 further comprising enabling communication between the first storage system controller and the storage device via a Compute Express Link (CXL) interface.
[0281] One or more embodiments may be described herein with the help of method steps that illustrate the performance of specified functions and their relationships. The boundaries and sequences of these functional building blocks and method steps are arbitrarily defined herein for ease of description. As long as the specified functions and relationships are properly performed, alternative boundaries and sequences may be defined. Any such alternative boundaries or sequences are therefore within the scope and spirit of the claims. In addition, the boundaries of these functional building blocks are arbitrarily defined for ease of description. As long as specific important functions are properly performed, alternative boundaries may be defined. Similarly, flowchart blocks are also arbitrarily defined herein to illustrate specific important functionality.
[0282] To the extent used, the flow diagram block boundaries and sequences may be defined in other ways and still perform the particular significant functionality. Such alternative definitions of both functional building blocks and flow diagram blocks and sequences are therefore within the scope and spirit of the claims. Those skilled in the art will also recognize that the functional building blocks and other illustrative blocks, modules, and components therein may be implemented as described or by discrete components, application specific integrated circuits, processors executing appropriate software, etc., or any combination thereof.
[0283] Although specific combinations of various functions and features of one or more embodiments have been explicitly described herein, other combinations of these features and functions are also possible. The present disclosure is not limited to the specific examples disclosed herein and explicitly incorporates these other combinations.
Claims
1. A method for implementing communication between multiple storage system controllers and a single-port storage device, the method comprising: determining, by the arbitrator, that the first storage system controller has obtained exclusive access to a single-port storage device having multiple paths; and In response to the determination: Implementing communication between the first storage system controller and the storage device through the arbitrator; and Communication between the storage device and at least one other storage system controller of the plurality of storage system controllers is prevented by the arbitrator.
2. The method of claim 1, wherein the plurality of pathways comprises a plurality of data pathways, and wherein enabling communication between the first storage system controller and the storage device comprises enabling communication through one or more of the plurality of data pathways.
3. The method of claim 1, wherein enabling communication between the first storage system controller and the storage device comprises enabling communication of one or more sideband signals through one or more sideband channels.
4. The method of claim 1, wherein the first storage system controller is an active storage system controller, the method further comprising enabling the active storage system controller to issue a reset command to the storage device.
5. The method of claim 1, wherein an endpoint communication interface of the storage device is trained to communicate with a first communication interface of the first storage system controller in response to receiving a reset command from the first storage system controller.
6. The method of claim 1, wherein the at least one other storage system controller is a passive storage system controller, the method further comprising preventing the passive storage system controller from issuing a reset command to the storage device.
7. The method of claim 1, further comprising determining that the first storage system controller has obtained exclusive access to the storage device using a software-based arbitrator device.
8. The method of claim 1, further comprising determining that the first storage system controller has obtained exclusive access to the storage device using a hardware-based arbitrator device.
9. The method of claim 1, further comprising communicating a reset command between the plurality of storage system controllers and the storage device through a logical interface.
10. The method of claim 1, further comprising communicating a reset command between the plurality of storage system controllers and the storage devices through a multiplexer device.
11. The method of claim 1, further comprising enabling communication between the first storage system controller and the storage device via a Peripheral Component Interconnect Express (PCIe) interface.
12. The method of claim 1, further comprising enabling communication between the first storage system controller and the storage device via a Compute Express Link (CXL) interface.
13. A storage system comprising one or more central processing units ('CPU'), one or more storage devices and a computer memory operatively coupled to a computer processor, the computer memory having computer program instructions disposed therein, the computer program instructions when executed causing the storage system to perform the following steps: determining, by an arbitrator, that a first storage system controller of the plurality of storage system controllers has obtained exclusive access to a single-port storage device having a plurality of paths; and In response to the determination: Implementing communication between the first storage system controller and the storage device through the arbitrator; and Communication between the storage device and at least one other storage system controller of the plurality of storage system controllers is prevented by the arbitrator.
14. The storage system of claim 13, wherein the plurality of pathways comprises a plurality of data pathways, and wherein enabling communication between the first storage system controller and the storage device comprises enabling communication through one or more of the plurality of data pathways.
15. The storage system of claim 13, wherein enabling communication between the first storage system controller and the storage device comprises enabling communication of one or more sideband signals through one or more sideband channels.
16. The storage system of claim 13, wherein the first storage system controller is an active storage system controller, the method further comprising enabling the active storage system controller to issue a reset command to the storage device.
17. The storage system of claim 13, wherein an endpoint communication interface of the storage device is trained to communicate with a first communication interface of the first storage system controller in response to receiving a reset command from the first storage system controller.
18. A computer program product disposed on a computer readable medium, the computer program product comprising computer program instructions which, when executed, cause a computer to perform the following steps: determining that a first storage system controller of the plurality of storage system controllers has obtained exclusive access to a single-ported storage device having multiple paths; and In response to the determination: enabling communication between the first storage system controller and the storage device; and Communications between the storage device and at least one other storage system controller of the plurality of storage system controllers are prevented.
19. The computer program product of claim 18, wherein the plurality of pathways comprises a plurality of data pathways, and wherein enabling communication between the first storage system controller and the storage device comprises enabling communication through one or more of the plurality of data pathways.
20. The computer program product of claim 18, wherein enabling communication between the first storage system controller and the storage device comprises enabling communication of one or more sideband signals over one or more sideband channels.
Citation Information
Cited By
Storage device and processing method thereof, centralized storage system and electronic equipment
CN120540599A
