From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7192672744921628672 X-Received: by 2002:a17:90a:4dcd:b0:21a:1a66:cd91 with SMTP id r13-20020a17090a4dcd00b0021a1a66cd91mr4588325pjl.190.1674792602948; Thu, 26 Jan 2023 20:10:02 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:aa7:9732:0:b0:582:392e:8bbb with SMTP id k18-20020aa79732000000b00582392e8bbbls1043846pfg.9.-pod-prod-gmail; Thu, 26 Jan 2023 20:10:02 -0800 (PST) X-Google-Smtp-Source: AK7set9YFlqm/Htfb3c2+uHcUmUtAgVnnQ+sM33vYmBE/qOmjd4JYhK9xeIHHwigSMtuI7oyg/Je X-Received: by 2002:a05:6a00:244b:b0:592:7828:b011 with SMTP id d11-20020a056a00244b00b005927828b011mr632930pfj.2.1674792601941; Thu, 26 Jan 2023 20:10:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674792601; cv=none; d=google.com; s=arc-20160816; b=x+3FT+B0ugy0xUEGASvQ8S8BKhl2hSMMotkcU0uQU/nU9TeKqFL/RgE/rcTmeu2Wex plL2UVF+xQKeM5vd408yi7ULbETFw102Z5a0jwcryFWfzJcykvQ19sc91LkPF9xHely6 0z5EiD45yxl5AiIkxXp9xFqq2C/0hDW8APfqEVkIzCI8cPVHmkxmw3Zr6pbjo1vcev9b BPzGfGqMdbJxHIWs3cY70xG4j3r1SY7PVcNmJq9tC6qm0e6dhfvCAgBnZuHE7hAupQHG MivtBqDnLmCRJTwymPbjMV9sDidXwuE+SbCBt8+U3UUY5Jt/k57LFdxK1utCiSG7ULMR QTig== 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=iR5WnnygnnQZPcde8McVJGy1Vp4J6et8yMfevXtt1lY=; b=J5L12UN3Ru03MGt46z7/RUtZoSmktEfDxNIdjbL6mYGHQ+hoxZFjv8ttdjo2dH8BmD OgHca5XZwDoNWC0tNOennHTfaGPf8I710a651QEdAeQh6uuGmeusbuK2T8JQsrYX64eF TSTFO/V13bfbFAcDD2SXIa4Vm7B86PIc8nAPU2Tw9KzjwguuA053mwLjAkDRhknZ3/aW KoGo47Mt5YFmyZtk8+GkKD/12rEV0dwBz8gzi5ibt/oevmHVKCvyODhKn26Q1b3g4V7C z+ncDL0Zcana9aSImmGwhgxVHGJmw+Kq9pmLfLI1/uECPGO4LZ1zOTtsJrEKi8pUSat6 hkWA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=krQfdK34; spf=pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::729 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-qk1-x729.google.com (mail-qk1-x729.google.com. [2607:f8b0:4864:20::729]) by gmr-mx.google.com with ESMTPS id o191-20020a62cdc8000000b0059076272a23si275799pfg.3.2023.01.26.20.10.01 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 26 Jan 2023 20:10:01 -0800 (PST) Received-SPF: pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::729 as permitted sender) client-ip=2607:f8b0:4864:20::729; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=krQfdK34; spf=pass (google.com: domain of roberto.foglietta@gmail.com designates 2607:f8b0:4864:20::729 as permitted sender) smtp.mailfrom=roberto.foglietta@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: by mail-qk1-x729.google.com with SMTP id x26so1806097qkj.4 for ; Thu, 26 Jan 2023 20:10:01 -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=iR5WnnygnnQZPcde8McVJGy1Vp4J6et8yMfevXtt1lY=; b=krQfdK34+Ct7m530fP3w0XGXn42XoQ/qpPKG9U1Qd1Hbud336IgKOCuYWTgNhCrHaU +bwvFThdrfjPGZ9pcNx3QvCoH44K+MlQVYQ7DbVcFFXxoWJ/D+YqTRfUR28jfr2WejE8 3F5GrnIyvFUt6Ub/SlR/f9JZj/eKeeTHaLe9nW/ZzMjI+tRFrGyu4UK2qI1QkTpA72kF W7okOH1zuLJ24LTn3wuzjsa0ZFpWgUD55luKrNMvKCv467+CUW38MOn/9kRa3Oi089CT aFTAHiZJm6fFC1ksjmgIjUy555D8+7q3/hWBQY+Bd8Ute6HIU6BaqYLQb6qX/dyehv1Q sCPg== 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=iR5WnnygnnQZPcde8McVJGy1Vp4J6et8yMfevXtt1lY=; b=nmxD2HHPoTZvdJnLGdRSvcuB+GwSaOo4nOgPshL8Npw87yAYeGiw3WmoloIm9yznyE 8bd8+8dYRUicewtkOiOsVHHBp54NwtqVzIrvVe40s8F4/aikoLvI4mH1VCGx5cqL/tQH bBo2tZrIPccnhW/g/AIymgJGLC1oLTCrVytXJcFGb8Cd4mmq+rArSWuApl1u/yMKCa5P LRCY0BSzL0+l0yj8noIh4Rgi9KxiQRgGQFnboKhPg4CfpGP2O1WvuK4SO33kkifrGSyy KMdxqCt9wCrDvQ6F1Zob9VpPZWVYx/lUKI/hrQoe49dgc2nss1wPfdzz6shzXDBA+nBi npBA== X-Gm-Message-State: AFqh2kqV82YKcH2L3z0Ytda80mgPyvxI00ArGLLTDt/86PBtRct7U2RS aF1M9VCNzhO57mrzgMBx7zUDox6jjj6VKN6Mfp5soGM= X-Received: by 2002:a05:620a:1b8d:b0:709:2a7f:e9e0 with SMTP id dv13-20020a05620a1b8d00b007092a7fe9e0mr1231582qkb.550.1674792600985; Thu, 26 Jan 2023 20:10:00 -0800 (PST) MIME-Version: 1.0 References: <20230125192337.86869-1-amikan@ilbers.de> <20230126205937.724bb528@md1za8fc.ad001.siemens.net> In-Reply-To: <20230126205937.724bb528@md1za8fc.ad001.siemens.net> From: "Roberto A. Foglietta" Date: Fri, 27 Jan 2023 05:09:24 +0100 Message-ID: Subject: Re: [PATCH v8 00/20] Migrate to Bitbake 2.0 To: Henning Schild Cc: Anton Mikanovich , isar-users@googlegroups.com Content-Type: text/plain; charset="UTF-8" X-TUID: 4LmcvCAlwyqU On Thu, 26 Jan 2023 at 20:59, Henning Schild wrote: > > Am Thu, 26 Jan 2023 14:23:06 +0100 > schrieb "Roberto A. Foglietta" : > > > On Thu, 26 Jan 2023 at 08:29, Anton Mikanovich > > wrote: > > > > > > 26/01/2023 01:43, Roberto A. Foglietta wrote: > > > > On Wed, 25 Jan 2023 at 20:23, Anton Mikanovich > > > > wrote: > > > >> This patchset moves Isar to use Bitbake 2.0 branch. > > > >> > > > > Hi, how can I check which version I have previously integrated in > > > > my branch? > > > > > > > > Thanks, R- > > > > > > Hello Roberto, > > > > > > $ cat bitbake/bin/bitbake | grep "__version__" > > > > > > > Great, but this gives me the version of bitbake. I was interested in > > the version of the patches. Because I have an old version but I do not > > know which version and there is no versioning in any commit. So, I do > > not know the version of the patchset and I have to find out to > > understand if I need to apply this version immediately or I can wait. > > This is v8 as the cover letter says. If you already jumped on not > merged code you should know which version you took. > > Needless to say that you should never take code that is not yet merged > for more than "playing". > Experimenting is the proper word. If I have to keep in my mind or in my notes all the versions of every patch, then I am underusing git because it can do it for me. About unmerged code, thanks for the suggestion. The schroot migration improves performances, and I submit the patch to complete it. The reproducibility could be interesting even if it does not add any performance. For reproducibility, I sent a patch for suggestions which in large part has been taken. Building the custom packages is essential, and I submit the patch to use mount bind which also brings reproducibility per default in my packages but I cannot grant for others. The code for adding extra options to sbuild has been submitted as a patch as well. Bitbakes 2 migration does not add performances. Also that patchset carries a simple contribution of mine. Very simple contribution which is the syntax conversion of some files. Most of that conversion was obtained by the script which does not cover 100% of the cases, anyway, Every performance gain with BB2 could be obtained also with the previous version. Because zstd decompression excellent performances are limited by the I/O performances and I have one of the fastest SSD on the market, so I can say it for real. Its 13x gain could be obtained only when used memory-to-memory like a browser does. So, my experiment gives back something to the original project or at least shows this attitude. By the way, my experiment is in such a mess that no one can sell it at this stage of development but *I* can easily fix it. Because I use git for keeping the versioning, I have free space in my mind to keep the information to put order in my experiments. This also explains why documenting the patches is not so important for me but versioning is instead important. After all, Leonardo Da Vinci was written with a mirror. A very easy trick but at that time having a mirror was not so common and cheap. I am not saying that I am LdV. I am saying that I learn by LdV. Just to clarify that other people might have very good reasons to do things that we consider weird from our perspective. Especially In open-source, diversity acceptance would be a sign of universality. It was long in writing but just to say in a brief summary: we have enough to converge to a common base in the worst case and in the best, well why worry about the best case? LOL Best regards, R-