Current Issue


Table of contents

CD-ROM

Sys Admin and The Perl Journal CD-ROM version 12.0

Version 12.0 delivers every issue of Sys Admin from 1992 through 2006 and every
issue of The Perl Journal from 1996-2002 in one convenient CD-ROM!

Order now!

Sys Admin Magazine > Archives > 2002 > April
Compression: lzop vs. gzip or bzip2

The LZO (Lempel-Ziv-Oberhumer) algorithm provides near real-time compression for a small ratio loss versus traditional algorithms. LZO is a program, lzop, built on the lzo library. Like both gzip (GPL) and bzip2 (BSD), lzop (GPL) is open source. LZO is relatively painless to build on most major UNIX platforms.

On modern 500-MHz+ systems, LZO improves performance over uncompressed operations because the amount of data written is reduced. This is not true of most other algorithms, which require far more CPU time than can be reduced in I/O time. It is also ideal for embedded systems because decompression uses no additional memory, and compression requires a mere 64 KB (versus several MB for the others).

Typical back2cd capacities/times using different compressors (defaults used):

                 (none)      lzop           gzip          bzip2

Algorithm        n/a          LZO          LZ77         BWT
Capacity (GB)    0.7          1.0-1.5      1.1-1.8      1.2-2.0
Time** (min)     4-6          4-6          10-30        30-60

** back2cd times with gzip/bzip2 are increased further because neither have an equivalent to lzop’s -o/-p options (output to another path). For gzip/bzip2/other, back2cd first uses cpio to verbatim copy to the temporary archive area and then compresses.




MarketPlace

"Six Sigma" Certification
Villanova Six Sigma Certification 100% Online Program - Free Info.

PMP Certification-Online
Nation's Leading Online PMP Course From Villanova-Find Out More Now.

Microsoft SQL Server 2008 Express - FREE Edition
Build Rich Desktop and Web Applications and Deploy to Most Versions of SQL Server.

Flowcharts from C/C++ code -- Free trial download
Understand C/C++ code in less time. A new team member ? Inherited legacy code ? Get up to speed faster with Crystal Flow for C/C++. Code-formatting improves readability. Flowcharts are integrated with code browser. Export flowcharts to Visio.

Wanna see your ad here?