From: Jeff Layton <jlayton@kernel.org>
To: Chuck Lever <cel@kernel.org>, linux-nfs@vger.kernel.org
Cc: Tom Talpey <tom@talpey.com>, Chuck Lever <chuck.lever@oracle.com>,
linux-rdma@vger.kernel.org
Subject: Re: [PATCH v2 0/5] svcrdma: Go back to releasing pages-under-I/O
Date: Mon, 12 Jun 2023 10:25:31 -0400 [thread overview]
Message-ID: <17dbe8ebd9034cd181297409fa689ad363f84697.camel@kernel.org> (raw)
In-Reply-To: <168657879115.5619.5573632864481586166.stgit@manet.1015granger.net>
On Mon, 2023-06-12 at 10:09 -0400, Chuck Lever wrote:
> Return to the behavior of releasing reply buffer pages as part of
> sending an RPC Reply over RDMA. I measured a performance improvement
> (which is documented in 4/4). Matching the page release behavior of
> socket transports also means we should be able to share a little
> more code between transports as MSG_SPLICE_PAGES rolls out.
>
> Changes since v1:
> - Add a related fix
> - Clarify some of the patch descriptions
>
> ---
>
> Chuck Lever (5):
> SUNRPC: Revert cc93ce9529a6 ("svcrdma: Retain the page backing rq_res.head[0].iov_base")
> SUNRPC: Revert 579900670ac7 ("svcrdma: Remove unused sc_pages field")
> svcrdma: Revert 2a1e4f21d841 ("svcrdma: Normalize Send page handling")
> svcrdma: Prevent page release when nothing was received
> SUNRPC: Optimize page release in svc_rdma_sendto()
>
>
> include/linux/sunrpc/svc_rdma.h | 4 +-
> net/sunrpc/xprtrdma/svc_rdma_backchannel.c | 8 +---
> net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 12 ++---
> net/sunrpc/xprtrdma/svc_rdma_sendto.c | 53 ++++++++++++++--------
> 4 files changed, 44 insertions(+), 33 deletions(-)
>
> --
> Chuck Lever
>
Kind of cool that we're getting to the place where micro-optimizations
like this make such a big difference! This all looks fine to me:
Reviewed-by: Jeff Layton <jlayton@kernel.org>
prev parent reply other threads:[~2023-06-12 14:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-12 14:09 [PATCH v2 0/5] svcrdma: Go back to releasing pages-under-I/O Chuck Lever
2023-06-12 14:10 ` [PATCH v2 1/5] SUNRPC: Revert cc93ce9529a6 ("svcrdma: Retain the page backing rq_res.head[0].iov_base") Chuck Lever
2023-06-12 14:24 ` Jeff Layton
2023-06-12 14:25 ` Chuck Lever III
2023-06-12 14:10 ` [PATCH v2 2/5] SUNRPC: Revert 579900670ac7 ("svcrdma: Remove unused sc_pages field") Chuck Lever
2023-06-12 14:10 ` [PATCH v2 3/5] svcrdma: Revert 2a1e4f21d841 ("svcrdma: Normalize Send page handling") Chuck Lever
2023-06-12 14:10 ` [PATCH v2 4/5] svcrdma: Prevent page release when nothing was received Chuck Lever
2023-06-12 14:10 ` [PATCH v2 5/5] SUNRPC: Optimize page release in svc_rdma_sendto() Chuck Lever
2023-06-12 14:25 ` Jeff Layton [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=17dbe8ebd9034cd181297409fa689ad363f84697.camel@kernel.org \
--to=jlayton@kernel.org \
--cc=cel@kernel.org \
--cc=chuck.lever@oracle.com \
--cc=linux-nfs@vger.kernel.org \
--cc=linux-rdma@vger.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