From: Chuck Lever <cel@kernel.org>
To: NeilBrown <neil@brown.name>
Cc: Jeff Layton <jlayton@kernel.org>,
Olga Kornievskaia <okorniev@redhat.com>,
Dai Ngo <dai.ngo@oracle.com>, Tom Talpey <tom@talpey.com>,
Mike Snitzer <snitzer@kernel.org>, Christoph Hellwig <hch@lst.de>,
linux-nfs@vger.kernel.org, Chuck Lever <chuck.lever@oracle.com>
Subject: Re: [RFC PATCH v2] NFSD: Add asynchronous write throttling support for UNSTABLE WRITEs
Date: Mon, 12 Jan 2026 09:38:13 -0500 [thread overview]
Message-ID: <ffebecde-a979-475b-a838-6b17df4d33b7@kernel.org> (raw)
In-Reply-To: <176819131921.16766.16091990973366244227@noble.neil.brown.name>
On 1/11/26 11:15 PM, NeilBrown wrote:
>>> What exactly is "the memory problem"? Do you have specific symptoms you
>>> are trying to address? Have you had NFS server run out of memory and
>>> grind to a halt?
>> Review the past 9 months of Mike's work on direct I/O, published on
>> this mailing list. Hammerspace has measured this misbehavior and
>> experienced server melt-down. Their solution is to avoid using the
>> page cache entirely.
> I didn't pay very close attention but I thought the assessment was that
> adding lots of single-use pages to the page cache, and then having to
> clean them out later, caused a lot of unnecessary work that was best
> avoided, and that drop-behind addressed this.
Drop-behind is too inefficient to be used here. This is why direct I/O
is also an option. Direct I/O is measurably superior to drop-behind.
> Are you trying to find another way to address the same problem?
Yes. I don't think we can backport direct I/O, for example, to LTS
kernels. I expect it will be important to have an alternative to the
new I/O caching modes for this reason alone.
--
Chuck Lever
prev parent reply other threads:[~2026-01-12 14:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-09 21:56 [RFC PATCH v2] NFSD: Add asynchronous write throttling support for UNSTABLE WRITEs Chuck Lever
2026-01-10 5:30 ` NeilBrown
2026-01-10 20:28 ` Chuck Lever
2026-01-10 21:38 ` NeilBrown
2026-01-10 23:33 ` Chuck Lever
2026-01-12 4:15 ` NeilBrown
2026-01-12 14:38 ` Chuck Lever [this message]
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=ffebecde-a979-475b-a838-6b17df4d33b7@kernel.org \
--to=cel@kernel.org \
--cc=chuck.lever@oracle.com \
--cc=dai.ngo@oracle.com \
--cc=hch@lst.de \
--cc=jlayton@kernel.org \
--cc=linux-nfs@vger.kernel.org \
--cc=neil@brown.name \
--cc=okorniev@redhat.com \
--cc=snitzer@kernel.org \
--cc=tom@talpey.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