Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Xenobius

macrumors regular
Original poster
Dec 10, 2019
190
474
The Thunderbolt 5 in the new Macs have a bandwidth of 80Gbs. Can data be transferred at this speed between two computers connected via a Thunderbolt 5 cable?
 

joevt

macrumors 604
Jun 21, 2012
6,963
4,257
About 65Gbps between M4 Max MBP and M4 Pro mini
Better than I was expecting.
Better than PCIe 4.0 x4 (63 Gbps).
If Intel PCs are using PCIe 4.0 x4 Thunderbolt 5 host controllers (JHL9580, JHL9480), then they can't achieve 65 Gbps. You need PCIe 4.0 x8 or PCIe 3.0 x16 to achieve more than 63 Gbps. Or they need to integrate the Thunderbolt controller into the CPU like they did with IceLake and TigerLake or like Apple is doing with Apple Silicon.
 

joevt

macrumors 604
Jun 21, 2012
6,963
4,257
Regarding SSDs, those will be limited to 63 Gbps regardless of Mac or PC because PCIe 4.0 x4 is the downstream PCIe connection.
Unless someone makes a Thunderbolt 5 (or USB4 v2) peripheral controller that is not limited to PCIe 4.0 x4 downstream.

For SSDs, Mac Thunderbolt 5 could be slightly faster than the discrete Intel Thunderbolt 5 controllers because the 63 Gbps limit exists only at the device end instead of both ends.
 

Xenobius

macrumors regular
Original poster
Dec 10, 2019
190
474
About 65Gbps between M4 Max MBP and M4 Pro mini
Many thanks.
In a test like this, isn't the transfer rate limited by the speed of internal SSD?
Could you mount and use a RAM Disk on both computers instead of the SSD and repeat the test?
Could you do a test with bi-directional data transfer at the same time?
 

Chancha

macrumors 68020
Mar 19, 2014
2,307
2,134
Many thanks.
In a test like this, isn't the transfer rate limited by the speed of internal SSD?
Could you mount and use a RAM Disk on both computers instead of the SSD and repeat the test?
Could you do a test with bi-directional data transfer at the same time?
Oh I was just posting Alex Ziskind‘s short test video, that wasn’t done by me. You can perhaps ask him directly on alternate test perimeters.

The iperf3 in question disregards storage speed and only looks at packets, so the bottle neck is likely to be in the NIC than anything else like CPU, RAM or the rest of the system.

And ~64 Gbps looks like it is already the best case scenario in a 80Gbps bi-directional data lane (doubled from TB4’s 32Gbps).
 

joevt

macrumors 604
Jun 21, 2012
6,963
4,257
In a test like this, isn't the transfer rate limited by the speed of internal SSD?
Could you mount and use a RAM Disk on both computers instead of the SSD and repeat the test?
Could you do a test with bi-directional data transfer at the same time?
63 Gbps is 7.875 GBps.
File sharing bandwidth will be less than the iperf speed due to file sharing overhead.

Transfer rate will be limited by the slowest device between each computer.

A RAM disk could work to maximize file sharing benchmark results (if the internal drive is not fast enough), or this:
A Mac mini has three Thunderbolt 5 ports. Connect a Thunderbolt 5 software RAID to each Mac mini to get above 80 Gbps (or at least above 63 Gbps). Use two different Thunderbolt 5 ports for the software RAID. Then see how fast that data can be put through the third Thunderbolt 5 port to the other Mac.
 

guzhogi

macrumors 68040
Aug 31, 2003
3,772
1,891
Wherever my feet take me…
Unless someone makes a Thunderbolt 5 (or USB4 v2) peripheral controller that is not limited to PCIe 4.0 x4 downstream.
I wonder what people would use Thunderbolt for if it had PCIe 6.0 x4 instead of just 4.0? Some companies like Sonnet Tech have external PCIe enclosures. Wouldn't mind seeing Macs able to use higher end PCIe cards & newer M.2 cards at their full (or at least fuller) potential.
 

joevt

macrumors 604
Jun 21, 2012
6,963
4,257
I wonder what people would use Thunderbolt for if it had PCIe 6.0 x4 instead of just 4.0? Some companies like Sonnet Tech have external PCIe enclosures. Wouldn't mind seeing Macs able to use higher end PCIe cards & newer M.2 cards at their full (or at least fuller) potential.
For Thunderbolt 5 120Gbps (15 GBps), PCIe gen 5 x4, gen 4 x8, or gen 3 x16 would be sufficient.
120 Gbps is the asymmetric mode of Thunderbolt where one direction can do 120 Gbps while the other direction is limited to 40 Gbps.
Can Thunderbolt 5 negotiate 120 Gbps transmit when doing writes and 120 Gbps receive when doing reads? That would be complicated. Maybe 120Gbps is only used when sufficient DisplayPort bandwidth (transmit only) is requested.
Should read the USB4 v2 spec to find out what kind of control the OS can have on the link width and if the host controller has any link width automation.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.