It's a reasonable idea. We've discussed it before but it hasn't been
particularly high priority. Since VDO is mainly focused on
deduplication, it's not clear how much it would help to use a different
compression algorithm, but it shouldn't hurt anything, either.
To make this work we'd want to add a new create-time option to specify
the compression algorithm to use. Switching algorithms after data has
been written to the volume could make older compressed data unreadable,
so we don't want to allow that.
Matt
On 1/18/25 12:53 PM, Anton Gavriliuk wrote:
What if zstd can be added to VDO as a compression algorithm along with lz4 ?
It could provide more flexibility for users - faster compression or
better compression ratio.
Anton