Virtualize isolated areas of solid-state storage media

Realizing virtualized isolation areas in solid-state storage media through storage media accelerators solves performance problems and wear patterns caused by traditional storage interfaces, improves access performance and enables efficient management of storage media, and is suitable for multi-tenant systems.

CN110825320BActive Publication Date: 2024-09-13MARVELL ASIA PTE LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910727143.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-08-07
Filing Date
2019-08-07
Publication Date
2024-09-13
Estimated Expiration
2039-08-07

AI Technical Summary

Technical Problem

Existing technologies have performance issues and wear patterns caused by traditional storage interface designs when accessing solid-state memory. Especially in multi-tenant systems, it is difficult to effectively control the write/erase cycle of solid-state memory, resulting in read delays and performance degradation.

Method used

Determine the geometry of the solid-state storage medium through the storage media accelerator, select the isolated storage unit and map its physical address to the virtual address, expose the isolated storage unit through the host interface, realize the virtualization isolation area of ​​the solid-state storage medium, provide isolation and Partitioning capabilities and remapping of storage units without host interaction for wear leveling and load balancing.

Benefits of technology

It improves the access performance of solid-state storage media, reduces wear and latency issues, enables efficient management of storage media without increasing the consumption of host computing resources, provides isolation and partitioning functions, and improves the scalability and scalability of the system. performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110825320B_ABST
    Figure CN110825320B_ABST
Patent Text Reader

Abstract

The present disclosure describes an apparatus and method for virtualizing isolated regions of solid-state storage media. In some aspects, a storage medium accelerator determines the geometry of a solid-state storage medium via a storage medium interface. The accelerator selects a region of the solid-state storage medium as an isolated storage unit based on the geometry. The physical address of the isolated storage unit is then mapped to a virtual address. The accelerator exposes the isolated storage unit through a host interface via the virtual address so that the host can access the isolated storage unit. The accelerator can also remap the isolated storage unit to other regions of the solid-state storage medium without host interaction. By doing so, the accelerator can provide virtualization isolation and partitioning functions to the host while efficiently handling lower-level storage medium functions such as wear leveling and load balancing without host participation.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This disclosure claims priority to U.S. Provisional Patent Application Serial No. 62 / 715,718, filed on August 7, 2018, the disclosure of which is incorporated herein by reference in its entirety. Background Art

[0003] Many computing and electronic devices include non-volatile memory for storing software, applications or data of the device. In addition, most users use their devices such as multimedia content or social media applications to stream data or access services through data networks from various locations or mobile. With the growing demand for data and services from users, storage and service providers have expanded the corresponding capacity of equipment and networked storage devices to support access to all data generated by users. Typically, such large-scale data storage devices are implemented using array hard drives, which can be expanded to provide a large number of data storage devices at a relatively low cost. As solid-state memory becomes cheaper and cheaper, some storage suppliers are also trying to use solid-state memory devices on a larger scale for bulk data storage.

[0004] However, the structure and physical characteristics of solid-state memory devices are very different from those of hard disk drives. For example, solid-state memory devices are not organized based on a layout of physical tracks or sectors arranged around the magnetic media disk of a hard disk drive. Therefore, the traditional storage interfaces of most devices designed to access data from the track and sector format of a hard disk drive may have performance issues when accessing data stored in other types of memory. In the case of solid-state memory, attempts to access data through traditional storage interfaces often result in high read latencies or destructive wear patterns when combined with the inherent write / erase cycles of solid-state memory operation. Summary of the invention

[0005] This summary is provided to introduce the subject matter that is further described in the detailed description and drawings. Therefore, this summary should not be considered to describe essential features, nor is it used to limit the scope of the claimed subject matter.

[0006] In some aspects, a storage medium accelerator implements a method that determines the geometry of a solid-state storage medium coupled to a storage medium interface via a storage medium interface. Based on the geometry of the solid-state storage medium, an area of ​​the solid-state storage medium is selected as an isolated storage unit. The accelerator maps the physical address of the isolated storage unit to a virtual address, and the isolated storage unit can be accessed by the virtual address. The method exposes the isolated storage unit through the host interface via the virtual address so that the host can access the isolated storage unit in the solid-state storage medium. The method can also remap the isolated storage unit to other areas of the solid-state storage medium without host interaction (e.g., notification, interruption, or use of host computing resources). By doing so, the method implemented by the accelerator can provide isolation and partitioning functions to tenants of the host (e.g., workloads or initiators), while efficiently handling lower-level storage medium functions such as wear leveling and load balancing without host participation or use of host computing resources.

[0007] In other aspects, a device includes a hardware-based processor, a memory configured to maintain processor executable instructions to implement an application on the device, and a host interface configured to enable the application to access data in a storage medium associated with the device. The device also includes a storage medium accelerator, which is coupled to the host interface and provides a storage medium interface. The storage medium accelerator is configured to determine the geometry of a solid-state storage medium operably coupled to the device through the storage medium interface. The storage medium accelerator selects an area of ​​the solid-state storage medium as an isolated storage unit based on the geometry of the solid-state storage medium. The physical address of the isolated storage unit is mapped to a virtual address, through which the isolated storage unit can be accessed by the host. Then, the storage medium accelerator exposes the isolated storage unit through the host interface via the virtual address to enable the application to access the isolated storage unit.

[0008] In other aspects, a system on chip (SoC) is described, which includes a storage medium interface, a host interface through which access to the storage medium is provided to a host, a hardware-based processor and a memory, the memory being configured to store processor executable instructions for a storage medium accelerator and an address map of the storage medium accelerator. The storage medium accelerator can be implemented to determine the geometry of a solid-state storage medium operably coupled to the storage medium interface. The geometry is disclosed to the storage medium accelerator by the solid-state storage medium or a controller (e.g., an open channel storage controller) through the storage medium interface. Based on the geometry of the solid-state storage medium, the accelerator selects an area of ​​the solid-state storage medium (e.g., a NAND channel or a NAND device) as an isolated storage unit. In the address map, the physical address of the isolated storage unit is associated with a virtual address, and the isolated storage unit is accessible through the virtual address. Then, the storage medium accelerator discloses the isolated storage unit through the host interface via the virtual address to enable the host to access the isolated storage unit.

[0009] The details of one or more implementations are set forth in the accompanying drawings and the description below. Other features and advantages will be apparent from the description and drawings, and from the claims. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Details of one or more implementations of virtualizing isolated regions of solid-state storage media are set forth in the accompanying drawings and the following detailed description. In the accompanying drawings, the leftmost digit of a reference number identifies the figure in which the reference number first appears. The use of the same reference number in different instances in the specification and the drawings indicates similar elements:

[0011] Figure 1 An example operating environment with a device is shown in which virtualized regions of solid-state storage media are implemented according to one or more aspects.

[0012] Figure 2 Shows Figure 1 An example configuration of a storage medium accelerator and solid-state storage medium is shown in .

[0013] Figure 3 Example configurations of storage media accelerators associated with multiple solid-state drives according to one or more aspects are shown.

[0014] Figure 4 An example configuration of a fabric-enabled storage media accelerator implemented in accordance with one or more aspects is shown.

[0015] Figure 5 Example methods for virtualizing isolated areas of solid-state storage media according to one or more aspects are described.

[0016] Figure 6 An example method for remapping an isolated storage unit to another storage medium area in a solid state drive (SSD) is depicted.

[0017] Figure 7 An example of mapping an isolated storage channel to another channel of an SSD without host interaction is shown.

[0018] Figure 8 Example methods for remapping isolated storage units to another SSD according to one or more aspects are described.

[0019] Fig. 9 An example of mapping an isolated drive of a solid-state storage medium to another drive of a solid-state storage medium without host interaction is shown.

[0020] Fig.10 An example method for migrating data of a virtualized isolated area from a source area of ​​a storage medium to a destination area of ​​a storage medium is depicted.

[0021] Fig.11 An exemplary system-on-chip (SoC) environment for implementing aspects of virtualized regions of solid-state storage media is shown.

[0022] Fig.12 An example storage media accelerator is shown that is configured to implement aspects of a virtualized isolated region of solid-state storage media. DETAILED DESCRIPTION

[0023] Conventional techniques used by devices to access storage device memory typically rely on interface standards designed to access traditional types of storage devices based on magnetic or optical technology. However, the structure and physical characteristics of solid-state memory are very different from those of hard disk drives, tape drives, or optical media (e.g., electromechanical storage media). For example, solid-state memory is not organized based on the layout of physical tracks or sectors on the media disk of a hard disk drive or optical drive. Thus, the traditional storage interface used by most computing devices, which is designed to sequentially access data in tracks or sectors, often has performance issues when accessing data stored in different types of storage media.

[0024] In the case of solid-state memory (e.g., NAND flash), the inherent side effects caused by write / erase cycles in solid-state memory can significantly affect read latency when reading data from the solid-state memory. Typically, solid-state memory drives do not provide visibility or control over the scheduling of when or where write / erase cycles occur relative to read operations. Therefore, the write / erase cycles of solid-state memory can introduce latency issues for read operations that are delayed or interrupted by conflicting write / erase cycles. This situation is particularly evident in multi-tenant systems where the solid-state memory access activity of one initiator can affect the performance of other initiators attempting to access the same solid-state memory.

[0025] To address some of these shortcomings, interface standards are being defined that expose low-level information about solid-state storage connectivity and structure, which allows the initiator to manipulate access to the solid-state storage to improve access performance. Specifically, by understanding the topology of the solid-state storage, the system or initiator can directly control access to the solid-state storage to ensure that the business of different workloads or different tenants is isolated from the business of other workloads or different tenants. However, directly controlling each initiator's access to the solid-state storage to provide isolation puts a large computing burden back on the initiator itself and the supporting host system. In particular, the initiator performs or manages all activities that are usually handled by the internal solid-state drive controller, such as data routing, channel access, and maintaining a large number of physical memory areas. When performed by the initiator or host system, these low-level activities increase the load and overhead of memory interconnection, host processing resources, system memory, etc. Therefore, it is not a cost or resource-effective solution to let the initiator or host directly control the solid-state storage in order to achieve storage isolation.

[0026] The present disclosure describes devices and techniques for virtualizing isolated regions of solid-state storage media. In contrast to conventional access techniques in which a host or initiator directly controls all storage media activities, the described devices and techniques can expose isolated storage units to a host or tenant while offloading other low-level storage media functions from the host. For example, a storage media accelerator coupled between a host and a solid-state drive (SSD) can expose virtualized storage isolation regions to the host for business isolation and offload other low-level SSD functions, such as wear leveling, address mapping, and load balancing, to handle the accelerator's memory resources (e.g., separate from host computing resources). The storage media accelerator is also scalable, such that the storage media accelerator can manage one SSD or multiple SSDs, each of which has one or more virtualized regions of isolated storage devices (or storage units) that can be exposed to the host or corresponding tenants.

[0027] Based on the public geometry or configuration of the SSD's NAND, the storage media accelerator can create isolated storage "cells" at any suitable granularity, such as an entire SSD, a NAND channel in an SSD, or a NAND device or NAND die on a NAND channel. Any physically isolated cells created by the storage media accelerator can be exposed to the host or tenant as virtual isolated cells or virtual cells of isolated storage. In some cases, the storage media accelerator maintains address mappings of virtual storage cells to physical regions of the storage media, and can also transparently remap physically isolated cells to another region of the storage media without host involvement.

[0028] For example, a storage media accelerator may expose NAND channel A of an SSD as a virtual block of isolated NAND to a host. As part of a wear leveling or load balancing function, the storage media accelerator may migrate the virtual block of isolated NAND to channel E on the same or another SSD, without the host (e.g., an initiator or tenant) being aware that the physical storage media behind the virtualized NAND isolated block has been physically relocated. Thus, through the use of this virtualization, the storage media accelerator may dynamically remap virtual cells of isolated storage devices to achieve coarse wear leveling on the drive's solid-state memory devices, or reallocate highly accessed virtual cells of isolated storage devices to a completely different SSD for performance-based load balancing without involving the host system.

[0029] In various aspects of a virtualized isolated region of a solid-state storage medium, a storage medium accelerator determines, via a storage medium interface, a geometry of a solid-state storage medium coupled to a storage medium interface. Based on the geometry of the solid-state storage medium, the storage medium accelerator selects a region of the solid-state storage medium as an isolated storage unit. The storage medium accelerator maps a physical address of the isolated storage unit to a virtual address through which the isolated storage unit can be accessed.

[0030] The storage media accelerator then exposes the isolated storage unit through the host interface via a virtual address to enable host access to the isolated storage unit in the solid-state storage medium. The storage media accelerator can also remap the isolated storage unit to other areas of the solid-state storage medium without host interaction (e.g., notification, interruption, or use of host computing resources). By doing so, the storage media accelerator can provide isolation and partitioning functions to tenants of the host (e.g., workloads or initiators) while efficiently handling lower-level storage media functions such as wear leveling and load balancing without host participation or consumption of host computing resources.

[0031] The following discussion describes an operating environment, technologies that may be employed in the operating environment, and a system on a chip (SoC) that may embody components of the operating environment.In the context of the present disclosure, reference is made to an operating environment by way of example only.

[0032] Operating Environment

[0033] Figure 1 An example operating environment 100 is shown with a host device 102 capable of storing or accessing various forms of data, files, objects, or information. Examples of host device 102 may include a computing cluster 104 (e.g., a computing cluster of cloud 106), server 108 or server hardware of a data center 110, or server 112 (e.g., standalone), any of which may be configured as part of a storage network, storage service, or cloud system. Other examples of host device 102 (not shown) may include a tablet computer, a set-top box, a data storage device, a wearable smart device, a television, a content streaming device, a high-definition multimedia interface (HDMI) media stick, a smart appliance, a home automation controller, a smart thermostat, an Internet of Things (IoT) device, a mobile Internet device (MID), a network attached storage (NAS) drive, an aggregate storage system, a server blade, a gaming console, an automotive entertainment device, an automotive computing system, an automotive control module (e.g., an engine or powertrain control module), and the like. Generally, host device 102 may communicate or store data for any suitable purpose, such as to enable functionality of a particular type of device, provide a user interface, enable network access, implement gaming applications, play back media, provide navigation, edit content, provide data storage, etc.

[0034] The host device 102 includes a processor 114 and a computer-readable storage medium 116. The processor 114 can be implemented as a single-core or multi-core processor (e.g., x86 or ARM) of any suitable type or number to execute instructions or commands of an operating system or other programs of the host device 102. The computer-readable medium 116 (CRM 116) includes a system memory 118 and a storage medium 120. The system memory 118 of the host device 102 may include any suitable type or combination of volatile memory or non-volatile memory. For example, the volatile memory of the host device 102 may include various types of random access memory (RAM), dynamic RAM (DRAM), static RAM (SRAM), etc. The non-volatile memory may include a read-only memory (ROM), an electrically erasable programmable ROM (EEPROM), or a flash memory (e.g., NOR flash or NAND flash). These memories, alone or in combination, may store data associated with applications, tenants, workloads, launchers, virtual machines, and / or the operating system of the host device 102.

[0035] The storage medium 120 of the host device 102 may be configured as any suitable type of data storage medium, such as a storage device, a storage drive, a storage array, a storage volume, etc. Although described with reference to the host device 102, the storage medium 120 may also be implemented separately as a standalone device, or as part of a larger storage collection, such as a data center, a server farm, or a virtualized storage system (e.g., for cloud-based storage or services). Examples of the storage medium 120 include a hard disk drive (HDD, not shown), an optical disk drive (not shown), a solid state drive 122 (SSD 122), and / or an SSD array of SSDs 122-1 to 122-n, such as Figure 1 As shown in , where n is any suitable integer or number of SSDs.

[0036] Each of the SSDs 122 includes or is formed of a non-volatile memory device 124 (NVM device 124) on which data or information of the host device 102 or other sources is stored. The NVM device 124 may be implemented with any type or combination of solid-state storage media, such as flash memory, NAND flash memory, NAND memory, RAM, DRAM (e.g., for cache), SRAM, etc. In some cases, the data stored in the NVM device 124 may be organized into files of data (e.g., content) or data objects, which are stored in the SSD 122 and accessed by the host device 102 or a tenant, workload, or initiator of the host device. The type, size, or format of the file may vary depending on the corresponding source, purpose, or application associated with the file. For example, the files stored in the SSD 122 may include audio files, video files, text files, image files, multimedia files, spreadsheets, etc.

[0037] In this example, the host device 102 includes a storage medium accelerator 126 (accelerator 126) that can implement aspects of a virtualized isolated region of a solid-state storage medium. The accelerator 126 includes a virtualizer 128, an address map 130, a wear leveler 132, and a load balancer 134, each of which can be implemented to perform a corresponding operation or function associated with a virtualized isolated region of a solid-state storage medium. For example, the virtualizer 128 can determine the geometry of the solid-state storage medium and select an area of ​​the solid-state storage medium or an isolated storage unit based on the geometry. The virtualizer 128 can then associate the physical address of the area selected for the isolated storage unit with a virtual address in the address map 130, and the isolated storage unit can be accessed through the virtual address. The virtualizer 128 then exposes the isolated storage unit through the host interface via the virtual address to enable the host to access the isolated storage unit in the solid-state storage medium.

[0038] In various aspects, the wear leveler 132 or the load balancer 134 remaps the isolated storage cells to other areas of the solid-state storage media without host interaction (e.g., notification, interruption, or use of host processing / memory resources). By doing so, the wear leveler 132 can dynamically implement coarse wear balancing of solid-state memory devices across drives, or the load balancer 134 can reallocate virtual cells of highly accessed isolated storage devices to completely different SSDs to implement performance-based load balancing without involving the host system. The manner in which these entities are implemented and used varies and is described throughout this disclosure.

[0039] Host device 102 may also include I / O ports 136, a graphics processing unit 138 (GPU 138), and a data interface 140. In general, I / O ports 136 allow host device 102 to interact with other devices, peripherals, or users. For example, I / O ports 136 may include or be coupled to a universal serial bus, a human interface device, an audio input, an audio output, etc. GPU 138 processes and draws graphics-related data for host device 102, such as user interface elements of an operating system, applications, etc. In some cases, GPU 138 accesses a portion of local memory to draw graphics or includes dedicated memory (e.g., video RAM) for drawing graphics for host device 102.

[0040] The data interface 140 of the host device 102 provides a connection to one or more networks and other devices connected to those networks. The data interface 140 may include a wired interface, such as an Ethernet or fiber optic interface, for communicating through a local network, an intranet, or the Internet. Alternatively or additionally, the data interface 140 may include a wireless interface that facilitates communication through a wireless network, such as a wireless LAN, a wide area wireless network (e.g., a cellular network), and / or a wireless personal area network (WPAN). According to one or more aspects of the virtualized isolation area of ​​the solid-state storage medium, any data transmitted through the I / O port 136 or the data interface 140 can be written to the storage medium 120 of the host device 102 or read from the storage medium 120 of the host device 102.

[0041] Figure 2An example configuration of a storage media accelerator 126 and SSD 122, generally at 200, is shown, which is implemented according to one or more aspects of virtualized isolated regions of solid-state storage media. In this example, the accelerator 126 is operably coupled between a host 202 and the SSD 122, from which a virtualized region of isolated storage is provided. The host 202 includes software 204, such as an application, a virtual machine, or a tenant (not shown), executed on a computing resource 206 of the host. In some cases, the computing resource 206 includes a combination of processing resources and system memory of the host 202, which is used to implement the application, virtual machine, tenant, or initiator. The accelerator 126 can provide each virtual machine, tenant, or initiator with isolated access to the virtualized storage unit while offloading lower-level storage media functions from the computing resource 206.

[0042] Typically, a tenant or initiator of a host 202 accesses data stored in an SSD 122 coupled to an accelerator 126. In this example, the SSD 122 is implemented with an SSD controller 208, and channels 210-1 to 120-m of NAND are accessible through the SSD controller 208. Each channel 210 of NAND (e.g., channel A or NAND channel 210) includes a plurality of NAND devices 212-1 to 212-n, which may be implemented as separate NAND devices or NAND dies of the SSD 122, which may be accessible or addressable through the corresponding NAND channel 210. In terms of virtualizing the isolated region, the accelerator 126 may select any NAND device 212 or NAND channel 210 for virtualization. For example, the accelerator 126 may map a physical NAND device 212 to a virtual storage unit address in the address map 130. The virtual storage unit or virtual unit of the storage device is then exposed by the accelerator 126 to the host 202, such as to an initiator or tenant application of the host 202. By mapping entire physical channels, devices, or dies of NAND memory to virtual addresses, the accelerator 126 can provide isolated storage to a virtual machine or tenant that is isolated from other applications, virtual machines, launchers, or tenants of the host 202.

[0043] Figure 3An example configuration of a storage media accelerator 126 and an array of n SSDs 122, generally at 300, is shown, which is implemented according to one or more aspects of virtualized isolated regions of solid-state storage media. In this example, the accelerator 126 is operably coupled between a host 302 and an array of SSDs 112-1 to 122-n, from which a virtualized region of isolated storage is provided. The host 302 can be implemented as a multi-tenant host with virtual machines 304, which can be implemented with any suitable number of virtual machines 304-1 to 304-m. The virtual machines 304 are executed from a hypervisor 306 executing on a computing resource 308 of the host 302. Alternatively or additionally, the computing resource 308 can include a combination of processing resources and system memory of the host 302 for implementing the virtual machine 304, through which the tenant or initiator runs. The accelerator 126 may provide each virtual machine 304 - 1 to 304 - m , tenant, or initiator, with isolated access to a virtualized storage unit while offloading low-level storage media functions from the computing resources 308 of the host 302 .

[0044] Typically, a virtual machine 304 of a host 302 accesses data stored in an array of SSDs 122 coupled to an accelerator 126. In this example, each SSD 122 of the SSD array is implemented with an SSD controller 208, through which four channels 210 of NAND (e.g., AD or EH) are accessible. Each channel 210 of NAND (e.g., channel E or NAND channel 210-5) includes multiple NAND devices or NAND dies. In terms of virtualizing isolated areas, the accelerator 126 can select any SSD 122, NAND channel 210, or NAND device as a storage area for virtualization. For example, the accelerator 126 can map SSD 122-1 to a virtual storage unit address in the address map 130. Then, the virtual storage unit or virtual unit of the storage device is exposed to the host 302 by the accelerator 126, such as to the virtual machine 304 or tenant application of the host 302. By mapping an entire SSD, physical channel, device, or die of NAND memory to a virtual address, the accelerator 126 can provide isolated storage to a virtual machine 304 or tenant that is isolated from other applications, virtual machines 304, launchers, or tenants of the host 302.

[0045] Figure 4An example configuration of a fabric-enabled storage media accelerator, generally at 400, is shown, which is implemented according to one or more aspects of virtualized isolated regions of solid-state storage media. In this example, the accelerator 126 includes a fabric interface (402) and is operably coupled between an instance of a fabric 404 and an array of SSDs 122-1 to 122-n. The fabric interface 402 may include a NVM-OF over Fabric interface, such as a Non-Volatile Memory Express (NVMe), InfiniBand, or Fibre Channel (FC) interface over Ethernet. In this way, the accelerator 126 may be implemented as a fabric-enabled storage target in a disaggregated storage system.

[0046] Through Fabric 404, any one of the plurality of host devices 102-1 to 102-m can access the SSD 122 array through the accelerator 126. Here, each SSD 122 of the SSD array is implemented with an SSD controller 208, through which four channels 210 (e.g., AD or EH) of NAND are accessible. Each channel 210 of NAND (e.g., channel E or NAND channel 210-5) includes multiple NAND devices or NAND dies. In terms of virtualizing the isolated area, the accelerator 126 can select any SSD 122, NAND channel 210, or NAND device as a storage area for virtualization. For example, the accelerator 126 can map the SSD 122-1 to a virtual storage unit address in the address map 130. Then, the virtual storage unit or virtual unit of the storage device is exposed by the accelerator 126 to the host device 102, such as to a virtual machine or tenant application of one of the host devices 102. By mapping an entire SSD, physical channel, device, or die of NAND memory to a virtual address, the accelerator 126 can provide isolated storage to a virtual machine or tenant that is isolated from other host devices, applications, virtual machines, initiators, or tenants.

[0047] Techniques for virtualizing isolated areas of storage media

[0048] The following discussion describes techniques for virtualizing isolated regions of solid-state storage media that can provide storage isolation and partitioning capabilities to the host while offloading lower-level storage media functions such as wear leveling, load balancing, etc. to a storage media accelerator. These techniques can be implemented using any of the environments and entities described herein, such as accelerator 126, virtualizer 128, address map 130, wear leveler 132, or load balancer 134. These techniques include Figure 5 , Figure 6 , Figure 8 and Fig.10The methods shown in , each of which is shown as a set of operations performed by one or more entities.

[0049] The methods are not necessarily limited to the order of operations shown in the associated figures. Rather, any operations may be repeated, skipped, replaced, or reordered to implement various aspects described herein. Furthermore, the methods may be used in conjunction with one another, in whole or in part, whether performed by the same entity, separate entities, or any combination thereof. For example, the methods may be combined to expose virtualized isolated areas of storage media while transparently providing wear leveling, load balancing, or data migration without host interaction or involvement. In the following discussion, reference will be made to the following examples by way of example. Figure 1 The operating environment is 100 and Figure 2 , Figure 3 and / or Figure 4 Such references should not be viewed as limitations on the described aspects of the operating environment 100, entities, or configurations, but rather as illustrations of one of various examples. Alternatively or additionally, the operations of these methods may also be performed by reference to Fig.10 System on Chip and / or Fig.11 The storage medium accelerator described by the entity implements or references Fig.10 System on Chip and / or Fig.11 The storage medium accelerator described by the entity is implemented together.

[0050] Figure 5 An example method 500 for virtualizing an isolated area of ​​solid-state storage media is depicted, including operations performed by or in conjunction with an accelerator 126, a virtualizer 128, an address map 130, a wear leveler 132, or a load balancer 134.

[0051] At 502, the accelerator determines the geometry of the solid-state storage medium via a storage interface. The solid-state storage medium may expose the geometry to the accelerator, such as through an open channel SSD or project Denali compatible interface. In some cases, the geometry includes architecture, topology, configuration, available control features, or other parameters of the drive in which the solid-state storage medium is implemented. Alternatively or additionally, the geometry of the solid-state storage medium may include a logical geometry, a physical geometry, the number of channels, the number of logical units, the number of parallel units, the number of blocks, a block size, or a minimum write size of the solid-state storage medium.

[0052] At 504, the accelerator selects a region of the solid-state storage medium as an isolated storage unit based on the geometry of the solid-state medium. The region selected as the isolated storage unit can include any granularity or subdivision of the solid-state storage device, such as an entire SSD, a memory channel of the SSD, a memory device of the SSD, or a memory die of the SSD.

[0053] At 506, the accelerator maps the physical address of the region selected for the isolated storage unit to a virtual address through which the isolated storage unit is accessible. The accelerator can maintain this mapping, as well as other mappings of physical to virtual addresses of the isolated storage unit. By doing so, the address mapping function can be offloaded from the host or handled by the accelerator external to the SSD or SSD controller.

[0054] At 508, the accelerator exposes the isolated storage unit through the host interface via a virtual address to enable the host to access the isolated storage unit in the solid-state storage medium. In some cases, the isolated storage unit is associated with an initiator, a workload, a virtual machine, or a tenant of the host. In this case, the isolated storage unit is isolated from another initiator, another workload, another virtual machine, or another tenant of the host. Alternatively or additionally, the solid-state storage medium can be configured as an indirect or direct attached storage device of the host device.

[0055] Optionally, at 510, the accelerator changes the physical address to which the virtual address of the isolated storage unit is mapped. This can effectively remap the isolated storage unit to a different area of ​​the solid-state storage medium. In some cases, the physical address is remapped to another area of ​​the SSD as part of a wear leveling function or algorithm. In other cases, the physical address is remapped to another SSD as part of a load balancing function or algorithm implemented by the accelerator.

[0056] Figure 6 An example method 600 is depicted for remapping an isolated storage unit to another storage medium area in an SSD. The operations of method 600 may be performed by or in conjunction with accelerator 126, virtualizer 128, address map 130, wear leveler 132, or load balancer 134.

[0057] At 602, the accelerator exposes one or more isolated storage units of the SSD to the host through the host interface via corresponding virtual addresses. The virtualized isolated storage units may correspond to NAND channels of the SSD, NAND devices of the SSD, or NAND dies of the SSD. For example, consider Figure 7, where NAND channel A is exposed to the host device as an isolated storage unit. Tenants or workloads of the host device can access NAND channel A as an isolated storage device without conflicting with services from other tenants or initiators.

[0058] At 604, the accelerator monitors usage of a region of a storage medium of the SSD corresponding to one or more isolated storage cells of the SSD. In some cases, a wear leveler of the accelerator monitors use or access to a NAND channel, NAND device, or NAND die of the SSD corresponding to the isolated storage cell. In the context of this example, assume that a tenant of the host device accesses NAND channel A more than other regions of the SSD.

[0059] At 606, the accelerator selects one of the isolated storage units based on the monitored usage to remap to another area of ​​the storage medium in the SSD. For example, the accelerator may select an isolated storage unit corresponding to a heavily used NAND channel, NAND device, or NAND die of the SSD for remapping. As described herein, the accelerator may remap the virtualized isolated area without host interaction or use of host resources. Continuing with the ongoing example, the accelerator selects NAND channel A to remap to another area of ​​the SSD.

[0060] At 608, the accelerator remaps the physical address of another area of ​​the storage medium to a corresponding virtual address of the isolated storage unit. By remapping the virtual address of the isolated storage unit, the accelerator can dynamically implement wear leveling by redirecting access to another area of ​​the storage medium. Figure 7 In the context of this example, the accelerator remaps the physical address of the tenant's isolated storage unit from NAND channel A to NAND channel D of the SSD.

[0061] At 610, the accelerator exposes the remapped isolated storage unit to the host through the host interface via the corresponding virtual address. This can effectively enable the host to access another area of ​​the storage medium in the SSD through the virtual address of the isolated storage unit. Due to the virtual addressing of the isolated storage unit, the remapping is transparent to the host or tenant and no host interaction or resources are required due to the offload provided by the accelerator. Concluding this example, the accelerator migrates data from NAND channel A to NAND channel D in the SSD and redirects access to NAND channel D by the tenant of the host device via the virtual address for subsequent data access.

[0062] Alternatively, the accelerator erases the area of ​​the storage medium in the SSD to which the virtual address of the remapped isolated storage unit was previously mapped at 612. This can effectively free up the storage medium area for reallocation or reuse with another isolated storage unit in the SSD.

[0063] Figure 8 An example method 800 for remapping an isolated storage unit to another SSD is depicted, including operations performed by or in conjunction with the accelerator 126, virtualizer 128, address map 130, wear leveler 132, or load balancer 134.

[0064] At 802, the accelerator exposes one or more isolated storage units in the solid-state storage medium to the host through the host interface via corresponding virtual addresses. The virtualized isolated storage units may correspond to an SSD, a NAND channel of an SSD, a NAND device of an SSD, or a NAND die of an SSD. As an example, consider Fig. 9 , wherein NAND channel A of the first SSD of the SSD array is exposed to the host device as a unit of isolated storage. A tenant or workload of the host device can access NAND channel A as an isolated storage device without conflicting with services from other tenants or initiators.

[0065] At 804, the accelerator monitors usage of regions of the solid-state storage medium corresponding to one or more isolated storage units. In some cases, a load balancer of the accelerator monitors usage or access between SSDs or corresponding regions of SSDs to which the isolated storage units correspond. In the context of this example, assume that a tenant of the host device accesses NAND channel A of SSD 122-1 more than other SSDs in the array.

[0066] At 806, the accelerator selects one of the isolated storage units based on the monitored usage for remapping to another area of ​​the storage medium in the solid-state storage medium. For example, the accelerator may select an isolated storage unit corresponding to a heavily used or accessed SSD for remapping. As described herein, the accelerator may remap the virtualized isolated area to a different SSD without host interaction or use of host resources. Continuing with the ongoing example, the accelerator selects SSD 122-1 to remap to another SSD of the array.

[0067] At 808, the accelerator remaps the physical address of another area of ​​the storage medium to the corresponding virtual address of the isolated storage unit. By remapping the virtual address of the isolated storage unit, the accelerator can dynamically achieve load balancing by redirecting access to another area of ​​the storage medium. Fig. 9 In the context of the present example, the accelerator remaps the physical address of the tenant's isolated storage unit from NAND channel A of SSD 122-1 to NAND channel E of SSD 122-n in the array.

[0068] At 810, the accelerator exposes the remapped isolated storage unit to the host through the host interface via the corresponding virtual address. This can effectively enable the host to access another area of ​​the storage medium in the solid-state storage medium through the virtual address of the isolated storage unit. Concluding this example, the accelerator migrates data from NAND channel A of SSD 122 1 to NAND channel E of SSD 122-n, and redirects access by the tenant of the host device from SSD 122-1 to SSD 122-n via the virtual address for subsequent data access.

[0069] Optionally, at 812, the accelerator erases an area of ​​the storage medium in the solid-state storage medium to which the virtual address of the remapped isolated storage unit was previously mapped. This can effectively free up the storage medium area for reallocation or reuse by another isolated storage unit in the solid-state storage medium. For example, the accelerator can erase the SSD, NAND channel, NAND device, or NAND die of data to clear the storage area.

[0070] Fig.10 An example method 1000 for migrating data of a virtualized isolation area from a source area of ​​a storage medium to a destination area of ​​a storage medium is depicted. The operations of method 1000 may be performed by or in conjunction with accelerator 126, virtualizer 128, address mapping 130, wear leveler 132, or load balancer 134.

[0071] At 1002, an accelerator selects a destination region of a solid-state storage medium for remapping isolated storage cells. The destination region may include an entire SSD, a NAND channel of an SSD, or a NAND device of an SSD.

[0072] At 1004, the accelerator copies data from a source region of a solid-state storage medium to a destination region, to which a virtual address of the isolated storage unit is mapped. At 1006, the accelerator instructs the host to access the source region of the solid-state storage medium via the virtual address of the isolated storage unit, while copying at least some of the data. For example, the accelerator may copy data from an actively isolated storage unit to a backup unit, while at least some read / write accesses continue to be directed to the actively isolated storage unit.

[0073] At 1008, the accelerator mirrors host accesses to the source region to the destination region to access data below the watermark of the synchronization data. In other words, new writes to the active isolation unit below the watermark for data indicated to have been copied to the standby isolation unit can be mirrored to both units for data consistency during migration.

[0074] At 1010, the accelerator instructs the host to access the destination area of ​​the solid-state storage medium via the virtual address of the isolated storage unit. In response to synchronization between the actively isolated storage unit and the destination area, the accelerator can redirect the access made through the virtual address to the new storage unit where the copied data is located. Optionally, at 1012, the accelerator erases the data from the source area of ​​the solid-state medium to release the source area.

[0075] System on Chip

[0076] Fig.11 An exemplary system on chip (SoC) 1100 is shown that can implement various aspects of a virtualized isolated area of ​​solid-state storage media. SoC 1100 can be implemented in any suitable device, such as a computing device, a host device, a network attached storage device, a smart device, a printer, a set-top box, a server, a data center, a solid-state drive (SSD), a storage drive array, a memory module, an automotive computing system, a server, a server blade, a storage blade, a storage backplane, a storage media expansion device, a storage media card, a storage media adapter, a network attached storage, a Fabric-enabled storage target, an NVMe-based storage controller, or any other suitable type of device (such as other devices described herein). Although described with reference to SoC, Fig.11 The entity may also be implemented as other types of integrated circuits or embedded systems, such as an application specific integrated circuit (ASIC), a storage controller card, a storage backplane, a storage controller, a communication controller, an application specific standard product (ASSP), a digital signal processor (DSP), a programmable SoC (PSoC), a system-in-package (SiP), or a field programmable gate array (FPGA).

[0077] The SoC 1100 may be integrated with electronic circuits, microprocessors, memory, input-output (I / O) control logic, communication interfaces, firmware, and / or software for providing functionality of a host device or storage system, such as any of the devices or components described herein (e.g., storage drives or storage arrays). The SoC 1100 may also include an integrated data bus or interconnect structure (not shown) that couples various components of the SoC for data communication or routing between components. The integrated data bus, interconnect structure, or other components of the SoC 1100 may be exposed or accessed through an external port, a parallel data interface, a serial data interface, a peripheral component interface, or any other suitable data interface. For example, components of the SoC 1100 may access or control external storage media through an external interface or an off-chip data interface.

[0078] In this example, the SoC 1100 includes various components, such as input-output (I / O) control logic 1102 and a hardware-based processor 1104 (processor 1104), such as a microprocessor, a processor core, an application processor, a DSP, etc. (e.g., a processing resource separate from a host x86 processor). The SoC 1100 also includes a memory 1106, which may include any type and / or combination of RAM, SRAM, DRAM, non-volatile memory, ROM, one-time programmable (OTP) memory, multi-time programmable (MTP) memory, flash memory, and / or other suitable electronic data storage devices. In some aspects, the processor 1104 and the code stored on the memory 1106 are implemented as a storage medium accelerator or a storage aggregator supporting an accelerator to provide various functions associated with a virtualized isolated area of ​​a solid-state storage medium. In the context of the present disclosure, the memory 1106 stores data, code, instructions, or other information via non-transient signals and does not include carrier waves or transient signals. Alternatively or additionally, SoC 1100 may include a data interface (not shown) for accessing additional or expandable off-chip storage media, such as magnetic memory or solid-state memory (eg, flash memory or NAND memory).

[0079] SoC 1100 may also include firmware 1108, applications, programs, software and / or operating systems, which may be embodied as processor executable instructions maintained on memory 1106 for execution by processor 1104 to implement the functions of SoC 1100. SoC 1100 may also include other communication interfaces, such as a transceiver interface for controlling or communicating with components of a local on-chip (not shown) or off-chip communication transceiver. Alternatively or additionally, the transceiver interface may also include or implement a signal interface to transmit radio frequency (RF), intermediate frequency (IF) or baseband frequency signals off-chip to facilitate wired or wireless communication through a transceiver, a physical layer transceiver (PHY), or a media access controller (MAC) coupled to SoC 1100. For example, SoC 1100 may include a transceiver interface configured to allow storage over a wired or wireless network, such as to provide a network attached storage (NAS) volume with virtualized storage isolation capabilities.

[0080] SoC 1100 also includes an accelerator 126 having a virtualizer 128, an address map 130, a wear leveler 132, and a load balancer 134, which can be implemented alone or in combination with a storage component or a data interface as shown. According to various aspects of the virtualized isolation area of ​​the solid-state storage medium, the accelerator 126 can expose the virtualized storage unit to the host or tenant and offload other storage media management functions to the processor 1104 of the accelerator, such as wear leveling, load balancing, etc. Alternatively or additionally, the address map 130 can be stored on the memory 1106 of the SoC 1100 or on a memory operably coupled to the SoC 1100 and accessible by the accelerator 126.

[0081] As described with reference to the various aspects presented herein, any of these entities may be embodied as different or combined components. Figure 1 A corresponding component or entity of the environment 100 or Figure 2 , Figure 3 and / or Figure 4 The corresponding configurations shown in are used to describe examples of these components and / or entities or corresponding functions. The accelerator 126, whether in whole or in part, can be implemented as processor-executable instructions maintained by the memory 1106 and executed by the processor 1104 to implement various aspects and / or features of the virtualized isolation area of ​​the solid-state storage medium.

[0082] The accelerator 126 may be implemented independently or in combination with any suitable components or circuits to implement the aspects described herein. For example, the accelerator 126 may be implemented as part of a DSP, a processor / memory bridge, an I / O bridge, a graphics processing unit, a memory controller, a storage controller, an arithmetic logic unit (ALU), etc. The accelerator 126 may also be provided integrally with other entities of the SoC 1100, such as integrated with the processor 1104, the memory 1106, the host interface, the storage medium interface, or the firmware 1108 of the SoC 1100. Alternatively or additionally, the accelerator 126, the virtualizer 128, the wear leveler 132, the load balancer 134, and / or other components of the SoC 1100 may be implemented as hardware, firmware, fixed logic circuits, or any combination thereof.

[0083] As another example, consider Fig.12 , which illustrates an example storage media accelerator 1200 according to one or more aspects of a virtualized isolated region of solid-state storage media. In various aspects, the storage media accelerator 1200 or any combination of its components can be implemented as a storage drive controller, a storage media controller, a NAS controller, a Fabric interface, an NVMe initiator, an NVMe target, or a storage aggregation controller for solid-state storage media. In some cases, the storage media accelerator 1200 is similar to or implemented with components of the SoC 1100, such as reference 1100. Fig.11 In other words, an instance of SoC 1100 may be configured as a storage media accelerator, such as storage media accelerator 1200, for providing and managing a virtualized isolation area of ​​solid-state media.

[0084] In this example, the storage medium accelerator 1200 includes input-output (I / O) control logic 1202 and a processor 1204, such as a microprocessor, a processor core, an application processor, a DSP, etc. In some aspects, the firmware of the processor 1204 and the storage medium accelerator 1200 can be implemented to provide various functions associated with the virtualization isolation area of ​​the solid-state storage medium, such as those described with reference to methods 500, 600, 800 and / or 1000. The storage medium accelerator also includes a storage medium interface 1206 and a host interface 1208, which can respectively enable access to the storage medium and the host system. The storage medium interface 1206 can include a physical page addressing (PPA) interface, a peripheral component interconnect express (PCIe) interface, a non-volatile memory express (NVMe) interface, a NVM on Fabric (NVM-OF) interface, an NVM host controller interface specification (NVMHCIS) compliant interface, etc. Alternatively or additionally, the host interface may include a PCIe interface, a SATA-based interface, an NVMe interface, an NVM-OF interface, an NVMHCIS-compatible interface, a Fabric-supported storage interface, or the like.

[0085] In this example, the storage media accelerator 1200 includes a flash translation layer 1210 (FTL 1210) and a garbage collector 1212. In some aspects of virtualized isolation areas of solid-state storage media, the storage media accelerator 1200 includes a host-side or non-drive-side FTL 1210 (e.g., a pBLK layer for an open channel SSD) and / or a garbage collector 1212 for managing access to the storage media of an SSD operably coupled to the accelerator. For example, the FTL 1210 may include a log manager for managing sequential write streams (e.g., write buffers), maintaining address mappings of storage media, and implementing or coordinating garbage collection or media reuse using the garbage collector 1212. Alternatively or additionally, the FTL 1210 may include a media management module for wear leveling, error correction coding, read retries, bad block management, metadata recovery, etc. In this way, these SSD functions may also be implemented by the storage media accelerator 1200 or offloaded to the storage media accelerator 1200.

[0086] The storage media accelerator 1200 also includes instances of a virtualizer 128, an address map 130, a wear leveler 132, and a load balancer 134. Any or all of these components may be implemented alone or in combination with the processor 1204, the storage media interface 1206, the host interface 1208, or the flash translation layer 1210 as shown. Figure 1 A corresponding component or entity of the environment 100 or Figure 2 , Figure 3 and / or Figure 4The corresponding configurations shown in are used to describe examples of these components and / or entities, or corresponding functions. The storage medium accelerator 1200, in its entirety or in part, may be implemented as processor executable instructions, which are maintained by a memory (not shown) of the accelerator and executed by the processor 1204 to implement various aspects and / or features of a virtualized isolation area of ​​a solid-state storage medium.

[0087] Although the subject matter has been described in language specific to structural features and / or methodological operations, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific examples, features, or operations described herein, including the order in which they are performed.

Claims

1. A method for virtualizing an isolated area of ​​a solid-state storage medium, wherein the method is performed by a storage medium accelerator coupled to a host interface, the method comprising: determining, via a storage medium interface provided by the storage medium accelerator, a geometry of a solid-state storage medium coupled to the storage medium interface; selecting a region of the solid-state storage medium as an isolated storage unit based on the geometry of the solid-state storage medium; mapping a physical address of the isolated storage unit to a virtual address, the isolated storage unit being accessible via the virtual address; as well as exposing the isolated storage unit through the host interface via the virtual address to enable a host to access the isolated storage unit in the solid-state storage medium; The area selected as the isolated storage unit includes one of the following: the entire SSD, a memory channel of the SSD, a memory device of the SSD, or a memory core of the SSD, and the isolated storage unit is associated with an initiator, a workload, a virtual machine, or a tenant of the host, and the isolated storage unit is isolated from another initiator, another workload, another virtual machine, or another tenant of the host.

2. The method according to claim 1 further includes changing the physical address to which the virtual address of the isolated storage unit is effectively mapped based on the geometry of the solid-state storage medium to remap the isolated storage unit to another area of ​​the solid-state storage medium.

3. The method of claim 2, wherein the area of ​​the solid-state storage medium selected as the isolated storage unit is a first area of ​​a first solid-state drive (SSD), the physical address is a first physical address, the other area is a second area, and changing the first physical address comprises one of the following: Mapping a second physical address of the second area in the solid-state storage medium of the first SSD to the virtual address of the isolated storage unit; or A second physical address of the second area in the solid-state storage medium of a second SSD is mapped to the virtual address of the isolated storage unit.

4. The method according to claim 3, wherein: Mapping the second physical address of the second region of the first SSD to the virtual address is implemented as part of a wear leveling function; or Mapping the second physical address of the second region of the second SSD to the virtual address is implemented as part of a load balancing function.

5. A method according to any one of claims 1 to 4, wherein the geometry of the solid-state storage medium includes at least one of the following: a logical geometry, a physical geometry, a number of channels, a number of logical units, a number of parallel units, a number of blocks, a block size, or a minimum write size of the solid-state storage medium.

6. The method according to any one of claims 1 to 4, wherein: The storage medium interface includes one of the following: a physical page addressing PPA interface, a peripheral component interconnect express PCIe interface, a non-volatile memory express NVMe interface, a fabric NVMNVM-OF interface or a NVM host controller interface specification NVMHCIS compatible interface; as well as The host interface includes one of the following: a PCIe interface, an NVMe interface, an NVM-OF interface, or an NVMHCIS compatible interface.

7. A device comprising: Hardware-based processors; a memory coupled to the processor and configured to maintain processor-executable instructions that, in response to being executed, implement an application on the device; a host interface configured to enable an application to access data in a storage medium associated with the device; A storage medium accelerator is coupled to the host interface and provides a storage medium interface, wherein the storage medium accelerator is configured as follows: determining, via the storage medium interface, a geometry of a solid-state storage medium operatively coupled to the device; selecting a region of the solid-state storage medium as an isolated storage unit based on the geometry of the solid-state storage medium; mapping a physical address of the isolated storage unit to a virtual address, the isolated storage unit being accessible via the virtual address; as well as exposing the isolated storage unit through the host interface via the virtual address to enable the application to access the isolated storage unit; The area selected as the isolated storage unit includes one of the following: the entire SSD, a memory channel of the SSD, a memory device of the SSD, or a memory core of the SSD, and the isolated storage unit is associated with an initiator, a workload, a virtual machine, or a tenant of the host, and the isolated storage unit is isolated from another initiator, another workload, another virtual machine, or another tenant of the host.

8. The apparatus of claim 7, wherein the storage medium accelerator is further implemented to change the physical address to which the virtual address of the isolated storage unit is effectively mapped based on the geometry of the solid-state storage medium to remap the isolated storage unit to another area of ​​the solid-state storage medium.

9. The apparatus according to claim 8, wherein the area of ​​the solid-state storage medium selected as the isolated storage unit is a first area of ​​a first solid-state drive (SSD), the physical address is a first physical address, the other area is a second area, and the storage medium accelerator is further implemented as: Mapping a second physical address of the second area in the solid-state storage medium of the first SSD to the virtual address of the isolated storage unit; or A second physical address of the second area in the solid-state storage medium of a second SSD is mapped to the virtual address of the isolated storage unit.

10. The device according to claim 7, wherein: The geometry of the solid-state storage medium includes at least one of the following: a logical geometry, a physical geometry, a number of channels, a number of logical units, a number of parallel units, a number of blocks, a block size, or a minimum write size of the solid-state storage medium.

11. The device according to claim 9, wherein: The apparatus further comprises the solid-state storage medium, the solid-state storage medium being operably coupled to the storage medium interface of the storage medium accelerator; or The solid-state storage medium is configured as a storage device indirectly or directly attached to the device; or in: The application is a first application associated with the isolated storage unit; In response to execution, the processor-executable instructions further implement a second application on the device; and The isolated storage unit is isolated from access by the second application on the device.

12. A system on chip (SoC), comprising the apparatus according to any one of claims 7 to 11.

13. The SoC of claim 12, wherein the SoC is embodied on or implemented as a portion of: a host device, a server, a server blade, a storage blade, a storage backplane, a storage media expansion device, a storage media card, a storage media adapter, a network attached storage device, a Fabric-enabled storage target, or an NVMe-based storage controller.