PBZIP2 is a parallel implementation of the bzip2 file compressor, developed to exploit systems with multiple processors or processor cores. It uses POSIX threads to distribute compression work and improve processing times for suitable workloads.
The utility divides input files into blocks that can be compressed concurrently. The resulting data remains compatible with the standard bzip2 format, making it suitable for workflows already built around .bz2 files.
PBZIP2 is particularly useful when processing large files on multicore hardware. Its command-line options also allow users to control memory consumption, processing threads and file handling according to their available system resources.
This is free and open source software.
Key Features
- Parallel bzip2 compression using multiple processing threads.
- Produces compressed data compatible with the standard bzip2 format.
- Supports compression of files larger than 4GB.
- Divides input data into independently compressed blocks.
- Automatically selects processing threads based on available system resources.
- Allows the number of processing threads to be specified manually.
- Offers configurable input block sizes.
- Supports parallel decompression of compatible multiblock files.
- Provides memory management options for controlling resource consumption.
- Supports compression and decompression through standard streams.
- Can retain input files after processing.
- Offers test and integrity-checking functionality.
- Provides quiet and verbose operating modes.
- Can be integrated with tar and existing bzip2-oriented workflows.
- Cross-platform support – runs on Linux, macOS, and Windows.
Website: launchpad.net/pbzip2
Support:
Developer: Jeff Gilchrist
License: BSD-style License
PBZIP2 is written in C++. Learn C++ with our recommended free books and free tutorials.
Related Software
| Compression Tools | |
|---|---|
| LZ4 | Focused on compression and decompression speed |
| Zstandard | Fast compression algorithm, providing high compression ratios |
| brotli | Generic-purpose lossless compression algorithm |
| lzop | File compressor favoring speed over compression ratio |
| pigz | Parallel implementation of gzip |
| ouch | CLI tool for compressing and decompressing for various formats |
| pixz | Parallel, indexed xz compressor |
| gzip | Provides the standard GNU file compression utilities |
| BZip3 | Spiritual successor to BZip2 |
| bzip2 | Freely available, patent free, high-quality data compressor |
| PBZIP2 | Parallel implementation of bzip2 |
| lrzip | Achieve very high compression ratios and speed when used with large files |
| lbzip2 | Multi-threaded implementation of bzip2, suited for serial and parallel processing |
| ZXC | High-performance lossless compression library and command-line tool |
| plzip | Massively parallel lossless data compressor |
| p7zip-zstd | p7zip fork with additional codecs and improvements |
| 7-Zip | File archiver with a high compression ratio |
| ncompress | Fast, simple LZW file compressor |
| PXZ | Runs LZMA compression on multiple cores and processors |
| crabz | Like pigz but written in Rust |
| Lzip | Lossless data compressor aimed at Unix-like systems |
| cmix | Optimize compression ratio at the cost of high CPU/memory usage |
| bsc | High-performance block-sorting compressor for large files |
| rapidgzip | Parallelized decompression of gzip files |
| Kanzi | Modular lossless compressor with multithreaded processing |
Read our verdict in the software roundup.
| Multi-Core Compression Tools | |
|---|---|
| Zstandard | Fast compression algorithm, providing high compression ratios |
| pigz | Parallel implementation of gzip. It's a fully functional replacement for gzip |
| pixz | Parallel indexing XZ compression, fully compatible with XZ. LZMA and LZMA2 |
| PBZIP2 | Parallel implementation of the bzip2 block-sorting file compressor |
| lrzip | Compression utility that excels at compressing large files |
| lbzip2 | Parallel bzip2 compression utility, suited for serial and parallel processing |
| plzip | Massively parallel (multi-threaded) lossless data compressor based on lzlib |
| crabz | Like pigz but written in Rust |
| PXZ | Runs LZMA compression on multiple cores and processors |
| Kanzi | Modern lossless data compressor |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.