Memory subsystem dynamic qos pools

By creating a QoS pool in the memory subsystem and dynamically combining physical functions, the problem of underutilization of physical function QoS capabilities is solved, achieving more efficient memory resource allocation and improved application performance.

CN115756816BActive Publication Date: 2026-11-24MICRON TECHNOLOGY INC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211063856.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-09-03
Filing Date
2022-09-01
Publication Date
2026-11-24
Estimated Expiration
2042-09-01

AI Technical Summary

Technical Problem

In existing memory subsystems, the QoS capabilities of physical functions are not fully utilized, resulting in inefficient use of memory resources, and the QoS of individual physical functions limits the performance of applications.

Method used

By creating QoS pools, multiple physical functions can be dynamically combined to meet QoS requirements, enabling efficient allocation and utilization of memory resources. This includes receiving QoS requests and dynamically adding or removing physical functions to meet specific QoS parameters.

Benefits of technology

It improves the overall performance of the memory subsystem, meets the QoS requirements of different applications, and enhances resource utilization and application performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115756816B_ABST
    Figure CN115756816B_ABST
Patent Text Reader

Abstract

This disclosure relates to a dynamic QoS pool for a memory subsystem. One method includes receiving a request for allocation of memory resources based on Quality of Service (QoS) parameters. The method further includes provisioning multiple physical functions via a QoS manager component to provide allocation of the requested resources. At least two of the multiple physical functions can be provided to satisfy QoS criteria.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of this disclosure generally relate to a memory subsystem, and more specifically, to a dynamic QoS pool for a memory subsystem. Background Technology

[0002] The memory subsystem may include one or more memory devices for storing data. The memory devices may be, for example, non-volatile memory devices and volatile memory devices. Typically, a host system may utilize the memory subsystem to store data at the memory devices and retrieve data from the memory devices. Summary of the Invention

[0003] In this aspect, the present disclosure provides a method for using a Quality of Service (QoS) pool, comprising: receiving a request for allocation of memory resources based on QoS parameters; and provisioning a plurality of physical functions via a QoS manager component to provide allocation of the requested resources; wherein at least two of the plurality of physical functions are provided to satisfy QoS criteria.

[0004] In another aspect, this disclosure provides a QoS pool device comprising: a memory subsystem QoS manager component configured to perform operations including: receiving a request for allocation of memory resources based on Quality of Service (QoS); allocating a QoS pool comprising a plurality of physical functions, wherein each of the plurality of physical functions includes a QoS attribute of a total QoS capacity added to the QoS pool; and dynamically adding at least one physical function to the plurality of physical functions of the QoS pool in response to receiving an update request for additional allocation of memory resources.

[0005] In another aspect, this disclosure further provides a QoS pool system comprising: a plurality of memory components arranged to form a stackable cross-grid array of memory cells; and a processing means coupled to the plurality of memory components, the processing means performing operations including: receiving a request for allocation of memory resources based on QoS for performing a specific memory operation; providing the requested memory resources by allocating a QoS pool to provide the QoS by allocating a plurality of physical functions; receiving an update request for allocation of additional memory resources, wherein the additional memory resources are less than the originally requested memory resources; and removing physical functions from the QoS pool comprising the plurality of physical functions, wherein the removal of the physical functions degrades the performance of the QoS. Attached Figure Description

[0006] This disclosure will be more fully understood from the detailed description given below and from the accompanying drawings of various embodiments thereof.

[0007] Figure 1An instance computing system including a memory subsystem is described according to some embodiments of this disclosure.

[0008] Figure 2 This is a block diagram of an instance computing system including a QoS pool according to some embodiments of the present disclosure.

[0009] Figure 3 This is a block diagram of an instance computing system including a QoS pool according to embodiments of the present disclosure.

[0010] Figure 4 This is an example method for providing a QoS pool according to embodiments of this disclosure.

[0011] Figure 5 This is an example computer system for providing a QoS pool according to embodiments of the present disclosure. Detailed Implementation

[0012] This disclosure pertains to dynamic Quality of Service (QoS) pools for memory subsystems, and more specifically to memory subsystems containing a memory subsystem QoS manager component. A memory subsystem can be a storage system, storage device, memory module, or a combination thereof. An example of a memory subsystem is a storage system, such as a solid-state drive (SSD). The following description, in conjunction with… Figure 1 And other examples describing storage devices and memory modules. Typically, a host system may utilize a memory subsystem that includes one or more components, such as a memory device for storing data. The host system can provide data to be stored in the memory subsystem and can request data to be retrieved from the memory subsystem.

[0013] The memory device may be a non-volatile memory device. An example of a non-volatile memory device is a three-dimensional cross-point memory device comprising an array of non-volatile memory cell cross-points. The following section combines... Figure 1 Other examples of non-volatile memory devices are described. A non-volatile memory device, such as a three-dimensional cross-point memory device, may be a package of one or more memory components (e.g., memory dies). Each die may consist of one or more planes. Planes may be divided into logical units. For example, a non-volatile memory device may be assembled from multiple memory dies, each of which may individually form a component of the memory device.

[0014] Memory devices can be non-volatile memory devices. An example of a non-volatile memory device is a NAND flash memory device (also known as flash memory technology). The following section combines... Figure 1Other examples of non-volatile memory devices are described below. A non-volatile memory device is a package of one or more dies. Each die may consist of one or more planes. Planes may be divided into logic units (LUNs). For some types of non-volatile memory devices (e.g., NAND devices), each plane consists of a set of physical blocks. Each block consists of a set of pages. Each page consists of a set of memory cells (“cells”). A cell is an electronic circuit that stores information. A block, hereinafter, refers to a unit of memory device used to store data and may contain a set of memory cells, word lines, word lines, or individual memory cells. For some memory devices, a block (hereinafter also referred to as a memory block) is the smallest erasable area. Pages cannot be erased individually; only the entire block can be erased.

[0015] Each memory device may contain one or more arrays of memory cells. Depending on the cell type, a cell may store one or more bits of binary information and has various logical states related to the number of bits stored. Logical states may be represented by binary values, such as "0" and "1", or combinations of such values. Various types of cells exist, such as single-level cells (SLC), multi-level cells (MLC), three-level cells (TLC), and four-level cells (QLC). For example, an SLC may store one bit of information and have two logical states.

[0016] Some NAND memory devices employ a floating gate architecture, where memory access is controlled based on a relative voltage change between the bit line and the word line. Other examples of NAND memory devices may employ alternative gate architectures, which may include word line layouts that allow charges corresponding to data values ​​to be trapped within the memory cell based on the properties of the materials used to construct the word lines.

[0017] During operation, the memory subsystem can utilize a multi-function PCIe storage device, which, in some prior methods, provides the performance required to run applications using Physical Functions (“PF”). The multi-function PCIe storage device can expose itself to the host as multiple independent NVMe (Fast Non-Volatile Memory) controllers. NVMe can be a host controller interface and storage protocol, designed for high-speed data transfer between enterprise and client systems and memory subsystems (e.g., solid-state drives (SSDs)) via the computer's high-speed Peripheral Component Interconnect (PCIe) bus.

[0018] A Physical Function (PF) can be a PCIe function that can be discovered, enumerated, managed, and / or accessed like any other PCIe device. All PFs may contain a configuration space that defines the properties of the PCIe device and enables the host operating system (OS) or basic input / output system (BIOS) to manage those properties. As an example, each PF can be identified as an independent PCIe device, which can be associated with a Non-Volatile Memory (NVM) namespace to make the PF a PCIe device. A single PCIe-based memory subsystem can host multiple PFs, each of which can be considered a separate controller within a single NVM memory subsystem. In some instances, each PF can be connected via a PCIe channel, and its bandwidth may depend on the PCIe interface.

[0019] In these prior methods, the QoS of a single physical function can limit the performance of applications running on that single physical function. Due to the lack of ability to provide QoS functionality for idle or unused physical functions for application use, the QoS capabilities of those idle or unused physical functions may remain unused. Therefore, the memory subsystem may still remain underutilized, and the ability to provide the most efficient QoS from each physical function used may be limited.

[0020] This disclosure addresses the aforementioned and other deficiencies by creating a group of physical functions that can provide a QoS pool. Quality of Service (QoS) refers to a description or measurement of the overall performance of a service, such as a computing network or cloud computing service, and specifically, the performance perceived by users of the network. To quantify the measurement, several relevant aspects of the network service are typically considered, such as packet loss, bit rate, throughput, transmission latency, availability, jitter, etc. In some instances, QoS can also refer to the ability to provide different priorities or specific levels of performance to different applications, users, or data streams. Service Level Agreements (SLAs) used to run applications can be provided on a QoS pool basis, using multiple physical functions combined to provide total QoS, rather than on a single physical function basis. This allows the memory subsystem to dedicate a high-QoS physical function pool to applications that utilize higher performance by dynamically grouping high-QoS physical functions together within the memory subsystem. As used herein, "dynamically" can mean adding or removing a set of QoS physical functions based on requests for memory resources consuming a specific amount of QoS. As an example, physical functions with specific QoS capabilities can be dynamically added to a set of physical functions to provide a QoS pool, and similarly, physical functions with specific QoS capabilities that are no longer needed can be dynamically removed from the QoS pool, each based on a specific physical function used for a specific QoS by a host or application. The functionality of these QoS pools can be provided using vendor-specific commands. Furthermore, these QoS pools can be dynamically modified by adding or removing physical functions with specific QoS parameters from specific QoS pools based on corresponding SLAs or other requests and performance provisioning.

[0021] Figure 1 An example computing system 100 including a memory subsystem 110 is described according to some embodiments of this disclosure. The memory subsystem 110 may include media, such as one or more volatile memory devices (e.g., memory device 140), one or more non-volatile memory devices (e.g., memory device 130), or a combination thereof.

[0022] The memory subsystem 110 may be a storage device, a memory module, or a combination of a storage device and a memory module. Examples of storage devices include solid-state drives (SSDs), flash drives, universal serial bus (USB) flash drives, embedded multimedia controller (eMMC) drives, universal flash memory (UFS) drives, secure digital cards (SD cards), and hard disk drives (HDDs). Examples of memory modules include dual in-line memory modules (DIMMs), small form factor DIMMs (SO-DIMMs), and various types of non-volatile dual in-line memory modules (NVDIMMs).

[0023] The computing system 100 may be a computing device, such as a desktop computer, laptop computer, server, web server, mobile device, vehicle (e.g., airplane, drone, train, car or other means of transportation), Internet of Things (IoT) enabled device, embedded computer (e.g., computer contained in a vehicle, industrial equipment or networked commercial device), or such computing device containing memory and processing devices.

[0024] The computing system 100 may include a host system 120 coupled to one or more memory subsystems 110. In some embodiments, the host system 120 is coupled to different types of memory subsystems 110. Figure 1 This describes an example of a host system 120 coupled to a memory subsystem 110. As used herein, “coupled to” or “coupled with” generally refers to a connection between components, which may be an indirect communication connection or a direct communication connection (e.g., without intermediate components), whether wired or wireless, and includes, for example, electrical, optical, magnetic, and other connections.

[0025] Host system 120 may include a processor chipset and a software stack executed by the processor chipset. The processor chipset may include one or more cores, one or more caches, a memory controller (e.g., an SSD controller), and a storage protocol controller (e.g., a PCIe controller, a SATA controller). Host system 120, for example, uses memory subsystem 110 to write data to and read data from memory subsystem 110.

[0026] Host system 120 can be coupled to memory subsystem 110 via a physical host interface. Examples of physical host interfaces include, but are not limited to, Serial Advanced Technology Bus Attached (SATA) interface, High-Speed ​​Peripheral Component Interconnect (PCIe) interface, Universal Serial Bus (USB) interface, Fibre Channel, Serial Attached SCSI (SAS), Small Computer System Interface (SCSI), Dual Data Rate (DDR) memory bus, Dual In-line Memory Module (DIMM) interface (e.g., a DIMM socket interface supporting Dual Data Rate (DDR)), Open NAND Flash Interface (ONFI), Double Data Rate (DDR), Low Power Dual Data Rate (LPDDR), or any other interface. The physical host interface can be used to transmit data between host system 120 and memory subsystem 110. When memory subsystem 110 is coupled to host system 120 via PCIe interface, host system 120 can further utilize high-speed NVM (NVMe) interface access components (e.g., memory device 130). The physical host interface provides an interface for transmitting control, address, data and other signals between the memory subsystem 110 and the host system 120. Figure 1The memory subsystem 110 is described as an example. Typically, the host system 120 can access multiple memory subsystems via the same communication connection, multiple separate communication connections, and / or a combination of communication connections.

[0027] Memory devices 130 and 140 may comprise any combination of different types of non-volatile memory devices and / or volatile memory devices. Volatile memory devices (e.g., memory device 140) may be (but are not limited to) random access memory (RAM), such as dynamic random access memory (DRAM) and synchronous dynamic random access memory (SDRAM).

[0028] Some examples of non-volatile memory devices (e.g., memory device 130) include NAND-type flash memory and in-situ write memory, such as three-dimensional crosspoint (“3D crosspoint”) memory devices, which are crosspoint arrays of non-volatile memory cells. The crosspoint array of non-volatile memory can combine stackable cross-grid data access arrays to perform bit storage based on changes in volume resistance. Furthermore, compared to many flash memory-based memories, crosspoint non-volatile memory can perform in-situ write operations, where non-volatile memory cells can be programmed without pre-erasing them. For example, NAND-type flash memory includes two-dimensional NAND (2D NAND) and three-dimensional NAND (3D NAND).

[0029] Each of the memory devices 130 and 140 may include one or more arrays of memory cells. One type of memory cell, such as a single-level cell (SLC), may store one bit per cell. Other types of memory cells, such as multi-level cells (MLC), three-level cells (TLC), four-level cells (QLC), and five-level cells (PLC), may store multiple bits per cell. In some embodiments, each of the memory devices 130 may include one or more arrays of memory cells, such as SLC, MLC, TLC, QLC, or any combination thereof. In some embodiments, a particular memory device may include an SLC portion and an MLC portion, TLC portion, QLC portion, or PLC portion of a memory cell. The memory cells of the memory device 130 may be grouped into pages, where a page may refer to a logical unit of the memory device used to store data. For some types of memory (e.g., NAND), pages may be grouped to form blocks.

[0030] Although non-volatile memory components, such as three-dimensional cross-point arrays of non-volatile memory cells and NAND-type memories (e.g., 2D NAND, 3D NAND), are described, memory device 130 may be based on any other type of non-volatile memory or storage device, such as read-only memory (ROM), phase-change memory (PCM), auto-select memory, other chalcogenide-based memories, ferroelectric transistor random access memory (FeTRAM), ferroelectric random access memory (FeRAM), magnetic random access memory (MRAM), spin-transfer torque (STT)-MRAM, conductive bridged RAM (CBRAM), resistive random access memory (RRAM), oxide-based RRAM (OxRAM), NOR flash memory, and electrically erasable programmable read-only memory (EEPROM).

[0031] The memory subsystem controller 115 (or, for simplicity, controller 115) can communicate with the memory device 130 to perform operations such as reading data, writing data, or erasing data at the memory device 130, and other such operations. The memory subsystem controller 115 may include, for example, hardware of one or more integrated circuits and / or discrete components, buffer memories, or combinations thereof. The hardware may include a digital circuit system with dedicated (i.e., hard-coded) logic to perform the operations described herein. The memory subsystem controller 115 may be a microcontroller, a dedicated logic circuit system (e.g., a field-programmable gate array (FPGA), an application-specific integrated circuit (ASIC), etc.), or other suitable processor.

[0032] The memory subsystem controller 115 may include a processor 117 (e.g., a processing device) configured to execute instructions stored in local memory 119. In the illustrated example, the local memory 119 of the memory subsystem controller 115 includes embedded memory configured to store instructions for performing various processes, operations, logic flows, and routines for controlling the operation of the memory subsystem 110 (including handling communication between the memory subsystem 110 and the host system 120).

[0033] In some embodiments, local memory 119 may include memory registers storing memory pointers, retrieved data, etc. Local memory 119 may also include read-only memory (ROM) for storing microcode. Although Figure 1 The instance memory subsystem 110 has been described as including a memory subsystem controller 115, but in another embodiment of this disclosure, the memory subsystem 110 does not include a memory subsystem controller 115 and may instead rely on external control (e.g., provided by an external host or by a processor or controller separate from the memory subsystem).

[0034] Typically, the memory subsystem controller 115 receives commands or operations from the host system 120 and translates these commands or operations into instructions or appropriate commands to enable desired access to memory devices 130 and / or 140. The memory subsystem controller 115 may handle other operations such as wear leveling, garbage collection, error detection and correction (ECC) operations, encryption, caching, and address translation between logical addresses (e.g., logical block addresses (LBAs), namespaces) and physical addresses (e.g., physical block addresses, physical media locations, etc.) associated with memory device 130. The memory subsystem controller 115 may further include a host interface circuitry for communicating with the host system 120 via a physical host interface. The host interface circuitry translates commands received from the host system into command instructions to access memory devices 130 and / or 140, and translates responses associated with memory devices 130 and / or 140 into information for the host system 120.

[0035] The memory subsystem 110 may also include additional circuitry or components not described. In some embodiments, the memory subsystem 110 may include caches or buffers (e.g., DRAM) and address circuitry (e.g., row decoders and column decoders) that can receive addresses from the memory subsystem controller 115 and decode the addresses to access memory devices 130 and / or 140.

[0036] In some embodiments, memory device 130 includes a local media controller 135 that operates in conjunction with a memory subsystem controller 115 to perform operations on one or more memory cells of memory device 130. An external controller (e.g., memory subsystem controller 115) may externally manage memory device 130 (e.g., perform media management operations on memory device 130). In some embodiments, memory device 130 is a managed memory device, which is a native memory device contained within the same memory device package as a local controller (e.g., local controller 135) for media management. An example of a managed memory device is a managed NAND (MNAND) device.

[0037] The memory subsystem 110 may include a Quality of Service (QoS) manager component 113. Although not explicitly stated in the diagram for the sake of clarity... Figure 1As shown in the diagram, the QoS manager component 113 may include various circuitry, firmware, and / or software to facilitate the monitoring and control of QoS parameters for the memory subsystem and / or its components, determine whether to perform QoS operations for the memory subsystem and / or its components based on Service Level Agreements (SLAs), data usage, application data requirements, etc., and / or control the Physical Function (PF) pool for QoS operations for the memory subsystem and / or its components. In some embodiments, the QoS manager component 113 may include dedicated circuitry in the form of an ASIC, FPGA, state machine, and / or other logic circuitry that allows the QoS manager component 113 to coordinate and / or perform operations to selectively perform QoS operations on the memory device 130 and / or memory device 140 based on determined SLAs and / or QoS requests, requirements, etc., and data usage parameters.

[0038] In some embodiments, the memory subsystem controller 115 includes at least a portion of the QoS manager component 113. For example, the memory subsystem controller 115 may include a processor 117 (processing means) configured to execute instructions stored in local memory 119 to perform the operations described herein. In some embodiments, the QoS manager component 113 is part of the host system 110, an application, or an operating system.

[0039] In a non-limiting instance, the device (e.g., computing system 100) may include a memory subsystem QoS manager component 113. The memory subsystem QoS manager component 113 may reside on memory subsystem 110. As used herein, the term "resides on" means something physically located on a particular component. For example, "resides" memory subsystem QoS manager component 113 on memory subsystem 110 means that the hardware circuitry including memory subsystem QoS manager component 113 is physically located on memory subsystem 110. The term "resides on" may be used interchangeably with other terms used herein, such as "deployed on" or "located on".

[0040] The memory subsystem QoS manager component 113 can be configured to determine a set of QoS pools for allocating QoS services to memory components of the memory subsystem, and to determine specific QoS pools allocated to users based on SLAs, application requirements, etc. As described above, a memory component may be a memory die or memory package forming at least a portion of memory device 130. QoS pools can be formed by aggregating QoS allocated to multiple individual PFs and by creating dynamic or changeable QoS pools during runtime. This can be similar to a PF cluster, where QoS parameters are established once established, and SLAs are based on the QoS pool rather than the capabilities of individual PFs (e.g., input / output per second (IOPS) or bandwidth (BW)). QoS pools may have upper and lower bound criteria based on QoS parameters or numbers. QoS configuration can be set to a standard configuration upon initial startup and can subsequently be changed based on application SLA requirements. For example, it can be ensured that an application runs using a QoS pool that is capable of running the application and meets the SLA requirements for running the application. As another example, an application or group of applications may be associated with a PF, while the PF itself is not limited by its initial QoS parameters. The QoS pool (represented by PF) can be increased or decreased based on the QoS pool capacity and changing needs to obtain higher IOPS and BW parameters for the QoS pool (and thus obtain more than one PF).

[0041] In some embodiments, bandwidth (BW) and input / output per second (IOPS) can be assigned to a PF, and the upper and lower limits of the QoS parameters depend on the PF's QoS pool. The QoS manager component 113 can monitor and control the allocation of QoS parameters among PFs in the PF's QoS pool. The QoS manager component 113 can obtain improved QoS parameters via vendor-specific API notifications from the application associated with the PF. The QoS manager component 113 can pre-configure higher QoS parameters to specific PFs in the QoS pool that require higher QoS parameters to perform.

[0042] Figure 2This is a block diagram of an instance computing system 205 including QoS pools 237-1 and 237-2 according to some embodiments of the present disclosure. The computing system 205 may include a root component 231, multiple virtual machines (VMs) 233-1, 233-2, 233-3, and 233-4 (hereinafter collectively referred to as multiple VMs 233), and a hypervisor 235. The root component 231 may refer to a device driver in the host machine that can send privileged commands to manage physical functions, such as the multiple physical functions 234 described below. This device driver can send commands to each physical function. The hypervisor 235 may be hardware, software, and / or firmware capable of creating, for example, multiple VMs 233 and managing and allocating resources for the multiple VMs 233. The multiple VMs 233 are configured to use a host machine (e.g., ...). Figure 1 The machine containing the resources of the host system 120.

[0043] Multiple physical functions (PFs) 234-1, 234-2, 234-3, and 234-4 (collectively referred to below as multiple PFs 234) may be assigned to each of the multiple VMs 233 based on QoS requests or user requirements. Each of the multiple PFs 234 may be connected to a specific non-volatile memory namespace, such as the namespace (“NS”). x Namespaces 236-1, 236-2, 236-3, and 236-4. For example, PF1 234-1 may be connected to namespace 236-1, PF2 234-2 may be connected to namespace 236-2, and so on. Namespace 232 may be associated with a management controller and may be used to send privileged management commands and is managed by a management controller (e.g., PF0) in the device. The management controller may receive privileged management commands from a device driver that enables management of other physical functions. However, embodiments are not limited thereto. For example, in some embodiments, the namespace is removed and is not used to send management commands.

[0044] In some previous methods where a QoS manager component is not present, a VM (e.g., VM 233-1) may be associated with a single PF (e.g., PF1 234-1), and the QoS parameters of the single PF are the QoS resources allocated to the corresponding VM. In this way, if no VM (e.g., VM2 233-2) is used, the PF not using the VM (e.g., PF2 234-2) and its associated QoS resources may not be allocated to an additional VM (e.g., VM 2 233-2). However, in the description provided herein, QoS pool 1 237-1, which includes both PF1 234-1 and PF2 234-2, can use the QoS resources of both PF1 234-1 and / or PF2 234-2 and provide the QoS resources of either or both PFs to a single VM, such as VM1 233-1 or VM2 233-2. In this way, QoS pool 1 237-1 and its associated QoS resources can be allocated to VMs, and a second QoS pool 2 237-2 and its associated QoS resources can be allocated to additional VMs. QoS manager components (e.g.) Figure 1 The QoS Manager component 113 in the document can manage, monitor, and modify the QoS pool. For example, it will be combined with the following... Figure 3 As described, PFs can be added or removed from the QoS pool to meet specific SLA or QoS resource requirements.

[0045] Figure 3 This is a block diagram of an instance computing system 307 including QoS pools 337-1, 337-2 according to some embodiments of this disclosure. The computing system 307 may include a root component 331, multiple virtual machines (VMs) 333-1, 333-2 (collectively referred to below as multiple VMs 333), and a hypervisor 335. The root component 331 may refer to a device driver in the host machine that can send privileged commands to manage physical functions, such as the multiple physical functions 234 described below. This device driver can send commands to each physical function. The hypervisor 335 may be hardware, software, and / or firmware capable of creating, for example, multiple VMs 333 and managing and allocating resources for the multiple VMs 333. The multiple VMs 333 are configured to use a host machine (e.g., ...). Figure 1 The machine containing the resources of the host system 120.

[0046] Multiple physical functions (PFs) 334-1, 334-2, 334-3, and 334-4 (collectively referred to below as multiple PFs 334) can be assigned to each of the multiple VMs 333 based on QoS requests or user requirements. Each of the multiple PFs 334 can be connected to a specific non-volatile memory namespace, such as the namespace (“NS”). xNamespaces 336-1, 336-2, 336-3, and 336-4. For example, PF1 334-1 may be connected to namespace 336-1, PF2 334-2 may be connected to namespace 336-2, and so on. Namespace 332 may be associated with a management controller and may be used to send privileged management commands and is managed by a management controller (e.g., PF0) in the device. The management controller may receive privileged management commands from a device driver that enables management of other physical functions. However, embodiments are not limited thereto. For example, in some embodiments, the namespace is removed and is not used to send management commands.

[0047] In some embodiments, such as in Figure 3 As explained, QoS pool 1 337-1, which includes PF1 334-1, PF2 334-2, and PF3 334-3, can utilize the QoS resources of the three PFs 334-1, 334-2, and 334-3 and provide the QoS resources of the three PFs to VM1 333-1. Meanwhile, QoS pool 2 337-2, which includes PF4 334-4, and its QoS resources are provided to VM2 333-2. In this way, QoS pool 1 337-1, with its larger QoS resources, can be provided to VMs with greater QoS needs or requests, such as VM1 333-1. Similarly, QoS pool 2 337-2, with its smaller QoS resources, can be provided to VMs with smaller QoS needs or requests, such as VM2 333-2.

[0048] In some embodiments, PFs can be added or removed from the QoS pool. For example, from Figure 2 QoS pool 1 237-1 to Figure 3 The transformation of QoS pool 1 337-1 may include adding PF3 234-3 to QoS pool 1 237-1 and removing PF3 234-3 from QoS pool 2 237-2, thereby producing Figure 3 The content described herein, and its associated QoS resources can be allocated to VMs, and the second QoS pool 2 237-2 and its associated QoS resources can be allocated to additional VMs. QoS manager components (e.g. Figure 1 The QoS Manager component 113 in the document can manage, monitor, and modify the QoS pool. For example, it will be combined with the following... Figure 3 As described, PFs can be added or removed from the QoS pool to meet specific SLA or QoS resource requirements.

[0049] Such additions or removals can occur if an inactive PF is available outside of a QoS pool, and another VM may be able to use the QoS resources of the inactive PF. In this way, an inactive PF can be added to a different active QoS pool, and its QoS capabilities can be transferred to an active QoS pool that may require higher QoS parameters. In some instances, applications can request the generation of PF pools that can be combined to form a specific QoS pool. Applications can treat this pool as a high-performance QoS pool with a higher QoS than any individual PF. Applications can communicate with the QoS manager component 313 using a vendor-specific API, which informs the QoS manager component 313 of the dynamic QoS requirements of each application. In some instances, this does not require stopping and restarting the system. Because host workloads vary over time, a particular PF may remain unused for short or long periods. Including unused QoS resources in a QoS pool allows for better QoS allocation of PFs that anticipate higher workloads, thus resulting in better use of previously idle QoS resources.

[0050] Figure 4 This is a flowchart corresponding to a method 450 for memory die arrangement according to some embodiments of the present disclosure. Method 450 can be executed by processing logic, which may include hardware (e.g., processing device, circuit system, dedicated logic, programmable logic, microcode, device hardware, integrated circuit, etc.), software (e.g., instructions that run or execute on the processing device), or a combination thereof. In some embodiments, method 450 is performed by… Figure 1 The QoS manager component 113 executes. Although shown in a specific order or sequence, the order of processes may be modified unless otherwise specified. Therefore, the illustrated embodiments should be understood as examples only, and the illustrated processes may be executed in different orders, and some processes may be executed in parallel. In addition, one or more processes may be omitted in various embodiments. Therefore, not all processes are required in every embodiment. Other process flows are possible.

[0051] In operation 452, a request for the allocation of memory resources based on Quality of Service (QoS) parameters may be received. This request may be received at a QoS manager component. In some embodiments, the QoS manager component may be similar to... Figure 1 The QoS manager component 113 can provide at least two of a plurality of physical functions to satisfy QoS criteria for QoS parameters. QoS parameters may include at least one of the data input / output per second (IOPS) rate and / or bandwidth, and QoS criteria may be a threshold number of IOPS and / or bandwidth.

[0052] In operation 454, multiple physical functions (PFs) can be provisioned via a QoS manager component to provide allocation of the requested resources. The multiple PFs can be provisioned as a QoS pool of memory resources. In some embodiments, method 450 may include updating the provisioning of multiple physical functions by adding additional physical functions to the QoS pool of memory resources. Additional physical functions can be added to the QoS pool of memory resources in response to using less memory resources to satisfy QoS parameters. In some embodiments, method 450 may include updating the provisioning of multiple physical functions by removing additional physical functions from the QoS pool of memory resources. Additional physical functions can be removed from the QoS pool of memory resources in response to using more memory resources to satisfy QoS parameters.

[0053] Figure 5 This is a block diagram of an example computer system 561 that is operable according to embodiments of the present disclosure. For example, Figure 4 An example machine illustrating computer system 561 is described, within which a set of instructions for causing the machine to perform any one or more of the methods discussed herein is executable. In some embodiments, computer system 561 may correspond to a host system (e.g., Figure 1 The host system 120 includes, is coupled to, or utilizes a memory subsystem (e.g., Figure 1 The memory subsystem 110) or can be used to perform controller operations (e.g., execute the operating system to perform operations corresponding to...). Figure 1 (Operation of the QoS manager component 113). In alternative embodiments, the machine may connect (e.g., network) to other machines in a LAN, intranet, extranet, and / or the Internet. The machine may operate as a server or client machine in a client-server network environment, as a peer machine in a peer-to-peer (or distributed) network environment, or as a server or client machine in a cloud computing infrastructure or environment.

[0054] The machine may be a personal computer (PC), tablet PC, set-top box (STB), personal digital assistant (PDA), mobile phone, network appliance, server, network router, switch, or bridge, or any machine capable of executing a set of instructions (sequentially or otherwise) specifying actions to be performed by the machine. Furthermore, while a single machine is described, the term "machine" should also be considered as any collection of machines that individually or jointly execute one or more sets of instructions to perform any one or more of the methods discussed herein.

[0055] Example computer system 561 includes processing devices 502 that communicate with each other via bus 530, main memory 504 (e.g., read-only memory (ROM), flash memory, dynamic random access memory (DRAM) such as synchronous DRAM (SDRAM) or Rambus DRAM (RDRAM), etc.), static memory 506 (e.g., flash memory, static random access memory (SRAM), etc.), and data storage system 518.

[0056] Processing device 502 represents one or more general-purpose processing devices, such as microprocessors, central processing units, etc. More specifically, the processing device may be a Complex Instruction Set Computing (CISC) microprocessor, a Reduced Instruction Set Computing (RISC) microprocessor, a Very Long Instruction Word (VLIW) microprocessor, or a processor implementing other instruction sets, or a processor implementing combinations of instruction sets. Processing device 502 may also be one or more special-purpose processing devices, such as application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), network processors, etc. Processing device 502 is configured to execute instructions 526 for performing the operations and steps discussed herein. Computer system 561 may further include a network interface device 508 for communication via network 511.

[0057] Data storage system 518 may include machine-readable storage medium 524 (also referred to as computer-readable medium) storing one or more sets of instructions 526 embodying any one or more of the methods or functions described herein, or software instructions 526 that may also reside wholly or at least partially within main memory 504 and / or processing device 502 during execution of the instructions by computer system 561, the main memory 504 and processing device 502 also constituting machine-readable storage medium. Machine-readable storage medium 524, data storage system 518 and / or main memory 504 may correspond to... Figure 1 The memory subsystem 110.

[0058] In one embodiment, instruction 526 includes instructions for implementing a component corresponding to a QoS manager (e.g., Figure 1 The QoS manager component 113) provides functional instructions. Although the machine-readable storage medium 524 is shown as a single medium in the exemplary embodiment, the term "machine-readable storage medium" should be considered as including a single medium or multiple media storing one or more sets of instructions. The term "machine-readable storage medium" should also be considered as including any medium capable of storing or encoding sets of instructions for machine execution and causing the machine to perform any one or more of the methods of this disclosure. Therefore, the term "machine-readable storage medium" should be considered as including (but not limited to) solid-state memory, optical media, and magnetic media.

[0059] Some parts of the foregoing detailed description have been presented in terms of the symbolic representation of algorithms and data bit operations within computer memory. These algorithms are described and represented in a manner used by those skilled in the art of data processing to communicate the nature of their work to others skilled in the art. Algorithms here are generally considered to be self-consistent sequences of operations that lead to a desired result. Operations are those that require physical manipulation of physical quantities. Typically, but not necessarily, these quantities may take the form of electrical or magnetic signals that can be stored, combined, compared, or otherwise manipulated. Referring to these signals as bits, values, elements, symbols, characters, items, numbers, etc., has sometimes proven convenient (primarily for reasons of commonality).

[0060] However, it should be remembered that all these terms and similar terms are associated with appropriate physical quantities and are merely convenient labels for application to these quantities. This disclosure can refer to the operation and process of a computer system or similar electronic computing device that manipulates and transforms data represented as physical (electronic) quantities in the registers and memories of the computer system into other data similarly represented as physical quantities in the computer system's memory or registers or other such information storage systems.

[0061] This disclosure also relates to an apparatus for performing the operations described herein. Such an apparatus may be specifically constructed for a particular purpose, or may comprise a general-purpose computer selectively activated or reconfigured by a computer program stored in a computer. This computer program may be stored in a computer-readable storage medium, such as, but not limited to, any type of disk, including floppy disks, optical disks, CD-ROMs and magneto-optical disks, read-only memory (ROM), random access memory (RAM), EPROM, EEPROM, magnetic or optical cards, or any type of media suitable for storing electronic instructions, each coupled to a computer system bus.

[0062] The algorithms and displays presented herein are not inherently related to any particular computer or other device. Various general-purpose systems can be used with the program based on the teachings herein, or it may prove convenient to construct more specialized devices to perform the methods. The structures of various such systems will be described below. Furthermore, this disclosure is described without reference to any particular programming language. It should be understood that various programming languages ​​can be used to implement the teachings of this disclosure as described herein.

[0063] This disclosure may be provided as a computer program product or software, which may include a machine-readable medium having instructions stored thereon that can be used to program a computer system (or other electronic device) to perform processing according to this disclosure. The machine-readable medium includes any mechanism for storing information in a machine-readable (e.g., computer-readable) form. In some embodiments, the machine-readable (e.g., computer-readable) medium includes machine-readable storage media, such as read-only memory (“ROM”), random access memory (“RAM”), disk storage media, optical storage media, flash memory devices, etc.

[0064] In the foregoing description, embodiments of the present disclosure have been described with reference to specific example embodiments thereof. It will be apparent that various modifications may be made to the embodiments of the present disclosure without departing from the broader spirit and scope set forth in the appended claims. Therefore, the description and drawings should be considered illustrative rather than restrictive.

Claims

1. A method for using a Quality of Service (QoS) pool, comprising: Receive requests for the allocation of memory resources based on Quality of Service (QoS) parameters; and Multiple physical functions are provisioned via the QoS manager component to provide allocation of requested resources; The provided physical functions shall satisfy at least two of the plurality of physical functions to meet QoS criteria; The aforementioned physical functions are pre-configured as a QoS pool of memory resources; and In response to using more memory resources to satisfy the QoS parameters, the provisioning of the plurality of physical functions is updated by removing the additional physical functions from the QoS pool of the memory resources.

2. The method according to claim 1, wherein the QoS parameter includes at least one of the data input / output per second (IOPS) rate and bandwidth.

3. The method of claim 1, further comprising updating the provisioning of the plurality of physical functions by adding additional physical functions to the QoS pool of the memory resources.

4. The method of claim 3, wherein the additional physical functionality is added to the QoS pool of memory resources in response to using less memory resources to satisfy the QoS parameters.

5. A Quality of Service (QoS) pool device, comprising: The QoS manager component for the storage subsystem performs the following operations: Receive requests for the allocation of memory resources based on Quality of Service (QoS); The allocation includes a QoS pool comprising multiple physical functions, each of which includes QoS attributes representing the total QoS capacity added to the QoS pool. and In response to receiving an update request for additional allocation of memory resources, at least one physical function is dynamically added to the plurality of physical functions in the QoS pool; and Physical functions not allocated in the QoS pool will remain unused until the QoS is requested to be increased.

6. The QoS pool device according to claim 5, wherein: The QoS attributes include at least one of the input / output per second (IOPS) rate and bandwidth (BW). Set the IOPS rate and BW for each of the plurality of physical functions.

7. The QoS pool device of claim 6, wherein the allocation of memory resources is based on a percentage of the total capacity of the memory subsystem.

8. The QoS pool device of claim 6, wherein the QoS manager component performs operations including: using vendor-specific commands to change at least one of the IOPS and the BW for a specific physical function among the plurality of physical functions during runtime.

9. The QoS pool device of claim 5, wherein the QoS manager component performs operations including aggregating multiple physical functions among the plurality of physical functions to form the QoS pool as a dynamic QoS pool during runtime.

10. A Quality of Service (QoS) pool system, comprising: Multiple memory components arranged to form a stackable cross-grid array of memory cells; and A processing device coupled to the plurality of memory components, the processing device performing operations including: Receive requests for the allocation of memory resources based on the QoS required to perform specific memory operations; The requested memory resources are provided by allocating QoS pools through multiple physical functions to provide the QoS. Receive an update request for the allocation of additional memory resources, wherein the additional memory resources are less than the memory resources originally requested; Remove physical functions from the QoS pool that includes the plurality of physical functions, wherein the removal of the physical functions degrades the performance of the QoS.

11. The QoS pool system of claim 10, wherein the processing means performs the operation of adding physical functions to the QoS pool in response to a further request for the allocation of additional memory resources.

12. The QoS pool system of claim 10, wherein the allocation of the plurality of physical functions includes allocating a plurality of namespaces of the memory subsystem.

13. The QoS pool system of claim 10, wherein the memory component is located within a multi-functional high-speed peripheral component interconnect (PCIe) storage device.

14. The QoS pool system according to claim 13, wherein: The multi-functional high-speed peripheral component interconnect PCIe memory device is accessed by multiple non-volatile memory controllers; and The PCIe functionality of the multi-functional fast peripheral component interconnect PCIe storage device is contained within a single physical memory device.

15. The QoS pool system of claim 10, wherein the plurality of physical functions are allocated independently of the host that determines which physical functions to use in order to provide the QoS.

16. A Quality of Service (QoS) pool device, comprising: The QoS manager component for the storage subsystem performs the following operations: Receive requests for the allocation of memory resources based on Quality of Service (QoS); The allocation includes a QoS pool comprising multiple physical functions, each of which includes QoS attributes representing the total QoS capacity added to the QoS pool. and In response to receiving an update request for additional allocation of memory resources, at least one physical function is dynamically added to the plurality of physical functions of the QoS pool, wherein the QoS manager component performs operations including allocating the QoS pool based on a Service Level Agreement (SLA) for each of the plurality of physical functions, and the SLA is based on a lower threshold and an upper threshold of the QoS.

Citation Information

Patent Citations

  • Method and system maintaining quality of service (QOS) of host commands in multi-port, multi-function peripheral component interconnect express (PCIE) devices

    US20160034415A1

  • Quality of service policy sets

    US20180081832A1