# US 9,354,954 B2 · System and method for achieving high performance data flow among user space processes in storage systems

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

- Number: US 9,354,954 B2
- Document ID: US9354954B2
- Status: Granted
- Kind: B2
- Application number: 14/196,136
- Filed: 2014-03-04
- Published: 2014-07-03
- Granted: 2016-05-31
- Earliest claimed: 2008-06-20
- Assignees: NetApp, Inc.
- Applicants: NetApp, Inc.
- Inventors: Randy Thelen; Garth Goodson; Kiran Srinivasan; Sai Susarla
- Web page: https://patentgrep.com/patent/US9354954B2

## CPC

- G06F 3/061: {Improving I/O performance}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/0647: {Migration mechanisms}
- G06F 3/0665: {at area level, e.g. provisioning of virtual or logical volumes}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 3/0685: {Hybrid storage combining heterogeneous device types, e.g. hierarchical storage, hybrid arrays}
- G06F 9/544: {Buffers; Shared memory; Pipes}
- G06F 9/545: {where tasks reside in different layers, e.g. user- and kernel-space}
- G06F 11/0727: {in a storage system, e.g. in a DASD or network based storage system (drivers for digital recording or reproducing units G06F3/06; circuits for error detection or correction within digital recording or reproducing units G11B20/18; for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS], H04L67/1097)}
- G06F 12/023: {Free address space management}
- G06F 12/1009: using page tables, e.g. page table structures
- G06F 2212/206: Memory mapped I/O
- G06F 2212/262: configured as RAID
- G06F 2212/657: Virtual address space management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Fault isolation capabilities made available by user space can be provided for a embedded network storage system without sacrificing efficiency. By giving user space processes direct access to specific devices (e.g., network interface cards and storage adapters), processes in a user space can initiate Input/Output requests without issuing system calls (and entering kernel mode). The multiple user spaces processes can initiate requests serviced by a user space device driver by sharing a read-only address space that maps the entire physical memory one-to-one. In addition, a user space process can initiate communication with another user space process by use of transmit and receive queues similar to transmit and receiver queues used by hardware devices. And, a mechanism of ensuring that virtual addresses that work in one address space reference the same physical page in another address space is used.

## Claims

### Claim 1

A computer system comprising:
a host operating system kernel running at a first logical level above a hardware level of the computer system, wherein no intervening level exists between the first logical level and the hardware level of the computer system;
a physical memory;
a physical hardware device operating at the hardware level of the computer system,
a read-only address space mapped to the physical memory, the read-only address space shared by multiple fault-isolated processes; and
multiple processors to collectively execute the processes,
wherein each of the processes operates logically above the host operating system kernel and is configured to communicate with other processes and the hardware device using the read-only address space without issuing system calls to the host operating system kernel.

### Claim 2 (depends on 1)

The computer system of claim 1, wherein the processes are in a user space.

### Claim 3 (depends on 1)

The computer system of claim 1, wherein the read-only address space maps to the entire physical memory.

### Claim 4 (depends on 1)

The computer system of claim 1, wherein the computer system is an embedded system environment.

### Claim 5 (depends on 1)

The computer system of claim 1, wherein the processes include an N-module and a D-module, wherein the N-module communicates with clients, the D-module communicates with storage devices, and the N-module and D-module communicate with each other by sharing the read-only address space.

### Claim 6 (depends on 1)

The computer system of claim 1, wherein the processes communicate asynchronously with each other.

### Claim 7 (depends on 1)

The computer system of claim 1, wherein the hardware device is a network interface card.

### Claim 8 (depends on 1)

The computer system of claim 1, wherein the hardware device is a storage adapter.

### Claim 9 (depends on 1)

The computer system of claim 1, wherein each process has a separate threading model from the host operating system kernel.

### Claim 10 (depends on 1)

The computer system of claim 1, wherein each process has a separate scheduler from the host operating system kernel.

### Claim 11 (depends on 1)

The computer system of claim 1, wherein the host operating system kernel does not interrupt the process.

### Claim 12 (depends on 1)

The computer system of claim 1, wherein the kernel uses unobtrusive notifications instead of interrupt or signal notification for notifications of started and terminated processes.

### Claim 13 (depends on 1)

The computer system of claim 1, wherein the multiple fault-isolated 3processes comprises Excessive Symmetric Multi-Processing (XSMP) processes.

### Claim 14

A non-transitory computer readable storage medium having programming instructions stored thereon, wherein the instructions, when executed by a processor of a computer system, cause the computer system to:
direct a host operating system kernel running at a first logical level above a hardware level of a network storage system to create a read-only address space, wherein no intervening level exists between the first logical level and the hardware level of the network storage system;
map a physical memory of the network storage system to the read-only address space;
share the read-only address space among multiple fault-isolated processes, wherein multiple processors collectively execute the processes, the processes operate logically above the host operating system kernel, and the processes communicate with each other by using the read-only address space without issuing system calls to the host operating system kernel; and
allow the process to directly access a physical hardware device running at the hardware level of the computer system without issuing system calls to the host operating system kernel.

### Claim 15 (depends on 14)

The computer readable storage medium of claim 14, wherein the instructions, when executed by the processor, further cause the computer system to: use a separate scheduler from the kernel for each process.

### Claim 16 (depends on 14)

The computer readable storage medium of claim 14, wherein the instructions, when executed by the processor, further cause the computer system to: use a separate threading model from the kernel for each process.

### Claim 17 (depends on 14)

The computer readable storage medium of claim 14, wherein the instructions, when executed by the processor, further cause the computer system to: use unobtrusive notifications for notifications of started and terminated processes instead of interrupt or signal notification.

### Claim 18 (depends on 14)

The computer readable storage medium of claim 14, wherein the processes operate in an embedded system environment.

### Claim 19 (depends on 14)

The computer readable storage medium of claim 14, wherein the multiple fault-isolated processes comprises Excessive Symmetric Multi-Processing (XSMP) processes.

### Claim 20

A non-transitory computer readable storage medium having programming instructions stored thereon, wherein the instructions, when executed by a processor of a computer system, cause the computer system to:
create a read-only address space by operation of a host operating system kernel running at a first logical level above a hardware level of a network storage system, wherein no intervening level exists between the first logical level and the hardware level of the network storage system;
map a physical memory of the network storage system to the read-only address space;
share the read-only address space among multiple fault-isolated processes, wherein multiple processors collectively execute the processes, the processes operate logically above the host operating system kernel in an embedded system environment, the processes communicate with each other using the read-only address space without issuing system calls to the host operating system kernel, and each of the processes uses a separate threading model from the host operating system kernel;
allow the processes to directly access a physical hardware device running at the hardware level of the computer system without issuing system calls to the host operating system kernel; and
use unobtrusive notifications for notifications of started and terminated processes
instead of interrupt or signal notification.

### Claim 21 (depends on 20)

The computer readable storage medium of claim 20, wherein the processes communicate with each other asynchronously.

### Claim 22 (depends on 20)

The computer readable storage medium of claim 20, wherein the multiple fault-isolated processes comprises Excessive Symmetric Multi-Processing (XSMP) processes.
