Re: New tool to recursive compress / decompress of files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 21 Mar 2015 18:56:12 +0100
Petr Bena <benapetr@xxxxxxxxx> wrote:

> unlike NTFS, compressing files in btrfs is not so simple

There shouldn't be any need to micro-manage compression on Btrfs on a
per-folder or per-file basis. Just mount the whole volume as compress=[method]
(but not compress-force), there shouldn't be any downside, on the contrary,
with the current ratio of CPU core count and their performance to disk I/O
speed, you are likely to even see a speed-up. Also files which are detected to
be incompressible are automatically skipped from compression (at least that's
what it tries to do by design).

If you want higher performance and less fragmentation on certain files/folders,
you are supposed to set them NOCOW, at which point the compression is also
automatically disabled.

-- 
With respect,
Roman

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux