From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7191847640499224576 X-Received: by 2002:a05:6102:c46:b0:3c4:b23f:c829 with SMTP id y6-20020a0561020c4600b003c4b23fc829mr4096617vss.12.1674561976001; Tue, 24 Jan 2023 04:06:16 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a1f:1946:0:b0:3e1:ac74:4df7 with SMTP id 67-20020a1f1946000000b003e1ac744df7ls2648626vkz.10.-pod-prod-gmail; Tue, 24 Jan 2023 04:06:15 -0800 (PST) X-Google-Smtp-Source: AMrXdXtEZ8/LjGQYhnEH5plY9u/EjbLQ7ToHQ/MED14D7svnY9YsRIO/Qf7ik486LL1n3TJp290a X-Received: by 2002:a1f:c155:0:b0:3c5:9374:d6ec with SMTP id r82-20020a1fc155000000b003c59374d6ecmr14933208vkf.14.1674561975183; Tue, 24 Jan 2023 04:06:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674561975; cv=none; d=google.com; s=arc-20160816; b=pzU8X16qVAHPiQbYZMLXHxnma3vSJCxNnEbBLZW0QJTuL9qzUDsZ/5MExeQ6ib31Mu ucWq6fXJ/lS1ZhdkoI6kBbEb/N7EEeEjz1T81QL0FRheYjLuVcKlK45krokrzKMa0/m/ e0dEbi3ga/JEUL+cSJGQ8N99aWgEOs2TwATAz6XgWdv9iLxdMUnijyTpl2J+UbMwbgD7 HSbYsuJ8Y25CqRPTMtJJepEHq5ZmYFYLLEfu52uksQvjm9JRTKxczG/k9kKED3FLo3jq 9wZuviQ4eLvgFr0ELJF+VdDLZzq8TMXfnMiuSfsEEzYrW02F6GXf1WptaeNK9da15qbH Qtwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=h4KD8qwGudlcoRGmdqVSjucx6ugocMDRgemaG63R+98=; b=RTIlHo+7xoQTrGqlvcPpGf9D1z+88VBl2C3Xm0hhSwoNqzHby4iHkGKP/BxYdsYFjz dSSu5z0OT0ZtCH1phIRSOvq8ZUxe337Xaiwr/7b2AMn7cH1g1nlfVNWtA8yY4G1Ck9nx iLrJkBHhkDo48EuqpA7dzYX7Wu48UnvrvWtatQDwhyDOlIQmKYinKPWJ3J4P6OVKfcVn 0FMdOGYZi/dU4HVRsf3yU+KtVvcNm3qKuEeulP0+vjz3mZp+8DVMa/8Wzql+5nKeogzD I/H6MgNawI9+RCFIuiyHVo6aGz0lQd4TPAcXt8wukbBwdDR5FGsUeCMw76qkIxZKwtkw QQ9g== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=HY6to6Oo; spf=pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::82d as permitted sender) smtp.mailfrom=roberto.foglietta@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail-qt1-x82d.google.com (mail-qt1-x82d.google.com. [2607:f8b0:4864:20::82d]) by gmr-mx.google.com with ESMTPS id d13-20020ab0378d000000b0054bf671c8ccsi157999uav.0.2023.01.24.04.06.15 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 24 Jan 2023 04:06:15 -0800 (PST) Received-SPF: pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::82d as permitted sender) client-ip=2607:f8b0:4864:20::82d; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=HY6to6Oo; spf=pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::82d as permitted sender) smtp.mailfrom=roberto.foglietta@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: by mail-qt1-x82d.google.com with SMTP id jr19so11583816qtb.7 for ; Tue, 24 Jan 2023 04:06:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=h4KD8qwGudlcoRGmdqVSjucx6ugocMDRgemaG63R+98=; b=HY6to6Oo5jNI0YKUc3zOVOZJW5iu5T8/sVFpno3LL1OId8JArfZFeA6G5AEdgT6pkn oiP0wp/pSZf9Z97ETa5GolIsc/Q/aALTGz6v89mqKfL9TLvHqw+hrFUbXGg47xyyIrhv PQBeZ44aopaB2gdNzWDG/VuSIav9SZLP3AAz/v3IpNN9Agba7Pg61CbpfbFFpETD/JIe VB/Vub/eBWPBSkh/vhNDVy20f9Giq0uRT8i5EBMzr612itksBO/ARorGylv7MKpNue1r PcXURaFtnCEFajkuC5lj9EOJ90pnUJSkiYdk3Y5U3r6beZibeKzy8tqJLX8yT4DxS4Gb NENQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=h4KD8qwGudlcoRGmdqVSjucx6ugocMDRgemaG63R+98=; b=U5g4bSqG1EnVoQA1MniEcv6acCeG6mjM8A0bLh+2b3Q9EdW5EnvulBfxalLHBdAxzw S8jAOc4F/0vap00O0+rV1iP2PL+FNxuGBx7pr2sRv2voexK/4A52PzApwvS48kPeHEdo QVI8PL01rXUMoJzLKQakAYAj4daq6TuIbEcZBE0D9sTZwKZ22mkHOV0VrCH2uMWZnFaz aQWxHs3Ooc8P5+4hpvrB1os0piO6gXwTj8AjaeViBhIFAcnjDQwiYnBGwARkV9tjzZgg xX2ayYDLqmI64UrmMGltrF9PQfq/NRlvtCf8PC5RdtqfskovPpit81sfCu4a7aQ6nOt5 2GgA== X-Gm-Message-State: AFqh2kqr1P79yX3W9nexpnXiCmTs8lm0rBDvujbd0OCXb5ZLY9mHPm8W YOfufOcMkiibXSsMHRb8QOBoQiu7PFIQ5W3D2THjNSwzKw== X-Received: by 2002:ac8:4699:0:b0:3b6:2f03:a427 with SMTP id g25-20020ac84699000000b003b62f03a427mr976542qto.590.1674561974723; Tue, 24 Jan 2023 04:06:14 -0800 (PST) MIME-Version: 1.0 References: <20230123140016.71522-1-michael.adler@siemens.com> <6d7ab6e6-6260-6a85-587e-9609e9314645@siemens.com> In-Reply-To: From: "Roberto A. Foglietta" Date: Tue, 24 Jan 2023 13:05:37 +0100 Message-ID: Subject: Re: [PATCH] feat: add zstd support to image conversions To: Jan Kiszka Cc: Michael Adler , isar-users@googlegroups.com Content-Type: text/plain; charset="UTF-8" X-TUID: 4LzpWfeuiYJ4 On Tue, 24 Jan 2023 at 04:17, Roberto A. Foglietta wrote: > > Il Lun 23 Gen 2023, 20:22 Jan Kiszka ha scritto: >> >> On 23.01.23 15:00, Michael Adler wrote: >> > This patch enables ISAR to build zstd compressed images. >> > >> >> I was briefly thinking you had solved the dpkg vs. zstd issue - just a >> dream :) > > > Hi Jan. > > I think you are speaking about zstd compression for the debian package that is 1% bigger but 13x times faster in expanding. [1] [...] > > The alternative is to repackage everything with xz parallel. Usually a modern laptop has 8 pipes but I have the sensation that with -T 0 it counts just the cores because on my machine spawn 4 not 8. Forget about the last 4 instead of 8 about xz. Every compressor is doing the same on my laptop and it is a complete novelty. Possibly the newer versions spawn with limitation to not clog the machine. Yes, all 8 CPUs (4 cores X 2 threads) are online and account for every command that gives access to them (lscpu, proc, nproc, htop, etc.). Something similar on your machines? Best regards, R-