Re: Increase FreeBSD NFSv4 nfsd buffer size? Re: Increase default NFSv4 server size "max_block_size" to 4MB
vermaden <[email protected]> Fri, 15 May 2026 00:52:21 +0200
| Newsgroups | gmane.os.freebsd.devel.hackers,gmane.linux.nfs |
|---|---|
| Message-ID | <ylbouteyvryomeedhmin@fdeb> |
> To enable it, put this line in /etc/rc.conf:
> nfs_server_maxio=4194304
> and this line in /etc/sysctl.conf:
> kern.ipc.maxsockbuf=18892800 (or larger)
>
> rick
An idea ... if 'nfs_server_maxio' already sets the 'vfs.nfsd.srvmaxio' maybe it should automatically also set 'kern.ipc.maxsockbuf' to 4*nfs_server_maxio first?
I mean ... if someone wants to just use /etc/rc.conf for this - that seams reasonable ... and if someone uses /etc/sysctl.conf file instead - he will have both of them there anyway and will not use 'nfs_server_maxio' option:
vfs.nfsd.srvmaxio=ASD
kern.ipc.maxsockbuf=8*ASD
Regards,
vermaden