LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-14-2016, 02:52 AM   #1
jegadezz
Member
 
Registered: Oct 2015
Location: Bangalore,India
Distribution: Fedora,Ubuntu
Posts: 32

Rep: Reputation: Disabled
Linux utility to do fast decompression of rfs.tar.bz2


Hi All,

I have a rfs tar (~1.5 GB) and It takes 10 minutes to decompress. Is there any linux utility can do better in terms of time consumption. I have found lbzip2, pbzip2 and These utility are doing decompression in parallel. Can you guys tell me which tool is very fast to decompress.

Thanks in Advance.

Last edited by jegadezz; 07-14-2016 at 02:55 AM.
 
Old 07-14-2016, 03:43 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 7.7 (?), Centos 8.1
Posts: 17,949

Rep: Reputation: 2634Reputation: 2634Reputation: 2634Reputation: 2634Reputation: 2634Reputation: 2634Reputation: 2634Reputation: 2634Reputation: 2634Reputation: 2634Reputation: 2634
It depends how it was compressed. Many tools, inc bzip2, gzip etc have a param used during compression with a value from 1-9 that determines how hard to try and compress it. The harder it tries, the longer it takes. I beleive (?) that highly compressed eg level 9 files, will take longer to decompress.
http://linux.die.net/man/1/bzip2

(I haven't tested decompression speeds specifically for that effect though.)
 
1 members found this post helpful.
Old 07-14-2016, 03:59 AM   #3
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1012Reputation: 1012Reputation: 1012Reputation: 1012Reputation: 1012Reputation: 1012Reputation: 1012Reputation: 1012
Probably not. As chrism01 states, decompression speed depends on the compression setting. Every program that decompresses bzip2 will simply call bunzip2. So it won't really matter which one you use. 10 minutes sounds within the realm of possibility to decompress a 1.5GB bzip2 file.
 
1 members found this post helpful.
Old 07-14-2016, 02:20 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,534

Rep: Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622Reputation: 2622
i move around some big files
1 to 25 Gig
10 min for a 1.5 gig bz2 sounds about right
depending on WHAT the data is using "gz" or "xv" or " 7z " might be smaller and or take less time
or take more time

experiment text compresses differently than a photo
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Utilizing multi core for tar+gzip/bzip compression/decompression galapogos Linux - Software 13 10-07-2013 02:44 AM
[SOLVED] LFS 7.3--> tar xf lfs-bootscripts-20130123.tar.bz2 , bash : tar : command not found AkiraMizuki Linux From Scratch 3 06-01-2013 04:00 AM
How to install tar.gz & tar.bz2 file on Linux min Krishnendu Linux Mint 2 07-16-2009 07:52 AM
Untarring linux-2.6.29.4.tar.bz2 johnmtb Linux - General 11 06-02-2009 05:59 AM
BackUp & Restore with TAR (.tar / .tar.gz / .tar.bz2 / tar.Z) asgarcymed Linux - General 5 12-31-2006 03:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration