Use it when the storage question has been narrowed to NFS → Performance. Start from the exact remote path and operation, then separate transport, protocol/session or mount state, identity/security, share/export authorization, filesystem authorization and backend I/O before changing configuration.
Performance
Observed application latency is the sum of client/VFS work, protocol round trips and queueing, network transport, server processing, filesystem/cache behavior and backend storage completion. Tuning one mount option cannot compensate for an unidentified bottleneck.
1. Performance factors: network latency, rsize/wsize, sync writes, nconnect, server disks.
2. nconnect=4 (Linux 5.3+) uses more TCP connections.
3. Retransmissions indicate network loss.
4. Sync-heavy workloads need fast server log (SLOG).
5. Measure with nfsiostat.
client op → network → server → disk → reply
Context & applicabilityCommon mistakes · platform/version boundaries
A fast synthetic sequential test does not show metadata-heavy, sync-write or small-file application performance, and average latency can hide tail-latency stalls.
Suspicious evidence: retransmissions, long tail latency, sync-heavy write stalls, metadata bottlenecks, server cache pressure or tuning changes that improve benchmark only.
Next check: Continue at the first failing step in NFS, SMB, Networking, Security/identity, Filesystems, NAS, Storage Performance or the responsible Linux/Windows/platform branch; make one minimal change and repeat the original file operation/read-back verification.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
workload → client cache/VFS → NFS operations/queues → network RTT/loss → server CPU/cache → filesystem → backend latency → response
Healthy evidence: workload-shaped tests show acceptable operation latency and throughput with low retransmission while server and backend queues remain within design limits.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- High bandwidth ≠ low NFS latency.
- Client cache hit ≠ backend performance.
- Large rsize/wsize ≠ universally faster.
- Mount tuning ≠ proof the server/backend is healthy.
nfsstat -c— retransmissions and opsmountstats <mount>— per-op latencynfsiostat 1— throughput/latency
ReferenceImportant terms & boundaries2 sections · depth on demand
Namespace and identity
A fast synthetic sequential test does not show metadata-heavy, sync-write or small-file application performance, and average latency can hide tail-latency stalls.
In depth
NFS performance is shaped by latency per operation, read/write sizes, client concurrency and the server's disks.
| Setting | Effect |
|---|---|
rsize/wsize (negotiated, up to 1 MiB) | Larger = fewer RPCs for big files |
nconnect=4..16 (Linux 5.3+) | Several TCP connections per mount; more throughput on fast links |
noatime, actimeo= | Fewer attribute updates and checks |
Server sync + fast SLOG/NVRAM | Safe and fast commits |
| nfsd threads | Concurrency on the server |
nfsiostat 5 # per-mount ops/s, kB/s, RTT and exe time
mountstats /mnt/projects
Many small-file operations (builds, git status, npm install) are latency-bound; throughput tuning will not help them.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in NFS → Performance. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc8881 · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
NFS → Performance file-service map
Fast namespace, protocol, identity, authorization and proof boundaries for NFS → Performance.
| File-service boundary | What to verify | Proof limit |
|---|---|---|
| Endpoint / namespace | Correct client, server, export/share, path and negotiated protocol version | Reachability or namespace visibility does not prove authorization or backend health |
| Identity / security | Effective identity, protocol security state and export/share/filesystem authorization | Authentication or one permission layer does not prove complete file access |
| Failure boundary | A fast synthetic sequential test does not prove metadata-heavy, sync-write or small-file application performance, and average latency can hide tail-latency stalls. | Correlate client, network, server and filesystem evidence for the same operation/time window |
| Acceptance | Healthy evidence: workload-shaped tests show acceptable operation latency and throughput with low retransmission while server and backend queues remain within design limits. | Close only after the original operation and server-side/read-back verification succeeds |