Skip to content

Instantly share code, notes, and snippets.

@mayli
Created January 29, 2019 19:59
Show Gist options
  • Save mayli/b9fff37db092ec60c19a3bf9c10dcdb8 to your computer and use it in GitHub Desktop.
Save mayli/b9fff37db092ec60c19a3bf9c10dcdb8 to your computer and use it in GitHub Desktop.
dedupe?
Simulated DDT histogram:
bucket allocated referenced
______ ______________________________ ______________________________
refcnt blocks LSIZE PSIZE DSIZE blocks LSIZE PSIZE DSIZE
------ ------ ----- ----- ----- ------ ----- ----- -----
1 13.6M 6.60T 6.34T 6.34T 13.6M 6.60T 6.34T 6.34T
2 980K 156G 144G 145G 1.99M 327G 302G 304G
4 74.1K 6.75G 5.26G 5.40G 339K 31.7G 24.7G 25.4G
8 13.0K 1.70G 1.39G 1.42G 131K 20.0G 16.9G 17.2G
16 3.20K 778M 701M 707M 69.5K 16.5G 14.8G 14.9G
32 1.38K 67.8M 50.6M 56.0M 67.1K 3.19G 2.44G 2.70G
64 329 286M 279M 279M 22.3K 18.9G 18.3G 18.3G
128 9 794K 189K 202K 1.44K 130M 28.2M 30.3M
256 8 769K 25K 42.6K 2.64K 247M 8.05M 14.0M
512 2 1K 1K 10.7K 1.08K 552K 552K 5.74M
2K 1 512B 512B 5.33K 2.08K 1.04M 1.04M 11.1M
8K 1 128K 128K 128K 9.06K 1.13G 1.13G 1.13G
Total 14.7M 6.77T 6.48T 6.49T 16.3M 7.01T 6.71T 6.71T
dedup = 1.03, compress = 1.05, copies = 1.00, dedup * compress / copies = 1.08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment