Electronics and Software
Engineering Innovation

NFS Performance Files


This directory contains some NFS performance traces. These include:

Read Directory - 2018-02-06

Client and server both: Fedora 27, kernel 4.14.16-300.fc27.x86_64.

Yet another poor NFS performance issue. If I do a "ls -lR" of a certain NFS mounted directory over a slow link (NFS over Openvpn over FTTP 80/20Mbps), just after mounting the file system (default NFSv4 mount with async), it takes about 14 seconds. If I run the same "ls -lR" again, just after, it takes about 1m27.

So much for caching ! I have noticed Makefile based builds (over Ethernet 1Gbps) taking a long time with a second
or so between each directory, I think this maybe why.

Listing the directory using a NFSv3 mount takes 67 seconds on the first mount and about the same on subsequent ones. No noticeable caching (default mount options with async), At least NFSv4 is fast the first time !
Lots of GETATTR calls the second time around (each file checking cache status ?).

nfs-packets-readdir-first.pcapng.gz
First read of a set of directories. Take about 14s
nfs-packets-readdir-second.pcapng.gz
Second read of a set of directories. takes 1m27.


TypeFileNameDateSize

info.html2018-02-06 09:06pm1K
nfs-packets-async2018-01-30 06:43pm2K
nfs-packets-readdir-fast2018-02-05 07:50am3K
nfs-packets-readdir-first.pcapng.gz2018-02-06 06:23pm167K
nfs-packets-readdir-second.pcapng.gz2018-02-06 06:25pm2403K
nfs-packets-readdir-slow2018-02-05 07:44am3K
nfs-packets-sync2018-01-30 06:31pm2K
nfs-packets-v3-async2018-02-01 07:49am1K