Skip to content
Snippets Groups Projects
user avatar
Tor Vic authored
By default, xz without parameters uses a dictionary size of 8 MB.
However, most modules are much smaller than that.
The xz manpage states that 'increasing dictionary size usually improves
compression ratio, but a dictionary bigger than the uncompressed file
is waste of memory'.
Use a dictionary size of 2 MB for module compression, resulting in
slightly higher compression speed while still maintaining a good
compression ratio.

Signed-off-by: default avatarTor Vic <torvic9@mailbox.org>
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
db4632c6
History
Name Last commit Last update