aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Enabling zstd multithreaded compressionMarat Buharov2023-07-271-1/+1
| | | | | | | | | | Enabling zstd multithreaded compression gives same boost as enabling it for XZ compression in previous commit. Signed-off-by: Marat Buharov <marat.buharov@gmail.com> Closes: https://github.com/gentoo/genkernel/pull/47 Closes: https://github.com/gentoo/genkernel/pull/48 Signed-off-by: Sam James <sam@gentoo.org>
* Enable threaded XZ compression by defaultMaciej S. Szmigiero2022-06-111-1/+1
| | | | | | | | | 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>
* Add ZSTD compression support for initramfsThomas Deutschmann2020-07-161-0/+5
| | | | | Bug: https://bugs.gentoo.org/731294 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_initramfs.sh: create_initramfs(): Move and unify validation of ↵Thomas Deutschmann2020-07-161-0/+37
--compress-initramfs-type to determine_real_args() This will allow us to error out early if required user space tool needed to compress initramfs based on specified --compress-initramfs-type is missing or selected type is invalid/unsupported. Best/fastest list is based on results from [Link1][Link2][Link3]. Link1: https://events.static.linuxfound.org/sites/events/files/lcjpcojp13_klee.pdf Link2: https://kernel.ubuntu.com/~cking/boot-speed-eoan-5.3/kernel-compression-method.txt Link3: https://lwn.net/Articles/817134/ Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>