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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
Due to network maintenance being performed by our provider, LQ will be down starting at 05:01 AM UTC. The exact duration of the downtime isn't currently known. We apologize for the inconvenience.
|
 |
10-21-2010, 10:13 PM
|
#1
|
|
Member
Registered: May 2010
Location: 3 planets away from the sun.
Distribution: Linux mint, Slackware
Posts: 228
Rep:
|
What on average compresses files the best?
I have been exploring and people tell me its .tgz or something I think it could be .bz2. If you think you know what on average compresses files the best just post. I have a relatively fast computer.(So compression speed is not an issue.) Ratios on file compression are a good sign of how good some file compression formats are. I have heard bz2 gets on average 3 to 1. I have been getting 2 to 1.
|
|
|
|
10-21-2010, 10:56 PM
|
#2
|
|
LQ Newbie
Registered: Aug 2004
Location: Phoenix, Arizona, USA
Posts: 7
Rep:
|
I've played with both over several years and have to say that my experience is that bzip2 and gzip seem to give be about the same performance. Depending on the machine, number of files compressed at once, types of files, one will be marginally better at compression or marginally better at speed.
|
|
|
|
10-21-2010, 11:31 PM
|
#3
|
|
Senior Member
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 3,668
|
xz and 7-zip, both of which use the same algorithm.
|
|
|
|
10-22-2010, 12:37 AM
|
#4
|
|
Guru
Registered: Aug 2005
Posts: 9,532
|
that depends on what you mean "as the best"
tar.bz2 : but it is VERY slow
a 1 gig folder in 20 min.
or best as in the fastest
tar
best for all text , source
7z
|
|
|
|
10-22-2010, 06:38 AM
|
#5
|
|
Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,612
|
Quote:
Originally Posted by dugan
xz and 7-zip, both of which use the same algorithm.
|
Yeah, LZMA, probably the best compression you can get today, for free. Only problem is, it's not too fast, but often faster and better than bz2.
|
|
|
|
10-22-2010, 04:51 PM
|
#6
|
|
Guru
Registered: Mar 2008
Posts: 8,546
|
Fast may be a function of SMP aware versions. An extra core working on compression sure does help.
|
|
|
|
10-22-2010, 11:30 PM
|
#7
|
|
Member
Registered: May 2010
Location: 3 planets away from the sun.
Distribution: Linux mint, Slackware
Posts: 228
Original Poster
Rep:
|
Speed is not a problem for me. I have a pentium 4 with hyper threading. bz2 used only one thread of my single core processor and it only took 5 - 10 minutes to compress 2 gigs of files.
|
|
|
|
10-23-2010, 04:50 PM
|
#8
|
|
Member
Registered: May 2010
Location: 3 planets away from the sun.
Distribution: Linux mint, Slackware
Posts: 228
Original Poster
Rep:
|
I have a nice computer so if anyone knows of the best as in compression ratio on average let me know.
|
|
|
|
10-24-2010, 03:53 AM
|
#9
|
|
Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,612
|
Quote:
Originally Posted by darkstarbyte
I have a nice computer so if anyone knows of the best as in compression ratio on average let me know.
|
Um, as stated above: LZMA as implemented by numerous programs.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:10 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|