]> git.proxmox.com Git - pve-manager.git/commit - PVE/VZDump.pm
Added parallel compress support for vzdump with pigz.
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 22 Jul 2015 16:14:50 +0000 (18:14 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 23 Jul 2015 04:08:09 +0000 (06:08 +0200)
commit778d5b6d4ed7d3f4c9f399ec5bc9abb3ad23e662
tree4cd6aceee2846a110ef6c9a537659f90503bb905
parentd6ca60267f3fe825da84631ab2c16edb6f79ed72
Added parallel compress support for vzdump with pigz.

Added a vzdump.conf option to controll gzip compression.
When 'pigz' (defaults to 0) is >0, pigz support is enabled.
When the pigz option equals 1 pigz uses #cores/2 threads,
else it spawns N threads. To use it select gzip in the web
interface and set the aproppriate option in /etc/vzdump.conf

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/VZDump.pm
vzdump.conf