Follow By Email

Sunday, February 26, 2023

[New post] Thunderbolt 4 hub performance with 3 SSDs

Site logo image hoakley posted: "You don't buy a Thunderbolt 4 hub if you aren't intending to use its three ports to connect SSDs and other peripherals. This article explores the performance of three full-performance SSDs when connected to a hub at the same time. It follows three previou" The Eclectic Light Company

Thunderbolt 4 hub performance with 3 SSDs

hoakley

Feb 27

You don't buy a Thunderbolt 4 hub if you aren't intending to use its three ports to connect SSDs and other peripherals. This article explores the performance of three full-performance SSDs when connected to a hub at the same time. It follows three previous articles:

  • the first looked generally at performance using a hub;
  • I then looked in more detail at throttling of write speed on some SSDs,
  • and focussed on how faster SSDs can impair the performance of slower ones.

Those articles also contain a fuller description of the methods that I'm using.

Methods

For these tests, I've used only one of the two Thunderbolt 4 hubs that I've got; although models from different suppliers do vary in size and features, they all rely on one Intel chip, the Goshen Ridge controller JHL8440. Because of that, their performance and behaviour in this context should be identical.

I connected all three of my test SSDs to the hub, and ran three separate copies of Stibium to perform speed testing in the following combinations:

  • writing to all three SSDs at the same time (WWW);
  • reading from all three SSDs at the same time (RRR);
  • writing to Disks A and B while reading from Disk C at the same time (RWW);
  • reading from Disks A and B while writing to Disk C at the same time (WRR).

Stibium was run in verbose mode, recording each result of the 50 or 100 tests individually. These were then pasted into DataGraph and plotted. In each set of tests I identified the period in which all three SSDs were transferring data, and calculated the total data transferred during that period, deriving overall average transfer speed for that period. Periods ranged from 23-43 seconds, and total data transferred over those periods ranged from 24-92 GB, spread across files of random sizes from 2 MB to 2 GB. Those are far greater than normally used in speed tests of storage.

Simultaneous reads (RRR)

When all three SSDs connected to the hub were reading from it, their speeds were a fairly uniform 1.1-1.2 GB/s, as shown in the chart below. Measurements from Disk C are here shown in circles o, and those from Disks A and B using asterisks * and plus signs + respectively.

tripleHubRRR1

The period during which all three SSDs were reading simultaneously started after about 3 seconds had elapsed, and finished at about 47 seconds, when only Disk C was left completing its 100 reads, and returned to reading at about 2.6 GB/s. Total read speed for all three SSDs was 3.4 GB/s, slightly more than the generally accepted maximum for a single Thunderbolt 3 connection.

Simultaneous writes (WWW)

When all three SSDs were writing at the same time, a similar phenomenon occurred as described for two SSDs: write speed was preserved for the fastest of the three SSDs, Disk C (plus signs + here), at 2.1 GB/s, but was throttled on Disks A and B (* and o), as shown in the chart below.

tripleHubWWW1

The time interval between the last write to Disk C and Disks A and B returning to a more normal write speed of about 1.4 GB/s was about 10 seconds, which is remarkably long. Total write speed for all three SSDs was 3.4 GB/s, again slightly more than the generally accepted maximum for a single Thunderbolt 3 connection.

Mixed reads and writes (RWW and WRR)

When the fastest SSD, Disk C (o), was writing and Disks A and B (* and +) were reading (WRR), Disk C's write speed was the same as when it was the only device being used on the hub or connected directly, at 2.8 GB/s. Simultaneous read speeds for Disks A and B were reduced to 1.0 GB/s for a total read of 2.0 GB/s, and a total transfer of 4.8 GB/s.

tripleHubWRR1

Once Disk C had completed its high-speed writes, it took over 10 seconds for the read speed of Disks A and B to increase.

With Disk C (o) reading at 1.8 GB/s (RWW), Disks A and B (* and +) wrote more slowly, at 1.2 GB/s, for a total write speed of 2.4 GB/s. Once they had completed, Disk C became faster more quickly, over a period of about 2 seconds.

tripleHubRWW1

Total simultaneous transfer was here slightly lower, at 4.3 GB/s.

Overall performance

I have extended the previous table of results to include these triple tests, given as uniform when all reads or writes were performed, and mixed when one SSD was performing a different operation from the other two.

triplehubtestsres1

The best and most consistent performance came from Disk C, the only one of the SSDs to retain a write speed in excess of 2.0 GB/s at all times when connected to the hub. However, its read speed fell below 2.0 GB/s when it was sharing more equitably with other SSDs.

Write performance of the other two SSDs fell even lower when all three were writing at the same time, reaching 700 MB/s, performance below that expected for USB 3.1 Gen 2.

We enter murky territory when considering whether Thunderbolt 3 or 4 support simultaneous read and write at full PCIe 3.0 speeds in both directions. Although send and receive lines are separate, Intel appears to state that simultaneous transfer is constrained to a total of 40 Gb/s: "Thunderbolt I/O technology lets you move data between your devices and your computer with 2 channels of 10Gbps flowing both ways (upstream and downstream) at the same time."

The results above show two situations where that appears to have been exceeded for a period of over 24 seconds for the transfer of tens of GB of data, when SSDs have been reading and writing together. Total transfer rates then were 4.3 and 4.8 GB/s, well above those achievable in one direction alone. This does seem to confirm that, in the right conditions, Thunderbolt 4 is capable of higher speeds with both input and output data at the same time. As far as I'm aware, this is the first time that this has been demonstrated in a regular retail Thunderbolt system, but please correct me if I'm wrong.

Rather than drawing conclusions from these results, tomorrow I'll provide a guide to achieving best Thunderbolt performance, aimed mainly at Apple silicon Macs, but not completely ignoring Intel models.

Comment
Like
Tip icon image You can also reply to this email to leave a comment.

Unsubscribe to no longer receive posts from The Eclectic Light Company.
Change your email settings at manage subscriptions.

Trouble clicking? Copy and paste this URL into your browser:
http://eclecticlight.co/2023/02/27/thunderbolt-4-hub-performance-with-3-ssds/

Powered by WordPress.com
Download on the App Store Get it on Google Play
at February 26, 2023
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

[New post] Godzilla Library Edition by James Stokoe, John Layman, Chris Mowry, Alberto Ponticelli, Dean Haspiel

...

  • [New post] Godzilla Library Edition by James Stokoe, John Layman, Chris Mowry, Alberto Ponticelli, Dean Haspiel
    ...
  • Chocolate Chip M&M Cookies + AUGUST BAKING CHALLENGE
    The universe wants you to make cookies, just sayin'  ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ...
  • Your Guide to Winter Squash
    ...

Search This Blog

  • Home

About Me

PH News Net
View my complete profile

Report Abuse

Labels

  • 【ANDROID STUDIO】Data Binding
  • 【ANDROID STUDIO】Data Binding Show or Hide Progressbar
  • 【ANDROID STUDIO】Data Binding with object
  • 【ANDROID STUDIO】Live Data
  • 【ANDROID STUDIO】Live Data with Data Binding
  • 【ANDROID STUDIO】View Model
  • 【ANDROID STUDIO】ViewModel Data Binding
  • 【ANDROID STUDIO】ViewModel Data Binding Factory
  • 【FLUTTER ANDROID STUDIO and IOS】Common Weight and Mass Conversions
  • 【FLUTTER ANDROID STUDIO and IOS】custom lite rolling switch
  • 【FLUTTER ANDROID STUDIO and IOS】Managing State
  • 【FLUTTER ANDROID STUDIO and IOS】Simple Stopwatch
  • 【FLUTTER ANDROID STUDIO and IOS】Specify Height and Width in Percent with respect to the screen
  • 【FLUTTER ANDROID STUDIO and IOS】tab key or shift focus to next text field
  • 【FLUTTER ANDROID STUDIO and IOS】Weight Convert
  • 【GAMEMAKER】Display
  • 【GAMEMAKER】Draw Name
  • 【GAMEMAKER】enemy fire continously
  • 【GAMEMAKER】Energy
  • 【GAMEMAKER】Explosion
  • 【GAMEMAKER】Health Bar
  • 【GAMEMAKER】Hearts
  • 【GAMEMAKER】Highscore
  • 【GAMEMAKER】Horizontal Shooter
  • 【GAMEMAKER】Inventory
  • 【GAMEMAKER】keep the player facing the mouse pointer
  • 【GAMEMAKER】one way to do a fog of war
  • 【JAVASCRIPT】implements draggable progress bar
  • 【JAVASCRIPT】Math Quiz GAME export CSV
  • 【LARAVEL】PHPWord pass dynamic values when export to ms docx and download using PHPWord
  • 【PYTHON OPENCV】Image classification in Keras using several models for image classification with weights trained on ImageNet
  • 【PYTHON PYTORCH】metric classification accuracy
  • 【PYTHON PYTORCH】metric classification report
  • 【PYTHON】algorithm compare all classification models
  • 【PYTHON】algorithm evaluation k fold cross validation
  • 【PYTHON】leave one out cross validation
  • 【PYTHON】metric confusion
  • 【PYTHON】metric regression mae
  • 【VISUAL Csharp】Enumerate network resources
  • 【VISUAL Csharp】File Properties
  • 【Visual Studio VB NET】Clear Saved Passwords
  • 【Visual Studio VB NET】Swap mouse button
  • 【Visual Studio VB NET】System Properties Remote
  • 【Visual Studio Visual Csharp】Get computer name
  • 【Visual Studio Visual Csharp】Get Disk Free Space
  • 【Visual Studio Visual Csharp】Get processor type
  • 【Visual Studio Visual Csharp】IP Address
  • 【VISUAL VB NET】Delete Form Data
  • 【VISUAL VB NET】Delete History
  • 【VISUAL VB NET】Hibernate
  • 【VISUAL VB NET】Keyboard Properties
  • 【VISUAL VB NET】Sound
  • 【VISUAL VB NET】Tray Icon
  • 【VISUAL VB NET】Web Browser
  • 【Vuejs】 table implements adding and deleting
  • 【VUEJS】seamless carousel effect Marquee using transition

Blog Archive

  • October 2023 (25)
  • September 2023 (1209)
  • August 2023 (1224)
  • July 2023 (1259)
  • June 2023 (1245)
  • May 2023 (1194)
  • April 2023 (1137)
  • March 2023 (1163)
  • February 2023 (1107)
  • January 2023 (1313)
  • December 2022 (1358)
  • November 2022 (1353)
  • October 2022 (1300)
  • September 2022 (1208)
  • August 2022 (1279)
  • July 2022 (1228)
  • June 2022 (1164)
  • May 2022 (1176)
  • April 2022 (1184)
  • March 2022 (1337)
  • February 2022 (1232)
  • January 2022 (1321)
  • December 2021 (1932)
  • November 2021 (3065)
  • October 2021 (3186)
  • September 2021 (3078)
  • August 2021 (3175)
  • July 2021 (3198)
  • June 2021 (3136)
  • May 2021 (1856)
Powered by Blogger.