Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I normally compress using tar zcvf and decompress using tar zxvf (using gzip due to habit). I've recently gotten a quad core CPU with hyperthreading, so have 8 logical ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Apr 2008
    Posts
    127

    Utilizing multi core for tar+gzip/bzip compression/decompression


    Hi,

    I normally compress using tar zcvf and decompress using tar zxvf (using gzip due to habit). I've recently gotten a quad core CPU with hyperthreading, so have 8 logical cores, and I notice that many of the cores are unused during compression/decompression. Is there any way I can utilize the unused cores to make it faster?

    Thanks.

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,356
    Yes, there is.
    Use pigz - Parallel gzip
    You must always face the curtain with a bow.

  3. #3
    Just Joined!
    Join Date
    May 2012
    Location
    Pretoria,South Africa
    Posts
    5
    pigz is nice but gzip as sometimes used because of the time it took to bzip2 it.
    I've been using pbzip2 and it saves a lot of time.

    compression.ca/pbzip2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •