Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
35
rated 0 times [  35] [ 0]  / answers: 1 / hits: 93828  / 2 Years ago, tue, april 5, 2022, 1:00:47

What compression tools are available in Ubuntu that can benefit from a multi-core CPU.


More From » compression

 Answers
6

There are two main tools. lbzip2 and pbzip2. They're essentially different implementations of bzip2 compressors. I've compared them (the output is a tidied up version but you should be able to run the commands)



cd /dev/shm  # we do all of this in RAM!
dd if=/dev/urandom of=bigfile bs=1024 count=102400

$ lbzip2 -zk bigfile
Time: 0m3.596s
Size: 105335428

$ pbzip2 -zk bigfile
Time: 0m5.738s6
Size: 10532460


lbzip2 appears to be the winner on random data. It's slightly less compressed but much quicker. YMMV.


[#32609] Thursday, April 7, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
nsuainner

Total Points: 141
Total Questions: 102
Total Answers: 109

Location: Maldives
Member since Sat, Jan 29, 2022
2 Years ago
;