lamw / ghettoVCB

ghettoVCB
MIT License
1.27k stars 363 forks source link

ghettoVCB.sh: pigz compression instead of gzip #310

Closed MiDoTr closed 7 months ago

MiDoTr commented 7 months ago

Compression now utlilizes 24 CPU cores with pigz instead of single-threaded gzip, resulting in drastically faster compression.

Example: 180GB thin-provisioned disk with ~22GB used, compressed to ~19 GB

Successfully tested on ESXi-version 6.5.0, including successful restore.

To utilize a different number of cores (in this commit: 24 cores) change "-p 24" on line 1320 of ghettoVCB.sh.

Todo: make the # of cores configurable via configfile