From: Matthieu Baerts <matttbe@kernel.org>
To: Gang Yan <yangang@kylinos.cn>, mptcp@lists.linux.dev
Subject: Re: A question about openssh over MPTCP
Date: Mon, 31 Mar 2025 16:32:59 +0200 [thread overview]
Message-ID: <0ddacf10-7eb3-4254-8442-58999ead1aee@kernel.org> (raw)
In-Reply-To: <20250331022148.GA34015@yangang-pc>
Hi Gang,
On 31/03/2025 04:21, Gang Yan wrote:
> Dear maintainers:
>
> Hello everyone, there exists a method in 'https://www.mptcp.dev'
> which can use openssh over MPTCP.
Out of curiosity, which methods did you use?
The FAQ suggests a few alternatives:
https://www.mptcp.dev/faq.html#how-to-enable-mptcp-support-with-openssh
> But when I followed the guide
> to use ssh's tools in two subflows, such as 'scp' and 'git clone <ssh link>', the
> speed is the same as the TCP, which is weird. I have checked
> the there is one 'msk' and two 'ssk' with 'ss -Mtie', and both subflows
> is transferring the data, but the total speed is the same as TCP.
>
> Do you ever checked the 'scp' before? And maybe there exists a bug here?
> By the way, can you provide some ideas to find out the root readson?
Performances is a tricky topic: there can be many reasons not to "fill
the pipe". The bottleneck can be due to the CPU, the IO, the
application, the receiver, the sender, the network conditions, the TCP
CC algo, the MPTCP scheduler, a bug, a path marked as backup, etc. I
recommend you to monitor these resources. Analysing packet traces can
help as well to find on which side is the bottleneck (e.g. if the client
sends Zero windows, if there are a lot of retransmissions, etc.). Also
check the MIB counters (nstat) on both sides. This can be quickly
time-consuming, but probably worth it.
I didn't check the performances of 'scp' with MPTCP, but I remember in
the past to have a slow transfer because the compression was used,
and/or many small files had to be sent.
Cheers,
Matt
--
Sponsored by the NGI0 Core fund.
prev parent reply other threads:[~2025-03-31 14:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-31 2:21 A question about openssh over MPTCP Gang Yan
2025-03-31 14:32 ` Matthieu Baerts [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=0ddacf10-7eb3-4254-8442-58999ead1aee@kernel.org \
--to=matttbe@kernel.org \
--cc=mptcp@lists.linux.dev \
--cc=yangang@kylinos.cn \
/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.