# US 2022/0283967 A1 · Local non-volatile memory express virtualization device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0283967 A1
- Document ID: US20220283967A1
- Status: Published application
- Kind: A1
- Application number: 17/750,523
- Filed: 2022-05-23
- Published: 2022-09-08
- Earliest claimed: 2020-05-06
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Vadim MAKHERVAKS; Aaron William OGUS; Jason David ADRIAN
- Web page: https://patentgrep.com/patent/US20220283967A1

## CPC

- G06F 3/0635: {by changing the path, e.g. traffic rerouting, path reconfiguration}
- G06F 13/1673: {using buffers}
- G06F 3/0607: {by facilitating the process of upgrading existing storage systems, e.g. for improving compatibility between host and storage device}
- G06F 3/0664: {at device level, e.g. emulation of a storage device or system}
- G06F 3/0688: {Non-volatile semiconductor memory arrays}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 12/0284: {Multiple user address space allocation, e.g. using different base addresses (interprocessor communication G06F15/163)}
- G06F 13/4022: {using switching circuits, e.g. switching matrix, connection or expansion network (G06F13/4009 takes precedence)}
- G06F 2009/45583: {Memory management, e.g. access or allocation}
- G06F 2213/0026: PCI express
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A server system is provided that includes one or more compute nodes that include at least one processor and a host memory device. The server system further includes a plurality of solid-state drive (SSD) devices, a local non-volatile memory express virtualization (LNV) device, and a non-transparent (NT) switch for a peripheral component interconnect express (PCIe) bus that interconnects the plurality of SSD devices and the LNV device to the at least one processor of each compute node. The LNV device is configured to virtualize hardware resources of the plurality of SSD devices. The plurality of SSD devices are configured to directly access data buffers of the host memory device. The NT switch is configured to hide the plurality of SSD devices such that the plurality of SSD devices are not visible to the at least one processor of each compute node.

## Claims

### Claim 1

A server system comprising:
one or more compute nodes configured to run host software, each compute node including at least one processor and a host memory device;
a plurality of solid-state drive (SSD) devices;
a local non-volatile memory express virtualization (LNV) device; and
a non-transparent (NT) switch for a peripheral component interconnect express (PCIe) bus that interconnects the plurality of SSD devices and the LNV device to the at least one processor of each compute node, wherein
the LNV device is configured to virtualize hardware resources of the plurality of SSD devices and present a virtual SSD device to the host software of the one or more compute nodes,
the plurality of SSD devices are configured to directly access data buffers of the host memory device, and
the NT switch is configured to hide the plurality of SSD devices such that the plurality of SSD devices are not visible to the at least one processor of each compute node.

### Claim 2 (depends on 1)

The server system of claim 1, wherein the LNV device is configured to:
access a non-volatile memory express (NVMe) command and a physical region page entry (PRP) stored in the host memory device of one of the compute nodes;
generate at least one backend NVMe command and at least one backend PRP based on the accessed NVMe command and PRP from the host memory device of the one of the compute nodes; and
store the at least one backend NVMe command and the at least one backend PRP in a backend memory device that is separate from the host memory devices of the one or more compute nodes.

### Claim 3 (depends on 2)

The server system of claim 2, wherein
the LNV device is configured to cause at least one SSD device to access the at least one backend NVMe command and the at least on backend PRP in the backend memory device; and
the at least one SSD device is configured to directly access data buffers of the host memory device based on the at least one backend NVMe command and the at least on backend PRP.

### Claim 4 (depends on 3)

The server system of claim 3, wherein the NT switch is configured to:
identify a PCIe transaction for an SSD device accessing data buffers of a host memory device; and
remap a requester identifier (RID) of the PCIe transaction from an RID of the SSD device to an RID of the LNV device.

### Claim 5 (depends on 1)

The server system of claim 1, wherein the one or more compute nodes are configured to host virtual machines (VM), each VM having associated VM memory; and
wherein the LNV device is configured to:
access a non-volatile memory express (NVMe) and a physical region page entry (PRP) stored in the VM memory of one of the VMs;
generate at least one backend NVMe command and at least one backend PRP based on the accessed NVMe command and PRP from the VM memory of the one of the VMs; and
store the at least one backend NVMe command and the at least one backend PRP in a backend memory device that is separate from the host memory devices of the one or more compute nodes.

### Claim 6 (depends on 5)

The server system of claim 5, wherein the LNV device is configured to:
translate a guest physical address (GPA) of the PRP from the VM memory to a corresponding HPA in a host memory device that hosts the VM memory; and
generate the at least one backend PRP to indicate the corresponding HPA for data buffers of the host memory device.

### Claim 7 (depends on 6)

The server system of claim 6, wherein
the LNV device is configured to cause at least one SSD device to access the at least one backend NVMe command and the at least on backend PRP in the backend memory device, and
the at least one SSD device is configured to directly access data buffers of the host memory device hosting the VM memory based on the at least one backend NVMe command and the at least on backend PRP using the translated corresponding HPA.

### Claim 8 (depends on 5)

The server system of claim 5, wherein
the host software of each compute node and each VM have respective local address ranges,
the LNV device is configured to manage a global address space and map the respective local address ranges to respective global address ranges in the global address space such that the respective local address ranges do not overlap in the global address space, and
the LNV device is configured to map a GPA indicated by the accessed PRP from the local address range of the one of the VMs to corresponding a GPA of the corresponding global address range in the global address space, and generate the at least one backend PRP to indicate the corresponding GPA of the global address range.

### Claim 9 (depends on 8)

The server system of claim 8, wherein the NT switch is configured to map each global address range to both an egress port of the NT switch that routes to a compute node associated with that global address range, and a local address range that corresponds to that global address range.

### Claim 10

A method comprising:
running host software on one or more compute nodes, each compute node including at least one processor and a host memory device;
virtualizing hardware resources of a plurality of solid-state drive (SSD) devices;
presenting a virtual SSD device to the host software of the one or more compute nodes using a local non-volatile memory express virtualization (LNV) device;
directly accessing data buffers of the host memory device of each compute node using the plurality of SSD devices; and
hiding the plurality of SSD devices such that the plurality of SSD devices are not visible to the at least one processor of each compute node using a non-transparent (NT) switch for a peripheral component interconnect express (PCIe) bus that interconnects the plurality of SSD devices and the LNV device to the at least one processor of each compute node.

### Claim 11 (depends on 10)

The method of claim 10, further comprising:
accessing a non-volatile memory express (NVMe) command and a physical region page entry (PRP) stored in the host memory device of one of the compute nodes;
generating at least one backend NVMe command and at least one backend PRP based on the accessed NVMe command and PRP from the host memory device of the one of the compute nodes; and
storing the at least one backend NVMe command and the at least one backend PRP in a backend memory device that is separate from the host memory devices of the one or more compute nodes.

### Claim 12 (depends on 11)

The method of claim 11, further comprising:
causing at least one SSD device to access the at least one backend NVMe command and the at least on backend PRP in the backend memory device; and
directly accessing data buffers of the host memory device based on the at least one backend NVMe command and the at least on backend PRP using the at least one SSD device.

### Claim 13 (depends on 12)

The method of claim 12, further comprising:
identifying a PCIe transaction for an SSD device accessing data buffers of a host memory device; and
remapping a requester identifier (RID) of the PCIe transaction from an RID of the SSD device to an RID of the LNV device.

### Claim 14 (depends on 10)

The method of claim 10, further comprising:
hosting virtual machines (VM) on the one or more compute nodes, each VM having associated VM memory;
accessing a non-volatile memory express (NVMe) and a physical region page entry (PRP) stored in the VM memory of one of the VMs;
generating at least one backend NVMe command and at least one backend PRP based on the accessed NVMe command and PRP from the VM memory of the one of the VMs; and
storing the at least one backend NVMe command and the at least one backend PRP in a backend memory device that is separate from the host memory devices of the one or more compute nodes.

### Claim 15 (depends on 14)

The method of claim 14, further comprising:
translating a guest physical address (GPA) of the PRP from the VM memory to a corresponding HPA in a host memory device that hosts the VM memory; and
generating the at least one backend PRP to indicate the corresponding HPA for data buffers of the host memory device.

### Claim 16 (depends on 15)

The method of claim 15, further comprising:
causing at least one SSD device to access the at least one backend NVMe command and the at least on backend PRP in the backend memory device; and
directly accessing data buffers of the host memory device hosting the VM memory based on the at least one backend NVMe command and the at least on backend PRP using the translated corresponding HPA using the at least one SSD device.

### Claim 17 (depends on 14)

The method of claim 14, wherein the host software of each compute node and each VM have respective local address ranges, and the method further comprises:
managing a global address space and mapping the respective local address ranges to respective global address ranges in the global address space such that the respective local address ranges do not overlap in the global address space;
mapping a GPA indicated by the accessed PRP from the local address range of the one of the VMs to corresponding a GPA of the corresponding global address range in the global address space; and
generating the at least one backend PRP to indicate the corresponding GPA of the global address range.

### Claim 18 (depends on 17)

The method of claim 17, further comprising mapping each global address range to both an egress port of the NT switch that routes to a compute node associated with that global address range, and a local address range that corresponds to that global address range.

### Claim 19

A server system comprising:
one or more compute nodes configured to run host software, each compute node including at least one processor and a host memory device;
a plurality of solid-state drive (SSD) devices;
a local non-volatile memory express virtualization (LNV) device that includes a logical non-transparent (NT) switch that interconnects the LNV device to the plurality of SSD devices and the at least one processor of each compute node; wherein
the LNV device is configured to virtualize hardware resources of the plurality of SSD devices and present a virtual SSD device to the host software of the one or more compute nodes; wherein
the LNV device is configured to access data buffers of the host memory device of each compute node on behalf of the plurality of SSD devices; and wherein
the logical NT switch is configured to hide the plurality of SSD devices such that the plurality of SSD devices are not visible to the at least one processor of each compute node.

### Claim 20 (depends on 19)

The server system of claim 19, wherein the LNV device is configured to encrypt data accessed from data buffers of the host memory device of each compute node.
