System and method for storage device resource management

By combining CXL and NVMe protocols in the computing system to manage storage device resources, the problem of resource access inconsistency in multi-tenant shared storage devices is solved, and storage efficiency and data consistency are improved.

CN114880253BActive Publication Date: 2024-09-03SAMSUNG ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210054098.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-04-14
Filing Date
2022-01-18
Publication Date
2024-09-03
Estimated Expiration
2042-01-18

AI Technical Summary

Technical Problem

In a multi-tenant shared storage device, when accessing specific resources of the storage device, inconsistencies between tenants lead to uncertain resource reading results, affecting data management and storage efficiency.

Method used

By using the Compute Express Link (CXL) protocol and the Non-Volatile Memory Express (NVMe) protocol in the computing system, the resource enumeration, reservation requests and reservation instructions of the storage device are managed respectively to ensure the consistency and efficiency of resource access.

Benefits of technology

It achieves fast and accurate management of storage device resources, reduces delays caused by remote access control and retention requests, and improves storage efficiency and data consistency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114880253B_ABST
    Figure CN114880253B_ABST
Patent Text Reader

Abstract

A system and method for storage device resource management is provided. The method includes: sending an enumeration of resource units of a computing device to a first computing system tenant and to a second computing system tenant. The enumeration is sent via a first protocol and indicates a management protocol associated with managing resource units. The method also includes receiving a first request from the first computing system tenant to reserve resource units. The first request is received via the management protocol. The method also includes receiving a second request from the second computing system tenant to reserve resource units. The second request is received via the management protocol. The method also includes sending an indication to the second computing system tenant that the resource units are reserved by the first computing system tenant. The indication is sent via the management protocol.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application claims priority to and the benefit of U.S. Provisional Application No. 63 / 146,448, filed on February 5, 2021, entitled “NVME Resource Management on CXL,” and U.S. Application No. 17 / 230,853, filed on April 14, 2021, the entire contents of which are incorporated herein by reference. Technical Field

[0002] The present disclosure generally relates to systems and methods for storage device resource management. Background Art

[0003] Some storage devices are shared by multiple tenants. However, multiple tenants accessing a particular resource of a storage device can cause inconsistencies. For example, if a first tenant stores a value "A" in a first storage location and a second tenant stores a value "B" in the first storage location, the result of the first tenant reading from the first storage location may be undefined.

[0004] The above information disclosed in this Background section is only for enhancement of understanding of the background of the disclosure and therefore it may contain information that does not constitute prior art. Summary of the invention

[0005]

[0013] In various embodiments, described herein include systems, methods, and apparatus for storage resource management.

[0006] The method includes: sending an enumeration of resource units of a computing device to a first computing system tenant and to a second computing system tenant. The enumeration is sent via a first protocol and indicates a management protocol associated with managing resource units. The method also includes: receiving a first request from the first computing system tenant to reserve resource units. The first request is received via the management protocol. The method also includes: receiving a second request from the second computing system tenant to reserve resource units. The second request is received via the management protocol. The method also includes: sending an indication to the second computing system tenant that the resource units are reserved by the first computing system tenant. The indication is sent via the management protocol.

[0007] The computing device includes a storage device and a processing unit. The storage device is configured to send an enumeration of resource units of the storage device to a first computing system tenant and to a second computing system tenant. The enumeration is sent via a first protocol and indicates a management protocol associated with managing resource units. The processing unit is configured to receive a first request from the first computing system tenant to reserve resource units. The first request is received via the management protocol. The processing unit is also configured to receive a second request from the second computing system tenant to reserve resource units. The second request is received via the management protocol. The processing unit is also configured to send an indication to the second computing system tenant that the resource units are reserved by the first computing system tenant. The indication is sent via the management protocol.

[0008] The system includes a host processor, the host processor includes: a first tenant and a second tenant. The system also includes a device, the device includes: a storage device and a processing unit. The storage device is configured to: send an enumeration of resource units of the storage device to the first tenant and to the second tenant. The enumeration is sent via a first protocol and indicates a management protocol associated with managing resource units. The first tenant is configured to: send a first request for reserving resource units to the processing unit via the management protocol. The second tenant is configured to: send a second request for reserving resource units to the processing unit via the management protocol. The processing unit is configured to: receive the first request. The processing unit is also configured to: receive the second request. The processing unit is also configured to: send an indication to the second tenant that the resource unit is reserved by the first computing system tenant. The indication is sent via the management protocol. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] The above and other aspects of the present technology will be better understood when the present application is read in light of the following drawings, in which like numbers indicate similar or identical elements:

[0010] Figure 1A is a block diagram of a system for managing resources of a storage device. Figure 1A Describes an enumeration of resource units.

[0011] Figure 1B is a block diagram depicting a system for managing resources of a storage device that processes packet requests.

[0012] Figure 1C is a block diagram describing a reservation request in a system for managing resources of a storage device.

[0013] Figure 1D is a block diagram describing a reservation indicator in a system for managing resources of a storage device.

[0014] Figure 1Eis a block diagram describing resource requests in a system for managing resources of a storage device.

[0015] Figure 2A A schematic diagram depicting a system for managing resources of a storage device via a compute express link (CXL) is shown.

[0016] Figure 2B Describes an enumeration of resource units in a system for managing resources of storage devices through CXL.

[0017] Figure 2C Reservation requests in a system for managing resources of a storage device via CXL are described.

[0018] Figure 2D Reservation notification in a system for managing resources of a storage device via CXL is described.

[0019] Figure 2E Non-volatile memory express (NVMe) requests in a system for managing resources of a storage device through CXL are described.

[0020] Figure 3 A first example of a CXL accelerator is described.

[0021] Figure 4 A second example of a CXL accelerator is described.

[0022] Figure 5 Another example system for managing resources of a storage device is described.

[0023] Figure 6 An example of a cache that can be used to manage resources of a storage device is described.

[0024] Figure 7 is a flow chart illustrating a method for managing resources of a storage device.

[0025] Although the present technology is susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and will be described herein. The drawings may not be to scale. However, it should be understood that the drawings and their specific embodiments are not intended to limit the present technology to the particular form disclosed, but rather, are intended to cover all modifications, equivalents, and alternatives that fall within the spirit and scope of the present technology as defined by the appended claims. DETAILED DESCRIPTION

[0026] The details of one or more embodiments of the subject matter described herein are set forth in the accompanying drawings and the description below. Other features, aspects, and advantages of the subject matter will become apparent from the description, drawings, and claims.

[0027] Various embodiments of the present disclosure will now be described more fully below with reference to the accompanying drawings, in which some, but not all, embodiments are shown. In fact, the disclosure may be embodied in many different forms and should not be construed as limited to the embodiments described herein; on the contrary, these embodiments are provided so that the present disclosure will satisfy applicable legal requirements. Unless otherwise indicated, the term "or" is used herein in both an alternative sense and a conjunction sense. The terms "illustrative" and "example" are used as examples and do not indicate a level of quality. The same numbers always indicate the same elements. The arrows in each figure describe bidirectional data flow and / or bidirectional data flow capabilities. The terms "path," "pathway," and "route" may be used interchangeably.

[0028] Embodiments of the present disclosure may be implemented in various ways including as a computer program product comprising a manufactured product. A computer program product may include a non-transitory computer-readable storage medium (also referred to herein as executable instructions, instructions for execution, computer program products, program codes, and / or similar terms used interchangeably herein) storing an application, a program, a program component, a script, a source code, a program code, an object code, a byte code, a compiled code, an interpretation code, a machine code, an executable instruction, etc. Such non-transitory computer-readable storage medium includes all computer-readable media (including volatile and non-volatile media).

[0029] In one embodiment, the non-volatile computer-readable storage medium may include a floppy disk, a floppy disk, a hard disk, a solid-state storage (SSS) (e.g., a solid-state drive (SSD)), a solid-state card (SSC), a solid-state module (SSM), an enterprise-class flash drive, a magnetic tape, or any other non-transitory magnetic medium, etc. The non-volatile computer-readable storage medium may also include a punch card, a paper tape, an optical marker sheet (or any other physical medium having a pattern of holes or other optically recognizable markers), a compact disc read-only memory (CD-ROM), a compact disc rewritable (CD-RW), a digital versatile disc (DVD), a Blu-ray disc (BD), any other non-transitory optical medium, etc. Such non-volatile computer-readable storage medium may also include a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory (e.g., serial, NAND, NOR, etc.), a multimedia memory card (MMC), a secure digital (SD) memory card, a smart media card, a flash memory (CF) card, a memory stick, etc. In addition, the non-volatile computer-readable storage medium may also include conductive bridging random access memory (CBRAM), phase change random access memory (PRAM), ferroelectric random access memory (FeRAM), non-volatile random access memory (NVRAM), magnetoresistive random access memory (MRAM), resistive random access memory (RRAM), silicon oxide-nitride-silicon oxide memory (SONOS), floating junction gate random access memory (FJG RAM), millipede memory, racetrack memory, etc.

[0030] In one embodiment, the volatile computer-readable storage medium may include random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), fast page dynamic random access memory (FPMDRAM), extended data output dynamic random access memory (EDO DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), double data rate type dual synchronous dynamic random access memory (DDR2 SDRAM), double data rate type triple synchronous dynamic random access memory (DDR3 SDRAM), bus dynamic random access memory (RDRAM), two-transistor RAM (TTRAM), thyristor RAM (T-RAM), zero capacitor (Z-RAM), dual in-line memory module (RIMM), dual in-line memory module (DIMM), single in-line memory module (SIMM), video random access memory (VRAM), cache memory (including various levels), flash memory, register memory, etc. It will be understood that in the case where the embodiment is described to use computer-readable storage media, other types of computer-readable storage media may be substituted or used in addition to the above-mentioned computer-readable storage media.

[0031] As should be understood, various embodiments of the present disclosure may also be implemented as methods, apparatuses, systems, computing devices, computing entities, etc. As such, embodiments of the present disclosure may take the form of apparatuses, systems, computing devices, computing entities, etc. that execute instructions stored on a computer-readable storage medium to perform certain steps or operations. Therefore, embodiments of the present disclosure may also take the form of an entirely hardware embodiment, an entirely computer program product embodiment, and / or an embodiment that includes a combination of a computer program product and hardware that performs certain steps or operations.

[0032] The following is a description of the embodiments of the present disclosure with reference to block diagrams and flow charts. Therefore, it should be understood that each block illustrated in the block diagram and flow chart can be implemented in the form of a computer program product, a complete hardware embodiment, a combination of hardware and computer program products and / or equipment, a system, a computing device, a computing entity, etc., that executes instructions, operations, steps and similar words (e.g., executable instructions, instructions for execution, program codes, etc.) on a computer-readable storage medium for execution. For example, the retrieval, loading and execution of the sequentially executable code can be performed so as to retrieve, load and execute an instruction at a time. In some example embodiments, retrieval, loading and / or execution can be performed in parallel so that multiple instructions are retrieved, loaded and / or executed together. Therefore, these embodiments can produce a specially configured machine that performs the steps or operations specified in the block diagram and flow chart illustration. Optionally, the block diagram and flow chart illustration support various combinations of embodiments for executing specified instructions, operations or steps.

[0033] Reference Figure 1A , a block diagram describing a system 100 for storage device resource management is shown. System 100 includes a computing device 102, a first tenant 105, and a second tenant 106. Computing device 102 includes one or more processor units (not shown). The one or more processor units may include one or more central processor units (CPUs), one or more application specific integrated circuits (ASICs), one or more field programmable gate arrays (FPGAs), one or more other processor units, or a combination thereof. Computing device 102 includes storage device 103. Storage device 103 includes a computer-readable storage device (not shown) (such as, flash memory (e.g., a solid state drive), a hard drive, some other type of computer-readable storage device, or a combination thereof). In some examples, storage device 103 corresponds to a computing storage device. Such a computing storage device includes a processor unit (e.g., a central processing unit, a field programmable gate array (FPGA), an application specific integrated circuit, or a combination thereof) configured to perform operations on data stored in a computer-readable storage device of storage device 103. Although storage device 103 is described as a component within computing device 102, it should be noted that in some examples, storage device 103 is computing device 102. The actions attributed to computing device 102 may be performed by storage device 103, by one or more processor units external to storage device 103, or a combination thereof in various embodiments.

[0034] The storage device 103 includes a resource unit 104. The resource unit 104 may correspond to a portion of a computer-readable storage device of the storage device 103, one or more functions provided by a processor unit of the storage device 103 (in the example of a computing storage device), or a combination thereof. The resource unit 104 may include a namespace (NS), a portion of a NS, an entire drive resource, a resource defined by the non-volatile memory express (NVMe) standard, or a combination thereof. The NS may be indicated by a logical block address (LBA) range and may correspond to a computing NS, a key value NS, a partition NS, or some other type of NS. A portion of the NS may correspond to an LBA range, one or more computing program time slots, one or more computing capabilities, or a combination thereof. Examples of computing capabilities include encryption engines, compression engines, and the like. Examples defined by NVMe include endurance groups, NVM sets, media units, submission queues, domains, allocable device interfaces (ADIs), process address space identifiers (PASIDs), portions of SSD performance capabilities, and the like.

[0035] Although resource units related to NVMe SSDs are described above and throughout, in other examples, the storage device 103 may be an Advanced Host Controller Interface (AHCI) SSD, an NVMe hard disk drive (HDD), etc. In addition, it should be noted that in some embodiments, resources of different types of devices (e.g., devices other than storage devices) may be managed according to the disclosed techniques. For example, the storage device 103 may be replaced by a graphics processor unit (GPU), a network interface controller (NIC), or other devices.

[0036] The first tenant 105 may correspond to a computing device, a computing device component, software executed by a computing device, or a combination thereof, which is configured to access data stored at the storage device 103, manage data stored at the storage device 103, write data to the storage device 103, or a combination thereof. Examples of computing device components that may correspond to the first tenant 105 include a central processor unit (CPU), a CPU core, a graphics processor unit (GPU), a tensor processing unit (TPU), a computing storage accelerator, a NIC, etc. Examples of software executed by a computing device that may correspond to the first tenant 105 include an operating system, a hypervisor, a user application, a virtual machine, etc. Similarly, the second tenant 106 may correspond to a computing device, a computing device component, software executed by a computing device, or a combination thereof. It should be noted that the first tenant 105 and the second tenant 106 may correspond to software and / or hardware components of the same computing device or may be implemented in different computing devices. In addition, although two tenants are shown, the system 100 may include different numbers of tenants configured to interact with data of the storage device 103. Although shown outside of computing device 102, first tenant 105 and second tenant 106 may be inside computing device 102. For example, computing device 102 may be a computing device that includes one or more components corresponding to and / or executing first tenant 105 and second tenant 106.

[0037] The computing device 102 is configured to communicate with the first tenant 105 and the second tenant 106 via a first protocol 109 and a second protocol 111. Although not shown, the computing device 102 may include one or more interfaces configured to transmit signals according to the first protocol 109 and the second protocol 111. In some embodiments, a single interface of the computing device 102 is configured to support both the first protocol 109 and the second protocol 111. For example, a U.2, U.3, EDSFF connector, an add-in card (AIC), or an M.2 connector may support both the first protocol 109 and the second protocol 111. The first protocol 109 and the second protocol 111 may be implemented on the same physical layer or on different physical layers. In some examples, both the first protocol 109 and the second protocol 111 are implemented on a peripheral component interconnect express (PCIe) physical layer. In some embodiments, the first protocol 109 and the second protocol 111 are sub-protocols of a single protocol (e.g., a computing express link (CXL)). The second protocol 111 may be a cache management protocol (eg, CXL.cache, CXL.mem, etc.) through which the computing device 102 distributes cache lines. The cache lines may identify which tenants may access which resource units of the storage device 103.

[0038] The computing device 102 is configured to enumerate the resource units available at the storage device 103 and provide access to the resource units through the first protocol 109. The computing device 102 is also configured to manage the reservation of the resource units through the second protocol 111. Since the reservation of the resource units is processed near the storage device (e.g., at the computing device 102), the reservation can be faster than other techniques for reserving resource units. In addition, since the reservation is processed through a different protocol from the memory access operation, the memory access operation may not be blocked by the reservation operation. That is, messages received through the first protocol 109 (e.g., memory access operations) and messages received through the second protocol 111 (e.g., reservation requests) can be processed simultaneously at the computing device 102. In some embodiments, the computing device 102 is configured to maintain coherence (or consistency, coherence) between the first protocol 109 messages and the second protocol 111 messages. For example, the computing device 102 may introduce a delay in the processing of the first protocol 109 messages so that the memory access request is not processed based on outdated reservation data.

[0039] In some examples, a zero in a particular cache (e.g., CXL.cache) address location may be used to indicate that the resource unit is available for claiming. The reservation request may participate in a second protocol 111 (e.g., CXL.cache) from the first tenant 105. The reservation request may cause the computing device 102 to compare the cache value of the resource unit with 0. If the comparison with 0 succeeds, the computing device 102 may write a value of 1 to notify other tenants that the resource unit is being used by the first tenant 105. If the comparison with 0 fails, the first tenant 105 may receive a failure status for the comparison and the write. The failure operation indicates a failed reservation of the resource.

[0040] In another example, the second tenant 106 may use the first protocol 109 (e.g., CXL.io and NVMe). The first protocol 109 may provide a standardized or vendor-specific link mechanism. The first protocol 109 may request the NVMe storage device to reserve the same resource unit. The reservation operation through the first protocol 109 may include an optional delay before and after the computing device 102 performs a comparison and write to the same field to request the resource. The request for the resource unit may be returned as successful or unsuccessful through the NVMe interface. In some examples, the computing device 102 may present itself as a computing resource on one or more of the first protocol 109 and the second protocol 111.

[0041] It should be noted that the computing system 100 may be a distributed and / or decomposed system. For example, the computing device 102 may communicate via a network (e.g., a local area network, a wide area network, etc.) via a first protocol 109 and a second protocol 111. In some embodiments, the computing device 102 is connected to the first tenant 105 and the second tenant 106 via the network.

[0042] exist Figure 1A In an example of , computing device 102 sends enumeration 110 to first tenant 105 and second tenant 106 via first protocol 109. In some examples, enumeration 110 corresponds to a standardized enumeration (such as a PCIe or CXL enumeration). Enumeration 110 identifies resource unit 104. For example, enumeration 110 may indicate an NS identifier, an LBA range, an engine identifier, a time slot identifier, some other identifier, or a combination thereof. In addition, enumeration 110 may identify second protocol 111 as a reserved protocol assigned to handle resource unit 104. It should be noted that storage device 103 may include further resource units in addition to resource unit 104. Enumeration 110 may also identify these further resource units. Optionally, further resource units may be identified via further enumerations sent by computing device 102 via first protocol 109.

[0043] In some implementations, the resource unit 104 is created based on a request from one of the first tenant 105 and the second tenant 106. For example, Figure 1B The first tenant 105 is shown sending a grouping request 130 to the computing device 102 via the first protocol 109. For example, the grouping request may indicate one or more resources of the storage device 103 to be grouped into the resource unit 104. These resources may include one or more NSs, one or more NS parts, one or more drive resources, one or more resources defined by the NVMe standard, or a combination thereof. The grouping request may include identifiers of these resources (such as one or more NS identifiers, one or more LBA ranges, one or more computing program time slot identifiers, one or more computing capability identifiers, one or more durability group identifiers, one or more NVM set identifiers, one or more media unit identifiers, one or more submission queue identifiers, one or more domain identifiers, one or more ADI identifiers, one or more PASID identifiers, one or more of SSD performance capability identifiers, one or more identifiers associated with other resources, or a combination thereof). Based on the grouping request, the computing device 102 may group the resources identified by the grouping request 130 into the resource unit 104 and send an enumeration 110 to the first tenant 105 and the second tenant 106 via the first protocol 109.

[0044] Figure 1CA first tenant 105 and a second tenant 106 are shown requesting to reserve a resource unit 104. In response to receiving the enumeration 110, the first tenant 105 sends a first request 112 for the resource unit 104 to the computing device 102 via a second protocol 111. Similarly, the second tenant 106 sends a second request 114 to the computing device 102 via the second protocol 111. The computing device 102 is configured to reserve the resource unit 104 to one of the first tenant 105 and the second tenant 106 based on the first request 112 and the second request 114. In some embodiments, the computing device 102 may select a tenant based on the order of the requests received (e.g., first come, first served), however other arbitration techniques are possible. In some embodiments, the first request 112 (and / or the second request 114) may also define the type of access request (e.g., read-only or read-write, etc.). In addition, the first request 112 (and / or the second request 114) may indicate whether the requested reservation is exclusive or shared. For shared access, the first request 112 (and / or the second request 114) may indicate one or more other tenants (e.g., by identifier) ​​and one or more associated access types (e.g., read-only or read-write, etc.). In some embodiments, the computing device 102 is configured to determine whether the requested reservation is consistent with the security and / or usage policy associated with the resource unit 104. For example, access to the resource unit 104 (or a particular access type) may be restricted to one or more specific tenants. In some embodiments, the enumeration 110 includes information indicating which access type or types are available for the resource unit 104. In some examples, the storage device 103 selectively sends the enumeration 110 to tenants that can access the resource unit 104 consistent with the security and / or usage policy. In some examples, the security and / or usage policy is defined in the grouping request 130.

[0045] In the example shown, the computing device 102 may reserve the resource unit 104 for the first tenant 105. When determining to reserve the resource unit 104 for the first tenant 105, the computing device 102 may store an indicator that the resource unit 104 is reserved for the first tenant 105 by setting a mark in the memory space of the computing device 102. The memory space may be accessible to the first tenant 105 and the second tenant 106 via the second protocol 111. The mark may correspond to a line of a cache within the computing device. In some examples, the cache line may also indicate the type of access reserved for the first tenant 105. In addition, the cache line (or additional cache lines) may be set to indicate any other tenants who have been granted access to the resource unit 104 and the type of access that has been granted. The cache may be implemented in a random access memory (RAM) or other memory of the computing device (e.g., inside or outside the storage device 103). The computing device 102 may send the reservation indicator 116 to the second tenant 106 via the second protocol 111. The reservation indicator 116 indicates that the resource unit 104 is reserved for the first tenant 105. For example, the reservation indicator 116 may include the cache line described above. In some examples, the reservation indicator 116 is sent in response to the computing device 102 reserving the resource unit 104 for the first tenant 105. In some examples, the reservation indicator 116 is sent by the computing device 102 in response to the second request 114. In some examples, the reservation indicator 116 is sent in response to a snoop request received from the second tenant 106 via the second protocol 111. In some examples, the reservation indicator 116 is sent in response to a data access request received by the computing device 102 from the second tenant 106 via the first protocol 109. In some examples, the reservation indicator 116 is sent in response to the expiration of a timer (e.g., the computing device 102 may periodically issue cache updates via the second protocol 111). It should be noted that the computing device 102 may be configured to send the reservation indicator in response to more than one of the conditions described above. In addition, although not shown, the computing device 102 may send a reservation indicator 116 to the first tenant 105 via the second protocol 111. In some embodiments, the first tenant 105 and the second tenant 106 may receive different reservation indicators. For example, the first tenant 105 may receive an indication of a successful reservation, while the second tenant 106 may receive an indication of a failed reservation.

[0046] like Figure 1EAs shown in , the first tenant 105 may issue a resource request 120 for a resource unit 104 to the computing device 102 via the first protocol 109. The resource request 120 may correspond to an NVMe command or other command directed to the resource unit 104. In some embodiments, other tenants (e.g., the second tenant 106) that have received an indication that the resource unit 104 is reserved for the first tenant 105 may avoid sending such resource requests for the resource unit 104. It should be noted that the computing device 102 may be configured to confirm that the received resource request is consistent with the reservation stored at the computing device 102 (e.g., in a cache). In response to the resource request 120 being consistent with the first tenant 105 reserving the resource unit 104, the computing device 102 may access the resource unit 104 according to the resource request 120 and return any results to the first tenant 105 via the first protocol 109.

[0047] Therefore, computing device 102 can manage access to resource units 104 near storage device 103 using two protocols. Near storage access management can reduce delays caused by remote access control. In addition, managing access through two protocols can reduce delays caused by reservation requests blocking access requests.

[0048] Figure 2A-2E An example of a system 200 for managing resources of an SSD via CXL is described. System 200 may correspond to a specific example of system 100.

[0049] The CXL protocol may enable memory extension and coherent accelerators.In various embodiments, the disclosed system may use a cache coherent protocol such as CXL to provide a coherent cache of resource unit retention.

[0050] In various embodiments, the disclosed system including the management computing device can feature an intelligent device architecture. In particular, the disclosed system can feature a device that plugs into a cache coherent interface (e.g., a CXL / PCIe interface) and can implement various cache and memory protocols (e.g., CXL.cache and CXL.mem protocols based on type 2 devices). In addition, in some examples, the device can include a programmable controller or processor (e.g., a RISC-V processor), and the programmable controller or processor (e.g., a RISC-V processor) can be configured to present the storage device to tenants using a cache coherent protocol (e.g., a CXL.IO protocol).

[0051] In some examples, the disclosed systems may be at least partially programmed via ASIC circuits, FPGA units, and the like.

[0052] Peripheral Component Interconnect Express (PCIe) may refer to a computer interface with relatively high and variable latency. CXL is an open industry standard for communication over PCIe (e.g., PCIe 5.0) that may provide a fixed, relatively short packet size, and therefore may be able to provide relatively high bandwidth and relatively low fixed latency. Thus, CXL may be able to support cache coherence, and CXL may be well suited for connecting to memory. CXL may also be used to provide connections between accelerators, memory devices, and network interface circuits (or "network interface controllers" or network interface cards (NICs)) in hosts and servers.

[0053] Cache coherent protocols such as CXL may also be used for heterogeneous processing in, for example, scalar, vector, and buffer memory systems. CXL may be used to provide a cache coherent interface utilizing channels, retimers, the PHY layer of the system, logical aspects of the interface, and protocols from PCIe (e.g., PCIe 5.0). The CXL transaction layer may include three multiplexed subprotocols that run simultaneously on a single link and may be referred to as CXL.io (CXL.Input Output), CXL.cache, and CXL.mem, respectively. CXL.io may include I / O semantics, which may be similar to PCIe. CXL.cache may include cache semantics, and CXL.mem may include memory semantics; both cache semantics and memory semantics may be optional. Like PCIe, CXL can support (i) native widths that can be split into x16, x8, and x4, (ii) data rates of 32GT / s that can be downgraded to 8GT / s and 16GT / s, 128b / 130b, (iii) 300W (75W in a x16 connector), and (iv) plug-and-play. To support plug-and-play, a PCIe or CXL device link can start training in PCIe in Gen1, negotiate CXL, complete Gen1 to Gen5 training, and then start CXL transactions.

[0054] The NVMe protocol can be used to provide access to NVMe storage devices through the CXL.io sub-protocol. In some embodiments, CXL.cache and / or CXL.mem are used to coherently manage the cache retained by the resource unit and CXL.io is used to transmit NVMe protocol messages (e.g., access requests, etc.).

[0055] like Figure 2AAs shown in FIG. 1 , system 200 includes an accelerator 202 and a host processor 218 connected via a CXL link. Accelerator 202 is a computing device and may correspond to computing device 102 of system 100. Accelerator 202 includes a first CXL interface 204, an NVMe SSD 206, and accelerator logic 208. First CXL interface 204 may include associated circuitry and hardware connectors (e.g., U.2, M.2, etc.) configured to separate messages received via CXL link 242 into CXL.io link 210, CXL.cache link 212, and CXL.mem link 214. First CXL interface 204 may also be configured to send messages received via CXL.io link 210, CXL.cache link 212, and CXL.mem link 214 via CXL link 242.

[0056] NVMe SSD 206 is connected to CXL.io link 210, and accelerator logic 208 is connected to CXL.cache link 212 and CXL.mem link 214. Although only one NVMe SSD is shown, accelerator 202 may include more than one NVMe SSD. Accelerator logic 208 corresponds to a processor unit (such as an FPGA or ASIC) configured to operate as described herein. It should be noted that in some embodiments, NVMe SSD 206 includes accelerator logic 208. For example, accelerator logic 208 may be implemented by a controller of NVMe SSD 206.

[0057] The accelerator 202 is also connected to an accelerator memory 216. In some examples, the accelerator memory 216 is internal to the accelerator 202. For example, the accelerator memory 216 may be included in the NVMe SSD 206. The accelerator memory 216 may include RAM (e.g., dynamic RAM (DRAM), static RAM (SRAM), etc.), any other type of memory, or a combination thereof.

[0058] Host processor 218 includes second CXL interface 220. Second CXL interface 220 may include associated circuitry and hardware connectors (e.g., U.2, M.2, etc.) configured to separate messages received via CXL link 242 into CXL.io link 238, CXL.cache link 234, and CXL.mem link 236. Second CXL interface 220 may also be configured to send messages received via CXL.io link 238, CXL.cache link 234, and CXL.mem link 236 via CXL link 242.

[0059] The coherency / cache logic 222 of the host processor 218 is connected to the CXL.cache link 234 and to the CXL.mem link 236. The PCIe logic 230 of the host processor 218 is connected to the CXL.io link 238. The coherency / cache logic 222 may include an ASIC, FPGA, or other processor unit configured to manage one or more caches of the host processor 218. The coherency / cache logic 222 is connected to a first processor core 226 and a second processor core 228. The first processor core 226 and the second processor core 228 may be different tenants configured to access the NVMe SSD 206. The coherency / cache logic 222 is configured to maintain a coherent cache of the processor cores 226, 228. The first processor core 226 may correspond to the first tenant 105, and the second processor core 228 may correspond to the second tenant 106. In other examples, the software executed by one or more of the processor cores 226, 228 corresponds to the first tenant 105 and the second tenant 106. Alternatively, the host processor 218 may provide access to the NVMe SSD 206 via one or more other components of the computing device (eg, a GPU, etc.).

[0060] The PCIe logic 230 is connected to the CXL.io link 238. The PCIe logic 230 is configured to send and receive NVMe messages to and from the NVMe SSD 206 via the CXL.io link 238. The PCIe logic 230 may correspond to an ASIC, FPGA, or other processor unit. The PCIe logic 230 is connected to an input / output (I / O) device 232. The I / O device 232 may correspond to a memory configured to store I / O commands and results.

[0061] Host processor 218 is also connected to host memory 240. In some examples, host memory 240 is internal to host processor 218. Host memory 240 may include RAM (e.g., dynamic RAM (DRAM), static RAM (SRAM), etc.), any other type of memory, or a combination thereof.

[0062] One or more components or software executed by the host processor 218 may correspond to one or more tenants (eg, the first tenant 105 and the second tenant 106 ) accessing the NVMe SSD 206 .

[0063] like Figure 2BAs shown, in operation, NVMe SSD 206 may send an enumeration 250 of resource units of the NVMe SSD to I / O device 232 via CXL.io link 210, first CXL interface 204, and via CXL link 242. In addition to identifying the resource units, the enumeration may indicate that the resource units are managed on CXL.cache (or CXL.mem). I / O device 232 may receive enumeration 250 via second CXL interface 220 and CXL.io link 238. One or more tenants may receive enumeration 250 via I / O device 232. Enumeration 250 may correspond to Figure 1A The enumeration 110 shown in FIG.

[0064] Reference Figure 2C , processor core 228 (or processor core 226) may initiate a request to access the resource unit indicated by enumeration 250. Processor core 228 may send an identifier of the resource unit to coherency / cache logic 222. Coherency / cache logic 222 may determine whether the resource unit is reserved by a tenant by looking up the resource unit in a cache (e.g., stored in host memory 240).

[0065] In response to determining that processor core 228 has reserved the resource unit, processor core 228 may continue to access the resource unit. Accordingly, processor core 228 may submit an I / O request to I / O device 232, and PCIe logic 230 may initiate transmission of the I / O request over CXL.io link 238.

[0066] In response to determining that a resource unit requested by the requesting tenant is reserved by another tenant, or that the requesting tenant lacks permission for the requested access type (e.g., the cache indicates that a different tenant can access the resource unit, or the cache indicates that the requesting tenant has permission to access a resource unit that is incompatible with the I / O request), the processor core 228 may determine that the resource unit is unavailable.

[0067] In response to determining that the resource unit is available for reservation (e.g., the cache in host memory 240 does not include an entry for the resource unit, the entry for the resource unit in the cache is dirty, the entry for the resource unit in the cache exceeds a threshold, etc.), the coherency / cache logic 222 may initiate transmission of a reservation request 252 to the accelerator logic via the CXL.cache link 234.

[0068] The accelerator logic 208 may receive the reservation request 252 via the CXL.cache link 212. Upon receiving the reservation request 252, the accelerator logic 208 may determine whether the requesting tenant has access to the resource unit indicated by the reservation request 252 by looking up the resource unit in a local cache (e.g., stored in the accelerator memory 216). In response to determining that the cache includes a line indicating that the resource unit is reserved by a different tenant or that the requesting tenant is granted an access type that is incompatible with the reservation request 252, the accelerator logic 208 may send an updated cache line of the resource unit to the host processor 218 via the CXL.cache link 212. However, in response to determining that the local cache does not include a line for the resource unit, the accelerator logic 208 may add a line to the local cache indicating that the resource unit is reserved for the requesting tenant. The accelerator logic 208 may then send the updated cache line for the resource unit to the host processor 218 via the CXL.cache link 212. Figure 2D The accelerator logic 208 is shown to send a reservation notification 254 to the host processor 218 (e.g., to the second processor core 228) via the CXL.cache link 212. The reservation notification may correspond to an updated cache line for the resource unit. In response to receiving the reservation notification 254, the coherency / cache logic 222 may update the cache by adding the cache line in the reservation notification 254 to a cache stored in the host processor 218 (e.g., in the host memory 240).

[0069] Coherency / cache logic 222 may then signal to processor core 228 whether the requested I / O request is allowed or not allowed based on the cache.

[0070] Figure 2E An example is described in which the I / O request has been granted (e.g., the requesting tenant has received a reservation of the resource unit). In this case, the tenant submits an I / O request (e.g., NVMe request 256) to I / O device 232. PCIe logic 230 retrieves NVMe request 256 from I / O device 232 and outputs the NVMe request to CXL.io link 238. Second CXL interface 220 sends NVMe request 256 to first CXL interface 204 via CXL link 242. First CXL interface 204 then outputs NVMe request 256 to the NVMe SSD via CXL.io link 210 for processing.

[0071] therefore, Figure 2A-2EA coherent cache that can manage resource unit reservations through CXL.cache (or CXL.mem) is described, and I / O requests (e.g., NVMe requests) to SSDs can be selectively transmitted through CXL.io based on the reservations. Managing the cache at the accelerator 202 provides near storage access control to the resource unit, which can be faster than other access control solutions. In addition, CXL.cache (or CXL.mem) can ensure that the cache of the remote host processor is coherent with the local cache of the accelerator 202.

[0072] Figure 3 A specific example of a CXL accelerator is described. The CXL accelerator may correspond to the computing device 102 of the system 100 or the accelerator 202 of the system 200. The CXL accelerator 302 includes a CXL interface 304 connected to a CXL link 342. The CXL interface 304 may correspond to the first CXL interface 204, and the CXL link 342 may correspond to the CXL link 242 of the system 200. The CXL accelerator 302 includes a storage device 306. The storage device 306 may correspond to the storage device 103 of the system 100 or the NVMe SSD 206 of the system 200. The storage device 306 includes a host interface layer 360, a controller 362, a flash translation layer (FTL) 364, a non-volatile memory (NVM) 366, and a RAM 368. The host interface layer (HIL) 360 may include a connector, an ASIC, an FPGA, or a combination thereof. The HIL 360 is configured to provide conversion of messages between the controller 362 and a host device (not shown). HIL 360 receives / sends CXL.io (e.g., first protocol 109 or CXL.io link 210) messages between controller 362 and CXL interface 304. CXL.io messages may include NVMe messages. Controller 362 includes an FPGA, a CPU, an ASIC, another type of processor unit, or a combination thereof. Controller 362 is configured to control the operation of storage device 306.

[0073] FTL 364 includes an ASIC, an FPGA, a connector, or a combination thereof. FTL 364 is configured to provide conversion of messages (e.g., conversion of LBA to physical block address) between controller 362 and NVM 366. NVM 366 includes flash memory or some other type of memory and is configured to store data.

[0074] RAM 368 may include DRAM, SRAM, some other type of RAM, or a combination thereof. RAM 368 may correspond to accelerator memory 216. RAM 368 may be configured to store a cache indicating reservations of resource units of storage device 306.

[0075] CXL accelerator 302 also includes accelerator logic 308 (eg, FPGA, ASIC, etc.) Accelerator logic 308 receives / sends CXL.cache and CXL.mem (eg, second protocol 111 , CXL.cache link 212 or CXL.mem link 214 ) messages via CXL interface 342 .

[0076] As described above, the CXL accelerator 302 may enumerate resource units of the storage device 306 and receive / process I / O requests (e.g., NVMe requests) via CXL.io (e.g., a first protocol). As described above, the accelerator logic 308 may receive reservation requests and issue reservation notifications via CXL.cache or CXL.mem. As described above, the accelerator logic 308 may manage a local cache of resource unit reservations stored in the RAM 368. The accelerator logic 308 may access the local cache via direct memory access (DMA) to the RAM 368 and / or by sending commands to the controller 362.

[0077] Figure 4 An alternative configuration of CXL accelerator 302 is described. Figure 4 4, CXL accelerator 402 includes CXL interface 404, storage device 406, HIL 460, controller 462, FTL 464, NVM 466, and RAM 468. These components correspond to the components of CXL accelerator 302. Controller 462 of storage device 406 includes accelerator logic 408, rather than accelerator logic external to storage device 406. Accelerator logic 408 may correspond to an ASIC or FPGA as a component of controller 462, and may be configured to operate as described above with reference to accelerator logic 308, accelerator logic 208, and computing device 102. In this embodiment, HIL 460 receives CXL.io, CXL.cache, and CXL.mem and routes these to controller 462. Accelerator logic 408 receives and responds to CXL.cache and CXL.mem.

[0078] therefore, Figure 4 An alternative is described in which a storage device includes a controller configured to receive and respond to I / O requests via a first protocol and logic configured to manage resource unit reservations according to a second protocol. Further variations are possible. For example, in some embodiments, CXL interface 404 may be a component of HIL 460.

[0079] Figure 55 is a diagram showing the information flow in a system 500 for managing resources of a storage device during arbitration between two tenants. The system 500 includes a GPU 501, a hypervisor 502, an accelerator logic 508, and an SSD 506. The GPU 501 and the hypervisor 502 are tenants configured to access data stored on the SSD 506. The GPU 501 may correspond to a first tenant 105, a component of a computing device including a host processor 218, or both. The hypervisor 502 may correspond to a second tenant 106, software executed by a computing device including a host processor 218, or both. In the example shown, the hypervisor provides an abstraction layer to access the SSD through two virtual machines and several ADIs. The accelerator logic 508 may correspond to an FPGA, an ASIC, other processing units, or a combination thereof. The accelerator logic 508 may correspond to the accelerator logic 208. The SSD 506 may correspond to the storage device 103 and / or the SSD 206. The accelerator logic 508 and the SSD 506 may be components of the computing device 102 and / or the accelerator 202 .

[0080] In operation, GPU 501 sends a first arbitration resolution request 510 for write access to resource unit “NS M” to accelerator logic 508, and hypervisor 502 sends a second arbitration resolution request 512 for write access to NS M to accelerator logic 508. Arbitration resolution requests 510, 512 are sent via CXL.cache. In some examples, resource units indicated by arbitration resolution requests 510, 512 are enumerated by SSD via CXL.io prior to transmission of arbitration resolution requests 510, 512.

[0081] In response to the arbitration resolution requests 510, 512, the accelerator logic 508 determines whether to grant write access to the NS M to the GPU 501 or the hypervisor 502. In response to determining that the NS M in the cache 532 of the SSD 506 (e.g., in the accelerator memory 216, RAM 368, or RAM 468) misses, the accelerator logic 508 may determine (e.g., on a first-come, first-served basis) to grant access to one of the GPU 501 and the hypervisor 502. Therefore, the accelerator logic 508 may generate a cache line 530 indicating that the selected one of the GPU 501 and the hypervisor 502 has been granted write access to the NS M. The accelerator logic 508 may publish the cache line 530 to the cache 532. In addition, the accelerator logic may send the cache line 530 to the cache 534 of the GPU (e.g., at the host memory 240) and the cache 536 of the hypervisor 502 (at the host memory 240) via CXL.io. Subsequently, the selected one of GPU 501 and hypervisor 502 may issue a write request for the NS M to SSD 506 via CXL.io. It should be noted that the retention of the NS M to one of GPU 501 and hypervisor 502 may depend on the usage / security policy associated with the NS M. Such usage / security policy may be set via a grouping request such as grouping request 130.

[0082] therefore, Figure 5 An example of resource management via two protocols is shown. Since resource management is handled close to the storage unit, latency can be reduced. Furthermore, since separate protocols are used for resource unit access and reservation requests, reservation requests may not block resource unit access requests. Furthermore, since the example shown uses a cache coherent protocol (CXL.cache), a coherent distribution of reservation information can be achieved.

[0083] Figure 6 An example of a cache 600 that may store resource unit reservation information is shown. The cache 600 may correspond to one or more of caches stored by the computing device 102, the first tenant 105, the second tenant 106, the accelerator 202 (e.g., in the accelerator memory 216), the host processor 218 (e.g., in the host memory 240), the CXL accelerator 302 (e.g., in the RAM 368), the CXL accelerator 402 (e.g., in the RAM 468), the SSD 506 (e.g., the cache 532), the GPU 501 (e.g., the cache 534), and the hypervisor 502 (e.g., the cache 536).

[0084] The illustrated cache 600 includes a first entry 606 (e.g., a first cache line), a second entry 604 (e.g., a second cache line), and a third entry 608 (e.g., a third cache line). Different examples may have different numbers of entries. Each entry 606, 604, 608 includes a first field 610, a second field 612, and a third field 614. Different examples may have different numbers of fields per entry. The first entry 606 includes an identifier of a tenant having write access to the NS. The first field 610 of the first entry 606 identifies the NS as "NS-1", the second field 612 of the first entry 606 indicates that "Tenant-1" can access NS-1, and the third field 614 of the first entry 606 indicates that the type of access is a write access. The first entry 606 may be set in response to a reservation request (e.g., the first request 112, the second request 114, the reservation request 252, the arbitration resolution request 510, or the arbitration resolution request 512).

[0085] The second entry 604 describes whether the tenant in cache line 1 is allowing other tenants to read this NS at this time. The first field 610 of the second entry 604 identifies the NS as "NS-1", the second field 612 of the second entry 604 indicates that "Tenant-2" can also access NS-1, and the third field 614 of the second entry 604 indicates that the type of access is a read access. The reservation request (e.g., the first request 112, the second request 114, the reservation request 252, the arbitration resolution request 510, or the arbitration resolution request 512) may indicate whether the second tenant can access the requested resource unit and what secondary access type is granted. Therefore, the first entry 606 and the second entry 604 may be set in response to the same reservation request. Optionally, the second entry 604 may be set in response to a second reservation request.

[0086] The third entry 608 includes an identifier of a tenant having full control over a resource unit, the resource unit including a CMB and a computing resource unit grouped together. The first field 610 of the third entry includes an identifier indicating a resource unit including "NS-2" and "CMB-1", the second field 612 of the third entry 608 indicates that "Tenant-3" can access the resource unit, and the third field 614 of the third entry 608 indicates that the type of access is write. The storage device or accelerator may group NS-2 and CMB-1 into the resource unit in response to a grouping request (e.g., a grouping request 130 or a similar grouping request sent by the host processor 218, the hypervisor 502, or the GPU 501). The third entry 608 may be set in response to a reservation request (e.g., the first request 112, the second request 114, the reservation request 252, the arbitration resolution request 510, or the arbitration resolution request 512).

[0087] It should be noted that cache 600 is provided as an illustrative example. In other examples, the cache may store encoded values ​​rather than plain text values. For example, a value of 0000 may indicate that the resource unit is available, a value of FFFF may indicate that the resource unit is offline, a value of 1 may indicate that the resource unit is currently used by tenant 1, a value of 00000001 may indicate that the resource unit is currently read-only by tenant 1, a value of 0001 0001 may indicate that the resource unit is currently read / written by tenant 1, etc.

[0088] therefore, Figure 6 A resource unit-retained cache that can be managed over a management protocol (e.g., CXL.mem or CXL.cache) is described. The management protocol can provide cache coherency with other caches at a tenant. Thus, a tenant can be able to quickly determine whether a storage resource unit is available for access.

[0089] Reference Figure 7 , a flow chart illustrating a method 700 is shown. The method 700 may be performed by a computing device (such as computing device 102, accelerator 202, CXL accelerator 302, CXL accelerator 402, a device including accelerator logic 508, SSD 506, etc.).

[0090] At 702, method 700 includes sending an enumeration of resource units of the computing device from the computing device to the first computing system tenant and to the second computing system tenant. The enumeration is sent via a first protocol and indicates a management protocol associated with managing the resource units. For example, the computing device 102 may send an enumeration 110 to the first tenant 105 and the second tenant 106 via a first protocol 109 (e.g., CXL.io). The enumeration 110 identifies the resource units 104 available at the storage device 103 and may also specify that the resource units are managed on a second protocol 111 (e.g., a management protocol). In some examples, the computing device 102 generates the resource units 104 and sends the enumeration 110 in response to a packet request (such as the packet request 130). As another example, the accelerator 202 may send an enumeration 250 identifying the available resource units at the NVMe SSD 206 to the processor core 226 and the processor core 228. The enumeration 250 may identify which protocol (e.g., CXL.cache or CXL.mem) the resource units are managed on. In response to a grouping request (e.g., similar to grouping request 130) sent by host processor 218 (e.g., by processor core 226 or processor core 228), resource units may be generated and enumeration 250 may be sent. As another example, controller 362 may initiate transmission of an enumeration of resource units of storage devices 306 of one or more tenants via HIL 360 via CXL.io. The enumeration may identify which protocol (e.g., CXL.cache or CXL.mem) the resource units are managed on. In response to a grouping request (e.g., similar to grouping request 130), resource units may be generated and enumeration may be sent. As another example, controller 462 may initiate transmission of an enumeration of resource units of storage devices 406 of one or more tenants via HIL 460 via CXL.io. The enumeration may identify which protocol (e.g., CXL.cache or CXL.mem) the resource units are managed on. In response to a grouping request (e.g., similar to grouping request 130), resource units may be generated and enumeration may be sent. As another example, SSD 506 may send an enumeration of resource units (e.g., NSMs) available at SSD 506 to GPU 501 and hypervisor 502 via CXL.io. Enumeration 250 may identify which protocol (e.g., CXL.cache or CXL.mem) the resource units are managed on. In response to a grouping request (e.g., similar to grouping request 130), resource units may be generated and the enumeration may be sent.

[0091] At 704, method 700 also includes receiving, at a computing device, a first request from a first computing system tenant for reserving a resource unit. The first request is received via a management protocol. For example, computing device 102 may receive a first request 112 from first tenant 105 via a second protocol 111 (e.g., a management protocol specified by enumeration 110). First request 112 may request reservation of resource unit 104. As another example, accelerator logic 208 may receive reservation request 252 via CXL.cache link 212 (or CXL.mem link 214). As another example, accelerator logic 308 may receive a request for resource units of storage device 306 via CXL.cache or CXL.mem. As another example, accelerator logic 408 may receive a request for resource units of storage device 406 via CXL.cache or CXL.mem. As another example, accelerator logic 508 may receive arbitration resolution request 510 via CXL.cache (or CXL.mem).

[0092] At 706, method 700 also includes receiving, at the computing device, a second request from the second computing system tenant for reserving a resource unit. The second request is received via a management protocol. For example, computing device 102 may receive a second request 114 from first tenant 105 via a second protocol 111 (e.g., a management protocol specified by enumeration 110). Second request 114 may request reservation of resource unit 104. As another example, accelerator logic 208 may receive another reservation request via CXL.cache link 212 (or CXL.mem link 214) (e.g., from second processor core 228). As another example, accelerator logic 308 may receive a second request for resource units of storage device 306 via CXL.cache or CXL.mem. As another example, accelerator logic 408 may receive a second request for resource units of storage device 406 via CXL.cache or CXL.mem. As another example, accelerator logic 508 may receive arbitration resolution request 512 via CXL.cache (or CXL.mem).

[0093] At 708, the method 700 also includes sending, from the computing device to the second computing system tenant, an indication that the resource unit is reserved by the first computing system tenant. The indication is sent via a management protocol. For example, the computing device 102 may send a reservation indicator 116 to the second tenant 106 (and in some embodiments, to the first tenant 105) via a second protocol 111. The reservation indicator 116 indicates that the first tenant 105 may access the resource unit 104. The reservation indicator 116 may indicate a type of access granted to the first tenant 105. In some embodiments, the reservation indicator 116 corresponds to a cache line (e.g., a line of the cache 600). As another example, the accelerator logic 208 may send a reservation notification 254 to the host processor 218 (e.g., to the second processor core 228) via a CXL.cache link 212 (or a CXL.mem link 214). The reservation notification 254 may correspond to a cache line (e.g., a line of a cache (such as the cache 600) stored in the accelerator memory 216). As another example, accelerator logic 308 may send a reservation notification (e.g., a cache line such as the line of cache 600) via CXL.cache (or CXL.mem). As another example, accelerator logic 408 may send a reservation notification (e.g., a cache line such as the line of cache 600) via CXL.cache (or CXL.mem). As another example, accelerator logic 508 may issue cache line 530 to GPU 501 and hypervisor 502 via CXL.io (or CXL.mem).

[0094] In some examples, the computing device may select the first computing system tenant to receive access to the resource unit based on the time of arrival of the first request and the second request (e.g., first come, first served). In other examples, the computing device may select the first computing system tenant to receive access to the resource unit based on the relative priority of the first tenant relative to the second tenant. For illustration, the first tenant may be associated with a first priority that is higher than a second priority associated with the second tenant. In another example, the computing device may select the first computing system tenant to receive access to the resource unit based on an access policy / security policy associated with the resource unit. For example, the security policy may grant the first tenant access to the resource unit (or deny the second tenant access to the resource unit).

[0095] Once the first tenant is granted access to the resource unit, the first tenant may send an access request (e.g., an NVMe request) to the storage device via a first protocol (e.g., CXL.io).

[0096] Thus, method 700 may be used to enumerate resource units via a first protocol and distribute reservation notifications via a second protocol. Since different protocols are used, enumeration messages may not block reservation messages. Furthermore, the second protocol may be a cache coherent protocol (such as CXL.io or CXL.mem). Thus, on a system implementing method 700, the knowledge of reservations may be coherent.

[0097] Some embodiments may be implemented in one or a combination of hardware, firmware, and software. Other embodiments may also be implemented as instructions stored on a computer-readable storage device that can be read and executed by at least one processor to perform the operations described herein. A computer-readable storage device may include any non-transitory memory mechanism for storing information in a form readable by a machine (e.g., a computer). For example, a computer-readable storage device may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium, an optical storage medium, a flash memory device, and other storage devices and media.

[0098] The word "exemplary" is used herein to mean "serving as an example, instance, or illustration." Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments. The terms "computing device," "user device," "communication station," "station," "handheld device," "mobile device," "wireless device," and "user equipment" (UE) as used herein refer to a wireless communication device (such as a cellular phone, smart phone, tablet, netbook, wireless terminal, laptop, femtocell, high data rate (HDR) user station, access point, printer, point of sale device, access terminal, or other personal communication system (PCS) device). The device may be mobile or fixed.

[0099] As used in the documents herein, the term "communication" is meant to include sending or receiving or both sending and receiving. This may be particularly useful in a claim when describing the organization of data being sent by one device and received by another device, but only the functionality of one of these devices is required to infringe the claim. Similarly, a two-way exchange of data between two devices (both devices send and receive during the exchange) may be described as "communication" when only the functionality of one of these devices is being claimed. The term "communication" as used herein with respect to wireless communication signals includes sending wireless communication signals and / or receiving wireless communication signals. For example, a wireless communication unit capable of communicating wireless communication signals may include a wireless transmitter that sends wireless communication signals to at least one other wireless communication unit and / or a wireless communication receiver for receiving wireless communication signals from at least one other wireless communication unit.

[0100] Some embodiments may be used in conjunction with various devices and systems (e.g., personal computers (PCs), desktop computers, mobile computers, laptop computers, notebook computers, tablet computers, server computers, handheld computers, handheld devices, personal digital assistant (PDA) devices, handheld PDA devices, vehicle-mounted equipment, non-vehicle-mounted equipment, hybrid devices, vehicle-mounted equipment, non-vehicle-mounted equipment, mobile or portable devices, consumer devices, non-mobile or non-portable devices, wireless communication stations, wireless communication equipment, wireless access points (APs), wired or wireless routers, wired or wireless modems, video devices, audio devices, audio video (A / V) devices, wired or wireless networks, wireless area networks, wireless video area networks (WVANs), local area networks (LANs), wireless LANs (WLANs), personal area networks (PANs), wireless PANs (WPANs), etc.).

[0101] Some embodiments may be used in conjunction with one-way and / or two-way wireless communication systems, cellular radiotelephone communication systems, mobile phones, cellular phones, wireless phones, personal communication system (PCS) devices, PDA devices including wireless communication devices, mobile or portable global positioning system (GPS) devices, devices including GPS receivers or transceivers or chips, devices including RFID elements or chips, multiple-input multiple-output (MIMO) transceivers or devices, single-input multiple-output (SIMO) transceivers or devices, multiple-input single-output (MISO) transceivers or devices, devices with one or more internal antennas and / or external antennas, digital video broadcasting (DVB) devices or systems, multi-standard radio devices or systems, wired or wireless handheld devices (e.g., smart phones), wireless application protocol (WAP) devices, etc.

[0102] Some embodiments may be used with wireless communications that conform to one or more wireless communication protocols (e.g., radio frequency (RF), infrared (IR), frequency division multiplexing (FDM), orthogonal FDM (OFDM), time division multiplexing (TDM), time division multiple access (TDMA), extended TDMA (E-TDMA), general packet radio service (GPRS), extended GPRS, code division multiple access (CDMA), wideband CDMA (WCDMA), CDMA2000, single carrier CDMA, multi-carrier CDMA, multi-carrier modulation (MDM), discrete multi-tone (DMT), Bluetooth, etc.). TM , Global Positioning System (GPS), Wi-Fi, Wi-Max, ZigBee TM, Ultra Wideband (UWB), Global System for Mobile Communications (GSM), 2G, 2.5G, 3G, 3.5G, 4G, fifth generation (5G) mobile network, 3GPP, Long Term Evolution (LTE), LTE Advanced, Enhanced Data Rates for GSM Evolution (EDGE), etc.) One or more types of wireless communication signals and / or systems are used in combination. Other embodiments can be used in various other devices, systems and / or networks.

[0103] Although an example processing system has been described above, embodiments of the subject matter and functional operations described herein may be implemented in other types of digital electronic circuits, or in computer software, firmware, or hardware including the structures disclosed in this specification and their structural equivalents, or in a combination of one or more of them.

[0104] The embodiments of the subject matter and operations described herein may be implemented in digital electronic circuits or in computer software, firmware or hardware including the structures disclosed in this specification and their structural equivalents or in a combination of one or more of them. The embodiments of the subject matter described herein may be implemented as one or more computer programs (i.e., one or more components of computer program instructions) encoded on a computer storage medium for execution by an information / data processing device or to control the operation of an information / data processing device. Alternatively, or in addition, program instructions may be encoded on an artificially generated propagation signal (e.g., a machine-generated electrical, optical or electromagnetic signal), which is generated to encode information / data to be sent to an appropriate receiver device for execution by an information / data processing device. The computer storage medium may be a computer-readable storage device, a computer-readable storage substrate, a random or serial access memory array or device, or a combination of one or more of them or included in a computer-readable storage device, a computer-readable storage substrate, a random or serial access memory array or device, or a combination of one or more of them. In addition, although a computer storage medium is not a propagation signal, a computer storage medium may be a source or destination of computer program instructions encoded in an artificially generated propagation signal. The computer storage media may also be or be included in one or more separate physical components or media (eg, multiple CDs, disks, or other storage devices).

[0105] The operations described herein may be implemented as operations performed by an information / data processing apparatus on information / data stored on one or more computer-readable storage devices or received from other sources.

[0106] The term "data processing device" includes all types of devices, apparatuses and machines for processing data, including, by way of example, a programmable processor, a computer, a system on a chip, or a plurality or combination of the above. The device may include a dedicated logic circuit (e.g., an FPGA (field programmable gate array) or an ASIC (application-specific integrated circuit)). In addition to hardware, the device may also include code that creates an execution environment for the computer program being mentioned (e.g., code constituting processor firmware, a protocol stack, a database management system, an operating system, a cross-platform runtime environment, a virtual machine, or a combination of one or more of them). The device and the execution environment may implement a variety of different computing model infrastructures (such as network services, distributed computing, and grid computing infrastructures).

[0107] A computer program (also referred to as a program, software, software application, script, or code) may be written in any form of programming language, including compiled or interpreted languages, declarative or procedural languages, and it may be deployed in any form, including as a stand-alone program or as a component, subroutine, object, or other unit suitable for use in a computing environment. A computer program may, but need not, correspond to a file in a file system. A program may be stored in a portion of a file that holds other programs or information / data (e.g., one or more scripts stored in a markup language document), in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store portions of one or more components, subroutines, or code). A computer program may be deployed to be executed on one computer, or on multiple computers located at one site or distributed over multiple sites and interconnected by a communications network.

[0108] The processing and logic flow described here can be performed by one or more programmable processors, and one or more programmable processors execute one or more computer programs to perform actions by operating on input information / data and generating output. For example, processors suitable for executing computer programs include general-purpose microprocessors and special-purpose microprocessors, as well as any one or more processors in any type of digital computer. Typically, the processor will receive instructions and information / data from a read-only memory or a random access memory or both. The basic elements of a computer are a processor for performing actions according to instructions and one or more memory devices for storing instructions and data. Typically, a computer will also include or be operatively combined to receive information / data from one or more mass storage devices (e.g., disks, magneto-optical disks, or optical disks) for storing data, or to transmit information / data to one or more mass storage devices (e.g., disks, magneto-optical disks, or optical disks) for storing data, or both. However, a computer does not need to have such a device. Devices suitable for storing computer program instructions and information / data include all forms of non-volatile memory, media and storage devices, including, for example, semiconductor memory devices (e.g., EPROM, EEPROM and flash memory devices); magnetic disks (e.g., internal hard disks or removable disks); magneto-optical disks; and CD-ROM and DVD-ROM disks. The processor and memory may be supplemented or incorporated by special purpose logic circuitry.

[0109] To provide interaction with a user, embodiments of the subject matter described herein may be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information / data to the user, as well as a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices may also be used to provide interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form including sound, voice, or tactile input. In addition, a computer may interact with a user by sending documents to and receiving documents from a device used by a user (e.g., by a web browser on a client device of a user sending a web page in response to a request received from the web browser).

[0110] Embodiments of the subject matter described herein may be implemented in a computing system that includes a back-end component, such as an information / data server, or includes a middleware component (e.g., an application server), or includes a front-end component (e.g., a client computer with a graphical user interface or a web browser through which a user can interact with embodiments of the subject matter described herein), or any combination of one or more such back-end, middleware, or front-end components. The components of the system may be interconnected by any form or medium of digital information / data communication (e.g., a communication network). Examples of communication networks include local area networks ("LANs") and wide area networks ("WANs"), intranets (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks).

[0111] A computing system may include a client and a server. The client and the server are usually remote from each other and typically interact through a communication network. The relationship of client and server arises due to the computer programs running on the respective computers and having a client-server relationship with each other. In some embodiments, the server sends information / data (e.g., an HTML page) to a client device (e.g., for the purpose of displaying information / data to a user interacting with the client device and receiving user input from a user interacting with the client device). Information / data generated at the client device (e.g., a result of a user interaction) may be received at the server from the client device.

[0112] Although this specification contains many specific embodiment details, these details should not be interpreted as limitations on the scope of any embodiment or the content that may be claimed, but rather as descriptions of the features of specific embodiments. Some features described herein in the context of separate embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented separately in multiple embodiments, or in any suitable sub-combination. In addition, although features may be described above as acting in some embodiments, or even initially disclosed as such, in some cases, one or more features from a claimed combination may be deleted from the combination, and a claimed combination may point to a sub-combination or a variant of a sub-combination.

[0113] Similarly, although operations are described in a particular order in the accompanying drawings, this should not be understood as requiring that the operations be performed in the particular order shown or in sequential order, or that all of the operations shown be performed, to achieve the desired results. In some cases, multitasking and parallel processing may be advantageous. In addition, the separation of various system components in the embodiments described above should not be understood as requiring such separation in all embodiments, and it should be understood that the described program components and systems may generally be integrated into a single software product or packaged into multiple software products.

[0114] Thus, specific embodiments of the subject matter have been described. Other embodiments are also within the scope of the appended claims. In some cases, the actions described in the claims may be performed in a different order and still achieve the desired results. In addition, the processing described in the accompanying drawings does not necessarily require the specific order or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing can be advantageous.

[0115] Many modifications and other embodiments of the disclosure set forth herein will occur to those skilled in the art, and those skilled in the art to which these embodiments relate will benefit from the guidance presented in the above description and the associated drawings. Therefore, it should be understood that the embodiments are not limited to the specific embodiments disclosed, and modifications and other embodiments are intended to be included within the scope of the appended claims. Although specific terms are used herein, they are used only in a general and descriptive sense and not for the purpose of limitation.

Claims

1. A method, include: sending, from the computing device to the first computing system tenant and to the second computing system tenant, an enumeration of resource units of the computing device, the enumeration being sent via a first protocol associated with the enumerated resources and indicating a management protocol associated with managing the resource units, the first protocol being a protocol different than the management protocol; receiving, at a computing device, a first request from a first computing system tenant to reserve a resource unit, the first request being received via a management protocol; receiving, at the computing device, a second request from a second computing system tenant to reserve a resource unit, the second request being received via a management protocol; and An indication of a resource unit reserved by a first computing system tenant is sent from a computing device to a second computing system tenant, the indication being sent via a management protocol.

2. The method according to claim 1, further comprising: include: In response to receiving the first request, a flag is set in a memory space of the computing device accessible to the management protocol, the flag indicating that the first computing system tenant has reserved the resource unit.

3. The method according to claim 2, in, The first protocol is a Compute Express Link (CXL) protocol including a CXL.io protocol, wherein the management protocol is a CXL.cache protocol or a CXL.mem protocol.

4. The method according to claim 2, in, The marking also indicates that the second computing system tenant has restricted access to the resource unit.

5. The method according to claim 4, in, The tag comprises a cache line in a cache of the computing device, wherein sending an indication that the resource unit is reserved by the first computing system tenant comprises sending the cache line.

6. The method according to claim 1, further comprising: include: Messages received via the first protocol and messages received via the management protocol are processed simultaneously at the computing device.

7. The method according to claim 1, further comprising: include: A request to group a first resource with a second resource is received at a computing device, wherein the enumeration is generated based on the request to group the first resource with the second resource, wherein a resource unit includes the first resource and the second resource.

8. A computing device, include: Storage device; and The processing unit, wherein the storage device is configured to: sending an enumeration of resource units of the storage device to the first computing system tenant and to the second computing system tenant, the enumeration being sent via a first protocol associated with the enumerated resources and indicating a management protocol associated with managing the resource units, the first protocol being a protocol different from the management protocol, and The processing unit is configured as follows: receiving a first request from a first computing system tenant to reserve a resource unit, the first request being received via a management protocol; receiving a second request from a second computing system tenant to reserve a resource unit, the second request being received via the management protocol; and An indication of the resource unit reserved by the first computing system tenant is sent to the second computing system tenant, the indication being sent via a management protocol.

9. The device according to claim 8, further comprising: include: The memory, wherein the processing unit is further configured to, in response to receiving the first request, set a flag in the memory, the flag indicating that the first computing system tenant has reserved the resource unit.

10. The device according to claim 9, in, The first protocol is a Compute Express Link (CXL) protocol including a CXL.io protocol, wherein the management protocol is a CXL.cache protocol or a CXL.mem protocol.

11. The device according to claim 9, in, The processing unit is configured to reserve the resource unit to the first computing system tenant based on a first arrival time of the first request relative to a second arrival time of the second request.

12. The device according to claim 8, in, The storage device is further configured to receive a request for grouping a first resource with a second resource, wherein the enumeration is generated based on the request for grouping the first resource with the second resource, wherein the resource unit includes the first resource and the second resource.

13. The device according to claim 8, in, The processing unit includes a field programmable gate array, an application specific integrated circuit, or a combination of a field programmable gate array and an application specific integrated circuit.

14. The device according to claim 8, in, The storage device comprises a controller, wherein the processing unit is an element of the controller.

15. A system, include: a host processor, comprising: a first tenant and a second tenant; and Device, comprising: storage device; and The processing unit, wherein the storage device is configured to: sending an enumeration of resource units of the storage device to the first tenant and to the second tenant, the enumeration being sent via a first protocol associated with the enumerated resources and indicating a management protocol associated with managing the resource units, the first protocol being a protocol different from the management protocol, and The first tenant is configured as: sending a first request for reserving a resource unit to a processing unit via a management protocol; The second tenant is configured as: sending a second request for reserving a resource unit to the processing unit via the management protocol; The processing unit is configured as follows: receiving a first request; receiving a second request; and An indication is sent to the second tenant that the resource unit is reserved by the first tenant, the indication being sent via a management protocol.

16. The system according to claim 15, in, The first tenant includes a component of the host processor, software executable by the host processor, or a combination of a component of the host processor and software executable by the host processor.

17. The system according to claim 15, in, The first tenant includes a graphics processor unit (GPU).

18. The system according to claim 15, in, The first tenant includes a hypervisor provided by a host processor.

19. The system according to claim 15, in, The storage device includes: a computing storage device.

20. The system according to claim 15, in, The apparatus further comprises a memory, wherein the processing unit is further configured to maintain a cache of resource unit reservations in the memory, wherein the indication that the resource unit is reserved by the first tenant comprises a line of the cache.