Find compression type/ratio on Btrfs files
compsize
takes a list of files (given as arguments) on a Btrfs file system and measures used compression types and effective compression ratio, producing a report.
A directory has no extents but has a (recursive) list of files. A non-regular file is silently ignored.
As it makes no sense to talk about compression ratio of a partial extent, every referenced extent is counted whole, exactly once -- no matter if you use only a few bytes of a 1GB extent or reflink it a thousand times. Thus, the uncompressed size will not match the number given by tar
or du
. On the other hand, the space used should be accurate (although obviously it can be shared with files outside our set).
System | Target | Derivation | Build status |
---|---|---|---|
x86_64-linux | /gnu/store/fnxrv5x58gv6z8bz7dz0zclgkna4hj1a-compsize-1.5.drv | ||
x86_64-linux | i586-pc-gnu | /gnu/store/cry8xgkvdi14smwd3hnvq0bnlqg2mcz2-compsize-1.5.drv | |
x86_64-linux | arm-linux-gnueabihf | /gnu/store/facx0qx782q2l64z2h8vx3bqhh4kdzji-compsize-1.5.drv | |
x86_64-linux | aarch64-linux-gnu | /gnu/store/ynqvaan5pnsah5f6wi54ikik8kcakw1k-compsize-1.5.drv | |
powerpc64le-linux | /gnu/store/r52qqg9mwx1s820n6hzdfr37gi0y1bij-compsize-1.5.drv | ||
mips64el-linux | /gnu/store/085glm3n6h3m7n2ps1m5ahawxsi87mcm-compsize-1.5.drv | ||
i686-linux | /gnu/store/9xc13vzywqb18fp8n0nnb6ybhha85lna-compsize-1.5.drv | ||
i586-gnu | /gnu/store/rncspd86vyripfnvmwxn9396ak6h1063-compsize-1.5.drv | ||
armhf-linux | /gnu/store/3hznmz146ais8cpch3rjick52z4mwxsc-compsize-1.5.drv | ||
aarch64-linux | /gnu/store/3vj3vfd0215xlsxpa1bhvjlxkmdq9cyv-compsize-1.5.drv |
Linter | Message | Location |
---|---|---|
No lint warnings ✓ |