[SOLVED] Wie nutze ich PIGZ richtig bei VZDUMP?

fireon

Distinguished Member
Oct 25, 2010
4,354
431
153
Austria/Graz
deepdoc.at
Hallo Leute,

aktuelle Proxoxversion pve-manager/8.2.4/faa83925c9641325 (running kernel: 6.8.12-1-pve) möchte gerne mehr Threads verwenden und mit PIGZ vzdump's raus spielen. Die Komprimierung benötige ich für ein spezielles Projekt wo es um die Größe des Files geht. Früher hatte ich einfach nen Symlnik von pigz auf gzip gelegt. Das funktioniert nun nicht mehr, daher habe ich mich mit den Optionen in der vzdump.conf versucht. Leider bisher ohne Erfolg:

https://pve.proxmox.com/wiki/Backup_and_Restore#vzdump_configuration

pigz: <integer> (default = 0)
Use pigz instead of gzip when N>0. N=1 uses half of cores, N>1 uses N as thread count.

Folgende Werte habe ich versucht:

pigz: 1
pigz: N=1
pigz: 32>1

Aber Pigz wird in der CMD nie verwendet und es ist nach wie vor super langsam. Start ich das ganz manuell auf der CMD, funktioniert das super:

Code:
vzdump 136 --mode stop --compress gzip --pigz 1 --dumpdir /mnt/pve/static-fullbackup/dump

Was mache ich falsch?

Viele Dank
 
Last edited:
Im Backup selbst ist auch GZIP als Kompression ausgewählt?
Ich finde ja mittlerweile GZIP als obsolet, seit dem ZSTD als Kompression hinzugefügt worden ist.
Hier ist aber noch ein zstd: 0 in der vzdump.conf nötig, damit es schnell geht.
 
  • Like
Reactions: Falk R. and fireon
Im Backup selbst ist auch GZIP als Kompression ausgewählt?
Ich finde ja mittlerweile GZIP als obsolet, seit dem ZSTD als Kompression hinzugefügt worden ist.
Hier ist aber noch ein zstd: 0 in der vzdump.conf nötig, damit es schnell geht.
Danke dir für deine Antwort. Habe nun einige Tests gemacht und es ist tatsächlich so das bei all meinen Versuchen ZSTD schneller (mit deiner Option) ist und eine bessere Komprimierungsrate als Gzip hat. Fazit: GZIP ist für mich ab heute auch obsolet!
 
  • Like
Reactions: JensF

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!