Linux NFS development
 help / color / mirror / Atom feed
* OPEN_XOR_DELEGATION performance problems
@ 2024-11-19 11:45 Jeff Layton
  2024-11-19 15:09 ` Trond Myklebust
  0 siblings, 1 reply; 6+ messages in thread
From: Jeff Layton @ 2024-11-19 11:45 UTC (permalink / raw)
  To: Tom Haynes, Trond Myklebust, Mike Snitzer
  Cc: Chuck Lever, Anna Schumaker, linux-nfs

We attempted to implement the "delstid" draft for v6.13, but have had
to drop the patches for it. After merge, we got a couple of reports of
a performance issue due to the OPEN_XOR_DELEGATION patch:

    https://lore.kernel.org/linux-nfs/202409161645.d44bced5-oliver.sang@intel.com/

Once we enable OPEN_XOR_DELEGATION support, the fsmark "App Overhead"
statistic spikes significantly. The kernel patch for this is very
simple, and doesn't seem likely to cause a performance issue on its
own. My theory is that this test is one that causes the client to
return the delegation, and since it doesn't have an open stateid, it
has to reestablish one during the test run, and that causes the app
overhead stat to spike.

Trond, Tom, Mike -- I know that the HS Anvil has support for
OPEN_XOR_DELEGATION. If you run the fsmark test against it with that
support both enabled and disabled (either on the client or server
side), do you see a similar spike in "App Overhead"?

If so, then I suspect we need to consider limiting the use of that flag
in some cases. I have no idea what heuristic we'd use to decide this
though.
-- 
Jeff Layton <jlayton@kernel.org>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-11-20 12:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-19 11:45 OPEN_XOR_DELEGATION performance problems Jeff Layton
2024-11-19 15:09 ` Trond Myklebust
2024-11-19 16:23   ` Chuck Lever III
2024-11-19 16:37     ` Jeff Layton
2024-11-20  7:39     ` Cedric Blancher
2024-11-20 12:11       ` Mkrtchyan, Tigran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox