From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 2IBVEMe8RGCYYQAA0tVLHw (envelope-from ) for ; Sun, 07 Mar 2021 11:45:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id oPkODMe8RGD3dQAAB5/wlQ (envelope-from ) for ; Sun, 07 Mar 2021 11:45:11 +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 5F21D2D06C for ; Sun, 7 Mar 2021 12:45:10 +0100 (CET) Received: from localhost ([::1]:55470 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lIrqP-0003F8-5G for larch@yhetil.org; Sun, 07 Mar 2021 06:45:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36046) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lIrqF-0003F0-Hr for guix-devel@gnu.org; Sun, 07 Mar 2021 06:44:59 -0500 Received: from mira.cbaines.net ([212.71.252.8]:55272) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lIrqD-0000Fc-JL for guix-devel@gnu.org; Sun, 07 Mar 2021 06:44:59 -0500 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:8ac0:b4c7:f5c8:7caa]) by mira.cbaines.net (Postfix) with ESMTPSA id 0236F27BC50; Sun, 7 Mar 2021 11:44:54 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id cdb975fb; Sun, 7 Mar 2021 11:44:53 +0000 (UTC) References: <87eegsnexv.fsf@cbaines.net> <0de60501672d88b8014d2adb9b617c7576d40714.camel@zaclys.net> User-agent: mu4e 1.4.15; emacs 27.1 From: Christopher Baines To: =?utf-8?Q?L=C3=A9o?= Le Bouter Subject: Re: Implications of QEMU binfmt transparent emulation for builds In-reply-to: <0de60501672d88b8014d2adb9b617c7576d40714.camel@zaclys.net> Date: Sun, 07 Mar 2021 11:44:50 +0000 Message-ID: <87blbvnq6l.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=212.71.252.8; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 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=1615117510; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=MFGBXgUXx0zrJkQZYcbPEdPOCpByE6D7vlwcI4hjz70=; b=RWFakp9+CdEvBGc5fTa0qYx9/gVaFwzxT0lFwXRPqgBGh7Sqsql3qHhw2yty66eWf6YDME lQvkOqqh004cHdreRikRGCwaTcchn4BggHlV48Uo7O7AgrLAjB44dTiaZif8cvJ2Y4WYD1 hqrif3FBPcefVXDGrWu7jwSZczpOfEXphtNI12IaTGSHvca7i/o9558NXYYlI8Sty2NJkh ZU0PtfkIN4D9qX1iGlE3ySnd8If+io6CZRzhjcLW2SUCP6nNhOFQ1gCwSrAIyrOC2kbddx Ulm3mf7nFW4NqrfvwHr0GoXHbnwYMPdExHczbPC8mQLCr0dBWgj/X5eLk3AxRg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615117510; a=rsa-sha256; cv=none; b=HOGktw8HGw1Q3rYyBYQXyatHO3+BKicIBzuWKiDDs8CzYOHcbachNKMaQJbjcfQTHG2Yty KflGNYmQstX/vgIx0LLsXsoX6cuCCJlBBF/AYz3lFBZadhXDRVeJZ+1ZHmbR5fPRbQievS mQKbsY01dJN4Eo1m2LLLs/l80fQIrDry3JU0xw4gr2zUYC1QpESlyUXGGi7HHRfwTlfyuL dQbR4uk1Skeu07uVyLuxaESly9z6PxSWvuxK/z+G/RPM3oOM8R+wZRjPbytg7UUU2+4K8Z P1Sl4oR7k/A09AjJ7NmjPuKkWdtDy5TuNYCAtr9MTEN39a8TIFo1c35+bEbUew== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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.47 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: 5F21D2D06C X-Spam-Score: -4.47 X-Migadu-Scanner: scn0.migadu.com X-TUID: CGCv+C52zb3O --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable L=C3=A9o Le Bouter writes: > On Sat, 2021-03-06 at 21:35 +0000, Christopher Baines wrote: > > In general I think binary translation is very wasteful use of computing > resources. At least use something like this:=20 > http://csl.iis.sinica.edu.tw/hqemu/ - otherwise I think building > natively is at the end less costly. Reducing waste is all about trade offs, if using inefficient emulation means you have less hardware, then it can reduce waste. >> I'd like the Guix Build Coordinator agents to be able to report the >> configuration of the machine at the time builds happen, so maybe once >> that's a feature, and QEMU support can be detected, then it'll be >> possible to look for cases where a change in QEMU support affects the >> build result. > > What about including such metadata in Nars directly? Kernel name and > version string, system/target, processor model.. or is that too > privacy-invasive..? Maybe make such opt-in. There are things that rely on the hash of the nar, and adding changable metadata would make things complicated. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmBEvLJfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9Xe/tQ//S6FY/+WeKXSj+8ngcmLGx5EvaOsoJ+jD FZvdoO0WRa8CnAg4C26ESXF247lGKwieLLOnGty22iuFANUyjVsIp2Lisn2rk9P1 ue0MhpcT9vL5+oT4hLMFoqKuC1ztuC01w6+UDkjUfV0jdmuxVLer1/DOFrv37Sd5 /swcGCGFexXFEFtAatrU2fWXnEObElb9gAerOfdJqDU0AKhPTJiRwh7KN25zXy8s EKPCR8ETtBorB9pWbb2vOxBfnQHMVe+7qAs0LiGL3etb/lY+lXwgS9U82VHljU3s /1/Pm15bCYkSHae/eVFFqlv7dWPgzFwnmpsasyTXJ2XRbeSAvgXFB8w9gu1EZ6S8 GYa+RJD0HD325CuCqS9tmexpMLIpCNMw8hb1JODfY+DNfGe1HVMPgCInfm365n1S r2Q1Xl7sIdMVTnb+hutzNjWWZe5sAB/K45HaxHmvqc3RQ2oD28Cnw/UcYtH/uL/9 SRUkL7NB89H9kz4kzx9F7/DjTm1A5TH0l3PjGVSRyGa20p20ovHf+RmmD6g/2FVn Sm6/RYeRofjHhMgUMNqfwosi8FI0adzLz5gHtJK87V4MhxtQm2j7imtQCB55x+p7 LUEy9IP1AmwYTNwdAbiGV5PkgT+9HVbfblnlJiSwxAm/WZjfVIngON+tdN09e+WJ r0lB0MX+keY= =ibb0 -----END PGP SIGNATURE----- --=-=-=--