[BusyBox 0004944]: patch to support lzop compression/decompression
bugs at busybox.net
bugs at busybox.net
Sat Sep 13 07:54:28 UTC 2008
The following issue has been SUBMITTED.
======================================================================
http://busybox.net/bugs/view.php?id=4944
======================================================================
Reported By: Alain137
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 4944
Category: New Features
Reproducibility: N/A
Severity: feature
Priority: normal
Status: assigned
======================================================================
Date Submitted: 09-13-2008 00:54 PDT
Last Modified: 09-13-2008 00:54 PDT
======================================================================
Summary: patch to support lzop compression/decompression
Description:
This is a patch to add the lzop compressor/decompressor to busybox.
Lzop is a compressor that is more than twice as fast as gzip at its
fastest setting, and is thus useful in any application where
compression/decompression speed is more important than ratio. For
instance, I use lzop with udcpast to speed up network transfers (gzip
would actually make the transfer slower, as any time gain obtained due to
having less data to transfer would be lost due to the time it takes to
compress)
Compression:
> time lzop -c /usr/bin/mplayer >/dev/null
lzop -c /usr/bin/mplayer > /dev/null 0,33s user 0,01s system 100% cpu
0,337 total
> time gzip -1 -c /usr/bin/mplayer >/dev/null
gzip -1 -c /usr/bin/mplayer > /dev/null 0,80s user 0,03s system 94% cpu
0,882 total
Decompression:
> time gzip -dc mplayer.gz >/dev/null
gzip -dc mplayer.gz > /dev/null 0,27s user 0,01s system 97% cpu 0,288
total
> time lzop -dc mplayer.lzo >/dev/null
lzop -dc mplayer.lzo > /dev/null 0,10s user 0,01s system 100% cpu 0,112
total
For building it, a liblzo2 static library must be present on the system
(for example, liblzo2-dev on a Kubuntu system)
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
09-13-08 00:54 Alain137 New Issue
09-13-08 00:54 Alain137 Status new => assigned
09-13-08 00:54 Alain137 Assigned To => BusyBox
09-13-08 00:54 Alain137 File Added: lzop.diff
======================================================================
More information about the busybox-cvs
mailing list