bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#43773: [PATCH] offload: Improve load normalization and configurabili


From: Andreas Enge
Subject: bug#43773: [PATCH] offload: Improve load normalization and configurability.
Date: Sun, 4 Oct 2020 09:59:25 +0200

Hello Maxim,

On Sat, Oct 03, 2020 at 11:21:12PM -0400, Maxim Cournoyer wrote:
> Fixes <https://issues.guix.gnu.org/43773>.
> 
> The computed normalized load was previously obtained by dividing the load
> average as found in /proc/loadavg by the number of parallel builds defined for
> a build machine.
> 
> This can be fixed by normalizing using the available number of cores instead
> of the number of parallel jobs.

this looks like a good change to me; actually I ended up encoding the number
of cores in the "speed" field instead, which is a dirty hack around the
core problem.

Andreas






reply via email to

[Prev in Thread] Current Thread [Next in Thread]