NVMe over Fabrics

Also known as: NVMe-oF

On this page 7

NVMe over Fabrics (NVMe-oF) is a specification that carries the NVMe command set across a network fabric, letting a server use solid-state storage in another machine or array almost as if it were plugged into its own PCIe slot. In server storage, it is the modern successor to iSCSI and Fibre Channel SCSI for low-latency shared block storage.

Local NVMe drives deliver high parallelism through many deep submission and completion queues, but they are trapped inside one chassis. NVMe-oF keeps that queue model end to end, so the network adds only a few microseconds to tens of microseconds of latency instead of the much larger overhead caused by translating requests into SCSI.

How NVMe over Fabrics extends the NVMe protocol

NVMe-oF works by encapsulating NVMe commands and data in transport messages called capsules, then delivering them over a fabric to a remote controller. The host side runs an NVMe-oF initiator, typically built into the Linux kernel or a hypervisor, and the storage side exposes an NVMe-oF target that presents namespaces, which behave like block devices, to authorized hosts.

Each host connects to a subsystem identified by an NVMe Qualified Name (NQN). After discovery, the host opens an admin queue and multiple I/O queue pairs, ideally one per CPU core, so that cores issue requests without sharing locks. This mapping of queues to cores is the main reason NVMe-oF scales better than protocols with a single command queue per connection.

The table below names the core building blocks of an NVMe-oF deployment.

ElementLocationPurpose
Host (initiator)Application serverSends NVMe commands over the fabric
SubsystemStorage targetGroups controllers and namespaces under one NQN
NamespaceStorage targetBlock volume presented to hosts
Discovery controllerTarget or central serviceLists subsystems a host may connect to
Queue pairHost and targetParallel submission and completion path
Core elements of NVMe over Fabrics

NVMe-oF transport options

NVMe-oF is transport-agnostic: the same command set runs over several fabrics, and the choice of transport largely decides latency, cost and operational complexity. The three mainstream options are RDMA, Fibre Channel and TCP, with RDMA itself available as RoCE v2 on Ethernet or as InfiniBand.

The following comparison shows how the transports differ in practice.

TransportNetworkAdded latencyMain requirement
NVMe/RoCE v2Ethernet with RDMALowest, a few microsecondsLossless or well-tuned network, RDMA NICs
NVMe/IBInfiniBandLowestDedicated InfiniBand fabric
NVMe/FCFibre ChannelLowGen 6 or newer FC switches and HBAs
NVMe/TCPStandard EthernetModerate, tens of microsecondsOrdinary NICs and switches
Comparison of NVMe-oF transports

NVMe/TCP has become the default choice for many data centers because it needs no special hardware and routes across ordinary IP networks. RDMA transports remain attractive for latency-critical databases and high-performance computing, while NVMe/FC suits organizations that already operate a Fibre Channel SAN and want to reuse that investment and skill set.

NVMe over Fabrics compared with iSCSI and Fibre Channel

The decisive difference from older SAN protocols is that NVMe-oF removes the SCSI translation layer. iSCSI and classic Fibre Channel carry SCSI commands, which were designed for spinning disks with one queue; flash devices must emulate that model, wasting CPU cycles and adding latency. NVMe-oF speaks the drive’s native language from host to media.

The table summarizes how NVMe-oF relates to the block protocols it most often replaces.

PropertyNVMe-oFiSCSIFibre Channel (SCSI)
Command setNVMeSCSISCSI
Queue modelUp to 64K queues, 64K deepOne queue per sessionLimited queues per port
CPU cost per I/OLowHigherLow with offload HBAs
Typical networkEthernet, FC or InfiniBandEthernetDedicated FC fabric
MaturityGrowing, widely supportedVery matureVery mature
NVMe-oF versus legacy block protocols

NVMe-oF is a block storage protocol, so it competes with iSCSI rather than with file protocols such as NFS or SMB. Distributed systems such as Ceph can sit behind an NVMe-oF gateway, but the protocol itself provides no file system, replication or data protection; those remain the job of the storage array or software layer.

Designing and operating an NVMe-oF deployment

A successful NVMe-oF deployment depends on fabric design, multipathing and access control as much as on the drives. Hosts should reach each namespace over at least two independent paths, using native NVMe multipath or Asymmetric Namespace Access (ANA) so that failover happens without manual intervention.

The decision table below matches common situations with a reasonable starting design.

SituationRecommended transportReason
General virtualization clusterNVMe/TCPWorks on existing Ethernet with little tuning
Existing Fibre Channel SANNVMe/FCRuns alongside SCSI on the same fabric
Ultra-low-latency trading or analyticsNVMe/RoCE v2Lowest latency and CPU overhead
Disaggregated GPU or HPC clusterNVMe/IB or RoCEMatches high-bandwidth RDMA networks
Choosing an NVMe-oF approach

Security deserves explicit attention. NVMe-oF supports in-band authentication with DH-HMAC-CHAP and TLS for NVMe/TCP, yet many installations rely only on network isolation and host NQN allow lists. Storage traffic should run on dedicated VLANs or fabrics, and jumbo frames, flow control and NIC interrupt affinity should be validated with real workloads before production.

Limitations and common pitfalls

  • RoCE requires careful network tuning; without priority flow control or a congestion control scheme, packet loss can destroy its latency advantage.
  • NVMe/TCP consumes host CPU for packet processing at high IOPS, so offload-capable NICs may be needed at scale.
  • Older operating systems and hypervisors may lack mature multipath and boot support, which complicates booting from NVMe-oF.
  • Sharing a namespace among hosts requires a cluster-aware file system or application; NVMe-oF itself does not prevent concurrent writes from corrupting data.
  • Latency gains disappear when the storage array back end or an overloaded switch becomes the bottleneck.

The idea in brief

Modern flash drives are extremely fast, but only when they sit inside the computer that uses them. NVMe over Fabrics lets many servers share fast drives kept in a central storage system while losing very little speed. It does this by sending the drives’ own native instructions across the network instead of converting them into an older, slower format.

Think of it like a long extension cord that hardly loses any power along the way. The key takeaway is that shared storage can now feel almost as fast as local storage, which makes it easier to pool expensive flash and use it efficiently.

A practical scenario

A regional hosting provider runs a virtualization cluster of 24 hosts that previously used iSCSI to reach an all-flash array. Database customers complain about latency during busy hours, when average read latency rises above 1 millisecond. The team enables NVMe/TCP on the existing 25 GbE network, keeps two separate storage VLANs for multipath, and restricts each host by its NQN.

After migration, the same array delivers average read latency of roughly 150 to 200 microseconds under comparable load, and host CPU usage for storage traffic drops because the SCSI emulation path is gone. No new switches are purchased. The provider later adds TLS for NVMe/TCP on tenant-facing clusters, accepting a small CPU cost in exchange for encrypted storage traffic.