nfs:nfs3_max_transfer_size
Parameter
- Description
-
Controls the maximum size of the data portion of an NFS version 3
READ
,WRITE
,READDIR
, orREADDIRPLUS
request. This parameter controls both the maximum size of the request that the NFS server returns as well as the maximum size of the request that the NFS client generates. - Data Type
-
Unsigned integer (32-bit)
- Default
-
4,194,304 (4 MB)
- Range
-
0 to 231 - 1
- Units
-
Bytes
- Dynamic?
-
Yes, but this parameter is set per file system at mount time. To affect a particular file system, unmount and mount the file system after changing this parameter.
- Validation
-
None. However, setting the maximum transfer size on the NFS server to 0 is likely to cause NFS clients to malfunction or just decide not to attempt to talk to the server.
There is also a limit on the maximum transfer size when using NFS over the UDP transport. UDP has a hard limit of 64 KB per datagram. This 64 KB must include the RPC header as well as other NFS information, in addition to the data portion of the request. Setting the limit too high might result in errors from UDP and communication problems between the NFS client and the NFS server.
- When to Change
-
To tune the size of data transmitted over the network. In general, the nfs:nfs3_bsize Parameter parameter should also be updated to reflect changes in this parameter.
For example, when you attempt to increase the transfer size beyond 32 KB, update
nfs:nfs3_bsize
to reflect the increased value. Otherwise, no change in the over-the-wire request size is observed.If you want to use a smaller transfer size than the default transfer size, use the
mount
command's ‐wsize ‐rsize option on a per-file system basis. - Commitment Level
-
Unstable