All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kbuild: add variables for compression tools
@ 2020-06-04 13:05 Sedat Dilek
  2020-06-04 13:55 ` Denis Efremov
  0 siblings, 1 reply; 6+ messages in thread
From: Sedat Dilek @ 2020-06-04 13:05 UTC (permalink / raw)
  To: Denis Efremov; +Cc: linux-kbuild, Masahiro Yamada

Hi Denis,

is it possible to add ZSTD compression support with the possibility to
add - for example multithreading - options?

Quote from your patch:

> As a sidenote, for multi-threaded lzma, xz compression one can use:
> $ export XZ_OPT="--threads=0"

man zstd says:

       -T#, --threads=#
              Compress using # working threads (default: 1). If # is
0, attempt to detect and use the number of physical CPU cores. In all
cases, the nb  of  threads  is  capped  to  ZST‐
              DMT_NBTHREADS_MAX==200. This modifier does nothing if
zstd is compiled without multithread support.

Of course, I can help with testing.

For the documentation - which I have not checked - are the tools and
libs mentioned you will need to have installed for certain compression
tools?
For ZSTD on Debian - these are zstd and libzstd1:amd64 packages.

Thanks.

Regards,
- Sedat -


[1] https://patchwork.kernel.org/patch/11585381/
[2] https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git/commit/?h=kbuild&id=1312a1e434c1816e3bbcd4f806aa862dc735dec0

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-06-04 17:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-04 13:05 [PATCH] kbuild: add variables for compression tools Sedat Dilek
2020-06-04 13:55 ` Denis Efremov
2020-06-04 16:07   ` Sedat Dilek
2020-06-04 17:01     ` Denis Efremov
2020-06-04 17:05       ` Sedat Dilek
2020-06-04 17:18         ` Sedat Dilek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.