Forward assembly area
A forward assembly area buffers requested chunks in future restore-output order using advance knowledge from the backup recipe.
The fixed variant fills one output window before emitting it; the rolling variant advances a ring buffer after emitting a completed prefix. Account for the container input buffer and recipe metadata as well as assembly space. Repeated occurrences occupy separate output positions. [1]
In a fixed-size example, A A | B B | C C needs three reads, whereas A A B | B C C needs four. This is deterministic accounting, not measured restore speed or a result for the rolling variant. [2]
Restore differs from paging because the unit of I/O is a whole container of about 4 MB while the unit of use is a chunk of 4 to 8 KB, and the recipe gives the exact future chunk sequence. The area repeatedly takes the earliest unfilled position, loads its container and fills every position that needs a chunk from it, so each container is loaded once per slice and unused chunks are never kept. [1]
In simulation the rolling variant beat the fixed one by 7 to 23%, and at 128 MB to 1 GB per stream it was 1.2 to 2.7 times faster than an LRU container cache on one data set and 3.3 to 4.3 times on the other. [1] An independent study found it best of three restore algorithms when fragmented chunks were not rewritten, and an adaptive split between the area and a chunk cache raised average restore throughput by 38%. [3] [4]
Relations
Advantages
- No replacement policy and no copy from the read buffer are needed, so its computing cost is lower than that of a chunk cache. [4]
Limitations
- Duplicates reused beyond the area's range cause extra container reads; on one trace 77% of duplicated chunks were, and a chunk cache did better there. [4]
- With history-aware rewriting of fragmented chunks, an optimal cache outperformed it. [3]
- Memory is needed per stream, and systems restoring hundreds of streams multiply it: 200 streams at 128 MB each need 25.6 GB. [1]
Citations
- Lillibridge et al. Improving Restore Speed for Backup Systems that Use Inline Chunk-Based Deduplication. FAST 2013, section 3.3, pp. 186-187.
- Deduplication ratio does not predict restore cost
- Fu et al. Design Tradeoffs for Data Deduplication Performance in Backup Workloads. USENIX FAST 2015.
- Cao, Wen, Wu and Du. ALACC: Accelerating Restore Performance of Data Deduplication Systems Using Adaptive Look-Ahead Window Assisted Chunk Caching. FAST 2018.
Sources & caveats
- The original evidence is simulation by the technique's authors at a storage-company research laboratory (HP Labs), driven by two backup data sets.
- The three studies use different data sets, metrics and memory settings, so their numbers are not directly comparable; the two independent studies are university work.
- Memory figures count the area only, excluding the 4 MB I/O buffer and a recipe buffer of about 1-2% of the area; with LRU assumed to halve its memory by compression the gains were 1.03-1.56 and 1.4-3.4 times.
- Arithmetic: the paper's Table 1 slice of 22,886 bytes needs 4 container loads for 6 positions, and its repeated 4,037-byte chunk takes 17.6% of the slice; 25.6 GB assumes 200 streams.