News for hackers. Stuff that matters.
Re:What is Intel’s Thunderbolt 3 dual port controller’s tota... by wmf on Sunday August 12, 2018 @10:40PM (#17747700)
Thunderbolt is a quite under-documented protocol. I realize it's proprietary (for now) but even by those standards there is almost nothing publicly available. Maybe Intel doesn't want people to know that a dual-port "40 Gbps" Thunderbolt controller only has 32 Gbps of PCIe bandwidth total and according to this question each port only supports 22 Gbps. This may explain why real-world benchmarks don't show performance anywhere near 40 Gbps (although TB3 is generally still faster than any other consumer protocol).
Re:What is Intel’s Thunderbolt 3 dual port controller’s tota... by kev009 on Sunday August 12, 2018 @10:51PM (#17747729)
Without an IOMMU it's a gigantic security risk. I don't know that withholding documentation does anything to slow that down in practice but I wonder if it's somehow part of the obscurity.
Re:What is Intel’s Thunderbolt 3 dual port controller’s tota... by daurnimator on Monday August 13, 2018 @02:20AM (#17748335)
As far as I know nearly all recent Intel chips have an IOMMU: are you saying thunderbolt bypasses it?

Also, there is the thunderbolt authorization protocol (see: boltctl on Linux): is that broken in any way?

Re:What is Intel’s Thunderbolt 3 dual port controller’s tota... by wtallis on Monday August 13, 2018 @02:59AM (#17748454)
Intel continued to use the IOMMU feature for product segmentation on mainstream desktop and laptop processors launched as late as 2015, and they've continued to launch Atom-based processors lacking an IOMMU as recently as one year ago. Most systems new enough and powerful enough to support Thunderbolt should at least be free of Intel's arbitrary restrictions on IOMMU capability, but that doesn't mean the firmware and OS actually set it up to provide real security.
Re:What is Intel’s Thunderbolt 3 dual port controller’s tota... by dogma1138 on Monday August 13, 2018 @03:37AM (#17748574)
No systems with TB have any of these restrictions as VT-d was supported by all platforms that support TB since DMA and Interrupt remapping is required for TB to operate.
Re:What is Intel’s Thunderbolt 3 dual port controller’s tota... by ztjio on Monday August 13, 2018 @04:55AM (#17748820)
I don't think this is right. I've come to understand the 40gbps number to be the total bidirecional bandwidth with overhead taken into account on a single port.

Which adds up, because, a single port maxes at 22gbps FULL DUPLEX shave off a 10% overhead factor, and double it = 40gbps.

Re:What is Intel’s Thunderbolt 3 dual port controller’s tota... by vardump on Monday August 13, 2018 @09:47AM (#17750004)
If that's true, how it's possible for TB3 to drive dual 4k monitors at 24 bpp 60 Hz and have enough bandwidth on top to drive gigabit ethernet etc. peripherals?

(3840 * 2160 * 3B * 2 * 60)/s in Gbit/s = 23.887872 Gbit/s

So two 4k monitors at 60 Hz alone should require almost 24 Gbps, not counting audio streams, etc.

Re:What is Intel’s Thunderbolt 3 dual port controller’s tota... by ztjio on Tuesday August 14, 2018 @04:02PM (#17761386)
Simple, it's not doing what you think. Actual 4k monitors do not consume that maximum theoretically calculated bandwidth. Indeed, in most cases they only consume about 40% of the maximum possible bandwidth of 8 lanes of DP (which is the same as a single TB3 port.)

And yes, despite the generic support claims of 2x4k displays, it is possible to get 2 4k displays you can't run simultaneously on one TB3 port. It's just fairly unlikely.

In practice you'll have 2 4k displays using about 17.28Gbps of the bandwidth leaving the rest for other things. And there's a good reason for that. It enables MST at 4k 60hz. An example is the Dell P2415Q. It supports MST daisy chaining and you can use two of those same monitors together (not with macOS but with Windows) from a single DP1.2 port. That's only possible because the display doesn't actually demand over 8.5-ish Gbps bandwidth.

Re:What is Intel’s Thunderbolt 3 dual port controller’s tota... by et2o on Monday August 13, 2018 @09:54AM (#17750063)
Apple's implementation of TB3 on the MacBook pro (my only experience) can only do one 4k monitor at a time.
Re:What is Intel’s Thunderbolt 3 dual port controller’s tota... by vardump on Monday August 13, 2018 @10:07AM (#17750161)
Really?

There are many TB3 docks available like https://mymantiz.com/products/md-01-zeus that offer dual 4k @60 Hz and as far as I know, they work just fine on Macbook Pro.

Are you sure you're not confusing it with USB-C, which can only drive one 4k@60Hz monitor per connector? USB-C connectors are compatible with TB3.

Re:What is Intel’s Thunderbolt 3 dual port controller’s tota... by et2o on Monday August 13, 2018 @11:44AM (#17750927)
Hmm, I might be confusing the two, honestly. This looks interesting. Thanks.
Re:What is Intel’s Thunderbolt 3 dual port controller’s tota... by Psyonic on Monday August 13, 2018 @08:09PM (#17754631)
MBP have supported 2 5k monitors since late 2016: https://9to5mac.com/2016/10/27/4k-and-5k-displays-with-new-m...
Re:What is Intel’s Thunderbolt 3 dual port controller’s tota... by et2o on Thursday August 16, 2018 @08:47AM (#17774128)
I meant on one port. I plug three monitors in now :)
Re:What is Intel’s Thunderbolt 3 dual port controller’s tota... by ztjio on Tuesday August 14, 2018 @04:03PM (#17761392)
Not on the same port.