Increase compression level inside Mender Artifact v3?

I am using Mender in situation where some devices have limited bandwidth connections. Is it possible to increase the compression level beyond that standard gzip used in the Mender Artifact v3 format?

Mender also supports lzma/xz

Do you know of a way to make it switch?

if your using yocto then i add thw following to MENDER_ARTIFACT_EXTRA_ARGS_append variable in my local.conf

--compression lzma -v 3

https://docs.mender.io/3.0/system-updates-yocto-project/variables

if use mender-artifact tool standalone then i add the following to my mender-artifact config file

MENDER_ARTIFACT_COMPRESSION="lzma"

https://docs.mender.io/system-updates-debian-family/convert-a-mender-debian-image/customization

when using lzma, mender-artifact defaults to maximum compression level i.e level 9
the default for gzip is the default flate level compression

1 Like

fyi: the ticket where it was discussed, data collated on compression comparisons

https://tracker.mender.io/browse/MEN-761

1 Like