Bug 423583

Summary: wish: Add parallel compression and decompression to ark
Product: [Applications] ark Reporter: Krzysztof Adamkiewicz <kadamkiewicz835>
Component: generalAssignee: Elvis Angelaccio <elvis.angelaccio>
Status: RESOLVED FIXED    
Severity: wishlist CC: 1348292515a, bednarczyk.pawel, bugs.kde.org-c69, integral, rthomsen6
Priority: NOR    
Version: 20.04.1   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In: 24.02
Sentry Crash Report:

Description Krzysztof Adamkiewicz 2020-06-27 14:12:45 UTC
SUMMARY
Ark currently offers many compression algorithms but all of them use only a single thread. This makes ark unsuitable for working with large archives.

I think ark would greatly benefit from providing parallel compression and decompression algorithms. At the beginning the parallel version of bzip2 can be added. They are many open source implementations available, for instance lbzip2: https://github.com/kjn/lbzip2. Later other parallel implementations can be added for example: PXZ, PLZIP or PIGZ.

SOFTWARE/OS VERSIONS
Linux distribution: Manjaro
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70
Qt Version: 5.15
Comment 1 poly 2021-09-30 08:11:38 UTC
*** Bug 441637 has been marked as a duplicate of this bug. ***
Comment 2 integral 2023-11-11 09:52:25 UTC
Git commit e0928747e26415a1b46e753c517fb83b4b24c62c by Elvis Angelaccio, on behalf of Zhangzhi Hu.
Committed on 05/11/2023 at 12:58.
Pushed by elvisangelaccio into branch 'master'.

Add support for xz & zstd multithread compression

xz & zstd compression was single-threaded; make it multi-threaded,
with an algorithm to calculate the ideal number of threads based
on the number of CPU cores.
FIXED-IN: 24.02

M  +18   -0    plugins/libarchive/readwritelibarchiveplugin.cpp

https://invent.kde.org/utilities/ark/-/commit/e0928747e26415a1b46e753c517fb83b4b24c62c