Re: How can I get and set the default FreeBSD NFSv4 server TCP block size?
Rick Macklem <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.hackers |
|---|---|
| Message-ID | <CAM5tNy7_EsvOjKftkX+vnM0y9O9oyJ2WTP33K-H3Te5e3xxNfg@mail.gmail.com> |
On Mon, Mar 16, 2026 at 12:59 AM Cedric Blancher <[email protected]> wrote: > > Good morning! > > How can I get and set the default FreeBSD NFSv4 server TCP block size? I assume you mean the maximum read/write data size.. # sysctl vfs.nfsd.srvmaxio It can be set up to 1Mbyte via this line in /etc/rc.conf nfs_server_maxio=<N> > What is the current limit (LInux uses 1MB, Windows Server 2025 16MB)? 128Kbytes and can be increased to 1Mbyte. (Setting greater than 1Mbyte will require a patch to ZFS, since it crashes when set to greater than 1Mbyte. That is why you cannot currently set it to greater than 1Mbyte.) rick > > Ced > -- > Cedric Blancher <[email protected]> > [https://plus.google.com/u/0/+CedricBlancher/] > Institute Pasteur >