M.Sc Thesis

M.Sc StudentRosenfeld Eitan
SubjectRAIDP: Replication with Intra-Disk Parity
DepartmentDepartment of Computer Science
Supervisors ASSOCIATE PROF. Dan Tsafrir
DR. Michael Factor
Full Thesis textFull thesis text - English Version


Distributed storage systems often triplicate data to reduce the risk of permanent data loss, thereby providing failure tolerance for at least two simultaneous disk failures at the price of 2/3 of the capacity. To reduce this price, some systems utilize erasure coding. But this optimization is usually only applied to cold data, because erasure coding might hinder performance for warm data.

We propose RAIDP - a new point in the distributed storage design space between replication and erasure coding. RAIDP largely retains the benefits of replication, trading off some performance for substantially reduced storage and networking overheads. RAIDP maintains only two replicas, rather than three or more. It increases durability by utilizing small disk ``add-ons'' for storing intra-disk erasure codes that are local to the server and fail independently from the disk. By carefully laying out the data, the add-ons allow RAIDP to recover from simultaneous disk failures. (Add-ons can be stacked to withstand an arbitrary number of failures.) We implement RAIDP in HDFS, which triplicates by default. We show that RAIDP performs within 0%-24% of the baseline while halving the storage and networking overheads and providing similar durability.