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

Can Jolla Deliver the First Open Source Tablet?

Some dreams die hard. After the KDE-based Vivaldi tablet failed to appear after three years of anticipation, Jolla is planning a free software tablet of its own. The product is off to a roaring start, having just raised $1,824,055 in its crowdfunding campaign-- almost five times the original target. So, this time, we might actually see some hardware. Mind you, whether the tablet will satisfy everyone remains open to doubt. Although Jolla is talking loudly about being "people powered" and listening to want users want, some requests, especially for hardware, may be impossible to fulfill. The manufacturing capacity of advanced features is limited world-wide, and monopolized by large companies like Apple and Samsung. More importantly, exactly how free the tablet will be has yet to be announced. Read more

First Ubuntu Phone Will Launch In Europe This February

The first Ubuntu Phone will go on sale in Europe in the second week of February. Read more

Sandia looks to open-source robot tech

Researchers at federal defense and energy laboratories are open sourcing some of the electronics and software for two advanced ambulatory robots in hopes of boosting their ability to handle perilous situations. In a Dec. 16 announcement, the Energy Department's Sandia National Laboratories said it is developing more energy-efficient motors to dramatically improve the endurance of legged robots performing the types of motions that are crucial in disaster response situations. The project is supported by the Defense Advanced Research Projects Agency. Read more

Google releases open-source Java SDK for Cloud Dataflow service to form data pipelines

It’s been a long, long time since Google came up with the foundational technologies for storing and processing big data. This year, the company developed a new tool for working with data as it comes in, and now Google is keen to see people use it. Read more