netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Andrew Lunn <andrew@lunn.ch>
Cc: Ricard Bejarano <ricard@bejarano.io>,
	Mika Westerberg <mika.westerberg@linux.intel.com>,
	netdev@vger.kernel.org, michael.jamet@intel.com,
	YehezkelShB@gmail.com, andrew+netdev@lunn.ch,
	davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
	pabeni@redhat.com
Subject: Re: Poor thunderbolt-net interface performance when bridged
Date: Mon, 26 May 2025 08:09:56 -0700	[thread overview]
Message-ID: <20250526080956.7f64a5f5@hermes.local> (raw)
In-Reply-To: <f2ca37ef-e5d0-4f3e-9299-0f1fc541fd03@lunn.ch>

On Mon, 26 May 2025 16:28:23 +0200
Andrew Lunn <andrew@lunn.ch> wrote:

> > > Simple peer-to-peer, no routing nothing. Anything else is making things
> > > hard to debug. Also note that this whole thing is supposed to be used as
> > > peer-to-peer not some full fledged networking solution.  
> >   
> > > Let's forget bridges for now and anything else than this:
> > >  Host A <- Thunderbolt Cable -> Host B  
> > 
> > Right, but that's precisely what I'm digging into: red->blue runs at line speed,
> > and so does blue->purple. From what I understand about drivers and networking,
> > it doesn't make sense then that the red->blue->purple path drops down so much in
> > performance (9Gbps to 5Mbps)  
> 
> Agreed.
> 
> Do the interfaces provide statistics? ethtool -S. Where is the packet
> loss happening?
> 
> Is your iperf testing with TCP or UDP?  A small amount of packet loss
> will cause TCP to back off a lot. Also, if the reverse direction is
> getting messed up, ACKs are getting lost, TCP will also stall.
> 
> Maybe try a UDP stream, say 500Mbs. What is the packet loss? Try the
> reverse direction, what is the packet loss. Then try --bidir, so you
> get both directions at the same time.
> 
> 	Andrew
> 

What is MTU? Bridging is L2 and if MTU does not match packets are
silently dropped.

  reply	other threads:[~2025-05-26 15:10 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-22 17:19 Poor thunderbolt-net interface performance when bridged Ricard Bejarano
2025-05-23 11:07 ` Mika Westerberg
2025-05-23 15:07   ` Ricard Bejarano
2025-05-26  4:50     ` Mika Westerberg
2025-05-26  8:50       ` Ricard Bejarano
2025-05-26  9:22         ` Mika Westerberg
2025-05-26 11:47           ` Ricard Bejarano
2025-05-26 12:04             ` Mika Westerberg
2025-05-26 16:10               ` Ricard Bejarano
2025-05-27 10:33                 ` Mika Westerberg
2025-05-27 12:36                   ` Ricard Bejarano
2025-05-26 14:28             ` Andrew Lunn
2025-05-26 15:09               ` Stephen Hemminger [this message]
2025-05-26 19:36                 ` Ricard Bejarano
2025-05-26 19:34               ` Ricard Bejarano
2025-05-26 20:19                 ` Andrew Lunn
2025-05-27  8:47                   ` Ricard Bejarano
2025-05-27 12:51                     ` Andrew Lunn
2025-05-27 14:25                       ` Ricard Bejarano
2025-05-27 15:02                         ` Andrew Lunn
2025-05-27 18:57                           ` Ricard Bejarano
2025-05-27 19:08                             ` Andrew Lunn
2025-05-27 19:17                               ` Ricard Bejarano
2025-05-27 19:32                               ` Ricard Bejarano
2025-05-28  6:38                                 ` Ricard Bejarano
2025-05-28 11:57                                   ` Andrew Lunn
2025-05-28 13:08                                     ` Ricard Bejarano
2025-05-29 12:45                                       ` Ricard Bejarano
2025-06-14  9:13                                         ` Ricard Bejarano
2025-06-14 14:11                                           ` Andrew Lunn
2025-06-15 13:56                                             ` Ricard Bejarano
2025-06-21 11:00                                             ` Ricard Bejarano
2025-06-30  7:28                                               ` Ricard Bejarano
2025-08-28  7:59                                                 ` Ricard Bejarano
2025-09-01 20:20                                                   ` Ido Schimmel
2025-09-02 10:18                                                     ` Ricard Bejarano
2025-09-03  7:43                                                       ` Ido Schimmel
2025-09-04  8:56                                                         ` Ricard Bejarano
2025-09-04 10:33                                                           ` Ido Schimmel
2025-05-29  8:38                                     ` Ricard Bejarano
2025-05-29 10:06                                     ` Ricard Bejarano

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=20250526080956.7f64a5f5@hermes.local \
    --to=stephen@networkplumber.org \
    --cc=YehezkelShB@gmail.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=andrew@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=kuba@kernel.org \
    --cc=michael.jamet@intel.com \
    --cc=mika.westerberg@linux.intel.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=ricard@bejarano.io \
    /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;
as well as URLs for NNTP newsgroup(s).