[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-devel-list
Subject:    Re: Btrfs by default, the compression option
From:       Kamil Paral <kparal () redhat ! com>
Date:       2020-07-08 11:13:06
Message-ID: CA+cBOTejV-eMA09iiWUY=18HHiEb4ZOMyAw_eaOthPy0JY0gnA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Wed, Jul 8, 2020 at 11:22 AM Dominique Martinet <asmadeus@codewreck.org>
wrote:

> Please test, but if a file is deemed not compressible (based on, not
> sure what? the first few blocks?) then it will be stored in the
> non-compressed version.
> You can check with compsize after the fact if the file had been
> compressed or not.
>
> This should be true unless the compress-force mount option is used, even
> the chattr is only a hint
>

OK, this is an interesting piece of information I wasn't aware of. In this
case, if the btrfs heuristics work OK in the majority of cases, the
performance hit might not be there, as I feared. Some thorough
investigation would be needed, though.

[Attachment #5 (text/html)]

<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul \
8, 2020 at 11:22 AM Dominique Martinet &lt;<a \
href="mailto:asmadeus@codewreck.org">asmadeus@codewreck.org</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> Please test, but if a \
file is deemed not compressible (based on, not<br> sure what? the first few blocks?) \
then it will be stored in the<br> non-compressed version.<br>
You can check with compsize after the fact if the file had been<br>
compressed or not.<br>
<br>
This should be true unless the compress-force mount option is used, even<br>
the chattr is only a hint<br></blockquote><div><br></div><div>OK, this is an \
interesting piece of information I wasn&#39;t aware of. In this case, if the btrfs \
heuristics work OK in the majority of cases, the performance hit might not be there, \
as I feared. Some thorough investigation would be needed, \
though.<br></div><div><br></div></div></div>


[Attachment #6 (text/plain)]

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic