From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iKQIDLpBu2EL8wAAgWs5BA (envelope-from ) for ; Thu, 16 Dec 2021 14:40:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id YCDIB7pBu2ELZgAA1q6Kng (envelope-from ) for ; Thu, 16 Dec 2021 13:40:10 +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 DE803268AB for ; Thu, 16 Dec 2021 14:40:09 +0100 (CET) Received: from localhost ([::1]:34350 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxqzQ-0000zw-Lk for larch@yhetil.org; Thu, 16 Dec 2021 08:40:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40948) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxquO-0003dt-FA for help-guix@gnu.org; Thu, 16 Dec 2021 08:34:57 -0500 Received: from [2a00:1450:4864:20::430] (port=37600 helo=mail-wr1-x430.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mxquM-0003pM-Qo for help-guix@gnu.org; Thu, 16 Dec 2021 08:34:56 -0500 Received: by mail-wr1-x430.google.com with SMTP id t26so7921084wrb.4 for ; Thu, 16 Dec 2021 05:34:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=3BTS9tnCiGCNqRMBS0w48rUEG1MTXLvM8JLH3HurR1I=; b=ojjFTb0YAMjiqzMrqRnfBUiaGjwAad9+5OtWmi8XprHcFzbK3lCliPkyVY9hfUCDD2 hvBePF4gonR1ljCT1E+GKQdxUyApOoYpC9cd2IhUcsqt2LYXAuosospM+NQ88dyWBImN QIxO3GGDluqO8/tGkpz4xLzHDVovsHcUoryVAcRhbBN9INAIko8sBnKHrjQ0x3fvK/he CJyPXIULYzqMSdjS1QEmmcdQ2XS6LhaETLdiH4TksPKT2s1tNkdCWwFtOyA07lYM81fa SyKblp81tWO6q0SdA7tFFWYB2uwGNzmnsZJ3EcJE3wztJQArBPoxaRn53M5N4+q+pqXI qR5Q== 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:date:message-id:mime-version :content-transfer-encoding; bh=3BTS9tnCiGCNqRMBS0w48rUEG1MTXLvM8JLH3HurR1I=; b=2+Khrc3TxT2ld/9i3Qb7fxvYluF1INdhEd3lQwmw54S8Jc3f9ymVaKRXVvqwz3IjH5 h0XY24IA8vJTeOafej8Jjt79ZCg14dWrASZROqIhCQo/REj/ceOq0KDdcSh9HbcoawPc WYS1OcfZV1S40uJvguBw8W470MCBviV6zWvNu2GV9E+RuK0qMobuIrbOdfxPwYr6DWZ7 6ERI0oGIanvbTX5Ki9OG4sHsNkPAKJ7BMkEPH+D2jt2wEynLKzujQ3892qIjRov5sPyK T/FCSLZrqEFpSqvWKeOGemTlMypidgnogYuCjE+fCKnUJLBOHFG3KqW0UNhX+unih5cl x0lA== X-Gm-Message-State: AOAM531TNlJymkHFPlwZBSfV8MHgmBTtS0cm5NQd6ayf3XfENApmGBBJ BWOg4a0UGXDwk8yO8gyWm+iiPN3XyrQ= X-Google-Smtp-Source: ABdhPJwQQ71O+xA2bSPsXYuD5bPNMkAEI/kBsIXEmJh+8IJkWFNTC+qGEqJSdcJJLRCywh5Wi25AUw== X-Received: by 2002:a05:6000:120c:: with SMTP id e12mr4398206wrx.6.1639661689691; Thu, 16 Dec 2021 05:34:49 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id m6sm6379149wrp.34.2021.12.16.05.34.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Dec 2021 05:34:49 -0800 (PST) From: zimoun To: help-guix Subject: offload configuration dependant on context Date: Thu, 16 Dec 2021 14:24:57 +0100 Message-ID: <86zgp0hec6.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::430 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x430.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, 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: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" 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=1639662009; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=3BTS9tnCiGCNqRMBS0w48rUEG1MTXLvM8JLH3HurR1I=; b=pxAQ/UFmikHiJXJ2qjhALvU942V7/JUZmWA/id2WNM8vh29kUjoPewZrqSZT6ngl2x/eH4 cbWHyujBZQqQ29BTQt5XBBi8jWz21IUAIa/u5MWsHlq12qiTcfTZEA7mx1yG3tLBF5q1Oq yIONX3ffg3kxnlDTWW2PH9+I5sYI8oxFUXhjHyKnzkCmMPOv8+agKxBT50e1mdMyT8mqlZ QnzW3rGx/4KDMuhB+3cY5W+rqQRLhpo2XMnaHIEynOVIzVBxlyIxOX+/3mLuTxHBJX1xkp cPnF5Z7xkqzN9RpNsTBwYg9lmdL4a286ReRZXdA/Rsz9BQn2x+3TB4v7oaLT/g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639662009; a=rsa-sha256; cv=none; b=Hs7f4NIwuvl46J/Ebow2+CFFtU2l21JcacPl/MHrG/zetFVK0YIBRYXiHCPFqIVCY4rfLT CJX9usMwpOq/mZaiqLJDqOqpImz8TWpdez+yUEZEpruOafQvfZQ62DkUL0KOIk/ZFAHBEb Q0AyKnRrRSWKV5jN7hinjAfmmft3tvmZRsR6hZvPNFzKvXp5x8uryGgkpQ41xcnvyCkAow S21eNUzAK9PXfF4rodTrcGNm7pRvpkdnX15m7WVSj+WBqfGHKmFaf4H4K5MtJID9SJeD36 bhWarf90O2DLo13Sl45fFTRAhsCodii3ribKStWQlzqZo8t2BCDWwK9KudM3aQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=ojjFTb0Y; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.19 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=ojjFTb0Y; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: DE803268AB X-Spam-Score: -4.19 X-Migadu-Scanner: scn0.migadu.com X-TUID: JXY48y469YQy Hi, For nomadic people as I sometime am, they have sometimes access to offload build machine, sometimes not. To be concrete, 1. when build machine is reachable, I want to *always* offload; 2. when build machine is not reachable, I accept to burn some CPU. Well, I can tweak /etc/machines.scm as proposed there [1] to detect reachable machine. However, #1 implies daemon option =E2=80=99--max-jobs=3D0=E2=80=99 and #2 i= mplies other daemon configuration as =E2=80=99--max-jobs=3D1 --cores=3D2=E2=80=99. How = could I achieve that? Dynamically speaking. 1: Cheers, simon