Skip to main content
QUICK REVIEW

[Paper Review] SMORE: A Cold Data Object Store for SMR Drives (Extended Version)

Peter Macko, Xiongzi Ge|arXiv (Cornell University)|May 26, 2017
Advanced Data Storage TechnologiesComputer Science22 references5 citations
TL;DR

SMORE is a log-structured, erasure-coded object store designed for host-managed or host-aware SMR drives, enabling full disk bandwidth for large object ingestion and efficient garbage collection via zone migration. It achieves low write amplification (<2.0 at 80% occupancy) and sub-minute crash recovery by interleaving log records with object data for index resilience without additional logging.

ABSTRACT

Shingled magnetic recording (SMR) increases the capacity of magnetic hard drives, but it requires that each zone of a disk be written sequentially and erased in bulk. This makes SMR a good fit for workloads dominated by large data objects with limited churn. To explore this possibility, we have developed SMORE, an object storage system designed to reliably and efficiently store large, seldom-changing data objects on an array of host-managed or host-aware SMR disks. SMORE uses a log-structured approach to accommodate the constraint that all writes to an SMR drive must be sequential within large shingled zones. It stripes data across zones on separate disks, using erasure coding to protect against drive failure. A separate garbage collection thread reclaims space by migrating live data out of the emptiest zones so that they can be trimmed and reused. An index stored on flash and backed up to the SMR drives maps object identifiers to on-disk locations. SMORE interleaves log records with object data within SMR zones to enable index recovery after a system crash (or failure of the flash device) without any additional logging mechanism. SMORE achieves full disk bandwidth when ingesting data---with a variety of object sizes---and when reading large objects. Read performance declines for smaller object sizes where inter- object seek time dominates. With a worst-case pattern of random deletions, SMORE has a write amplification (not counting RAID parity) of less than 2.0 at 80% occupancy. By taking an index snapshot every two hours, SMORE recovers from crashes in less than a minute. More frequent snapshots allow faster recovery.

Motivation & Objective

  • Address the challenge of efficiently storing large, rarely modified data objects on SMR drives, which require sequential writes and bulk erasures.
  • Overcome the limitations of drive-managed SMR by designing a system that exploits SMR’s high sequential throughput and low cost per TB.
  • Enable reliable and high-performance storage for workloads like media, backups, and virtual machine images where data is written once and read sequentially.
  • Minimize write amplification and ensure fast crash recovery in the presence of random deletions and system failures.
  • Design a system that supports both standalone deployment and integration into distributed storage systems like HDFS.

Proposed method

  • Uses a log-structured approach to write data sequentially into large, shingled zones on SMR drives, respecting the sequential write constraint.
  • Employs erasure coding across zones on separate drives to provide fault tolerance and reliability without requiring full replication.
  • Introduces a separate garbage collection thread that migrates live data from partially filled zones to reclaim space and enable zone trimming.
  • Maintains a flash-backed index mapping object IDs to on-disk locations, with periodic snapshots for crash recovery.
  • Interleaves journal log records with object data within SMR zones to enable crash recovery without additional logging, ensuring index consistency after failure.
  • Uses zone-set tables to manage flexible, dynamic grouping of zones across drives, enabling rebuilds into vacant zones without spare drives.

Experimental results

Research questions

  • RQ1How can a storage system efficiently utilize the high sequential bandwidth of SMR drives while respecting their sequential write and bulk erase constraints?
  • RQ2What techniques can minimize write amplification in SMR-based systems under worst-case churn patterns, such as random deletions?
  • RQ3How can crash recovery be achieved efficiently and reliably without relying on external logging mechanisms?
  • RQ4Can a log-intertwined design enable index consistency and fast recovery after system or flash device failure?
  • RQ5To what extent can a specialized object store like SMORE achieve full disk bandwidth for diverse object sizes and realistic workloads?

Key findings

  • SMORE achieves full disk bandwidth during data ingestion across a variety of object sizes, demonstrating efficient utilization of SMR drive throughput.
  • Under worst-case random deletion patterns at 80% disk occupancy, SMORE exhibits a write amplification of less than 2.0 (excluding RAID parity), indicating strong efficiency.
  • Crash recovery is achieved in under one minute by leveraging periodic index snapshots (every two hours), with faster recovery possible with more frequent snapshots.
  • The interleaving of log records with object data enables crash recovery without any additional logging mechanism, simplifying the system and improving reliability.
  • Garbage collection effectively reclaims space by migrating data from the emptiest zones, allowing reuse of zones without requiring spare drives.
  • The system supports both standalone deployment and integration into distributed systems like HDFS, enhancing its applicability to large-scale storage environments.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.