2 ms·
What's the compressibility of this? As a whole it looks highly compressible but with something like s3 and everything being its own file, it may not be getting
by tehlike 3y ago
What's the compressibility of this? As a whole it looks highly compressible but with something like s3 and everything being its own file, it may not be getting utilized.
- _piif 3y agoThe nix store in of itself should be highly compressible. Here's the output of "compsize -x /nix/store" on my BTRFS root with compress-force=zstd:6 Processed 974464 files, 327323 regular extents (751261 refs), 598287 inline. Type Perc Disk Usage Uncompressed Referenced TOTAL 40% 11G 28G 60G none 100% 2.7G 2.7G 6.2G zstd 34% 8.9G 25G 54G Nix also supports automatic deduplication using hardlinks which I have enabled in this case.
- dinvlad 3y agoIt seems they're already using compression at least for some assets, though a bit unclear which algo it is: https://discourse.nixos.org/t/nixos-foundations-financial-summary-a-transparent-look-into-2022/28107/12 https://discourse.nixos.org/t/nixos-foundations-financial-su...
- aidenn0 3y agoThe cache is highly duplicated, but the output of each derivation is compressed with xz, which severely limits options for deduping.