image compressor types
what’s the difference between image compressor types “Partimage ,Partclone gzip ,Partclone zstd,Partclone zstd,Partclone zstd” ? what’s the best ?
Tom Elliott last edited by
@amerhbb that’s a matter of opinion but I really like it.
@tom-elliott So the best solution is ZSTD ?
Tom Elliott last edited by Tom Elliott
Partimage is only valid on deploy as this is from 0.32 and earlier.
Partclone is the new “manager” that FOG uses to capture/deploy images.
GZIP, ZSTD, None.
GZIP is a compression standard. Compression levels 0-9, 9 very slow to compress, uses less space. 6 is “goldilocks” average for most people between deploy and capture. Higher than 6 your compression amount isn’t enough to warrant the slow down in speed, and, as such, it doesn’t impact your download. Below 6, you use more server disk space, but deploy can become greatly elongated. This is because compressed data transfers faster (there’s less data to transfer).
ZSTD is a relatively new compression standard. It is much faster at compression than GZIP. It’s levels vary between 1-22. Anything above 19 uses a LOT of memory and takes a long time to compress (assuming you have enough memory). I’ve not found a goldilocks zone for ZSTD standard as they all seem to do fairly well, though I image anything above 10 would do best for the reasons listed at the end of the GZIP information.
NONE is no compression at all. This is useful if you wanted to use a Clonezilla image in fog. It’s the slowest of them all, as there is no compression, but adds a lot of adaptability.
Then there’s “split file” types. These are compressed the same way and deployed the same way as regular, with the only exception being the files are split into 200MB chunks. This is just so if needed you could copy the files to a cd and move them wherever, (or create a type of back up of your images). All the split files must be present when deploying in order for there to be success.