Why is the write speed on NFS share slower than the write speed on local file system?

Solution Verified - Updated -

Issue

  • Performing write operations on NFS shares is three times slower than the local file system.
  • Why does write speed slow over NFS as compared to local file systems(ext3,ext4)
  • Creating a file on local disk
$ dd if=/dev/zero of=/app/test.txt bs=1G count=1 oflag=direct
1+0 records in
1+0 records out
1073741824 bytes (1.1 GB) copied, 4.2535 seconds, 252 MB/s
$
  • Creating a file on NFS mount point
$  dd if=/dev/zero of=/mnt/test.txt  bs=1G count=1 oflag=direct;date;rm /orabackup/t.txt
1+0 records in
1+0 records out
1073741824 bytes (1.1 GB) copied, 13.4193 seconds, 80.0 MB/s
$

Environment

  • Red Hat Enterprise Linux (ALL)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content