On Thu, Dec 19, 2024 at 12:53:28PM +0100, Santiago Vila wrote: > reopen 1042029 > thanks > > El 19/12/24 a las 5:12, Adrian Bunk escribió: > > Please fix this regression you introduced. > > We'll try, but given the long build times, we should think > carefully before the next move. > > > What exactly have you measured? > > I've measured that -j2 is already too much on a system with 16GB of RAM > and 4 GB of swap, as I was getting build failures due to processes being > killed in such scenario.
Most buildds on release architectures have 4 GB RAM per core, but they are not swap-starved. > Your suggestion to use -j2 on a machine with only 8GB of RAM does not seem > to be compatible with that (I'm assuming here a similar RAM usage pattern > across different architectures, but that may or may not be accurate). >... https://buildd.debian.org/status/logs.php?pkg=graph-tool&arch=s390x 2 cores 8 GB RAM 94 GB swap Your change increased build time by ~ 40%. https://buildd.debian.org/status/logs.php?pkg=graph-tool&arch=amd64 6 cores 12 GB RAM 125 GB swap Building with 6 cores was successful, but 2 GB RAM per core apparently has a negative effect on build time. My impression is that on a typical buildd with 4 cores and 16 GB RAM "-j 4" is desirable. > Thanks. cu Adrian