On 18/01/2022 15.13, Carlos E. R. wrote:
On 25/12/2021 15.16, Carlos E. R. wrote:
... (btrfs compression)
What it (the man) does not explain are the TOTAL, none, zlib rows.
I think we have to look at the "TOTAL" rows. Compression is less than what "zstd 3" gets, but if the goal is speed, then it is better without zstd (which also facilitates recovery). At least on a powerful computer running 15.3.
So, the results can vary a lot per machine.
Maybe the kernel varies the btrfs compression effort depending on CPU?
Something else: it seems that the kernel continues working on compression after the file is written to disk. For example, I imaged sdc8 which is xfs, holding /opt. Compsize run immediately after writing the image said: Type Perc Disk Usage Uncompressed Referenced TOTAL 12% 1.1G 9.6G 9.6G but hours later said: TOTAL 8% 4.3G 50G 50G On sdd9, ext4, I got: TOTAL 44% 28G 63G 63G ... TOTAL 44% 28G 64G 64G -- Cheers / Saludos, Carlos E. R. (from oS Leap 15.3 x86_64 (Erebor-4))