Thunderbolt Performance

Apple’s 2011 Macs were the first to enjoy Thunderbolt, an interface co-developed with Intel that carries PCIe and DisplayPort over a single cable. As it derives most of its revenue from mobile, Apple wasted no time in bringing its Thunderbolt Display to market. A single Thunderbolt cable could bring Gigabit Ethernet, Firewire 800, high-speed mass storage, external audio and display to an otherwise IO-deprived MacBook Air.

At a high level, Thunderbolt is pretty easy to explain. The current implementation of Thunderbolt pairs four PCIe 2.0 lanes with DisplayPort, offering a maximum bandwidth of 2GB/s in either direction in addition to DP bandwidth. The Thunderbolt interface itself can deliver 10Gbps of bandwidth in each direction, per channel. The physical Thunderbolt port is compatible with mini DisplayPort to allow for the use of mini-DP displays as well as Thunderbolt chains. Each Thunderbolt port can carry up to two Thunderbolt channels, although one channel is typically reserved for DisplayPort duties.

In the past we measured a maximum of 1GB/s of unidirectional bandwidth for a single Thunderbolt channel in addition to video bandwidth over DisplayPort. There’s no shipping device that will deliver this sort of performance, I needed to outfit a Promise Pegasus with a handful of SSDs to truly saturate the bus.

In the 2012 Macs Apple, like the rest of the PC industry, has switched to using Intel’s 2nd generation Thunderbolt controllers codenamed Cactus Ridge.

The Retina MacBook Pro uses a four-channel Cactus Ridge controller and drives two Thunderbolt ports with it. Each port can drive a mini-DP display or a Thunderbolt chain with a mini-DP/Thunderbolt Display at the end of or in it. The rMBP can actually drive a fourth panel (counting the integrated Retina Display) via the integrated HDMI port although that’s not an officially supported configuration.

Unlike most other implementations, Apple hangs the Cactus Ridge controller off of the Ivy Bridge CPU rather than the PCH. The GeForce GT 650M in the system only gets the use of 8 PCIe 3.0 lanes instead of the full 16, but with PCIe 3.0 this is not an issue (it wouldn’t be an issue with PCIe 2.0 either to be honest).

I performed the same test as before to test if maximum bandwidth has gone up since switching to Cactus Ridge. Initial results remained unchanged, I was able to get north of 900MB/s to an array of SSDs in the Pegasus connected to a single Thunderbolt port. Now with two Thunderbolt on the rMBP however I was able to create a second chain of devices. I only have a single Pegasus so I resorted to chaining a LaCie Little Big Disk (SSD) and Elgato Thunderbolt drive. The combination of the two isn’t anywhere near as fast as the SSD array in the Pegasus but it allowed me to push the limits of the controller even more:

1380MB/s, over copper, to the rMBP. I suspect if I had another Pegasus SSD array I’d be able to approach 1800MB/s, all while driving video over the ports. Apple may limit the internal storage expansion of the rMBP but you still have a path to expansion for storage of large media files and other archives. And it’s very fast.

Unfortunately Thunderbolt behavior is still not perfect, although it is improved compared to previous Macs. If you write to Promise’s Pegasus for long enough while playing audio through Apple’s Thunderbolt Display you will still drop audio frames. Subjectively it seems to take longer to trigger this phenomenon but it does still happen. On my early 2011 MacBook Pro the problem has gotten so bad that I’ll even drop other USB packets for devices connected to the Thunderbolt Display. If I’m writing to the Pegasus I’ll miss keystrokes and the mouse will jump around until the high-speed write is complete. So far I haven’t had anything this bad happen on the Retina MBP but it took a while for this behavior to manifest on my early 2011 model so we’ll see what happens. I’m not sure what the fix will be for these types of issues as it seems there’s no good quality of service assurance for PCIe devices residing on Thunderbolt. As Thunderbolt was supposed to be as transparent as possible, it’s not surprising that even QoS overhead is nonexistent but it’s something that is clearly necessary. I’m not sure this is Apple’s fault as I’ve seen similar behavior under Windows. I suspect it’s something that Intel is going to have to figure out a way to address.

 

All Flash Storage Vastly Improved Thermals
Comments Locked

471 Comments

View All Comments

  • orthorim - Wednesday, June 27, 2012 - link

    First of all, PC manufacturers are followers.

    Second even if they wanted to do it, how are they going to get Microsoft to fully support retina mode? It's evident from the review that Apple's had to do a lot of work on the software side to make it work, and it's still not perfect.

    That's Apple's huge advantage: They make hardware and software.

    The obstacle for a PC manufacturer would be:
    - Get retina displays in quantity (same issue Apple faces - it's doable but by no means easy)
    - Get Windows to support retina mode - even if MS were willing, no one knows what amount of effort would be involved. I guess it would be extremely hard to do.
    - Get gfx card manufacturers to optimize their drivers to it's fast

    All of this takes time and effort...
  • PubFiction - Friday, August 3, 2012 - link

    None of you get it.

    Super resolution is a by product of OLED. Not of apple, not of anyone else. LG says they can make a panel and apple pays the highest price to have exclusive access fo a while. Are you guys really so stupid that you think apple actually makes these panels?

    IF LG does not push IPS displays down in price and up in resolution OLED is quickly going to supplant LCDs as the premium product.

    Let me make it clear to the sheeple, PC companies do not give a shit about you or giving you bette stuff until it becomes neccessary to maintain their business, apple happily sold everyone TN panels with low resolution for years while PC makers were offering IPS, wide gamut in work stations laptops.
  • gorash - Saturday, June 23, 2012 - link

    Come on, 1080p screens have existed for some time, and obviously it would move to 4k at some point when it's ready. From the performance standpoint, "Retina" doesn't seem to be all that ready. Maybe in the next year or so, it will be.
  • OCedHrt - Saturday, June 23, 2012 - link

    Although the reviewers at Anandtech didn't really like the Z, it is the best laptop I have used to date.
  • solipsism - Saturday, June 23, 2012 - link

    Even if Apple can these 27" IPS panels made at a reasonable price and quantity you still have to deal with rending all the pixels in a way that adds more pros than cons.

    Remember 4k is 4x the pixels of 1080p. Taking the 27" from 2560x1440 to 5120x2880 is going from 3,686,400 px to 14,745,600 px.
  • DeciusStrabo - Saturday, June 23, 2012 - link

    4k isn't 4x the pixels of 1080p. 4k is QFHD, which is 3840x2160 (6.1 million pixels vs. 2 million in 1080p).
    However, since we already have a spec for 8K (7680x4320 ~ 33 million pixels) things to indeed get interesting soon.
  • lukarak - Saturday, June 23, 2012 - link

    3840x2160 = 8,294,400
    /
    1920x1080 = 2,073,600
    --------------------------------
    2 x 2 = 4
  • DanNeely - Saturday, June 23, 2012 - link

    4k is a lot more than just quadHD. I wouldn't be surprised if that ends up being the dominant mass market version; but most current 4k cameras record video at 4096x2304/2160.
  • Ohhmaagawd - Saturday, June 23, 2012 - link

    "emember 4k is 4x the pixels of 1080p. Taking the 27" from 2560x1440 to 5120x2880 is going from 3,686,400 px to 14,745,600 px."

    I really doubt it needs to double to be "retina".

    Not sure what the sweet spot is, but my gut is somewhere around 3500-4000 pixels wide.
  • Acanthus - Saturday, June 23, 2012 - link

    Apple and their forward looking business sense = buying every factory in the world that can produce high dpi displays. (Yes, they really did that)

    Anticompetitive =/= "forward thinking"

Log in

Don't have an account? Sign up now