Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Best compression Algorithm
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
jpc82
Guru
Guru


Joined: 09 Mar 2003
Posts: 326

PostPosted: Thu May 27, 2004 4:57 pm    Post subject: Best compression Algorithm Reply with quote

I have my file server configured to compress all my important files (200MB) every night and back them up to a seperate HD. Now my question is what is the best compression to use?

Right now I have it using rar, but I was wondering which compression format is the fastest/smallest.

NOTE: this files are mostly documents, pdfs, code, and pictures.
Back to top
View user's profile Send private message
iten
n00b
n00b


Joined: 31 Jan 2004
Posts: 36

PostPosted: Thu May 27, 2004 5:26 pm    Post subject: Reply with quote

bzip2(more of a standard)or rzip(better compression) will get you pretty reasonable results (depending on the type of data you're working with).
Back to top
View user's profile Send private message
zsoltika
l33t
l33t


Joined: 13 Nov 2003
Posts: 634
Location: Budapest, Hungary

PostPosted: Thu May 27, 2004 5:26 pm    Post subject: Reply with quote

Just weeks ago I read about rzip, here: http://jeremy.zawodny.com/blog/archives/001842.html
And there was thread about this on the gentoo-user mailing list. Here is the thread: http://thread.gmane.org/gmane.linux.gentoo.user/80496

Cheers,
Zsoltik@
[/url]
Back to top
View user's profile Send private message
Andersson
Guru
Guru


Joined: 12 Jul 2003
Posts: 525
Location: Göteborg, Sweden

PostPosted: Thu May 27, 2004 7:10 pm    Post subject: Reply with quote

For important backups: afio ;)
_________________
Must...resist...posting....
One...step...closer...to...getting...stupid...l33t...ranking...
Back to top
View user's profile Send private message
n_ck
n00b
n00b


Joined: 23 May 2005
Posts: 16

PostPosted: Tue May 24, 2005 4:39 pm    Post subject: Best decompression utility? Reply with quote

I'm looking for something as powerful as WinRAR on windows (deals with Zips, Tars, RARs, etc)...preferably something that can be run from the command-line, or has a GUI included.

Any suggestions?

EDIT: decompression...gotcha


Last edited by n_ck on Tue May 24, 2005 4:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
Gherald
Veteran
Veteran


Joined: 23 Aug 2004
Posts: 1399
Location: CLUAConsole

PostPosted: Tue May 24, 2005 4:44 pm    Post subject: Reply with quote

It's called "decompression", not "uncompression"

for the console, use individual utilities (tar, gzip, bzip2, unzip, unrar, etc)

for a GUI, try file-roller
Back to top
View user's profile Send private message
eniac
Apprentice
Apprentice


Joined: 11 Aug 2003
Posts: 233
Location: Belgium, Brussels

PostPosted: Tue May 24, 2005 7:14 pm    Post subject: Reply with quote

bz2 has the best compression algorithm, I think ... ?
_________________
Turns out the pony only had one trick.
Back to top
View user's profile Send private message
tetromino
Retired Dev
Retired Dev


Joined: 02 Dec 2003
Posts: 215

PostPosted: Tue May 24, 2005 7:24 pm    Post subject: Reply with quote

eniac wrote:
bz2 has the best compression algorithm, I think ... ?

It's generally considered that rzip, 7zip (app-arch/p7zip), and rar are all better than bz2. (unfortunately, iirc, rar is not free as in freedom). However, out of the three most popular compression algorithms (gzip, bz2, and zip/jar), bz2 is the best.
Back to top
View user's profile Send private message
Gherald
Veteran
Veteran


Joined: 23 Aug 2004
Posts: 1399
Location: CLUAConsole

PostPosted: Tue May 24, 2005 7:25 pm    Post subject: Reply with quote

Guys, this isn't about the best compression scheme. He asking what the best decompression utility is.
Back to top
View user's profile Send private message
eniac
Apprentice
Apprentice


Joined: 11 Aug 2003
Posts: 233
Location: Belgium, Brussels

PostPosted: Tue May 24, 2005 7:29 pm    Post subject: Reply with quote

I was just wondering what the best compression utility would be .. and it's on topic I guess..
No need to create Yet An Other post ....
_________________
Turns out the pony only had one trick.
Back to top
View user's profile Send private message
Gherald
Veteran
Veteran


Joined: 23 Aug 2004
Posts: 1399
Location: CLUAConsole

PostPosted: Tue May 24, 2005 7:32 pm    Post subject: Reply with quote

Mkay, I thought you were trying to answer his question :)

yes bzip2 is the best in terms of smallest size

but gzip is much faster, and so continues to be widely used
Back to top
View user's profile Send private message
30726
Veteran
Veteran


Joined: 24 Sep 2003
Posts: 1501

PostPosted: Tue May 24, 2005 9:05 pm    Post subject: Reply with quote

There's a command line version of 7-zip available.
http://sourceforge.net/project/showfiles.php?group_id=111810
Back to top
View user's profile Send private message
lotw
Guru
Guru


Joined: 09 Jan 2005
Posts: 342
Location: Palmdale

PostPosted: Wed May 25, 2005 12:47 am    Post subject: Reply with quote

Well if you have all the different type of formats installed on your machine, ie: rar, ace, etc. You can use Krusader (the two pane filemanger for KDE) to do all the formats. It compresses and decompresses perfectly. Also the standard ARC or File-roller will also do what you want.
Back to top
View user's profile Send private message
Frodg
l33t
l33t


Joined: 11 Feb 2004
Posts: 761

PostPosted: Wed May 25, 2005 1:04 am    Post subject: Reply with quote

emerge File-Roller
_________________
Aerosolo ergo sum - I spray therefore I am

Gentoo - Registered Linux User # 361400
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Wed May 25, 2005 1:16 am    Post subject: Reply with quote

From the command line for decompression only, the simplest way is to emerge unfoo.
It's a small script which determines which utility to use to decompress an archive.
Just "unfoo filename"
Incredibly useful. I swear by it.
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
54815
n00b
n00b


Joined: 05 May 2004
Posts: 36

PostPosted: Wed May 25, 2005 3:27 am    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic-t-178508-highlight-compression.html
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Wed May 25, 2005 2:48 pm    Post subject: Reply with quote

Merged from https://forums.gentoo.org/viewtopic-p-2437313.html#2437313
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum