public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Kai <KaiShen@linux.alibaba.com>
To: Wenjia Zhang <wenjia@linux.ibm.com>,
	kgraul@linux.ibm.com, jaka@linux.ibm.com, kuba@kernel.org,
	davem@davemloft.net, dsahern@kernel.org
Cc: netdev@vger.kernel.org, linux-s390@vger.kernel.org,
	linux-rdma@vger.kernel.org
Subject: Re: [PATCH net-next] net/smc: introduce shadow sockets for fallback connections
Date: Mon, 3 Apr 2023 18:18:54 +0800	[thread overview]
Message-ID: <a32eff21-fe49-5284-2485-25b4f14a7239@linux.alibaba.com> (raw)
In-Reply-To: <df825d71-eb6d-ac73-7f7f-33277fde6b12@linux.ibm.com>



On 3/29/23 5:41 PM, Wenjia Zhang wrote:
> 
> 
> 
> On 24.03.23 08:26, Kai wrote:
>>
>>
>> On 3/23/23 1:09 AM, Wenjia Zhang wrote:
>>>
>>>
>>> On 21.03.23 08:19, Kai Shen wrote:
>>>> SMC-R performs not so well on fallback situations right now,
>>>> especially on short link server fallback occasions. We are planning
>>>> to make SMC-R widely used and handling this fallback performance
>>>> issue is really crucial to us. Here we introduce a shadow socket
>>>> method to try to relief this problem.
>>>>
>>> Could you please elaborate the problem?
>>
>> Here is the background. We are using SMC-R to accelerate server-client 
>> applications by using SMC-R on server side, but not all clients use 
>> SMC-R. So in these occasions we hope that the clients using SMC-R get 
>> acceleration while the clients that fallback to TCP will get the 
>> performance no worse than TCP.
> 
> I'm wondering how the usecase works? How are the server-client 
> applications get accelerated by using SMC-R? If your case rely on the 
> fallback, why don't use TCP/IP directly?
> 

Our goal is to replace TCP with SMC-R on Cloud as much as possible.
Many applications will use SMC-R by default but not all(like they are
not using then latest OS). So a SMC-R using server must be ready to
serve SMC-R clients and TCP clients in the mean time. As a result
fallback will happend.

In these cases we hope clients using SMC-R get accelerated and clients
using TCP get no performance loss. The server using SMC-R can't tell if
the next client use SMC-R or TCP util their TCP SYN comes and this lead
to fallback when a client use TCP. But the current SMC-R server fallback
path which handles incoming TCP connection requests will compromise the
performance of TCP clients. So we want to optimize SMC-R server fallback
path.

Thanks.

      reply	other threads:[~2023-04-03 10:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-21  7:19 [PATCH net-next] net/smc: introduce shadow sockets for fallback connections Kai Shen
2023-03-22 13:08 ` Paolo Abeni
2023-03-24  8:21   ` Kai
2023-03-22 17:09 ` Wenjia Zhang
2023-03-24  7:26   ` Kai
2023-03-29  9:41     ` Wenjia Zhang
2023-04-03 10:18       ` Kai [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=a32eff21-fe49-5284-2485-25b4f14a7239@linux.alibaba.com \
    --to=kaishen@linux.alibaba.com \
    --cc=davem@davemloft.net \
    --cc=dsahern@kernel.org \
    --cc=jaka@linux.ibm.com \
    --cc=kgraul@linux.ibm.com \
    --cc=kuba@kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=linux-s390@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=wenjia@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox