diff options
author | Maciej S. Szmigiero <mail@maciej.szmigiero.name> | 2022-06-11 00:23:32 +0200 |
---|---|---|
committer | Maciej S. Szmigiero <mail@maciej.szmigiero.name> | 2022-06-11 00:23:53 +0200 |
commit | db1df8ea5a42ce058f12473ea79de3ac1f8afb4f (patch) | |
tree | 1abb33041392fabde607bd70eb35eeec7a46c818 | |
parent | Fixes a mistake with quotation usage when testing for LVM flag (diff) | |
download | genkernel-db1df8ea5a42ce058f12473ea79de3ac1f8afb4f.tar.gz genkernel-db1df8ea5a42ce058f12473ea79de3ac1f8afb4f.tar.bz2 genkernel-db1df8ea5a42ce058f12473ea79de3ac1f8afb4f.zip |
Enable threaded XZ compression by default
With the current proliferation of multi-core CPUs enabling threaded XZ
compression brings very significant runtime improvement: on my 4-core
system the total genkernel runtime drops from 356 seconds to 166 seconds
(a reduction of more than 50%) - so let's enable this mode by default.
Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
-rw-r--r-- | defaults/compression_methods.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/defaults/compression_methods.sh b/defaults/compression_methods.sh index b65f057..37abf46 100644 --- a/defaults/compression_methods.sh +++ b/defaults/compression_methods.sh @@ -32,7 +32,7 @@ GKICM_LZMA_EXT=".lzma" GKICM_LZMA_PKG="app-arch/xz-utils" GKICM_XZ_KOPTNAME="XZ" -GKICM_XZ_CMD="xz -e --check=none -z -f -9" +GKICM_XZ_CMD="xz -e --check=none -z -f -9 -T 0" GKICM_XZ_EXT=".xz" GKICM_XZ_PKG="app-arch/xz-utils" |