calculate compression ratio of a set of files on btrfs


Compsize takes a list of files on a btrfs filesystem (recursing directories) and measures used compression types and the effective compression ratio.

Because of partially used extents on one hand, and multiple reflinks to an extent on the other, the definition of used space can be quite unintuitive. This program provides answers at different stages:
 * blocks on the disk
 * uncompressed extents
 * apparent file sizes (sans holes)

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install btrfs-compsize