Announcement

Collapse
No announcement yet.

Fedora Developers Evaluating Compression Options For Btrfs-By-Default Proposal

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #21
    Originally posted by RomuloP View Post

    BTRFS does the same per file, zstd can skip in-compressible data automatically. And the heuristic is pretty fast, more than 1GB/s per thread. To the point you have `compress` and `compress-force`
    I wish I could remember where I read this, but with BTRFS+Zstd you want to exclusively use "compress-force" because "compress" will use the kernel's built-in heuristic to skip files where as "compress-force" will use Zstd's faster heuristic.

    Comment


    • #22
      Originally posted by skeevy420 View Post

      I wish I could remember where I read this, but with BTRFS+Zstd you want to exclusively use "compress-force" because "compress" will use the kernel's built-in heuristic to skip files where as "compress-force" will use Zstd's faster heuristic.
      In fact kernel heuristic was fast but poor. I'm not sure this is a problem since kernel 4.15. Kernel heuristic nowadays is quite sophisticated and probably as fast according to btrfs wiki, only bench-marking to be sure it is worth it.
      RomuloP
      Senior Member
      Last edited by RomuloP; 09 July 2020, 12:20 PM.

      Comment

      Working...
      X