>>>>> On Tue, 13 May 2014, Rich Freeman wrote:

> Btrfs also supports file inlining, so every byte saved on small files
> does actually help (I believe the data structure that stores the
> inlined data doesn't have a fixed record size).  Then again, btrfs
> also supports lzo compression and I believe this is fairly widely
> used, so I'm not sure that the impact of not compressing small files
> will be felt.

> I don't think ext4 supports inlining, but I see some discussions of
> attempts to add it.

> For VERY small files I would think that overhead would become an issue.

> Unless we have a bunch of 30-byte man pages I'd think that both
> simplicity and some potential for utility would lead us to use the
> best algorithm possible.

Compression for very small files was systematically studied by vapier
in bug 169260, which led to the current threshold of 128 bytes. Files
smaller than that "usually don't compress at all".

Ulrich

Attachment: pgp1gkikB2hcQ.pgp
Description: PGP signature

Reply via email to