From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id C5284C282DE for ; Mon, 10 Mar 2025 14:19:47 +0000 (UTC) Subject: Re: [PATCH 0/1] hashserv: Add `gc-mark-stream` command for batch hash marking To: bitbake-devel@lists.openembedded.org From: "Alexandre Marques" X-Originating-Location: Vila Nova de Foz Coa, Guarda, PT (213.205.68.220) X-Originating-Platform: Linux Firefox 135 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Mon, 10 Mar 2025 07:19:42 -0700 References: <20250310140118.2649050-1-alexandre.marques@ctw.bmwgroup.com> In-Reply-To: <20250310140118.2649050-1-alexandre.marques@ctw.bmwgroup.com> Message-ID: <9243.1741616382313321003@lists.openembedded.org> Content-Type: multipart/alternative; boundary="HIecwJVXXvBavzRud725" List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 10 Mar 2025 14:19:47 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/bitbake-devel/message/17421 --HIecwJVXXvBavzRud725 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Mon, Mar 10, 2025 at 07:02 AM, Alexandre Marques wrote: >=20 > This comes in the sequence of [1]. And it proposes a new garbage > collection > command to improve the efficiency of marking several hash equivalence > database > entries. >=20 > A new poky/script using this command will also be added, so that > developers can use it and to server as a reference on how this new developers can use it and to serve as a reference on how this new >=20 > command is meant to be used. >=20 > Since the hash equivalence server API is also changed, and as of now ther= e >=20 > isn't a convenient way to check the API version or which commands are > available. >=20 > The new client command assumes a connection error to the server means > the server does not support "bulk" marking in stream mode, and falls back > to sequentially marking each input its given. >=20 > 1 - https://lists.openembedded.org/g/bitbake-devel/topic/clarification_on= _cleaning_up/111382632a >=20 1 - https://lists.openembedded.org/g/bitbake-devel/topic/clarification_on_c= leaning_up/111382632 >=20 > Alexandre Marques (1): > hashserv: Add `gc-mark-stream` command for batch hash marking >=20 > bin/bitbake-hashclient | 30 ++++++++++++++++++++++++++++++ > lib/hashserv/client.py | 22 ++++++++++++++++++++++ > lib/hashserv/server.py | 29 +++++++++++++++++++++++++++++ > lib/hashserv/tests.py | 42 ++++++++++++++++++++++++++++++++++++++++++ > 4 files changed, 123 insertions(+) >=20 > -- > 2.25.1 --HIecwJVXXvBavzRud725 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
On Mon, Mar 10, 2025 at 07:02 AM, Alexandre Marques wrote:
This comes in the sequence of [1]. And it proposes a new garbag= e collection
command to improve the efficiency of marking several hash= equivalence database
entries.

A new poky/script using this= command will also be added, so that
developers can use it and to serv= er as a reference on how this new
developers can use it and to serve as a reference on how this new
command is meant to be used.

Since the hash equivale= nce server API is also changed, and as of now there
isn't a convenient= way to check the API version or which commands are
available.
The new client command assumes a connection error to the server meansthe server does not support "bulk" marking in stream mode, and falls ba= ck
to sequentially marking each input its given.

1 - https://lists.op= enembedded.org/g/bitbake-devel/topic/clarification_on_cleaning_up/111382632= a
1 - https:/= /lists.openembedded.org/g/bitbake-devel/topic/clarification_on_cleaning_up/= 111382632
Alexandre Marques (1):
hashserv: Add `gc-mark-stream` comm= and for batch hash marking

bin/bitbake-hashclient | 30 +++++++++= +++++++++++++++++++++
lib/hashserv/client.py | 22 ++++++++++++++++++++= ++
lib/hashserv/server.py | 29 +++++++++++++++++++++++++++++
lib/= hashserv/tests.py | 42 ++++++++++++++++++++++++++++++++++++++++++
4 fi= les changed, 123 insertions(+)

--
2.25.1
--HIecwJVXXvBavzRud725--