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 ms0.migadu.com with LMTPS id QM+OG1k/nGEpWAAAgWs5BA (envelope-from ) for ; Tue, 23 Nov 2021 02:09:45 +0100 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 MMAlF1k/nGHqdwAAbx9fmQ (envelope-from ) for ; Tue, 23 Nov 2021 01:09:45 +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 32E5230B5E for ; Tue, 23 Nov 2021 02:09:45 +0100 (CET) Received: from localhost ([::1]:46362 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mpKJc-0001VK-AS for larch@yhetil.org; Mon, 22 Nov 2021 20:09:44 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36888) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpKJR-0001VC-Sg for guix-devel@gnu.org; Mon, 22 Nov 2021 20:09:33 -0500 Received: from [2a00:1450:4864:20::42a] (port=35713 helo=mail-wr1-x42a.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mpKJP-0004mD-HG for guix-devel@gnu.org; Mon, 22 Nov 2021 20:09:33 -0500 Received: by mail-wr1-x42a.google.com with SMTP id i5so35988979wrb.2 for ; Mon, 22 Nov 2021 17:09:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=Y76OMArUlAkS6PtqmjmmAkJlboo4D4ZcK+q+PnfQa5A=; b=mUC9rTWgLy3QmqXtTtMVXiE0+PHkgjxZFHljHy9UNISL3Un9tRb96r00a5cKLZ9ata 34AtSObnAE0hvkm/fptPLg2qtnmIuabAT4Q8RmCjoMyvo0NGhdmfJEEb9m2SXs00bOv1 RhSs8HdZnmrYzLLTiYnjGdwZIxR9qSo6FyojbMcB/Ux/SHAdzzfT+nTj8UiulFoHEZL0 xPXaFUoMHPZdEe5QB3MMHbWy2viYUoXtranXvd4+vim3l23a/5qCSiSdPDPIBTs8cTCz WiS0ZawaEn6+NYgF5Mqp2N5seQiQ+8bjRnCYVq9tHFgpuMauyoSLwFshXtjKk10fvvwB s0cA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=Y76OMArUlAkS6PtqmjmmAkJlboo4D4ZcK+q+PnfQa5A=; b=u57/DQKUuiFBdkVoffv1mBsVAVAJb6U9qP9nWV/pJUtHRLdtbtAe4xRzhD9ZdUUBR6 t+6WifgX1lml5jW7nEtu09ErzEbc76wwAhKmZVpxnf+EnsIUIi8aTJVtQSNAryPWDa4d x7SacG6GuZvIvEXJ9/zusGzUPXWSaU2tr0ADpcsOpAWc5UzKDDJZ+zsrI3N+KfOzmEJM h6rEud47V1fTUGAPkvAGL7742Je/Y0etGXVp1N72P7Pxanf+GE7eDWlobX2AaF0ovrPS axmW6TS17o+xK2zbX7/ZzFDossFGC0N3l+Rnw7DnYUuaSToMsu21Rq1gX15qEyUcTJJv qr0g== X-Gm-Message-State: AOAM531LZlaAvY/Q24pIX/UoZPwhk8c0NAMN6C/ISW+B+o+O3urRCHaD T1wA2RH3hQKkWJpgvm6yczM2JTSXSEg= X-Google-Smtp-Source: ABdhPJwFCmTfPIgdDXjqSZrddgmlzHgxTKFSAbq8UmzEClfZBvud25q5NGVA937ecdU9aLD0PKa5lQ== X-Received: by 2002:adf:cd02:: with SMTP id w2mr2126093wrm.269.1637629769855; Mon, 22 Nov 2021 17:09:29 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id p27sm10367285wmi.28.2021.11.22.17.09.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Nov 2021 17:09:29 -0800 (PST) From: zimoun To: Jacob Hrbek , "guix-devel@gnu.org" Subject: Re: Proposal: Build timers In-Reply-To: References: Date: Tue, 23 Nov 2021 02:06:20 +0100 Message-ID: <868rxfwuib.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::42a (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x42a.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: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637629785; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=Y76OMArUlAkS6PtqmjmmAkJlboo4D4ZcK+q+PnfQa5A=; b=aDcp213TLYaYqP1wjzzIq1s4KPl0vAHKFBArV6Z4qXKklUdKL2Bcydg3wilblA4RAq1iCs h0feItqHOWM5JC2+LFXp4Y28n0zsFOyTX5w+a+rachm0GpPtMnicCls3jh+G1OTpVHA4oU S1uSF4Zw9/rU67X4p1SveEmG63hB7uokCJPmQGQ691Gvfzvyz0JdFJaXR/WnsDx1gc4738 aGxrGjIORpG3SV2+xCKfreIbIU3+jqXgT5w6VAucbBYMjVTrIHLhttna168stSV8weCFI6 4tdbFZe+w6V8A9GwVDx38GWJr7Ueu+Mvw4SLvQfHIhsk971xfSJ+HEASOcASgg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637629785; a=rsa-sha256; cv=none; b=AUiJvTgHMpQ7Il+AviiZnjpIndFmQaDF2bnMDu1/hFX+OPZkVdVvsRmcTmtdItl7lqk69Q nGRloeZwkcrg5NQP3s2+uu+3A4fmrTzJ9tOt659A6a/ZviQdKNVD87lMKksuvH8qY5QyMS UBgTUIoAkKS3VvH1T7e0tgeFwqICnrmN7fKKFGYRnjk2pIW43y/fEUWT8zlRn90pY0bcn2 c4br23JdMA4x3zQmHhIkPkC//Q0vE8vFypJQYIYOSPpziPMpKPu+8fb31JcduY7Yt6fFAQ TFpOGaQjZLREmDU5lM47AFwWnVXCgPNXgRSWQgDUjanM23VSZX2lhGa83pm4Hg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=mUC9rTWg; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.08 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=mUC9rTWg; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 32E5230B5E X-Spam-Score: -4.08 X-Migadu-Scanner: scn0.migadu.com X-TUID: jaLkFO42KDNb Hi, On Mon, 22 Nov 2021 at 22:02, Jacob Hrbek wrote: > See the proposal in https://git.dotya.ml/guix.next/GUIX.next/issues/5 If I understand well your proposal, you are suggesting to attach a value =E2=80=99build time=E2=80=99. While I understand it could be useful for mo= nitoring; especially CI (Cuirass or Build Coordinator) =E2=80=93 but it appears usele= ss for your use case. Where do you want to attach such value? I think it is not affordable to add another field (or =E2=80=99properties=E2=80=99) fo= r all the packages. When discussing the Cuirass revamp, it had been mentioned to grab the Cuirass database and then try some analytics to infer heuristics helping for a better scheduling strategy. However, the task is not as easy as it appears at first. Some builds are blocked by unrelated IO operations, e.g., [1], thus it is hard to distinguish between a regression or something unexpected in the build farms. Something useful for monitoring, but hard to exploit for local builds, IMHO. Other said, the =E2=80=9Ctelemetry=E2=80=9C you are suggesting require non-= trivial filtering to gain the robust feature you expect, again IMHO. Last, build-time depends on the environment (how the machine is stressed), and for instance, I do not want to stop a build because on average people are building it using X time when my machine builds it today using X+y time (because it is CPU stressed by something else or whatever). Well, I am doubtful that the standard error would not be too much compared to the mean; other said, my guess is a flat Gaussian function because of heterogeneous hardware and various levels of stress for the same build. To be explicit, I do not think Guix should take care of this. From my opinion, if the build farm does not have the substitute (guix weather), it is a bad sign the package will build locally; therefore, if resources are limited, before building locally, I would inspect the output of build farms (ci.guix.gnu.org and bordeaux.guix.gnu.org). Obviously, it depends your target architecture and some are poorly supported, sadly. 1: Cheers, simon