Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jul 2020 21:41:15 -0700
From:      bob prohaska <fbsd@www.zefox.net>
To:        freebsd-ports@freebsd.org
Subject:   Dynamic MAKE_JOBS_NUMBER_LIMIT 
Message-ID:  <20200721044115.GB92117@www.zefox.net>

next in thread | raw e-mail | index | archive | help
Is it possible to dynamically set MAKE_JOBS_NUMBER_LIMIT based on
swap usage? The idea would be to check swap usage and start new 
make jobs only when swap use is "low enough", on the Pi3 that
would be less than about 500 MB in my setup.

I've tried manually adjusting the number up during a long make
session (www/chromium) and it seemed to work, but only up. Going
from 2 to 3 got an extra c++ instance, but when the machine got
swap-bound setting it back to 2 didn't inhibit creation of new jobs..

Thanks for reading!

bob prohaska




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200721044115.GB92117>