Disk Performance

The next question on my mind was disk performance. I don’t own a Time Capsule for backing up my singular Mac; instead I use a hard drive dock attached to the Airport Extreme over USB 2.0 for that purpose. So the question now becomes, is it dramatically faster to use the Time Capsule’s internal disk over SATA II instead of a USB 2.0 attached dock? The question is almost rhetorical (of course SATA II is going to beat USB 2.0, right?), but nevertheless we want numbers.

When a disk is attached with USB to the Time Capsule or Airport Extreme, you have the option of sharing the disk like an ordinary AFS or even SMB share with or without a password. The Airport Extreme or Time Capsule pops up under devices in finder, and then you can mount specific shares which appear just like a normal volume to OS X. Rather than time the creation of an entire fresh Time Machine backup on each configuration, I settled on measuring performance across the network to the drive using QuickBench while connected over GigE.

Before we go into the performance numbers, let’s talk about changing out drives in the Time Capsule. The nice part about the Airport Utility is that there’s a one-click erase button for automatically partitioning any drive properly for the Time Capsule. There are even options for making that wipe take place with multiple passes in case you’re trying to delete some really shady, erm, scientific research.

Anyhow, clicking erase from the airport utility makes the drive usable without the need for any preformatting. It’s almost as if Apple expects people to try to upgrade the disk on their own in the future or to make it easy to service. Doing so and then taking the drive out for inspection reveals three partitions. You can see these three partitions by running diskutil list on the drive.

/dev/disk5
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *240.1GB disk5
1: Apple_HFS APconfig 1.1GB disk5s1
2: Apple_HFS APswap 1.1GB disk5s2
3: Apple_HFS Untitled 1 237.9GB disk5s3

So no matter how you slice it, you lose 2.2GB to overhead just from the Time Capsule partitioning things how it wants. I couldn’t find anything inside APswap, at least after a fresh format. Inside APconfig is a file named AFP.reconnect_keys which contains a mysterious unintelligible string, perhaps a hash of some kind or a token used to authenticate clients. Regardless, it’s apparent that the architecture for Time Machine on a Time Capsule differs from the external disk method when a drive is attached over USB. I learned on my own that these backups aren’t easily portable between the two, though you can actually migrate backups off of the Time Capsule to an attached disk by clicking Archive.

When using the disk attached using USB however, you have to preformat the drive as HFS+ yourself, but in that case one large partition suffices. Then you back up to .sparsebundles inside that, and essentially Time Machine treats the thing like a network attached drive.

So on to the performance testing. In true AnandTech fashion, the disk I chose to use for testing was a Vertex 3 MAX IOPS 240GB SSD, just to eliminate the disk as being a potential bottleneck in the performance benchmarking. To start, I took a baseline test with my rather generic Rosewill USB 2.0 dock attached directly to the MBP. Next, that same volume when connected across the network to the Airport Extreme using USB 2.0, then the Time Capsule using USB 2.0, and finally installed inside the Time Capsule using SATA II (3.0Gbps). I present to you the (probably) first Time Capsule with an SSD inside.

For good measure, I also tested the Time Capsule with the shipping 2TB WD Green, and one of my own personal 3TB WD Greens inside, just to see how platter drives fare. I also threw in one test where I connected over WLAN instead of gigabit ethernet directly to the devices.

First up is sequential read speeds, which aren’t critically important for backing things up (since you’re probably more concerned with write performance) but hugely important for restoring and verifying or indexing backups. Connected directly to the devices, we can essentially max out gigabit ethernet with 80+MB/s transfers, or just shy of 700 Mbps. Some individual tests are even at 100MB/s (800 Mbps), but these are the averages of those 20-100MB size tests.

Sequential Read Speeds (20-100MB Transfer Average)

SATA II here gives a huge advantage over USB 2.0 and comes close to hitting the limits of gigabit ethernet. Oddly enough, USB 2.0 performance isn’t even limited by the dock, but rather the controller. Connected directly to the notebook, performance is almost 10MB/s faster.

Sequential Write Speeds (20-100MB Transfer Average)

Reads show a similar, if interesting, story. SATA II again proves noticeably faster than the USB 2.0 route, but performance seems capped to around 40MB/s. Obviously the Vertex 3 can write way faster than this, but the controller seems to be strained to the limit when making writes. This is a bit frustrating considering mostly what the device is going to be doing is writing stuff to disk every couple of hours.

As Anand will tell you, no sequential write is ever really truly sequential, so small block performance is also important. I selected the 4 KB block test and analyzed results, which show that for writes we’re pretty much limited to the same 1.0MB/s even on a stupidly fast SSD both over SATA and USB 2.0, again the controller or network overhead with so many small transfers seems the limit.

Sequential Write Speeds (4 KB Transfer Average)

On reads, the same story applies, with everything stuck around 8MB/s over gigabit or the dock. WLAN performance suffers considerably.

Sequential Read Speeds (4 KB Transfer Average)

If you’re going to be doing lots of backing up and care about speed (or don’t mind the extra price), the Time Capsule’s SATA II interface makes it a considerably faster experience compared to the cheaper USB 2.0 dock solution. It ends up being twice as fast at writing and over three times as fast at reading to use the Time Capsule over the Airport Extreme. Of course if you’re going to be using WiFi to back things up, all bets are really off and the performance gains of using the Time Capsule over the Airport Extreme largely erode away.

WiFi Throughput and Range - Improved Airport Utility and Networking Functions
Comments Locked

90 Comments

View All Comments

  • bigrobsf - Friday, August 5, 2011 - link

    Minor typo in AFS discussion paragraph in the "WiFi Throughput and Range - Improved page:

    "Airport Extreme makes a hue difference"

    I'm guessing you wanted to write "huge" :-)
  • Brian Klug - Saturday, August 6, 2011 - link

    Good catch, thanks, should be fixed!

    -Brian
  • iwod - Saturday, August 6, 2011 - link

    I just wish they put out a Raid 1 2.5" HDD Time Capsule so i know my data is going to fairly safe. HDD failure are happening more often these days and with their huge capacity i just cant afford to lose some of my content.
  • repoman27 - Saturday, August 6, 2011 - link

    Just use one of these: http://www.icydock.com/goods.php?id=121

    Combine with a brace of Western Digital WD10JPVT or Samsung Spinpoint M8 HN-M101MBB and you'll have 1 TB of RAID 1 goodness.
  • Penti - Sunday, August 7, 2011 - link

    Raid 1 doesn't really protect from bit rot, just pure 1 drive failure. However they should take reliability and data corruption seriously, but it's not enterprise hardware so you can't really expect it.
  • jackwong - Sunday, August 14, 2011 - link

    I will never go with TC unless they have a better backup solution of the TC itself.

    I have a Synology 1 bay NAS with a external USB to backup all the contents on it.
  • cheinonen - Saturday, August 6, 2011 - link

    Though I imagine most people won't be confused, labeling it as "Smaller values are better" when all the values are negative could cause people to read the data incorrectly. Perhaps "Closer to 0 is better" or something else?
  • Brian Klug - Saturday, August 6, 2011 - link

    Totally agreed, edited those tables to make it more easy to follow.

    -Brian
  • jigglywiggly - Saturday, August 6, 2011 - link

    time capsule wins an award for stealing your money.
    500$ for a wireless 3tb hd? Don't be sodding st00pid.
  • repoman27 - Saturday, August 6, 2011 - link

    $300 for a $150 simultaneous dual-band, three-stream router with gigabit switch, on board SATA controller and an $80 HD, all in one compact little unit along with the PSU? Not a bad deal, really.

    Paying $200 (2/3) more for a $70 HD upgrade that only provides 50% more storage space? Questionable, but Apple knows that most people won't bother to upgrade themselves because they'd be out of pocket an additional $150 for the drive and then have to open a brand new device to make the swap.

Log in

Don't have an account? Sign up now