netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BUG] Thunderbolt network package forward speed problem.
@ 2021-03-06 15:33 Jax Jiang
  2021-03-08  6:21 ` Mika Westerberg
  0 siblings, 1 reply; 2+ messages in thread
From: Jax Jiang @ 2021-03-06 15:33 UTC (permalink / raw)
  To: michael.jamet, mika.westerberg, YehezkelShB; +Cc: netdev

Hi!
Authors of Linux thunderbolt-network driver:

Problem:

Thunderbolt network <- Software Router(NUC 11) <- 10G NIC   Speed is normal=
 about 9-10Gbps
Thunderbolt network -> Software Router(NUC 11) -> 10G NIC   Speed is super =
slow about 1Mbps-100Kbps

Thunderbolt network <- Software Router(NUC 11) <- 2.5G NIC(I225-V)   Speed =
is normal about 2.3-2.4Gbps
Thunderbolt network -> Software Router(NUC 11) -> 10G NIC   Speed is super =
slow about 1Mbps-100Kbps

I have already tested:
MAC<-> Thunderbolt network <-> Software Router(NUC11)     17Gpbs on both tw=
o direction.

Hardware: Intel NUC11 I5
CPU: Intel TigerLake 1135G7 4Core 8Thread
OS:  OpenWRT 19.07
Linux Kernel Version: 5.10.20
Already Tested Software that have problem: iperf3 smb
Network Layout:

 PC(With 2.5G NIC)

           ^

           |

           v
[macbook pro] <-----thunderbolt 3------------> Software
Router<---------------> NAS(With 10G NIC)
                           thunderbolt network         (NUC11 With 10G NIC)

I met problem like this in some network switch which does not support flow =
control.
So I guess maybe thunderbolt-network driver miss flow control support.

I am try to build a software router with using latest NUC hardware. Use thu=
nderbolt network to trans 10G NIC card or 2.5G NIC to latest having thunder=
bolt port laptop or devices. Latest intel mobile chip had internal thunderb=
olt controller, which is cheaper than previous devices. I think it=1B$B!G=
=1B(Bs a chance to bring high speed network to general consumer.
I am a coder but not familiar with Linux kernel source code.
At same time I am a want to build a cool product geek.
Any help would be great  ;-)

Thanks

A want to build a geek products geek.
Jax

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [BUG] Thunderbolt network package forward speed problem.
  2021-03-06 15:33 [BUG] Thunderbolt network package forward speed problem Jax Jiang
@ 2021-03-08  6:21 ` Mika Westerberg
  0 siblings, 0 replies; 2+ messages in thread
From: Mika Westerberg @ 2021-03-08  6:21 UTC (permalink / raw)
  To: Jax Jiang; +Cc: michael.jamet, YehezkelShB, netdev

Hi,

On Sat, Mar 06, 2021 at 11:33:57PM +0800, Jax Jiang wrote:
> Hi!
> Authors of Linux thunderbolt-network driver:
> 
> Problem:
> 
> Thunderbolt network <- Software Router(NUC 11) <- 10G NIC   Speed is normal=
>  about 9-10Gbps
> Thunderbolt network -> Software Router(NUC 11) -> 10G NIC   Speed is super =
> slow about 1Mbps-100Kbps

Have you tried without the 10G NIC? I mean what is the speed you
observe on NUC 11 in both directions?

What the other host is that you connect to NUC 11 over Thunderbolt
cable?

> Thunderbolt network <- Software Router(NUC 11) <- 2.5G NIC(I225-V)   Speed =
> is normal about 2.3-2.4Gbps
> Thunderbolt network -> Software Router(NUC 11) -> 10G NIC   Speed is super =
> slow about 1Mbps-100Kbps
> 
> I have already tested:
> MAC<-> Thunderbolt network <-> Software Router(NUC11)     17Gpbs on both tw=
> o direction.
> 
> Hardware: Intel NUC11 I5
> CPU: Intel TigerLake 1135G7 4Core 8Thread
> OS:  OpenWRT 19.07
> Linux Kernel Version: 5.10.20
> Already Tested Software that have problem: iperf3 smb
> Network Layout:
> 
>  PC(With 2.5G NIC)
> 
>            ^
> 
>            |
> 
>            v
> [macbook pro] <-----thunderbolt 3------------> Software
> Router<---------------> NAS(With 10G NIC)
>                            thunderbolt network         (NUC11 With 10G NIC)
> 
> I met problem like this in some network switch which does not support flow =
> control.
> So I guess maybe thunderbolt-network driver miss flow control support.
> 
> I am try to build a software router with using latest NUC hardware. Use thu=
> nderbolt network to trans 10G NIC card or 2.5G NIC to latest having thunder=
> bolt port laptop or devices. Latest intel mobile chip had internal thunderb=
> olt controller, which is cheaper than previous devices. I think it=1B$B!G=
> =1B(Bs a chance to bring high speed network to general consumer.
> I am a coder but not familiar with Linux kernel source code.
> At same time I am a want to build a cool product geek.
> Any help would be great  ;-)
> 
> Thanks
> 
> A want to build a geek products geek.
> Jax

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-08  6:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-06 15:33 [BUG] Thunderbolt network package forward speed problem Jax Jiang
2021-03-08  6:21 ` Mika Westerberg

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).