From: Tom Tucker <tom@opengridcomputing.com>
To: Jim Schutt <jaschut@sandia.gov>
Cc: linux-nfs@vger.kernel.org
Subject: Re: svcrdma/xprtrdma fast memory registration questions
Date: Thu, 25 Sep 2008 15:29:58 -0500 [thread overview]
Message-ID: <48DBF4C6.7010008@opengridcomputing.com> (raw)
In-Reply-To: <1222357183.32577.34.camel@sale659>
Jim Schutt wrote:
> Hi,
>
> I've been giving the fast memory registration NFS RDMA
> patches a spin, and I've got a couple questions.
>
> AFAICS the default xprtrdma memory registration model
> is still RPCRDMA_ALLPHYSICAL; I had to
> "echo 6 > /proc/sys/sunrpc/rdma_memreg_strategy"
> prior to a mount to get fast registration. Given that fast
> registration has better security properties for iWARP, and
> the fallback is RPCRDMA_ALLPHYSICAL if fast registration is
> not supported, is it more appropriate to have RPCRDMA_FASTREG
???
> be the default?
I'm not sure I parsed this right, but I think you're asking if FASTREG
should be the default if it _is_ supported by the HW. IMO yes.
>
> Second, it seems that the number of pages in a client fast
> memory registration is still limited to RPCRDMA_MAX_DATA_SEGS.
> So on a client write, without fast registration I get
> RPCRDMA_MAX_DATA_SEGS RDMA reads of 1 page each, whereas with
> fast registration I get 1 RDMA read of RPCRDMA_MAX_DATA_SEGS
> pages.
>
> In either case my maximum rsize, wsize for an RDMA mount
> is still 32 KiB.
Sure, Big data was not the purpose of the patch.
>
> My understanding is that, e.g., a Chelsio T3 with the
> 2.6.27-rc driver can support 24 pages in a fast registration
> request. So, what I was hoping to see with a T3 were RPCs with
> RPCRDMA_MAX_DATA_SEGS chunks, each for a fast registration of
> 24 pages each, making possible an RDMA mount with 768 KiB for
> rsize, wsize.
>
> Is something like that possible? If so, do you have any
> work in progress along those lines?
>
I have nothing in the works along those lines -- sorry.
> -- Jim
>
>
next prev parent reply other threads:[~2008-09-25 20:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-25 15:39 svcrdma/xprtrdma fast memory registration questions Jim Schutt
2008-09-25 20:29 ` Tom Tucker [this message]
2008-09-25 21:32 ` Jim Schutt
2008-09-26 13:14 ` Talpey, Thomas
[not found] ` <RTPCLUEXC2-PRDFRaqb00000032-rtwIt2gI0FxT+ZUat5FNkAK/GNPrWCqfQQ4Iyu8u01E@public.gmane.org>
2008-09-26 22:07 ` Jim Schutt
2008-10-03 20:39 ` Talpey, Thomas
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=48DBF4C6.7010008@opengridcomputing.com \
--to=tom@opengridcomputing.com \
--cc=jaschut@sandia.gov \
--cc=linux-nfs@vger.kernel.org \
/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