Whats the fastest UNIX compression utility you know of.


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Whats the fastest UNIX compression utility you know of.
# 1  
Old 05-28-2008
Question Whats the fastest UNIX compression utility you know of.

Hi everyone,

Just interested to know everyones opinions on the fastest unix compression utility with okejish compression (doesnt have to have awsome compression). I know of gzip bzip2 (sucks lol) and a couple of others but what is a great one for compression large amounts of data that wont eat to hard into the cpu and is fast.

All opinions are welcome.

Thanks.
# 2  
Old 05-28-2008
Check out Compression Tools Compared

There are plenty names in the graphs listed to test. If it's still too slow for you, think about getting faster CPUs ^^
# 3  
Old 05-28-2008
Thank you Smilie, Also is there a tool similar to gzip, but when you compress it, it doesnt waste the extra storage space. Because you know how when you gzip a file it keeps the original file and starts creating the gzip one and then deletes the original file when its done. Is there something that doesn't waste this kinda space?
# 4  
Old 05-29-2008
In my eyes, this "waste" of storage is just for your safety. What would you do, if for some reason like a full filesystem, the compression would fail and you got a half eaten source file and a half baked compressed file. At least while the compression is running, you have to have that waste in my eyes.

May I ask for what you need such a fast compression tool? Maybe there is some other way you can handle it if you tell people in here, what you want to achieve or what kind of mechanism is around it.
# 5  
Old 05-31-2008
its actually not waste of space.
Did you mean something like running the compression on the fly - using primary memory and just have what is needed at the end ?

That's kind of not being safe, where you might lose the source.
# 6  
Old 05-31-2008
The problem with gzip is that it is still strictly single-threaded, so it won't scale on a multiprocessor system. A solution to this could be to write a script which "tar"s the source into several distinct tar-files (there should be some mechanism to balance the size of the different files) and gzip these archives simultaneously.

Regarding the "waste of space": it is possible to feed gzip directly via a pipeline:

Code:
tar -cf - <source> | gzip -9 > <destination>

should work.

I hope this helps.

bakunin
# 7  
Old 06-07-2008
Quote:
Originally Posted by bakunin
The problem with gzip is that it is still strictly single-threaded, so it won't scale on a multiprocessor system
The original poster wanted to minimize CPU impact, so maybe it's not a problem that gzip would only use 1 CPU. I've found parallel bzip quite handy when I've got a big job to do and don't care about tying up >1 CPU. Its speed scales nearly linearly with the number of CPUs, and you can limit it to something less than all, if you wish.

Cheers,
Eric
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

Whats the most in-demand programming language UNIX

I am interested in learning Programming Language to complement my UNIX. What language should I concentrate on to enhance my UNIX. What companies are seeking with UNIX. What languages are used with UNIX as for as there application. Are there any one here from DC (6 Replies)
Discussion started by: zbest1966
6 Replies

2. UNIX for Advanced & Expert Users

MVS compression that unix can uncompress

Dear all, I have been given the opportunity at the last minute to help on a project. There is a need to move some very large files from an MVS machine to an AIX one. The servers are remote with (I think) a 2Meg network pipe between them. The people on the project have been moving small... (1 Reply)
Discussion started by: rbatte1
1 Replies

3. UNIX for Dummies Questions & Answers

whats setenv in unix

Hi whats the setenv command in unix..?? i have set the oracle_home path as aa.ii.1 in kron_settings and mentioned setenv oracle_path as aa.ii.2 in user settings. Does this make any changes made to the path name of the oracle_home when i run a scripts in unix..???:( (1 Reply)
Discussion started by: abhi_123
1 Replies

4. UNIX for Dummies Questions & Answers

Whats is the user of $ and # in UNIX ???

Whats is the user of $ and # in UNIX ??? (2 Replies)
Discussion started by: Paynemax
2 Replies

5. UNIX for Dummies Questions & Answers

Whats the latest verson of Unix?

Also can unix be downloaded? Thank you, Nic (2 Replies)
Discussion started by: nicjr3
2 Replies

6. UNIX for Dummies Questions & Answers

Linux OR Unix Whats The Difference!

What is the difference bettween linux and unix? Sorry but I am really new to this! :confused: Also are they BOTH free :-D (1 Reply)
Discussion started by: jamesthemagicia
1 Replies

7. Programming

whats the command in unix

what is the command to print the text in a specifed location eg i have text ("i am here"); i have to print it on location 20,20 wat is the command and which header file it uses i am currentlr working in solaris 5.8 using unix (1 Reply)
Discussion started by: ramneek
1 Replies

8. UNIX for Dummies Questions & Answers

Unix? Whats that

Hi, I am curently running Windows. Don't laugh. Unix is a OS right? I am thinking about getting it but am not sure about geting Unix or Linux. I could use all the help I can get, Thanks! (6 Replies)
Discussion started by: DamienVryce
6 Replies

9. Shell Programming and Scripting

Whats the Vhost Command for the Unix Shell

anyone know? would be greatly thankful. (4 Replies)
Discussion started by: shellnewbie
4 Replies

10. UNIX for Dummies Questions & Answers

Whats the dif between AIX and UNIX?

Hi, sorry to ask and exceedingly dumb question, but as far as UNIX goes I really am the newbiest of the newbies. I've been posed a question by one of my bosses, I'll break it down. He says "We have a big AIX box and I'd like to use Notes to handle the SMTP side of things." I say, "Okay I... (2 Replies)
Discussion started by: SlyClone2k
2 Replies
Login or Register to Ask a Question