[elbe-devel] [PATCH 0/2] Add zstd in-place packer and tar archiver

Torben Hohn torben.hohn at linutronix.de
Mon Mar 7 14:54:58 CET 2022


On Fri, Jan 07, 2022 at 10:05:30AM +0100, Daniel Braunwarth wrote:
> This patch adds a zstd in-place packer and tar archiver.
> 
> The following little benchmarks compares gzip and zstd.
> The tests have been run with an example image of 1,9G size.
> 
> Compression with gzip which results in a 379M big file:
> 
> gzip -f sda2.img  38,78s user 0,71s system 99% cpu 39,529 total
> 
> 
> Decompression with gzip:
> 
> gunzip sda2.img.gz  8,70s user 0,81s system 97% cpu 9,728 total
> 
> 
> Compression with zstd which results in a 353M big file:
> 
> zstd -T0 sda2.img  6,66s user 0,65s system 152% cpu 4,791 total
> 
> 
> Decompression with zstd:
> 
> unzstd sda2.img.zst  1,29s user 0,61s system 48% cpu 3,968 total
> 
> 
> Signed-off-by: Daniel Braunwarth <daniel at braunwarth.dev>
> 
> Daniel Braunwarth (2):
>   Use tar GNU-style options and auto compression mode
>   Add zstd in-place packer and tar archiver

Reviewed-by: Torben Hohn <torben.hohn at linutronix.de>

> 
>  debian/control      |  1 +
>  elbepack/packers.py | 11 +++++++----
>  schema/dbsfed.xsd   |  4 +++-
>  3 files changed, 11 insertions(+), 5 deletions(-)
> 
> --
> 2.34.1
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel

-- 
Torben Hohn
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
Phone: +49 7556 25 999 18; Fax.: +49 7556 25 999 99

Hinweise zum Datenschutz finden Sie hier (Informations on data privacy 
can be found here): https://linutronix.de/kontakt/Datenschutz.php

Linutronix GmbH | Firmensitz (Registered Office): Uhldingen-Mühlhofen | 
Registergericht (Registration Court): Amtsgericht Freiburg i.Br., HRB700 
806 | Geschäftsführer (Managing Directors): Heinz Egger, Thomas Gleixner


More information about the elbe-devel mailing list