Skip to contentSkip to conversation

init: add support for zstd compressed modules

PATCH [email protected] 2 participants 2 messages Apr 1, 2021 1 message not in the archive Kbuild

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Thanks Piotr, good work!
Question: Is -T0 really faster in this particular case than the default -T1? Are modules installed sequentially?
I also saw that Masahiro did some work on modules_install, moving MODULE_COMPRESS from the base Makefile to scripts/Makefile.modinst, so perhaps this should also be moved there at a later point.

(sorry for double post)

Tor Vic

#2 lore raw
In reply to a message not in the archive
Quoted 6 lines · On Apr 1, 2021, at 12:54 AM, [email protected] wrote:

Thanks Piotr, good work!
Question: Is -T0 really faster in this particular case than the default -T1? Are modules installed sequentially?

The zstd CLI produces deterministic output regardless of the number of threads used. -T1 (or not specifying -T) will produce the same output as -T0. -T0 will be faster for large files (at the default level, multiple jobs will be spawned for files > 8MB), and be just as fast as -T1 for smaller files.

Best,
Nick

Quoted 3 lines

I also saw that Masahiro did some work on modules_install, moving MODULE_COMPRESS from the base Makefile to scripts/Makefile.modinst, so perhaps this should also be moved there at a later point.

Tor Vic