[WIP] [PATCH v0.0-20200229 00/11] ez: LZMA fixed-sized output compression

Eric Biggers ebiggers at kernel.org
Sat Feb 29 15:58:42 AEDT 2020


On Sat, Feb 29, 2020 at 12:50:06PM +0800, Gao Xiang via Linux-erofs wrote:
> From: Gao Xiang <gaoxiang25 at huawei.com>
> 
> This is a WIP PREVIEW patchset, just for archiving to open
> source community only.
> 
> For now, it implements LZMA SDK-like GetOptimumFast approach
> and GetOptimum is still on schedule.
> 
> It's still buggy, lack of formal APIs and actively under
> development for a while...
> 
> Usage:
> $ ./run.sh
> $ ./a.out output.bin.lzma infile
> 
> It will compress the beginning as much as possible into
> 4k RAW LZMA block.

Why not just use liblzma?

Also, if you care enough about compression ratio to use LZMA instead of
Zstandard, why use only a 4 KB blocksize?

- Eric


More information about the Linux-erofs mailing list