$bbtitle
Apple Stock: 194.34 ( +0.3099 )
RSS RSS Twitter Twitter
Search:
AppleInsider.com Archives News Bytes Reviews Anonymous Mailer Submit Story AppleInsider Forums Mac Prices Polls Advertise on AppleInsider Contact AppleInsider
Save up to $280 on new MacBook Pros and up to $150 on brand new iMacs with special coupons: Mac Pricing Guide updated Nov 6th (Find the best prices on Macs).
Wednesday, April 2, 2008

Exploring Time Capsule: Time Machine over the Network vs USB

By Prince McLean

Published: 08:00 AM EST

Time Capsule is billed as an ideal backup target for Time Machine. At the same time, networked drives (and particularly wireless shares) are often slower than a directly connected USB backup drive. This segment, the fifth of six exploring Time Capsule in depth, compares the pros and cons of using a solution like Time Capsule and the AirPort Extreme to perform Time Machine backups relative to using a directly attached hard drive.

Real World Tests: Network Time Machine vs USB Time Machine

Even at top speed and positioned in a rarified spectrum of bandwidth, 802.11n can't hold a candle to the throughput of a directly connected USB hard drive. Of course, connecting a USB hard drive to perform Time Machine backups is also not a brilliantly convenient setup. Additionally, Time Capsule supports Time Machine backups from multiple Macs; to do the same thing using a directly connected USB drive, you'd have to unplug the drive at regular intervals and attach it to each machine needing to be backed up.

Time Machine also deals with directly connected UBS hard drives (or Firewire or SATA drives) and network shares on Time Capsule or AirPort Extreme drives differently, making the two methods incompatible. Users have to decide between using Time Machine over the network or to a local disk; the same USB drive can't be shuttled between the two to create a single set of backups.

When using a directly connected drive, Time Machine saves its backup files in a hierarchy of folders by date. Part of the magic of Time Machine comes from the use of hard linked files, where a single data file on disk can be linked to multiple file records appearing in different folders. This enables the system to keep a full set of files for each backup session without actually duplicating the contents of the files that haven't changed. This also allows Time Machine to delete folders of backed up files that are no longer needed without coping any of the files around, yet maintain a full set of backups. Hard links were described in greater detail in the article Road to Mac OS X Leopard: Time Machine.

Apple added support for hard links to the Mac's native HFS+ file system to support Time Machine. Some file systems don't support hard links, so in order to consistently handle Time Machine backups on network shared file systems, Time Machine uses a different method of saving its files: it creates a sparse file disk image that appears to the native file system to be a standard file, but which Time Machine can internally organize as a virtual HFS+ disk with support for hard links. Inside this disk image, the hierarchy of hard linked files looks the same as that of a directly connected Time Machine disk.

There isn't a way to tell Time Machine to target a sparse file disk image of your own making however, so you can't use this method with a directly connected drive. Subsequently, the file layout between network connected drives and directly connected disks used by Time Machine are not compatible or interchangeable. That means you can't plug in a drive directly and begin a Time Machine backup, and then append further backup updates onto it after plugging the drive into a Time Capsule or AirPort Extreme as a network shared disk; Time Machine will simply copy all the files over again in parallel.

The best alternative short of that is to plug the base station into the host computer directly via Ethernet, and allow Time Machine to backup to the disk the fastest way possible for its first session. After it's complete, the base station can be unplugged and subsequent backups will occur wirelessly. This method can also be used anytime you've performed major changes and have a lot to back up, or whenever you want to accelerate your Time Machine backup session. As the numbers below indicate, its about two to four times faster to copy files over Ethernet compared to 802.11n.

USB vs Network File Sharing Shootout

For an idea of how much faster direct Gigabit Ethernet is to WiFi N or to a directly attached USB drive, we performed some tests again, twice, to see how much difference there would be between the tests. Note that wireless times tended to fluctuate wildly, while times for USB or Ethernet were far more consistent.
  • Directly attached to a MPB, our USB drive took 0:49 to copy the gigabyte of files.

  • The same drive, attached to Time Capsule via USB, took between 4:21 and 7:22 to copy via 802.11n using 5 GHz with wide channels.

  • Using the internal drive inside Time Capsule, it took between 5:45 and 6:30 to copy via 802.11n using 5 GHz with wide channels.

  • The external drive, attached to Time Capsule via USB, took between 2:19 and 2:20 to copy via Gigabit Ethernet.

  • The internal Time Capsule disk took between 1:39 and 1:40 to copy via Gigabit Ethernet.

  • The external drive, attached to a PowerMac G5 via USB, took between 0:38 and 0:43 to copy via Gigabit Ethernet, slightly faster than when it was used as a directly connected USB drive.

Clearly, wireless networking involves some mystically complex principles that result in a wide margin of performance variance: even with identical settings, files can take anywhere between 2:15 and 8:00 per gigabyte to copy. Still, WiFi also offers a level of convenience and at least fairly reasonable performance (when configured properly and in ideal conditions) that supports an increasing scope of useful applications, from AirTunes streaming to file and print sharing to Time Machine automated backups.

By tuning your WiFi network to get the most of your signal, you can expect decent performance from background backups and centralized file sharing without having to string up Ethernet cables. If you already have an Ethernet network in place, Time Capsule doesn't offer the most impressive file server performance; it's really quite disappointing for use as a Gigabit Ethernet file share host.

Remember that if you need better disk performance than Time Capsule can offer on its own, you can attach an Ethernet NAS appliance to the base station's Gigabit Ethernet LAN ports, or alternatively use Personal File Sharing on a Mac similarly connected via the Gigabit Ethernet switch. Wireless clients likely won't see any difference in their access to the file server, but wired clients will. Such an alternative is also significantly more expensive, larger, and will consume more power.

page 2 of 2: Charting Performance: USB vs 802.11n vs Gigabit Ethernet; and Gigabit NAS vs USB RAID.

Filed under : Current Hardware 38 Comments ] 
Story topics: AirPort Extreme, Time Capsule, Time Machine   Print ] [ Story Link ] 


Pre-Order VMware Fusion 3
RSS
RSS
RSS
Mac Poker players can play Full Tilt Poker for Mac and get 100% to $600 free with bonus code MP600, courtesy of Online Poker Mac
AppleInsider Features
Hot Forum Topics

Recent Articles
Doom game creator suggests Apple embarrassed about iPhone gaming
Report: Apple to launch Verizon iPhone in Q3 2010
Apple unveils holiday shopping in-store pickup option
Apple's Broadway store to open Saturday, Nov. 14
Bizarre lawsuits connect Apple with Sarah Jessica Parker, Lil' Wayne
Apple predicted to countersue in legal battle with Nokia
Windows 7 tops Vista software sales, lags behind in hardware
Report: Apple testing RFID swipe support in iPhone prototypes
Inside Google's Android and Apple's iPhone OS as core platforms
Apple looks to hire new iPhone OS security manager
Apple investigating 'Grab & Go' simplified cross-platform sync
Apple co-founder Steve Jobs named Fortune 'CEO of the Decade'
Review roundup: Motorola Droid, Verizon's first Android handset
Apple's latest 10.6.2 beta packs fixes for VMWare, iMacs, Apple TV
Latest Snow Leopard build resurrects Atom compatibility
Bell, Telus provide new iPhone competition in Canada
'Art project' video game attacks Apple Mac machines
Hacker cracks Apple's latest iPhone 3GS security measures
The Beatles go digital with apples, but still not Apple's iTunes
Apple announces App Store offerings top 100,000
Apple launches iTunes Music Movies with exclusive content
Parallels Desktop 5 for Mac claims speed superiority
AT&T brings lawsuit against Verizon over 'Map' ad campaign
Canalys Q3 2009: iPhone, RIM taking over smartphone market
Hit-or-miss site claims 4G iPhone part; French exclusivity ends
Despite disappointing China debut, iPhone's 2010 predicted to be strong
Philadelphia's first Apple store moves closer to reality
Exclusive look at Apple's new iPod touch-based EasyPay checkout
China Unicom gains 5,000 iPhone subscribers from launch
iPhone makes enterprise market inroads for Apple
Apple pitches $30-a-month iTunes TV subscriptions - report
Apple's iPhone sees tepid sales debut in China
Apple's 2010 capital expenditures could signal major investments
Apple rumored to disable Atom support with Mac OS X 10.6.2
Apple advertising guru says he's 'not going anywhere'
First Look: Apple's 27" big screen iMac
Last chance this year to save an extra 3% on iMacs, white MacBooks
Visionary behind Apple's '1984' advertisement steps down
Flash playback issues reported on Apple's new 27-inch iMacs
Apple expands school initiative with Atlanta MacBook program

AppleInsider Market Place

Sell your Laptop - working or not. Free shipping.: Get an instant online quote and sell your laptop today !

Believe in Office: Save Up To 25% on Office 2004 For Mac. Visit Our Site for Details!

IBackup - SMB Online Backup: IBackup is the preferred online storage and backup service of choice for SMBs for its ease of use, security and value. Offers automated backup and restore, file selection and securiy.

Download free software - everyday updated freeware files

 
Advertisements








AppleInsider RSS Feed
AppleInsider © 1997-2008
Please review our Privacy Policy.
Written/Edited/Compiled by the AppleInsider Staff.