Hi Helmut,

On 2026-10-10 12:00, Helmut Grohne wrote:
> Hi Aurelien and Adrian,
> 
> On Fri, Oct 09, 2026 at 08:48:40PM +0200, Aurelien Jarno wrote:
> > The memory used by tmpfs, but not yet swapped, appears in "Shmem". 
> > Therefore how about using
> > 
> >   MemAvailable + min(SwapFree, Shmem) ?
> 
> Thank you for this suggestion. I implemented this in
> https://salsa.debian.org/helmutg/guess_concurrency/-/commit/12e7a4d1d72d31fa0c731912985c0069210f3974.
> Would you confirm that it adequately solves your problem?

Yes, this solves the issue. It still return a bit less than the RAM 
available, depending on what is running on the host on the moment 
guess-concurrency is run (e.g. puppet run), but this is already a 
significant improvement.

For the vtk9 case, that will increase the number of jobs on a host with 
16GB RAM from 2 to 3. The next step is to work with the maintainer to 
define the correct required memory size.

Regards
Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
[email protected]                     http://aurel32.net

Reply via email to