tamatebako/tebako

Set compression parameters at tebako level

Opened this issue · 0 comments

Now tebako creates package filesystem with default dwarfs compression level

We shall provide an option to set compression parameters at tebako level, at least pre-sets:

Level Block Size Compression Block Data Algorithm Schema Metadata Window Size/Step Inode Order
0 20 null null null 0 / 0 none
1 20 lz4 zstd:level=12 null 0 / 0 path
2 20 lz4hc:level=9 zstd:level=12 null 0 / 0 path
3 21 lz4hc:level=9 zstd:level=12 null 12 / 1 similarity
4 22 zstd:level=11 zstd:level=12 null 12 / 2 similarity
5 23 zstd:level=19 zstd:level=12 null 12 / 2 similarity
6 24 zstd:level=22 zstd:level=12 null 12 / 3 nilsimsa
7 24 zstd:level=22 zstd:level=12 zstd:level=22 12 / 3 nilsimsa
8 24 lzma:level=9 zstd:level=12 lzma:level=9 12 / 4 nilsimsa
9 26 lzma:level=9 zstd:level=12 lzma:level=9 12 / 4 nilsimsa