[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e10d76c4-3b2c-b906-07c3-9a42b1c485bb@linux.alibaba.com>
Date: Tue, 28 Feb 2023 19:34:45 +0800
From: Kai <KaiShen@...ux.alibaba.com>
To: Wenjia Zhang <wenjia@...ux.ibm.com>, kgraul@...ux.ibm.com,
jaka@...ux.ibm.com
Cc: kuba@...nel.org, davem@...emloft.net, netdev@...r.kernel.org,
linux-s390@...r.kernel.org, linux-rdma@...r.kernel.org
Subject: Re: [PATCH net-next v2] net/smc: Use percpu ref for wr tx reference
On 2023/2/28 6:55 下午, Wenjia Zhang wrote:
> @Kai, the performance improvement seems not so giant, but the method
> looks good, indeed. However, to keep the consistency of the code, I'm
> wondering why you only use the perf_ref for wr_tx_wait, but not for
> wr_reg_refcnt?
Didn't check the similar refcnt, my bad.
On the other hand, Our work is inspired by performance analysis, it
seems wr_reg_refcnt is not on the IO path. It may not contribute to
performance improvement.
And inspired by your comment, it seems we can also make the refcnt
cdc_pend_tx_wr a perfcpu one. I will look into this.
Thanks
Powered by blists - more mailing lists