Couldn't help but pipe up after I saw people crowing about 7-zip and
some other archivers on here.
On my last contracting gig I had the opportunity to see the
compression results of a couple of archivers I hadn't used before... Namely lrzip and xz.
Lrzip I liked because its window size or the way that it scans the
data is _much_ better for locating redundancy, especially in large archives. It achives better compression than anything I've really
seen before, which is really useful if you're dealing with tarballs several G in size that may have to go out over the network, etc. Plus
if you've got files in the archive that aren't compressable, you just
tell it to use lzo compression and you're good to go.
Xz was pretty swift, too. Better compression than usual, again, but
this time at about the speed of bzip2. The last one was significantly slower, though it was worth it if you were gonna put stuff out over
the wire. Wherever space makes a difference I've started using that (usually with '-9'). That's primarily because I'm on a system with
only a couple of TB (*grin*) that's still space bound.
Curious to see if anybody else has any favorite archivers that are
outside of the norm as well that they'd like to share.
There is a difference between archivers (like 7zip, zip, rar, ace, arj, lha, arc, etc), that can compress multiple files including the directory structure and meta data, and compressors that can only compress a stream of data or a single file (like xz, lrzip, gzip, bzip2, ...).
Afaik 7zip and xz use virtually the same compression algorithm.
I didn't know about lrzip. According to the wiki it is a compression program optimised for larger files (> 100MB), so it isn't very usefull for sending fidonet pkt files. ;)
xz is the default now when automatically compressing rotated logfiles on openSUSE...
I tested some, but I mainly stick with the mainstream compressors/archivers. You don't want broken archives with valuable data, because you hit a bug in some obscure new compression program.
Afaik 7zip and xz use virtually the same compression algorithm.
This I was not aware of. I actually have shunned 7zip for awhile;
Afaik 7zip and xz use virtually the same compression algorithm.
This I was not aware of. I actually have shunned 7zip for awhile; I'll have to look into it a little bit better.
doingI tested some, but I mainly stick with the mainstream
compressors/archivers. You don't want broken archives with valuable
data, because you hit a bug in some obscure new compression program.
That was, actually, my opinion as well. I was kind of overruled about using the new compression algorithms on my last position, primarily to cut down on the time that it'd take to spin up new dev servers. When I'm
scripting and work that's going to be automated and left I usually stickto
the same guidelines.
Why's that? I've been using 7-zip for a couple years or so now, and I like it - It seems to compress better than my previous favorite archiver, RAR. Also 7- zip is free (although I did pay for a license for WinRAR).
Sysop: | MCMLXXIX |
---|---|
Location: | Prospect, CT |
Users: | 325 |
Nodes: | 10 (0 / 10) |
Uptime: | 02:38:56 |
Calls: | 510 |
Messages: | 220569 |