On 2020-10-10 07:15, C Linus Hicks wrote:
On Fri, 2020-10-09 at 15:08 -0700, ToddAndMargo via users wrote:
On 2020-10-07 14:17, Cameron Simpson wrote:
On 06Oct2020 16:32, ToddAndMargo <toddandma...@zoho.com> wrote:
I am noticing that

    tar czvf xxxxx

is only using one of my cores (and pretty much all of
the core).

Is there a way to get it to use more than one core?

Its ability to compress depends on the compression program you use. Using the 
'z' flag specifies
that it use gzip, which only uses one core. Use a different compression program.

I use lbzip2, there are other options:

https://www.linuxlinks.com/best-linux-multi-core-compression-tools/

Once installed, I create an alias like so:

alias pzstar='/usr/bin/star compress-program=lbzip2 -sparse'

Notice I am using 'star' rather than 'tar' but they are similar.

The option for specifying the compress program in tar is so:

        -I, --use-compress-program=COMMAND
               Filter  data through COMMAND.  It must accept the -d  option, for
               decompression.  The argument can contain command line options.

Thank you!

I stuck it in my keeper file on the subject
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to