rpcmod:clnt_max_conns
Parameter
- Description
-
Controls the number of TCP connections that the NFS client uses when communicating with each NFS server. The kernel RPC is constructed so that it can multiplex RPCs over a single connection. However, multiple connections can be used, if preferred.
- Data Type
-
Integer (32-bit)
- Default
-
1
- Range
-
1 to 231 - 1
- Units
-
Connections
- Dynamic?
-
Yes
- Validation
-
None
- When to Change
-
In general, one connection is sufficient to achieve full network bandwidth. However, if TCP cannot utilize the bandwidth offered by the network in a single stream, then multiple connections might increase the throughput between the NFS client and the NFS server.
Increasing the number of connections doesn't come without consequences. Increasing the number of connections also increases kernel resource usage needed to keep track of each connection.
- Commitment Level
-
Unstable