public inbox for goredo-devel@lists.stargrave.org
Atom feed
From: Sergey Matveev <stargrave@stargrave•org>
To: goredo-devel@lists.cypherpunks.su
Subject: Re: Memory exhaustion issues
Date: Tue, 10 Sep 2024 09:50:46 +0300	[thread overview]
Message-ID: <Zt_sUyOQvouY5CaX@stargrave.org> (raw)
In-Reply-To: <08e519f45aa839d2b2a49bce5db0d809@spacefrogg.net>

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

Greetings!

Ok, I agreed that if we can give job tokens taking the depth/priority in
consideration, then your idea should work. Currently that is not
possible easily, because there is single pipe, where job tokens is a
single byte and who catches its first -- it will start the next job.
Some kind of centralised arbiter will be required, that will know about
each awaiting job (and its depth/priority) and will distribute job
tokens not randomly.

Seems to be not a hard task and seems that even compatibility to Make's
jobserver should not be broken. Will try to look and implement that on a
weekend, but not sure about free time.

Thanks for suggestion!

-- 
Sergey Matveev (http://www.stargrave.org/)
OpenPGP: 12AD 3268 9C66 0D42 6967  FD75 CB82 0563 2107 AD8A

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

      reply	other threads:[~2024-09-10  6:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-19 10:12 Memory exhaustion issues spacefrogg
2024-09-05 18:49 ` Sergey Matveev
2024-09-05 19:49   ` goredo
2024-09-08 10:11     ` Sergey Matveev
2024-09-09 10:49       ` spacefrogg
2024-09-10  6:50         ` Sergey Matveev [this message]