From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id SAy4NBCBeV8BMQAA0tVLHw (envelope-from ) for ; Sun, 04 Oct 2020 08:00:16 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id OCqGMBCBeV9VbQAAbx9fmQ (envelope-from ) for ; Sun, 04 Oct 2020 08:00:16 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 08DCA9402AF for ; Sun, 4 Oct 2020 08:00:14 +0000 (UTC) Received: from localhost ([::1]:46618 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kOywF-0007dQ-R1 for larch@yhetil.org; Sun, 04 Oct 2020 04:00:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53676) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kOyw7-0007dE-NC for bug-guix@gnu.org; Sun, 04 Oct 2020 04:00:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33371) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kOyw7-0001JI-DR for bug-guix@gnu.org; Sun, 04 Oct 2020 04:00:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kOyw7-00079F-9c for bug-guix@gnu.org; Sun, 04 Oct 2020 04:00:03 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#43773: [PATCH] offload: Improve load normalization and configurability. Resent-From: Andreas Enge Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 04 Oct 2020 08:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43773 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Received: via spool by 43773-submit@debbugs.gnu.org id=B43773.160179837227243 (code B ref 43773); Sun, 04 Oct 2020 08:00:03 +0000 Received: (at 43773) by debbugs.gnu.org; 4 Oct 2020 07:59:32 +0000 Received: from localhost ([127.0.0.1]:44917 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOyvb-00075I-J2 for submit@debbugs.gnu.org; Sun, 04 Oct 2020 03:59:31 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:46970) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kOyvZ-00074s-Ki for 43773@debbugs.gnu.org; Sun, 04 Oct 2020 03:59:30 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id D90FF201; Sun, 4 Oct 2020 09:59:27 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vrCpYA66hMwm; Sun, 4 Oct 2020 09:59:27 +0200 (CEST) Received: from jurong (unknown [IPv6:2001:910:103f::3f1]) by hera.aquilenet.fr (Postfix) with ESMTPSA id D3E12D9; Sun, 4 Oct 2020 09:59:26 +0200 (CEST) Date: Sun, 4 Oct 2020 09:59:25 +0200 From: Andreas Enge Message-ID: <20201004075925.GA1448@jurong> References: <875z7sm2kv.fsf@gmail.com> <20201004032112.5916-1-maxim.cournoyer@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201004032112.5916-1-maxim.cournoyer@gmail.com> X-Spam-Score: 0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -0.3 (/) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 43773@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -0.51 X-TUID: zTW+PHOoletO Hello Maxim, On Sat, Oct 03, 2020 at 11:21:12PM -0400, Maxim Cournoyer wrote: > Fixes . > > 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