r/TechNook • • 1d ago

Could a direct Thunderbolt cable replace 10GbE networking between two PCs?

Thuderbolt 4 & 5 provide a maximum bandwidth of 40 Gbps to 80 Gbps bidirectionally and natively support networking bridge over Thunderbolt that provides IP connectivity.

In case you need to simply transfer the large files and video clips between a workstation and an additional computer or external storage, it is believed that using only one Thunderbolt cable will definitely be faster than 1 GbE and 2.5 GbE networks without the need for costly 10 GbE NICs and a multi-gig switch.

11 Upvotes

11 comments sorted by

2

u/Dark_Souls_VII 1d ago

That is one of the key features of Thunderbolt. 10Gb networking, specifically for connecting machines directly, is part of the design.
I do that since 2012

1

u/rayddit519 1d ago

To add to that: Its standardized in USB4 now and from there inherited into TB4 and TB5 and actually not limited to 10G. That is just the marketing Intel used with TB basically as the "minimum" or "guarantee".

Though how much you can actually get out of it depends heavily on your USB4 controller, drivers and network stack.

With newer Intel chipsets on both sides its possible to get close to 20G if not above (older 40G controllers might be limited to single-lane connections (20G physically) for this purpose, newer controllers do no longer have that limitation). The bandwidth of the (virtual) tunnel itself has never been limited. Its mostly bottlenecked by the ends of the connection. The way they implement the ethernet is very compatible as it emulates an entire ethernet connection from the ground up, but that also makes it very inefficient, especially with mismatches in hardware & software on both sides and that many desktop OS's and simple applications may not be optimized for networking at those speeds.

In practice with a standard desktop OS, per spec, the virtual network adapters should just appear and be setup correctly and its likely only your firewall that would be in the way and block access of any standard filesharing (Windows for example fails to ask whether its a public or private connection, as its recognition does not work for basic P2P networking).

Its P2P at its core, so using it to network more than 2 devices with it will get very complex and requires configuring the PCs for routing.

2

u/NekkidWire 1d ago

This works, provided that:

* your cable is Thunderbolt cable and both ports are Thunderbolt ports (USB3.* is not sufficient and sometimes vendors cheat in marking)

* both PCs operating systems support it (recent versions of Windows, Linux, and MacOS do, but *BSD don't yet have the driver/device (tried googling, but maybe I missed it)

* the networking is set up by OS automatically (Windows, macOS, some Linux distributions) or manually (rest of Linux world)

1

u/rayddit519 1d ago

Any valid full-featured USB-C cable will suffice to make a connection, might just be slow. So anything "USB 5Gbps" and up. Of course if you want a 40G or 80G connection, you need cables matching that speed.

Of course any USB-C cable breaking the USB spec cannot be relied upon to do anything, but might still work for USB3. It just needs cables that are not invalid.

1

u/dkopgerpgdolfg 1d ago edited 1d ago

Yes. Things like "usb4stream" (called "usb", but being tb overlapping too) exist already, altough OS-dependent.

For the rest of the post, I question if that described use case makes sense. If some has storage fast enough that a 1GBs switch isn't enough, AND they have so much of this storage that they would wait long enough that buying a new switch makes sense, then surely they would already have a better switch too.

1

u/unus-suprus-septum 1d ago

I ran into this. Bought a router that had a 10g port. Thought, why waste the port and bought a 10g card for my server. 

Copied a large file in front of my son to impress him. We were both very disappointed. I was like, oh yeah, SATA is a bit of a bottleneck. 

It was something like needing 6 or 7 drives in RAID to be able to saturate it. Can't remember what I calculated. Oh well. Still pretty snappy.

1

u/WideCranberry4912 1d ago

If you pre-load the file in a RAM disk and copy to a RAM disk you can probably saturate that link.

1

u/Unlikely-Sympathy626 1d ago

Well I guess possible but with most operating systems not sure.

I mean as kid we use to make com port cables or do network games over lpt port… so yeah your question is basically yes. Do you know how to do it?

I would not want to attempt that with windows or Mac OS as those are so locked down and crap involved unlike back in day.

But yeah you should be able to achieve it but there is more involved than just the cable and os. What about the drivers of port connector etc? If that does not allow extra things I hope you got custom hardware or drivers available.

1

u/RogueHeroAkatsuki 1d ago

Funny thing is that both MacOS and WIndows natively support data connection through 'virtual' thunderbolt network adapters

1

u/dkopgerpgdolfg 1d ago

both MacOS and WIndows

Linux too. If you want then even without the "network" overhead part, just a raw data stream

1

u/zone23 1d ago

I do it from my MB Pro to my Mini via TB4. Works great.