arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1705.09701cs.OS
收藏

SMORE:用于SMR驱动器的冷数据对象存储(扩展版)

SMORE: A Cold Data Object Store for SMR Drives (Extended Version)

Peter Macko, Xiongzi Ge, John Haskins, James Kelley, David Slik, Keith A. Smith, Maxim G. Smith

摘要:

叠瓦式磁记录(SMR)增加了磁性硬盘驱动器的容量,但它要求磁盘的每个区域都按顺序写入并批量擦除。这使得SMR非常适合由具有有限扰动的大型数据对象主导的工作负载。为了探索这种可能性,我们开发了SMORE,这是一种对象存储系统,旨在可靠有效地在主机管理或主机感知SMR磁盘阵列上存储大型,很少更改的数据对象。SMORE使用日志结构的方法来适应对SMR驱动器的所有写入必须在大型叠瓦区域内顺序进行的约束。它将数据分条到不同磁盘上的不同区域,使用擦除编码来防止驱动器故障。一个单独的垃圾回收线程通过将活动数据迁移出最空的区域来回收空间,以便可以修剪和重用这些数据。存储在闪存上并备份到SMR驱动器的索引将对象标识符映射到磁盘上的位置。SMORE将日志记录与SMR区域内的对象数据交错,以在系统崩溃(或闪存设备故障)后启用索引恢复,而无需任何额外的日志记录机制。SMORE在接收数据(具有各种对象大小)和读取大型对象时实现全磁盘带宽。对于较小的对象大小,读取性能下降,其中对象间寻道用时占主导地位。在随机删除的最坏情况模式下,SMORE在80%占用率下的写入放大(不计算RAID奇偶校验)小于2.0。通过每两小时拍摄一次索引快照,SMORE在不到一分钟的时间内从崩溃中恢复。更频繁的快照可以实现更快的恢复。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑