Re: tar and cores?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2020-10-07 14:17, Cameron Simpson wrote:
On 06Oct2020 16:32, ToddAndMargo <ToddAndMargo@xxxxxxxx> 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?
It is writing data serailly. In what way do you think using another core
would help?

Last time I looks the "z" part was done by forking a gzip command for
the compression. So tar would be doing little (copying data to the
gzip) and the gzip would be CPU bound if it can get data fast enough and
write out fast enough.

Cheers,
Cameron Simpson <cs@xxxxxxxxxx>

Hi Cameron,

I have no idea how tar works.  I was just looking for a little
extra performance.

And dump (dump/restore), which goes like the winds, is basically
doing the same thing as tar and utilizes all four of my cores. 
Here is a core usage screenshot of a compressed dump running
on my machine:



The blue vertical lines show you the CPU usage.

-T

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux