From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EFVdC/4XnWGo/wAAgWs5BA (envelope-from ) for ; Tue, 23 Nov 2021 17:34:06 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id KOb0Bv4XnWHuXAAAB5/wlQ (envelope-from ) for ; Tue, 23 Nov 2021 16:34:06 +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 DBCD311806 for ; Tue, 23 Nov 2021 17:34:05 +0100 (CET) Received: from localhost ([::1]:38852 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mpYk9-0003mA-21 for larch@yhetil.org; Tue, 23 Nov 2021 11:34:05 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33808) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpYjd-0003l2-Ca for guix-devel@gnu.org; Tue, 23 Nov 2021 11:33:33 -0500 Received: from [2a00:1450:4864:20::431] (port=34584 helo=mail-wr1-x431.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mpYjb-0003i5-JX for guix-devel@gnu.org; Tue, 23 Nov 2021 11:33:33 -0500 Received: by mail-wr1-x431.google.com with SMTP id j3so2266559wrp.1 for ; Tue, 23 Nov 2021 08:33:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=mwQ4zvTcg3riFqOs0NIIs7tLCo7K+UbNw5QxioWaJdA=; b=G86M7ANWIemLpbBvuJL8fHYPu3N5LxTb/91JLYi3tHE0uNWwNx0Pk/G5/6UlZkN8TY CDq5j3D4KaCYQ1HbigNZj/NC5dSealLgwlB7dgmYfAy8sqW5BQAwQnVbjFEc7IXWPe26 YLMpN/rs11NKZw0rC6asbxqXv9KtZUwYZ3BlacG4XEozuAClGyXzpkmkUxXg+PhSAw5Q SNwBKhsAcGSCl+2Tqcsv1ZzfXDfJ6LuZ4/L/LqVzT+JoZrbe9ZLZekFmhE+pnr3uum9z JanuGSqaX3CmB5Z//t8YcdKIDhe9x/olpJ0siK5amilcfTbNZqONb49uEN9FIC0gBvIQ Crdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=mwQ4zvTcg3riFqOs0NIIs7tLCo7K+UbNw5QxioWaJdA=; b=knsbIRtVPLwn12smAPPjc48qKRz7wnYQ3Arg8vwOHEqZwcJDgjUjHCvBL4r7a+MqCd ma4a37R9tZFOI4dlabmWRf4omlDJIcE8eFJZ/xXftQtXJ1XZweTTWP0mwiCz43ROjpxh hqcq0R7UQbQOoeSxM04cnuXQymiATnxQFhsLx835BnQiUq6J4MR+5nMJDeY9YzFJy1Ev DoL+1kteVQIkzHIQ3qHDql0M5iYZdRFEbR91uMGPA/u/Za8xZrBorTMHeuSYAO3kRBoJ 3AMSZU3Y3iOpW4OknGHlWWLcv+qNcF0TwWIaXFn2rJNHwTMJ4nkmO65UygsPrxA6V1UQ ae0g== X-Gm-Message-State: AOAM533J+88qlaaCZaGLUUiiHaxd7Ls2egjycknScKkQ4pZl17ONncc2 hwU3t3ryDXeVjUfFKxGIiueWvK01D6w= X-Google-Smtp-Source: ABdhPJyrvLJMhSRBokRJzt7+OPO/P8bUb7YQr9FaJxv5bzH6HTiFj7UpEkWJn8DgZWQgvN2Cx5vgcQ== X-Received: by 2002:a05:6000:1aca:: with SMTP id i10mr8949495wry.407.1637685210240; Tue, 23 Nov 2021 08:33:30 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id z18sm12772759wrq.11.2021.11.23.08.33.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Nov 2021 08:33:29 -0800 (PST) From: zimoun To: Julien Lepiller , Jacob Hrbek Subject: Re: Proposal: Build timers In-Reply-To: <41445168-F908-4316-8AC4-55AFB3F43FB0@lepiller.eu> References: <868rxfwuib.fsf@gmail.com> <41445168-F908-4316-8AC4-55AFB3F43FB0@lepiller.eu> Date: Tue, 23 Nov 2021 17:23:27 +0100 Message-ID: <86o86avo1s.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::431 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x431.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "guix-devel@gnu.org" Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637685245; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=mwQ4zvTcg3riFqOs0NIIs7tLCo7K+UbNw5QxioWaJdA=; b=fCo+BMy2xhQQokkQWUbbI4xq2SleWOiHefaTeJX0ud/iLQ1cEQUg77Ifpe+89jJQxPrNPS HuhaY31Lfqi502Lmffj/96B2qhXypVNakhSLy4PjnPBzln5glZkEfSJ/b9VifQC55A0avB +cHkLbMVd2zAcDmiUWZyYgUwsoLbDan5Nx17rDXTw1PsVfpOLI179bJEZZGHsExUfe+FSQ jnAMuz+MliHuWaxP+76FZegNfgxoG6WLrFmKKJo5rmRmx2fe4eLN0lWnDzQWkKbwLp3cRG ZC6d2LWdNTLZl6LEMklyz8IA45Zk/2s1zLFCXuSbPMQLQUKWplBbdLfnwdGk0w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637685245; a=rsa-sha256; cv=none; b=BEorM29dDJxGTaQpmNU2+hxDVrlZHXK23FBrc/+ZgIo2FJFpZ3bDvfB4mii3R65JwAJS/w 686V5ktIiBEcuNW32Pi1uLFfJB//9R4fsi9zQzz89vqYDa3GPwd2ZNGZsMcsNF94Ye/EQw vBBNBBFtk+bWLZwFl5FPEMZ18af+7JiCCaU6sd1tJAPaG+UkaaVjWgUN+fOfOrgNC0CnLs MKObF7xoedPfQfIZhY/Pi5KUEkAVB/aeKYG8r5Dyp3+2nKovT0lJYRgE4oneAGr4/MttUC C7Cp/OPVV3binOzE42eFe9QOMhOV+wqmIh0zMebNUdr3zHhqLRay9vUcevXVZA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=G86M7ANW; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -4.09 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=G86M7ANW; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: DBCD311806 X-Spam-Score: -4.09 X-Migadu-Scanner: scn1.migadu.com X-TUID: hYbwi/8VDyeH Hi, On Tue, 23 Nov 2021 at 07:05, Julien Lepiller wrote: > LFS has a notion of a Standard Build Unit (SBU), that is the build > time of a particular package on your machine. Each package build time > is estimated in SBU. However, they do not take threads into account, > because the relation is not exactly proportional (some parts are > linear, there is some overhead, =E2=80=A6). SBUs change quite often with > versions, so I don't think averaging on different versions/derivations > would make a lot of sense=E2=80=A6 But I suppose this info could help > determine how long it should take to build the same derivation or a > similar one. Thanks for the SBU pointer. This webpage [1] provides some details. But I do not find the mentioned table. I would see more numbers about averages and standard derivation. Moreover, I am confused, here [2] GCC@11.2.00 requires 26+56 SBU. And there [3] it says 164 SBU. Why is it so different? I am not convinced such SBUs makes sense for x86_64 because for instance my laptop (4 cores+SSD) is different from my desktop (4 cores+HDD) and really different from my workstation (64 cores+mix). From my understanding, this SBU makes sense in the LFS context because machines are, from my opinion, not so much heterogeneous. However, other architectures are generally more homogeneous machines. And because substitutes are less available, maybe such unit could be worth as a rough indicator. 1: 2: 3: Cheers, simon