Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0AC653B2FFB for ; Thu, 4 Jun 2026 16:43:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780591408; cv=none; b=XvqQ5glWYGB+107BBKSCc6uUSi2PoHr4RaitjuiM4Vqawn+H8UhtPiy+dKe+EoSZyFrIEqsUz8iDsXy83BIL8eJIZr6OZLHDWK3Q5NgloSYZi79AavJ3ebTdtiPIxMacXKznHA6EEV+7RcxsBHOWJxrgPni1Tw1FKl3xU5PqrQI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780591408; c=relaxed/simple; bh=mA3PSmWcJV7UiBTiHUuROASAODwhm5CExH5rToO3McI=; h=MIME-Version:Date:From:To:Cc:Message-Id:In-Reply-To:References: Subject:Content-Type; b=PRpCI7ntKXrI7szpiIJ65kQukE8Tv/KCWPUpdFt3SkCu9nNU/RKmdEJNojICEREwLs0N60LgyZmmudt7kLJgjrftDwP3uM1iulsq3MAULTINzEpIwOjwesWSD9qau/VL2W+tMxSAzNbbE8eXYY4Z7ov8Q5g5ZdRW3MGSy7HckgI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=DURHXXdp; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="DURHXXdp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 82DC21F00898; Thu, 4 Jun 2026 16:43:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1780591407; bh=BX7DZPwVDBgRPk+DaaqDp+7naFIF6ookioeh0sc2YqI=; h=Date:From:To:Cc:In-Reply-To:References:Subject; b=DURHXXdphaQjOypB78muWBhQJwpFRwkiIvlMxFFXqe/87hiVlZAyJY+ZXekTdx6nS lHjUHvj0PTNYDR4ZuMCN+gUVSDEU0MpQrZ9LXhObLVZj2MbVbKRF/yGxo2hliqQsIg Znm6FND30IdwD/CFvIjY1oMbtZSQMHYXNAKLqxcHAR02ZZeVO9DECBITl5PgtKsMni vb8n6DaY1q0Tcqjv4iNdk8gy3LLaJZPNfIoYY/fipyPZgIO4e/sApUFw1Zeq2WMuon 929uClaaaLQ7wavskk80HVGp8zOi9YO5h9XJYl6y5sGGzuvGhCAkRV0UMVjIxgtr9K VojzTWRaHdXeA== Received: from phl-compute-10.internal (phl-compute-10.internal [10.202.2.50]) by mailfauth.phl.internal (Postfix) with ESMTP id B6273F4007D; Thu, 4 Jun 2026 12:43:26 -0400 (EDT) Received: from phl-imap-15 ([10.202.2.104]) by phl-compute-10.internal (MEProxy); Thu, 04 Jun 2026 12:43:26 -0400 X-ME-Sender: X-ME-Proxy-Cause: dmFkZTGm3M+YFZ7mCR3BmAI21nXFlDtnbywOCnieRT5/BQPRHwYjQY4B5dtHayPOI1VFk8 OAqY3y1+YmXK7Zg85hnxHxwnaWDcXpg5Z+DDGLHbs31cELlASEQRqmvzLohuvLsPua6nfA Ygbym/uzk4ZbswkzYMLmDx1CZGrb9rtdAamwCs597YhJMNnBtTsFeuaqYwhvImk61XfeQD M12HhqwUrt4OrlSLjHnPOm5HTjdjJUAtnh10sWwyhhDIYXfN/KTLSPVm+u+GeHDk6CrgSU dzBjVyPY/qfk2bzTQ5M3LanDmfGdJkRBYRoxTVQ5sUl+JKuFDjqWKQJMgqjUv+Gso3GOQO MuQsM4h1SfHFh6sB+9E3K6BlRRvJ7r98/arxrkwnby9mH0CVIpU/zlLSwee9FJe1O6IdZT JaWTzak3zGzlQx+N5pwavB3j4+eVjgzYyKca1af7C89DAvQOoWdifrpPf/0C+SAcCis3fp fA/a5lvWWqYgiGyD4das6meq7jOgm0ggy+rbfIsM/YKdDGBLjDsUhJ+aPGrRkCBYpYMFnH aN3731y6/ZOEFxpxaVsnaYUFTxbpZNHY5fgWzg8g1HGVr0WCKcQeayIqOgEUB+colarmnh zP0vf43Bjb0plMnjaxEz/uZ4VPBhJUWD48wckPXQWCEbvsOzu3ySc0mJDrwA X-ME-Proxy: Feedback-ID: ifa6e4810:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 93FDF780070; Thu, 4 Jun 2026 12:43:26 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ThreadId: AJGgz9MML8is Date: Thu, 04 Jun 2026 09:43:06 -0700 From: "Chuck Lever" To: "Benjamin Coddington" Cc: "Jeff Layton" , linux-nfs@vger.kernel.org, "Daire Byrne" , NeilBrown Message-Id: <66c34ced-abb4-4615-88ea-c048d704f582@app.fastmail.com> In-Reply-To: References: <178052714769.2082204.16375565668618050718@noble.neil.brown.name> <89ec5776-1a61-4713-b331-bb4edb9f5b0a@app.fastmail.com> Subject: Re: [PATCH RFC 0/4] nfsd: per-client fair-queue dispatch Content-Type: text/plain Content-Transfer-Encoding: 7bit On Thu, Jun 4, 2026, at 9:08 AM, Benjamin Coddington wrote: > That turns the one open parameter into "how many RPCs is an interactive > cycle" (N). I'd rather not make it an admin knob either: > > - a generous fixed default - over-provisioning costs almost nothing, since > a sustained stream never idles to collect it, and under-provisioning just > lets the tail of an unusually large command fall back to bulk; > - measure it - track per-connection burst size between idle gaps; > - borrow the v4.1 slot count as a per-connection hint (v3 would need a > fallback). If we can get away with a single mechanism rather than an additional fallback, that will keep things "no more complicated than necessary" and easier to test. > Does a burst-sized allowance fit how you were picturing the sparse tier, or > were you thinking the single-RPC jump was enough and the rest should just > share bulk? That's the main fork I see. It's a good open question. Why not prototype a burst-sized allowance and then we can examine the behavior using your test harness to see how much of a difference it makes. -- Chuck Lever