On 2023-04-27 10:14-0400 Matt Connell <m...@connell.tech> wrote: > On Thu, 2023-04-27 at 15:54 +0200, tastytea wrote: > > btrfs and zfs have some useful features for normal use cases. the > > transparent compression can save a lot of space and even increase > > speed in some cases, the checksumming guarantees that you will > > never get a corrupt file and snapshots make backups and rollbacks > > easier. > > Does the transparent compression incur an overhead cost in processing, > memory use, or disk writes? I feel like it certainly has to at least > use more memory. Sorry if that's an RTFM question.
it'll use more cpu and memory, but disk writes and reads will be lower, because it compresses it on the fly. it should detect early if a file is not compressible and stop. it's also possible (with btrfs at least) to enable it on a directory basis.