Uploaded image for project: 'OpenVZ'
  1. OpenVZ
  2. OVZ-5805

Add support of parallel tar for vzctl create command

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Reopened
    • Priority: Minor
    • Resolution: Fixed
    • Fix Version/s: OpenVZ-legacy
    • Component/s: Containers::Userspace
    • Security Level: Public
    • Environment:
      Operating System: Other
      Platform: Other

      Description

      Hello,

      On simple 4-8 core based server we can speedup vzctl crate command by 2-4 times by using pigz.

      Please compare:
      time tar --use-compress-program=pigz -xf /vz/template/cache/debian-6.0-x86_64.tar.gz -C /tmp/debian1

      real 0m15.900s
      user 0m2.272s
      sys 0m5.461s


      time tar -xf /vz/template/cache/debian-6.0-x86.tar.gz -C /tmp/debian2

      real 0m26.118s
      user 0m3.152s
      sys 0m13.880s

      Please add pigz support on system with this binary (/usr/bin/pigz) installed :)

        Attachments

          Activity

            People

            Assignee:
            kir Kir Kolyshkin
            Reporter:
            pavel.odintsov@gmail.com Pavel Odintsov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: