Re: improving nfs client & server performance

From: Rick Macklem <rick.macklem_at_gmail.com>
Date: Mon, 21 Oct 2024 22:52:12 UTC
On Mon, Oct 21, 2024 at 11:53 AM void <void@f-m.fm> wrote:
>
> Hi Rick, thanks for replying
>
> On Mon, Oct 21, 2024 at 09:17:05AM -0700, Rick Macklem wrote:
>
> >There are lots of possibilities, but here are a couple to try...
> >vfs.zfs.dmu_offset_next_sync=0    - this makes SEEK_HOLE/SEEK_DATA
> >much faster, but less reliable (as in it might miss finding a hole)
>
> >vfs.nfsd.cachetcp=0 - this disables the DRC cache for TCP connections
> >(if this helps, there are settings to try to tune he DRC).
> >Disabling the DRC for TCP means that there is a
> >slight chance of corruption, due to duplicate
> >non-idempotent RPCs being done after a TCP reconnect. Has no
> >effect on NFSv4.1/4.2 mounts.
>
> How can I tell what version NFS mount it has?
> rpcinfo nfs-server-ip shows versions 4,3,2,1
On the clients type:
# nfsstat -m

rick

> --
>