Efficient Hybrid Inline and Out-of-line Deduplication for Backup Storage

Yan Kit Li, Min Xu, Chun-Ho Ng, Patrick P. C. Lee

Deduplication is a cornerstone of modern backup storage, often achieving 20x data reduction. However, traditional inline deduplication suffers from "fragmentation debt." As new backups reference older data, the latest (and most critical) backup becomes physically scattered across the disk, crippling restore performance. RevDedup addresses this by introducing a hybrid architecture that combines coarse-grained inline deduplication with a novel "reverse deduplication" mechanism. This approach ensures that the most recent backup remains unfragmented, delivering up to 5x faster restore speeds while maintaining high storage efficiency.

The Fragmentation Problem

Standard inline deduplication creates a "forward-pointing" dependency (New → Old). Over time, the latest backup becomes a patchwork of references to data stored months ago. This fragmentation leads to excessive disk seeks during restoration. Furthermore, deleting expired backups is computationally expensive because newer backups depend on their data, requiring slow global garbage collection scans.

System Design: A Two-Phase Hybrid Approach

RevDedup solves this by shifting the fragmentation debt to older, archival backups. It operates in two distinct phases within a defined retention window.

Figure 1: The RevDedup architecture divides the backup lifecycle into a Live Window for high-performance ingestion and an Archival Window where reverse deduplication optimizes storage.
  1. Phase 1: Coarse-grained Inline Deduplication. During the backup write path, data is processed in large multi-megabyte "segments." The system performs inline deduplication at this level to catch massive duplicates with minimal metadata overhead. This allows the index to remain in RAM, maintaining high backup throughput (up to 30 GB/s).
  2. Phase 2: Fine-grained Reverse Deduplication. In the background, segments are broken into kilobyte-scale "chunks." RevDedup then identifies duplicates in older backups and points them to the newer backup.

Key Innovation: The Reverse Reference Trick

The defining feature of RevDedup is the "Reverse Reference Trick." Instead of the latest backup pointing to old data, the system rearranges references so that older versions point to the latest one.

Figure 3: Comparison of data layout before and after reverse deduplication. Older versions (X0-X2) are updated to point to the newest version (X3), ensuring X3 remains physically contiguous.

This ensures the latest backup is always stored contiguously on disk. While this fragments older backups, they are rarely accessed. This design also simplifies data deletion: when a backup expires, it no longer has newer backups depending on it, allowing for efficient, timestamp-based reclamation that completes in seconds rather than hours.

Evaluation and Results

The system was evaluated using synthetic VM backups and a 7.2TB real-world dataset of student VM images.

  • Restore Performance: RevDedup achieved 4x to 5x higher restore throughput for the latest backup compared to traditional inline systems. Performance remained stable over time, whereas traditional systems saw an 80% drop due to fragmentation.
  • Storage Efficiency: It achieved 93-97% storage reduction, matching the efficiency of fine-grained inline deduplication.
  • Deletion Speed: Incremental deletion is orders of magnitude faster than the traditional mark-and-sweep approach.

Conclusion

RevDedup demonstrates that the trade-off between storage efficiency and restore performance can be resolved by prioritizing the "Live Window." By shifting fragmentation to archival data through reverse deduplication, it provides a high-performance solution for modern backup needs. Future work includes optimizing the interaction with local compression and scaling metadata stores for petabyte-level deployments.

Summary updated

BibTeX
@article{li2015efficient,
  author = {Yan Kit Li and Min Xu and Chun-Ho Ng and Patrick P. C. Lee},
  title = {{Efficient Hybrid Inline and Out-of-line Deduplication for Backup Storage}},
  journal = {ACM Trans. Storage},
  year = {2015},
  doi = {10.1145/2641572},
}
Figure