mirror of
https://github.com/opnsense/src.git
synced 2026-05-25 02:35:01 -04:00
Since MAXPHYS now allows the FreeBSD NFS client
to do 1Mbyte I/O operations, add a sysctl called vfs.nfsd.srvmaxio
so that the maximum NFS server I/O size can be set up to 1Mbyte.
The Linux NFS client can also do 1Mbyte I/O operations.
The default of 128Kbytes for the maximum I/O size has
not been changed for two reasons:
- kern.ipc.maxsockbuf must be increased to support 1Mbyte I/O
- The limited benchmarking I can do actually shows a drop in I/O rate
when the I/O size is above 256Kbytes.
However, daveb@spectralogic.com reports seeing an increase
in I/O rate for the 1Mbyte I/O size vs 128Kbytes using a Linux client.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| nfs.h | ||
| nfs_commonacl.c | ||
| nfs_commonkrpc.c | ||
| nfs_commonport.c | ||
| nfs_commonsubs.c | ||
| nfs_var.h | ||
| nfscl.h | ||
| nfsclstate.h | ||
| nfsdport.h | ||
| nfskpiport.h | ||
| nfsm_subs.h | ||
| nfsport.h | ||
| nfsproto.h | ||
| nfsrvcache.h | ||
| nfsrvstate.h | ||
| nfsv4_errstr.h | ||
| rpcv2.h | ||
| xdr_subs.h | ||