Symptom
A copy, backup or analytics job that reads from an OCI File Storage export is slow. Typical signs:
- One client tops out at roughly 110–125 MB/s, no matter how big the instance is.
- Adding clients does not raise aggregate throughput past the same ceiling.
lsandstaton large directories are slow while bulk throughput looks fine, or the reverse.- Throughput is fine with
fiobut poor for the real application.
Start with one question: is the ceiling the mount target, the client, or the workload pattern? Each needs a different fix, and upgrading the mount target first costs money even when it won't help.
How File Storage throughput is limited
All NFS traffic goes through a mount target. The mount target's performance tier sets the maximum read throughput for everything behind it:
| Mount target | Max read throughput | Capacity entitlement | Notes |
|---|---|---|---|
| Standard | 1 Gbps | None | Billed on usage |
| High performance 20 | 20 Gbps | 20,000 GB | 30-day billing commitment |
| High performance 40 | 40 Gbps | 40,000 GB | 30-day billing commitment |
| High performance 80 | 80 Gbps | 80,000 GB | 30-day billing commitment |
Oracle measures those numbers with reads of 1 MiB or larger, with enough concurrency and queue depth. Small blocks, single streams and metadata-heavy work will not reach them. Clones that are still hydrating don't get the full throughput either. Check the current documentation for pricing and per-AD limits. The default service limits for high performance mount targets are small, so raise them before a migration window.
A 1 Gbps standard mount target is the most common reason for the "about 120 MB/s" ceiling.
Check 1: what tier is the mount target?
MT=ocid1.mounttarget.oc1..example
oci fs mount-target get --mount-target-id "$MT" \
--query 'data.{name:"display-name",state:"lifecycle-state",requested:"requested-throughput",observed:"observed-throughput"}' \
--output table
requested-throughput is what you asked for. observed-throughput is what you're billed for. If you see standard, or the value you expected is missing, you've found the cap. Also confirm the clients actually mount through this mount target. People often upgrade one mount target while the busy clients mount the file system through another.
# On the client: which IP does each NFS mount use?
findmnt -t nfs,nfs4 -o TARGET,SOURCE,OPTIONS
Map the IP in SOURCE to a mount target with oci fs mount-target list and oci network private-ip get.
Check 2: what does Monitoring say?
File Storage publishes metrics in the oci_filestorage namespace, including ReadThroughput, WriteThroughput and MetadataIOPS. Names and dimensions vary by release, so check Metrics Explorer for your region:
ReadThroughput[1m]{resourceId = "<file-system-ocid>"}.mean()
WriteThroughput[1m]{resourceId = "<file-system-ocid>"}.mean()
MetadataIOPS[1m]{resourceId = "<file-system-ocid>"}.mean()
| What you see | Likely limit |
|---|---|
| Throughput flat at the tier maximum during the job | Mount target tier |
| Throughput well below the tier, client CPU idle, one TCP connection | Client: single connection, no nconnect |
| Throughput low, MetadataIOPS high | Small files or directory walks: metadata-bound |
| Throughput fine for minutes, then drops | Instance network bandwidth or a competing job on the same mount target |
Check 3: test the path without the application
Use Oracle's reference test pattern so your numbers are comparable to the published ones:
sudo dnf install -y fio
cd /mnt/fss/perftest
fio --name=seqread --size=20g --rw=read --bs=1m --numjobs=16 --iodepth=64 \
--ioengine=libaio --direct=1 --time_based --runtime=120 --group_reporting
Oracle's 80 Gbps guidance uses --numjobs=200 across clients that can drive 80 Gbps between them. On one client, raise numjobs until throughput stops climbing. Also check the instance's own network bandwidth, which scales with OCPUs on most shapes:
oci compute instance get --instance-id "$INST" \
--query 'data."shape-config".{ocpus:ocpus,gbps:"networking-bandwidth-in-gbps"}'
No mount target tier can push more data to one VM than that VM's NIC allows.
Fix 1: use more TCP connections with nconnect
By default the Linux NFS client sends all traffic for a mount over one TCP connection, and that connection becomes the bottleneck long before 20 Gbps. Kernels 5.3 and later support nconnect, which spreads a mount over several connections. Oracle documents nconnect=16 for high performance mount targets.
uname -r # UEK R6 and later are 5.4+; check RHCK builds for nconnect support
sudo umount /mnt/fss
sudo mount -t nfs -o vers=3,nconnect=16,rsize=1048576,wsize=1048576,hard,timeo=600 \
10.0.2.15:/fs-data /mnt/fss
cat /proc/fs/nfsfs/servers # or: ss -tn dst 10.0.2.15 | wc -l
Persist it in /etc/fstab:
10.0.2.15:/fs-data /mnt/fss nfs vers=3,nconnect=16,hard,timeo=600,_netdev,nofail 0 0
Warning
nconnectis fixed for every mount of the same server IP on a client. The first mount sets it. To change it you have to unmount every export from that mount target IP on that client, not just one. Plan it as a short outage for that client.
In-transit encryption (TLS through the File Storage utilities) costs CPU on the client and limits the mount target to far fewer concurrent connections (4,096 with encryption versus 100,000 without). Measure throughput again after you enable it. Don't assume the plaintext numbers still apply.
Fix 2: make the workload parallel
cp, rsync and tar copy one file at a time. On NFS each file costs several round trips to open, read and close, so even a perfect mount stays slow.
# Parallel copy by top-level directory
cd /data/src
ls -1 | xargs -P 16 -I{} rsync -a --whole-file {} /mnt/fss/dst/
# Or with the File Storage parallel tools (package names vary by release)
sudo dnf install -y fss-parallel-tools
parcp -P 16 /data/src /mnt/fss/dst
For metadata-bound jobs with millions of small files, parallelism helps more than a higher tier. A higher tier raises the bandwidth ceiling, not per-operation latency. Package small files into archives where the application allows it.
Fix 3: raise the mount target tier
When Monitoring shows the mount target flat at its limit and the clients have headroom, upgrade it:
oci fs mount-target upgrade-shape --mount-target-id "$MT" --requested-throughput 20
# Value is the Gbps tier shown in the Console; confirm with --help on your CLI version
Scheduled downgrade, which takes effect at the end of the 30-day billing cycle:
oci fs mount-target schedule-downgrade-shape --mount-target-id "$MT" --requested-throughput 1
oci fs mount-target cancel-downgrade-shape --mount-target-id "$MT"
Caution
The upgrade starts a 30-day commitment, and billable storage becomes whichever is larger: the capacity entitlement or actual usage, per AD. Upgrading for a one-night migration still bills the full cycle. While a downgrade is scheduled, you can't edit or move the mount target or enable logging on it.
For more than 80 Gbps, spread file systems or clients across several mount targets. Throughput adds up roughly linearly across mount targets.
Symptom → cause → fix
| Symptom | Cause | Fix |
|---|---|---|
| About 120 MB/s ceiling, any client count | Standard mount target (1 Gbps) | Upgrade the tier, or split across mount targets |
| One client slow, more clients scale | Single TCP connection | nconnect=16 on kernel 5.3+ |
Fast fio, slow cp | Serial, per-file operations | Parallel copy (xargs -P, parcp) |
| High MetadataIOPS, low throughput | Small files or deep trees | Parallelise, batch files, avoid repeated stat scans |
| Slower after enabling TLS | Encryption overhead and connection limit | Size client CPU, measure again, keep TLS where it's required |
| Upgraded mount target, no change | Clients mount through another mount target | Check findmnt against mount target IPs |
Prevent it next time
- Record the mount target tier and the expected throughput in the runbook for each file system.
- Add an alarm when
ReadThroughputstays near the tier ceiling for 15 minutes or more. - Standardise
nconnectin the fstab template for clients on kernel 5.3+. - Raise high performance mount target limits in each AD before migrations, and allow for the 30-day commitment when you budget.
- Run the
fiobaseline after every client image or kernel change.
Get the weekly HubDatAI email
One email a week with everything new: posts, learning sessions and videos. Free, no spam, unsubscribe in one click. What you get