Linux Format

Parallel compression

Compressing files is one of the most mundane C activities, and frequently performed without much thought. For most Linux users, irrespective of distro, Gzip is the tool of choice. But it’s quite slow, especially with large files running into hundreds of megabytes or more. On modern multi-core machines, you can easily speed up compression with parallel processing. Cue Pigz.

Pigz achieves far faster compression because it puts the power of multi-core machines to proper use when compressing data.

Released under the permissive zib licence, is the brainchild of Mark Adler, who apart from his work with NASA on theutility along with Jean-lop Gailly.

You’re reading a preview, subscribe to read more.

More from Linux Format

Linux Format5 min read
Our Green And Pleasant Phones
The figures are stark: 1.2 billion phones are made every year and there’s just shy of 18 billion mobile devices in operation today, an T incredible 2.5 devices for every human on the planet. What makes these figures worrying is the majority are manuf
Linux Format15 min read
Editors For Authors
WE COMPARE TONS OF STUFF SO YOU DON’T HAVE TO! Visual Studio Code LibreOffice Writer LyX Google Docs FocusWriter Fortunately, the author happened to be working on a fiction book project while writing this article. This made it possible to shift the
Linux Format3 min read
Kernel Watch
Linus Torvalds has announced Linux 6.9 release candidate (RC) 7. It is rare to go beyond this point in a development cycle, and thus likely that 6.9 will be released imminently. Probably the most interesting stuff in this release is under the hood,

Related Books & Audiobooks