Re: Inefficient storing of ISO images with compress=lzo

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

 



Maciej Marcin Piechotka wrote:
> I've noticed that:
> 
>  - with x86-64 Fedora 15 DVD install images:
>    - du -sh <ROOT VOLUME> was 36 GB
>    - btrfs df | grep -i data have shown over 40 GB used
>  - without
>    - du -sh <ROOT VOLUME> is 34 GB
>    - btrfs df | grep -i data have shown less then 34 GB used
> 
> It seems that iso files are considered compressable while they may not be (and penalty is severe - 3x).
> 

With compress option specified, btrfs will try to compress the file, at most
128K at one time, and if the compressed result is not smaller, the file will
be marked as uncompressable.

I just tried with Fedora-14-i386-DVD.iso, and the first 896K is compressed,
with a compress ratio about 71.7%, and the remaining data is not compressed.

--
Li Zefan
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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