pigz: A parallel implementation of gzip for multi-core machines
1–10 of 107 posts
Re: pigz: A parallel implementation of gzip for multi-core machines
#2Re: pigz: A parallel implementation of gzip for multi-core machines
#3Re: pigz: A parallel implementation of gzip for multi-core machines
#4Any comparative benchmarks or a write-up on the approach (other than "uses zlib and pthreads" from the README)?
Re: pigz: A parallel implementation of gzip for multi-core machines
#5Re: pigz: A parallel implementation of gzip for multi-core machines
#6Re: pigz: A parallel implementation of gzip for multi-core machines
#7Any comparative benchmarks or a write-up on the approach (other than "uses zlib and pthreads" from the README)?
https://www.linuxjournal.com/content/parallel-shells-xargs-u...
Re: pigz: A parallel implementation of gzip for multi-core machines
#8*edit, as ac29 mentions below, just use zstdmt. In my quick testing it is approximately 8x faster than pbzip2 and gives better compression ratios. Wall clock time went from 41s to 3.5s for a 3.6GB tar of source, pdfs and images AND the resulting file was smaller.
megs
3781 test.tar
3041 test.tar.zstd (default compression 3, 3.5s)
3170 test.tar.bz2 (default compression, 8 threads, 40s)Re: pigz: A parallel implementation of gzip for multi-core machines
#9Any comparative benchmarks or a write-up on the approach (other than "uses zlib and pthreads" from the README)?
Single-threaded gzip can outperform pigz, or at least come very close, when used with GNU xargs on separate files with no dependencies. https://www.linuxjournal.com/content/parallel-shells-xargs-u... https://news.ycombinator.com/item?id=26178257
Re: pigz: A parallel implementation of gzip for multi-core machines
#10https://github.com/madler/pigz/blob/master/try.h
https://github.com/madler/pigz/blob/master/try.c
which implements try/catch for C99.