Bug 423583 - wish: Add parallel compression and decompression to ark
Summary: wish: Add parallel compression and decompression to ark
Status: RESOLVED FIXED
Alias: None
Product: ark
Classification: Applications
Component: general (show other bugs)
Version: 20.04.1
Platform: Manjaro Linux
: NOR wishlist
Target Milestone: ---
Assignee: Elvis Angelaccio
URL:
Keywords:
: 441637 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-06-27 14:12 UTC by Krzysztof Adamkiewicz
Modified: 2023-11-11 09:52 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 24.02


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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