All of lore.kernel.org
 help / color / mirror / Atom feed
* Clarification on Cleaning Up a Remote Hash Equivalence DB
@ 2025-02-25 18:44 Alexandre Marques
  2025-02-26  2:11 ` [bitbake-devel] " Joshua Watt
  0 siblings, 1 reply; 6+ messages in thread
From: Alexandre Marques @ 2025-02-25 18:44 UTC (permalink / raw)
  To: bitbake-devel@lists.openembedded.org
  Cc: Helios, node0-integration-build@list.bmw.com

[-- Attachment #1: Type: text/plain, Size: 1781 bytes --]

Hello there,

We are using a remote hash equivalence server and need to clean up irrelevant hashes. Currently, we
iterate over a list of hashes, marking each as "alive" using "bitbake-hashclient gc-mark", followed by
"bitbake-hashclient gc-sweep <marker>." This process is inefficient, taking about 9 minutes for 12,000
hashes.

We are wondering what would be the best way to go about improving this..

We propose extending "gc-mark" to support a "bulk-mode" for efficiency.

Additionally, we obtain hashes from sstate files and were considering adapting the client to also accept
a list of files, possibly through a new command or flag. However the client seems to act as a one-to-one
frontend to the server API calls. It's unclear if this is intentional or by design, and if it would be of interest
adding such a feature?

Thank you,

Best regards,
Alexandre Marques


The information in this communication may contain confidential or legally privileged information. It is intended solely for the use of the individual or entity it addresses and others authorized to receive it. If you are not an intended recipient, you are hereby notified that any disclosure, copying, distribution or action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication by error, please notify us immediately by responding to this e-mail and then delete it from your system. Critical TechWorks is not liable for the proper and complete transmission of the information in this communication nor for any delay in its receipt

This e-mail is environmentally friendly, just like Critical TechWorks, which lives in a paper-free atmosphere. Therefore, please consider the environment before printing it!

[-- Attachment #2: Type: text/html, Size: 6620 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-02-28 15:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-25 18:44 Clarification on Cleaning Up a Remote Hash Equivalence DB Alexandre Marques
2025-02-26  2:11 ` [bitbake-devel] " Joshua Watt
2025-02-26  9:50   ` Alexandre Marques
2025-02-26 16:07     ` Joshua Watt
2025-02-27  0:42       ` Alexandre Marques
2025-02-28 15:00         ` [bitbake-devel] " Joshua Watt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.