[리눅스] parallel compression

pbzip2 : Parallel implementation of bzip2

 

https://zlib.net/pigz/

: A parallel implementation of gzip for modern multi-processor, multi-core machines

 

 

$ yum install -y pbzip2

 

$ tar --use-compress-prog=pbzip2 -cf file10g-pbzip2.tar.gz file_10GB

 

$ tar --use-compress-prog=pbzip2 -xf file10g-pbzip2.tar.gz

 

 

 

pigz : Parallel implementation of gzip

 

https://launchpad.net/pbzip2

: PBZIP2 is a parallel implementation of the bzip2 block-sorting file compressor that uses pthreads and achieves near-linear speedup on SMP machines. The output of this version is fully compatible with bzip2 v1.0.2 or newer (ie: anything compressed with pbzip2 can be decompressed with bzip2). PBZIP2 should work on any system that has a pthreads compatible C++ compiler (such as gcc).

 

 

$ yum install -y pigz

 

$ tar --use-compress-prog=pigz -cf file10g-pigz.tar.gz file_10GB

 

$ tar --use-compress-prog=pigz -xf file10g-pigz.tar.gz

댓글 남기기
◀ PREV 1234567···301 NEXT ▶