All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mahanta Jambigi <mjambigi@linux.ibm.com>
To: "D. Wythe" <alibuda@linux.alibaba.com>,
	wenjia@linux.ibm.com, wintera@linux.ibm.com,
	dust.li@linux.alibaba.com, tonylu@linux.alibaba.com,
	guwen@linux.alibaba.com
Cc: kuba@kernel.org, davem@davemloft.net, netdev@vger.kernel.org,
	linux-s390@vger.kernel.org, linux-rdma@vger.kernel.org,
	leonro@nvidia.com, pabeni@redhat.com, edumazet@google.com,
	sidraya@linux.ibm.com, jaka@linux.ibm.com,
	oliver.yang@linux.alibaba.com
Subject: Re: [PATCH net-next v4 3/3] net/smc: transition to RDMA core CQ pooling
Date: Thu, 30 Jul 2026 10:17:08 +0530	[thread overview]
Message-ID: <c12b60e8-727f-4232-afbe-2cc5f6533079@linux.ibm.com> (raw)
In-Reply-To: <92ba5a37-3496-424c-8425-6535515c01ce@linux.ibm.com>



On 22/07/26 5:17 pm, Mahanta Jambigi wrote:
> 
> 
> On 16/07/26 5:07 pm, D. Wythe wrote:
>> Performance Test: redis-benchmark with max 32 connections per QP
>> Data format: Requests Per Second (RPS), Percentage in brackets
>> represents the gain/loss compared to TCP.
>>
>> | Clients | TCP      | SMC (original)      | SMC (cq_pool)       |
>> |---------|----------|---------------------|---------------------|
>> | c = 1   | 24449    | 31172  (+27%)       | 34039  (+39%)       |
>> | c = 2   | 46420    | 53216  (+14%)       | 64391  (+38%)       |
>> | c = 16  | 159673   | 83668  (-48%)  <--  | 216947 (+36%)       |
>> | c = 32  | 164956   | 97631  (-41%)  <--  | 249376 (+51%)       |
>> | c = 64  | 166322   | 118192 (-29%)  <--  | 249488 (+50%)       |
>> | c = 128 | 167700   | 121497 (-27%)  <--  | 249480 (+48%)       |
>> | c = 256 | 175021   | 146109 (-16%)  <--  | 240384 (+37%)       |
>> | c = 512 | 168987   | 101479 (-40%)  <--  | 226634 (+34%)       |
>>
>> The results demonstrate that this optimization effectively resolves the
>> scalability bottleneck, with RPS increasing by over 110% at c=64
>> compared to the original implementation.
> 
> Thanks for the performance numbers — the scalability improvement at high
> client counts is striking. A few questions to help reproduce these results:
> 
> 1) Was net.smc.smcr_max_conns_per_lgr=32 the value used? The "max 32
> connections per QP" in the description suggests so, but the sysctl
> wasn't explicitly listed.
> 
> 2) Were net.smc.smcr_max_send_wr and net.smc.smcr_max_recv_wr left at
> their defaults, or tuned? With per-link CQs the optimal WR counts may
> differ from the global-CQ case, so knowing whether these were touched
> would help interpret the numbers.
> 
> 3) Was this SMC-R v2? The v2 TX path (smc_wr_tx_get_v2_slot,
> wr_tx_v2_ib) has different concurrency characteristics, so confirming
> the version matters for the contention analysis in patch 2/3 as well.
> 
> 4) Was uperf tested for v4 as well, as we did for v1[1] in
> February-2026? uperf exercises a wider range of message sizes and thread
> counts, so its numbers would strengthen the case — particularly for the
> intermediate client counts (c=16 to c=64) where the original
> implementation regresses below TCP.

@D. Wythe: Gentle reminder regarding my earlier questions. Have you had
a chance to look into them?

> 
> [1]
> https://lore.kernel.org/netdev/20260202094800.30373-1-alibuda@linux.alibaba.com/


  reply	other threads:[~2026-07-30  4:47 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-16 11:37 [PATCH net-next v4 0/3] net/smc: transition to RDMA core CQ pooling D. Wythe
2026-07-16 11:37 ` [PATCH net-next v4 1/3] net/smc: clear the correct v2 slot and buffer in smc_wr_tx_put_slot() D. Wythe
2026-07-17 11:38   ` sashiko-bot
2026-07-22  7:12   ` Mahanta Jambigi
2026-07-16 11:37 ` [PATCH net-next v4 2/3] net/smc: reduce TX slot contention with exclusive wait D. Wythe
2026-07-23  3:14   ` Wen Gu
2026-07-16 11:37 ` [PATCH net-next v4 3/3] net/smc: transition to RDMA core CQ pooling D. Wythe
2026-07-22 11:47   ` Mahanta Jambigi
2026-07-30  4:47     ` Mahanta Jambigi [this message]
2026-07-30  5:43     ` D. Wythe
2026-07-30  7:25       ` Mahanta Jambigi
2026-07-23  2:56   ` Wen Gu
2026-07-30  3:22     ` D. Wythe
2026-07-22  0:53 ` [PATCH net-next v4 0/3] " Jakub Kicinski
2026-07-22  7:06   ` Mahanta Jambigi

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=c12b60e8-727f-4232-afbe-2cc5f6533079@linux.ibm.com \
    --to=mjambigi@linux.ibm.com \
    --cc=alibuda@linux.alibaba.com \
    --cc=davem@davemloft.net \
    --cc=dust.li@linux.alibaba.com \
    --cc=edumazet@google.com \
    --cc=guwen@linux.alibaba.com \
    --cc=jaka@linux.ibm.com \
    --cc=kuba@kernel.org \
    --cc=leonro@nvidia.com \
    --cc=linux-rdma@vger.kernel.org \
    --cc=linux-s390@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=oliver.yang@linux.alibaba.com \
    --cc=pabeni@redhat.com \
    --cc=sidraya@linux.ibm.com \
    --cc=tonylu@linux.alibaba.com \
    --cc=wenjia@linux.ibm.com \
    --cc=wintera@linux.ibm.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.