[Linux] Accelerate compression processing using pigz

Introduction

Linux standard compression commands do not support multi-core. Note how to use pigz to speed up the compression process with multi-core.

Environmental information

Installation method

epel installation (if not installed)

rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

pigz installation

yum install pigz

how to use

If you add "--use-compress-prog = pigz" to the option, pigz will be used for multi-core compression processing.

tar zcvf [compressed file name].tar.gz --use-compress-prog=pigz [Compression target]

Recommended Posts

[Linux] Accelerate compression processing using pigz
Dictionary-type processing using items ()
[Linux] DICOM sort processing
[Linux] tar.gz compression / decompression command
Implement reversi reversi processing using BitBoard
Using Python mode in Processing