Doubling Network File System Performance with RDMA-Enabled Networking

Network File System (NFS) is a ubiquitous component of most modern clusters. It was initially designed as a work-group filesystem, making a central file store…

Motti Beck
4 min readintermediate
--
View Original

Overview

The article discusses how RDMA (Remote Direct Memory Access) can significantly enhance the performance of Network File System (NFS) communications by offloading CPU tasks, thereby doubling network file system performance. It highlights the advantages of using RDMA over traditional TCP/IP networking, particularly in high-performance computing and cloud environments.

What You'll Learn

1

How to implement NFS over RDMA-enabled networks

2

Why RDMA technology improves data transfer efficiency

3

When to use RoCE for enhanced network performance

Prerequisites & Requirements

  • Understanding of NFS and networking concepts
  • Familiarity with RDMA and RoCE technologies(optional)

Key Questions Answered

How does RDMA improve NFS performance?
RDMA enhances NFS performance by allowing data transfers to occur without CPU involvement, which increases throughput and reduces latency. This offloading enables more CPU resources to be available for applications, leading to improved overall efficiency in data centers.
What are the benefits of using RoCE over TCP for NFS?
RoCE (RDMA over Converged Ethernet) utilizes advanced Ethernet capabilities to enable efficient RDMA operations, resulting in 2X to 3X higher bandwidth and improved IOPS compared to TCP. This makes RoCE a preferred choice for high-performance applications in data centers.
What hardware was used in the performance tests?
The performance tests were conducted using an Intel Core i5-3450S client with a Mellanox ConnectX-5 100 GbE NIC and an Intel Xeon E5-1620 v4 NFS server, also equipped with a ConnectX-5 100 GbE NIC. This setup was connected via a 100-GbE cable to an NVIDIA Mellanox Spectrum switch.

Key Statistics & Figures

Bandwidth improvement
2X to 3X higher
Measured during performance tests comparing NFS over RoCE to NFS over TCP.
IOPS improvement
up to 150% higher
Observed when using a 2-KB block size with 16 threads during read and write operations.

Technologies & Tools

Networking
Rdma
Used to enhance data transfer efficiency in NFS communications.
Networking
Roce
Enables RDMA over Ethernet for improved performance in data centers.
File System
Nfs
Provides a method for sharing files across a network.
Hardware
Nvidia Mellanox Connectx-5
Network interface card used in the performance tests.
Hardware
Nvidia Mellanox Spectrum Switch
Switch used to connect the client and server in the performance tests.

Key Actionable Insights

1
Consider migrating your NFS implementation to RDMA-enabled networks to leverage significant performance improvements.
This transition can lead to reduced latency and increased throughput, which are critical for mission-critical applications and large-scale data processing.
2
Evaluate the use of RoCE in your data center to maximize the efficiency of your network infrastructure.
RoCE can provide a substantial boost in performance for applications that require high bandwidth and low latency, making it suitable for cloud and HPC environments.

Common Pitfalls

1
Neglecting to consider the impact of CPU offloading when using NFS over traditional TCP.
Many organizations may overlook the benefits of RDMA, leading to suboptimal performance in data-intensive applications.