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.
- 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).
- 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.
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