Suvarna Garge (Editor)

Fusion Drive

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

Fusion Drive is Apple Inc.'s name for its implementation of a hybrid drive. Apple's implementation combines a hard disk drive with a NAND flash storage (solid-state drive of 24 GB or more) and presents it as a single Core Storage managed logical volume with the space of both drives combined.

Contents

The operating system automatically manages the contents of the drive so the most frequently accessed files are stored on the faster flash storage, while infrequently used items move to or stay on the hard drive. For example, if spreadsheet software is used often, the software will be moved to the flash storage for faster user access. In software, this logical volume speeds up performance of the computer by performing both caching for faster writes and auto tiering for faster reads.

Availability

The Fusion Drive was announced as part of an Apple event held on October 23, 2012 with the first supporting products being two desktops: the iMac and Mac Mini with OS X Mountain Lion released in late 2012. Fusion Drive remains available in subsequent models of these computers, but was not expanded to other Apple devices: the latest MacBook and Mac Pro models use exclusively flash storage, and while this is an optional upgrade for the mid-2012 non-Retina MacBook Pro still sold by Apple, it will replace the standard hard disk drive instead of complementing it in the fashion of Fusion Drive. Supported products have the following configurations:

Design

Apple's Fusion Drive design incorporates proprietary features with limited documentation. It has been reported that the design of Fusion Drive has been influenced by a research project called Hystor. According to the paper, this hybrid storage system unifies a high-speed SSD and a large-capacity hard drive with several design considerations of which one has been used in The Fusion Drive.

  1. The SSD and the hard drive are logically merged into a single block device managed by the operating system, which is independent of file systems and requires no changes to applications.
  2. A portion of SSD space is used as a write-back buffer to absorb incoming write traffic, which hides perceivable latencies and boosts write performance.
  3. More frequently accessed data is stored on the SSD and the larger, less frequently accessed data stored on the HDD.
  4. Data movement is based on access patterns, if data had been on the HDD and suddenly became frequently accessed, it would usually get moved to the SSD by the program controlling the Fusion Drive. During idle periods, data is adaptively migrated to the most suitable device to provide sustained data processing performance for users.

Several experimental studies have been conducted to speculate the internal mechanism of Fusion Drive. A number of speculations are available but not completely confirmed.

  1. Fusion Drive is a block-level solution based on Apple's Core Storage, a logical volume manager managing multiple physical devices. The capacity of a Fusion Drive is confirmed to be the sum of two devices. Fusion Drive is file system agnostic and effective for both HFS Plus and ZFS.
  2. Part of the SSD space is used as a write buffer for incoming writes. In the stable state, a minimum 4GB space is reserved for buffering writes. A small spare area is set aside on the SSD for performance consistency.
  3. Data is promoted to the SSD based on its access frequency. The frequency is detected at the block level and below file system memory cache. Data migration happens in 128KB chunks during idle or light I/O periods.
  4. Operating system and other critical documents are always cached on the SSD. Applications are likely to be handled similarly. A regular file can reside on both devices.

References

Fusion Drive Wikipedia