Re: New package: linux-firmware-xz
Reply #10 –
I don't know comprehensive your example is.
Usually it is like I wrote: No matter if compressing a tar, backing up Linux with FSArchiver (s. Attachment - some years old, but zstd becomes not very much better since then) or Windows with ntfsclone (i. e.):
ntfsclone /dev/sda1 -so - | zstd -169T4 > Windows10.zst
vs.
ntfsclone /dev/sda1 -so - | xz -1T4 > Windows10.xz
I can't bench it, because my only Windows is this:
image: WinXPhome.qcow2
file format: qcow2
virtual size: 1 GiB (1073348608 bytes)
disk size: 303 MiB
cluster_size: 65536
Format specific information:
compat: 1.1
compression type: zstd
lazy refcounts: false
refcount bits: 16
corrupt: false
extended l2: false
I need it sometimes for DVB-S Videocut with VideReDo 4.
Of cause zstd has a much faster decompression (as fast as lzo) and on the faster levels for the speed a very good compression. But if I want the best compression, I use xz or 7-zip with this settings:
7zr a -mx -mqs -m1=lzma:d=4G
Btw:
For btrfs I use "compress=zstd:2" (fstab and /etc/udisks2/mount_options.conf), because #3 and higher are nearly not better, but uses more and more CPU-Time.