Language Selection

English French German Italian Portuguese Spanish

Gzip, Bzip2 and Lzma compared

Filed under
Software

There has recently been a discussion about GNU switching from bzip2 to lzma for their distributed tarballs. They still offer gzip tarballs as an alternative. However, Gentoo has been preferring the bzip2 tarballs mostly due to the improved pack ratio of bzip2.

Unfortunately, the software for lzma is not (yet) as mature as some would like. For example, the format of files produced has changed recently (in a compatible way, though). Also, the current incarnation of the canonical binaries (lzma-utils) by default links against libstdc++.so which is a huge headache for release engineering and the like.

How these distribution problems can/will be solved, remains to be seen. What I'm more interested in, is a comparison of the performance of the three packers. I had initially hoped to also compare the amount of I/O done and memory usage, but GNU time let me down there.

GNU time's manpage claims that it can record and output quite a few figures regarding I/O and memory usage. Unfortunately, I have not been able to make time report anything other than 0 for those interesting stats. Not wanting to debug time, I've chosen to do performance tests regarding pack ratio and execution time, instead.

More Here




More in Tux Machines

Three nginx Vulnerabilities Closed in Ubuntu OSes

Canonical published details in a security notice regarding a few nginx vulnerabilities that have been identified in Ubuntu 15.10, Ubuntu 14.04 LTS, and Ubuntu 12.04 LTS operating systems. Read more

Rackspace Debuts Red Hat OpenStack For Private Clouds

Rackspace may have put OpenStack on the map, but Thursday it introduced to its private cloud portfolio another vendor's version of the open-source technology. The managed cloud company out of San Antonio is making Red Hat Enterprise Linux OpenStack Platform available to customers and partners deploying private clouds either in Rackspace data centers or on their own premises, according to Bryan Thompson, senior director of product management for Rackspace's OpenStack practice. Read more

ST Releases Free Linux IDE for 32-Bit MCUs

The 32-bit microcontroller world is starting to open up to world Linux. This week, leading ARM Cortex-M vendor STMicroelectronics (ST) released a free Linux desktop version of its development software for its line of STM32 microcontroller units (MCUs). The tools include ST’s STM32CubeMX configurator and initialization tool, as well as its System Workbench for STM32 (SW4STM32), an Eclipse-based IDE created by Ac6 Tools. SW4STM32 is supported with toolchain, forums, blogs, and technical support by the openSTM32.org development community. Read more

Today in Techrights