freebsd-dev/sys/nfs
Alexander Motin e9c9826673 Improve FHA locality control for NFS read/write requests.
This change adds two new tunables, allowing to control serialization for
read and write NFS requests separately.  It does not change the default
behavior since there are too many factors to consider, but gives additional
space for further experiments and tuning.

The main motivation for this change is very low write speed in case of ZFS
with sync=always or when NFS clients requests sychronous operation, when
every separate request has to be written/flushed to ZIL, and requests are
processed one at a time.  Setting vfs.nfsd.fha.write=0 in that case allows
to increase ZIL throughput by several times by coalescing writes and cache
flushes.  There is a worry that doing it may increase data fragmentation
on disks, but I suppose it should not happen for pool with SLOG.

MFC after:	1 week
Sponsored by:	iXsystems, Inc.
2017-07-31 15:23:19 +00:00
..
bootp_subr.c
krpc_subr.c NFS: spelling fixes on comments. 2016-04-29 16:07:25 +00:00
krpc.h
nfs_common.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
nfs_diskless.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
nfs_fha.c Improve FHA locality control for NFS read/write requests. 2017-07-31 15:23:19 +00:00
nfs_fha.h Improve FHA locality control for NFS read/write requests. 2017-07-31 15:23:19 +00:00
nfs_kdtrace.h
nfs_lock.c Hide the boottime and bootimebin globals, provide the getboottime(9) 2016-07-27 11:08:59 +00:00
nfs_lock.h
nfs_mountcommon.h
nfs_nfssvc.c Add kernel support for the NFS client forced dismount "umount -N" option. 2017-07-29 19:52:47 +00:00
nfsdiskless.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
nfsproto.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
nfssvc.h Add kernel support for the NFS client forced dismount "umount -N" option. 2017-07-29 19:52:47 +00:00
xdr_subs.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00