• 0 Posts
  • 11 Comments
Joined 4 years ago
cake
Cake day: January 14th, 2021

help-circle









  • Here are some results from my Pinebook Pro, with compsize:

    compsize -x /
    Processed 158309 files, 103091 regular extents (114530 refs), 72799 inline.
    Type       Perc     Disk Usage   Uncompressed Referenced  
    TOTAL       57%      3.2G         5.6G         7.0G       
    none       100%      2.0G         2.0G         2.4G       
    zstd        33%      1.2G         3.5G         4.5G
    
    compsize -x /home
    Processed 7203 files, 15051 regular extents (22906 refs), 1738 inline.
    Type       Perc     Disk Usage   Uncompressed Referenced  
    TOTAL       99%       28G          29G          29G       
    none       100%       28G          28G          28G       
    zstd        30%       99M         330M         363M       
    prealloc   100%      4.0M         4.0M          34M
    

    Where there is easily-compressible data (/), the gains are definitely here. I’ve even reached as low as 49% on my main machine, also with ZSTD set to 3.

    However, where the data is not so easily compressible like /home, where I mostly have music and games, the compression is almost non existent.

    I haven’t measured it, but I’m pretty sure there is a performance improvement even on the Pinebook Pro’s weak CPU. Reading 100MB of data and uncompressing it is faster than having to read 200MB directly, especially on very weak/slow disks.