From: Allison Henderson <allison.henderson@oracle.com>
To: Haakon Bugge <haakon.bugge@oracle.com>,
"hch@infradead.org" <hch@infradead.org>
Cc: "linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org>,
"davem@davemloft.net" <davem@davemloft.net>,
"jgg@ziepe.ca" <jgg@ziepe.ca>,
"rds-devel@oss.oracle.com" <rds-devel@oss.oracle.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"pabeni@redhat.com" <pabeni@redhat.com>,
"kuba@kernel.org" <kuba@kernel.org>,
"edumazet@google.com" <edumazet@google.com>,
"leon@kernel.org" <leon@kernel.org>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: Re: [MAINLINE 0/2] Enable DIM for legacy ULPs and use it in RDS
Date: Tue, 24 Sep 2024 15:20:17 +0000 [thread overview]
Message-ID: <822817aae9a7ac8732917645da3045ae4d72c081.camel@oracle.com> (raw)
In-Reply-To: <3B6A8BD9-76C0-464E-847D-615C93BBDCB9@oracle.com>
On Tue, 2024-09-24 at 08:59 +0000, Haakon Bugge wrote:
>
>
> > On 24 Sep 2024, at 09:01, Christoph Hellwig <hch@infradead.org>
> > wrote:
> >
> > On Fri, Sep 20, 2024 at 06:51:18AM -0700, Christoph Hellwig wrote:
> > > On Fri, Sep 20, 2024 at 09:46:06AM +0000, Haakon Bugge wrote:
> > > > > I would much prefer if you could move RDS off that horrible
> > > > > API finally
> > > > > instead of investing more effort into it and making it more
> > > > > complicated.
> > > >
> > > > ib_alloc_cq() and family does not support arming the CQ with
> > > > the IB_CQ_SOLICITED flag, which RDS uses.
> > >
> > > Then work on supporting it. RDS and SMC are the only users, so
> > > one
> > > of the maintainers needs to drive it.
> >
> > I took a quick look at what it would take, and adding
> > IB_CQ_SOLICITED
> > support to the cq API looks pretty trivial, you'll just need to
> > pass
> > it to ib_cq_pool_get by adding a new argument and the pass it
> > down to __ib_alloc_cq. So yes, please get started at moving RDS
> > out
> > of the stone age.
>
> Agree. I'll work on that. I am also inclined to improve it by having
> designated CPUs where the worker threads polling the CQs execute, as
> that often improves cache hit rates. But that will come as another
> commit.
>
>
> Thxs, Håkon
>
Ok, sounds like a good plan then. Thanks for working on this Haakon!
Allison
prev parent reply other threads:[~2024-09-24 15:20 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-18 8:35 [MAINLINE 0/2] Enable DIM for legacy ULPs and use it in RDS Håkon Bugge
2024-09-18 8:35 ` [MAINLINE 1/2] RDMA/core: Enable legacy ULPs to use RDMA DIM Håkon Bugge
2024-09-18 8:35 ` [MAINLINE 2/2] rds: ib: Add Dynamic Interrupt Moderation to CQs Håkon Bugge
2024-09-20 7:47 ` Zhu Yanjun
2024-09-20 9:42 ` Haakon Bugge
2024-09-20 12:51 ` Zhu Yanjun
2024-09-21 13:43 ` Zhu Yanjun
2024-09-19 14:17 ` [MAINLINE 0/2] Enable DIM for legacy ULPs and use it in RDS Christoph Hellwig
2024-09-20 9:46 ` Haakon Bugge
2024-09-20 13:51 ` Christoph Hellwig
2024-09-21 2:28 ` Zhu Yanjun
2024-09-22 14:11 ` Leon Romanovsky
2024-09-23 12:03 ` Christoph Hellwig
2024-09-24 1:58 ` Zhu Yanjun
2024-09-24 6:54 ` Christoph Hellwig
2024-09-24 13:59 ` Zhu Yanjun
2024-09-24 15:16 ` Haakon Bugge
2024-09-25 2:04 ` Zhu Yanjun
2024-09-25 9:26 ` Leon Romanovsky
2024-09-26 15:25 ` Zhu Yanjun
2024-09-24 7:01 ` Christoph Hellwig
2024-09-24 8:59 ` Haakon Bugge
2024-09-24 15:20 ` Allison Henderson [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=822817aae9a7ac8732917645da3045ae4d72c081.camel@oracle.com \
--to=allison.henderson@oracle.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=haakon.bugge@oracle.com \
--cc=hch@infradead.org \
--cc=jgg@ziepe.ca \
--cc=kuba@kernel.org \
--cc=leon@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=rds-devel@oss.oracle.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