Linux NFS development
 help / color / mirror / Atom feed
From: vermaden <vermaden@interia.pl>
To: Rick Macklem <rick.macklem@gmail.com>,
	Cedric Blancher <cedric.blancher@gmail.com>
Cc: Linux NFS Mailing List <linux-nfs@vger.kernel.org>,
	"freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject: Re: Increase FreeBSD NFSv4 nfsd buffer size? Re: Increase default NFSv4 server size "max_block_size" to 4MB
Date: Fri, 15 May 2026 00:52:21 +0200	[thread overview]
Message-ID: <ylbouteyvryomeedhmin@fdeb> (raw)
In-Reply-To: <CAM5tNy4zgRBFAmwWCApAYvTHuhVtnkQRdhG1xpjekUnhdtsA2Q@mail.gmail.com>


> 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





  reply	other threads:[~2026-05-14 22:53 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-16  7:51 Increase default NFSv4 server size "max_block_size" to 4MB Cedric Blancher
2026-03-16 12:39 ` Chuck Lever
2026-03-16 14:40   ` Roland Mainz
2026-03-16 23:35   ` Rick Macklem
2026-05-12 13:18     ` Increase FreeBSD NFSv4 nfsd buffer size? " Cedric Blancher
2026-05-12 23:02       ` Rick Macklem
2026-05-13  8:37         ` Cedric Blancher
2026-05-13 23:38           ` Rick Macklem
2026-05-14 22:39             ` Rick Macklem
2026-05-14 22:52               ` vermaden [this message]
2026-05-14 23:49               ` Rick Macklem
2026-03-17 13:51   ` Anna Schumaker
2026-03-30 18:46     ` Mike Snitzer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ylbouteyvryomeedhmin@fdeb \
    --to=vermaden@interia.pl \
    --cc=cedric.blancher@gmail.com \
    --cc=freebsd-hackers@freebsd.org \
    --cc=linux-nfs@vger.kernel.org \
    --cc=rick.macklem@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox