container-capping · research

Container capping

Container capping limits the old containers referenced by a backup segment by storing selected duplicate chunks again.

A locality-versus-space trade-off, not a cap on total repository containers. [1]

The backup stream is cut into segments of about 20 MB, roughly 5,000 chunks. For each segment the old containers, about 4 MB each, are ranked by how many of the segment's chunks they hold, and the top T are kept. Duplicates found in other containers are stored again in the open container, so each segment's recipe refers to at most T old containers plus 1 to 5 new ones. [1]

With a 128 MB restore cache, giving up 2% of deduplication bought a 4.0 times restore speed-up on a workgroup data set and 8% bought 6.4 times, but with a 1 GB cache only 1.7 and 2.3 times. Over 480 backups fragmentation grew 11 times without capping, 6 times with 90 containers per segment and 1.4 times with 10. [1] At most T + 5 containers per 20 MB segment bounds the speed factor below by 20 / (T + 5), 0.8 for T = 20.

A 2015 study classes rewriting as the design dimension that trades deduplication ratio for restore speed and implements capping in an open-source test platform, whose code keeps the T containers that hold most of a buffer of pending chunks and marks the other duplicates for rewriting. [3] [4]

Relations

related
Data deduplication, Chunk fragmentation

Advantages

  • Combined with a forward assembly area for restore, capping gave larger speed-ups than either technique alone. [1]

Limitations

  • Each segment is capped on its own, which overlooks the relationship between consecutive segments. [4]
  • On a two-year synthetic data set, a 23% deduplication loss bought 8.8 times with a 128 MB cache but only 5.0 times with 1 GB. [1]
  • Ingestion needs an extra segment-sized buffer per stream and must still look up chunk locations before the cap is applied. [1]

Citations

  1. Lillibridge, Eshghi and Bhagwat. Improving Restore Speed for Backup Systems that Use Inline Chunk-Based Deduplication. USENIX FAST 2013. (accessed 2026-10-11)
  2. Fu et al. Design Tradeoffs for Data Deduplication Performance in Backup Workloads. USENIX FAST 2015. (accessed 2026-10-16)
  3. destor deduplication test platform, src/cap_rewrite.c, master branch (last commit April 2016). (accessed 2026-10-16)

Further reading

  1. Deduplication ratio does not predict restore cost (accessed 2026-10-11)
Sources & caveats
  • The capping paper is by authors at a storage-company research laboratory (HP Labs); its performance numbers come from two data sets and one LRU restore-cache model.
  • The independent 2015 study and its platform describe and implement capping but do not reproduce the capping numbers; its 27.69% loss for a 2.8 times speed-up concerns a different rewriting algorithm.
  • Speed is the paper proxy, the inverse of mean containers read per MB restored; the 24 ms per container used to convert it to MB/s is the paper's illustrative assumption.
  • Arithmetic: 20 MB / 4 KB = 5,120 chunks; 20 / (T + 5) is 1.33 for T = 10 and 0.21 for T = 90, ignoring cache hits across segments; at about 41.7 MB/s per unit these floors are about 56, 33 and 8.8 MB/s.
  • The deduplication-loss percentages are the paper's cumulative factors.

JSON: /data/terms/container-capping.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Container capping. Hesela. 2026-10-22. https://hesela.dev/terms/container-capping/