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

  • Dug - Monday, August 8, 2011 - link

    I wish they would allow some type of iTunes server on the Time Capsule. Then I could stream to everything else such as my Apple TV's without having a computer on.
  • tsanga - Monday, August 8, 2011 - link

    Brian,

    When you took apart your older Airport Extreme, did you notice if the antennas might have been improperly connected? Swapping antenna hookups could result in better 2.4 GHz performance:
    http://www.smallnetbuilder.com/wireless/wireless-f...
  • Brian Klug - Tuesday, August 9, 2011 - link

    I'm not entirely sold on that smallnetbuilder conclusion from a long time ago, to say the absolute least. I suspect the swappage they experienced could be explained in other ways. Everything appears to match the way it should be assembled in the present state.

    -Brian
  • CharonPDX - Monday, August 8, 2011 - link

    I have both a first-generation "square" AirPort Express-n (10/100 Ethernet) and a second generation (that added Gigabit,) both of which are single-band-at-a-time only. (i.e. I have to choose between 2.4 or 5 GHz for my whole network, no mixing.)

    When using either one as the 'primary', if I use my maximum bandwidth and/or lots of open connections (I seed Torrents of Debian install images for alternate architectures, I swear!) it will lock up my internet connection every so often. I know it's not my cable modem or the cable company, because if I direct-connect my server, I have no problems. But through either AirPort, every half hour or so of heavy use, my internet will stall until I reboot the base station.

    Have you performed any such testing? I haven't read any complaints about newer generation ones, but want to make sure.
  • Brian Klug - Tuesday, August 9, 2011 - link

    You're using the device as a router in that configuration? I haven't heard of any such problems on the newer Gen 4 or 5, and I beat on mine pretty hard too and haven't seen it stall/hang.

    -Brian
  • weiran - Tuesday, August 9, 2011 - link

    I have the original N Airport Extreme (100Mb) and I don't suffer the issue you have. I did have problems with using Time Machine with an attached disk over WiFi causing router lockups, I've since disabled it and the AE runs weeks without issues.
  • davolfman - Monday, August 8, 2011 - link

    It's nice to see somebody using the Sheeva SOC's in a shipping product. Too bad the RAM and Flash is so low or it would make a tempting (better designed) Sheevaplug replacement.
  • bbarrera - Tuesday, August 9, 2011 - link

    Great article, however please change "AFS" (whatever that is) to AFP.
  • blueeyesm - Tuesday, August 9, 2011 - link

    I use the "n" Express with a D-Link wireless router and I've had no issues via WDS. It connected and maintained a strong signal through two floors of a house, and through two walls (one of which was a fire-rated wall) of an apartment.
  • pcworth - Tuesday, August 9, 2011 - link

    I was wondering if there are any differences in connection reliability and WIFI speed continuity. I have a Gen4 Extreme that was purchased in February and it seems like I have recently started to get slowdowns on the internal network that are corrected by resetting the unit using the Airport Software.

    I originally owned the b/g spaceship and a b/g express, but when we bought our iPads in April 2010 we noticed that the airport station would stop connecting until the units were restarted. We tried working around this using power timers to restart the units, but in the end we gave up and bought a new Gen4 extreme. This problem has now stopped.

    I have no idea whether the problem is a temporary glitch, a hardware problem, or my imagination. It does seem to affect the AppleTV most, which is at the opposite end of the house, because we find it sometimes takes a long time to start streaming from iTunes. When I go in and reset the unit, it seems to improve.

    I was wondering if there are any measures of speed stability, and connection stability, to determine whether the Gen5 is more reliable than the Gen4 and worth thinking about for an upgrade?

    Thanks!

Log in

Don't have an account? Sign up now