From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id MC0tOcpDeGWAEgEAkFu2QA (envelope-from ) for ; Tue, 12 Dec 2023 12:28:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id OC+IM8pDeGUNDQAAe85BDQ (envelope-from ) for ; Tue, 12 Dec 2023 12:28:10 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="Z2q/gU0W"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1702380490; 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:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=F/7yhySwmv8iU/JEYP432SvPPIPZ/SwG7uIkhsnRyxc=; b=QuLxoaayvwv0wA3fva8uePE7rOnNXycokikw/dhxkAQGrdRPZtYI3u1/KKEAArN9MsPTmN vYMuHG1s62XDWCblKQi2e68XR7q4W/F5EHlbltpyAxAdy7dnXr3ZX5kqtuHXxt3OGE/XXU 09bbUh77xBHZSZnfhTiGXbZjRw+dPBw8NltTSf1BgxAVruO920tvTh2C3MGo7ZzTlfaHMx QWtT53mJZdWF12guVfPBxFibDAFF0VJIvGi1PpJhqK8IR8d8dDkDAJilIvCvFwBphv1+4W vjGmSPPCP7Z7wg5yi3XGGvkKsHVmZK+vYlUi5tIyieXMzYlwRlSWoCaroQShJA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1702380490; a=rsa-sha256; cv=none; b=ex6V5Vdx1xXGfBJzr+UHXxcL1kGqQgzsPPmWleep5VZDlIDBCmDi8MpRuGTJBcvXIKt2O2 uE69s28VagtauuwKi88GA4bGFwHCJ4/9KEw5Mtw5ZckavPVNzn25ucFZdZMQEcA6uCboRZ LgxH9KfwQ1b0dGH3iSa3Ko3KRpBjHzBKRPyzvVMIn8wg8iYNQEyjO3riQqKnPT1obbzkC1 NbbviJatluqH3amtj7vYO1tXxfEWnuBCZD+mR2LvUi+KGXAxhErfIyHgTxGkBPXymX2dlV kEA6vibl/nw2F+zuFwJaAT++z+s6poNVXJIYe9MdLOkoAxI2/rmxFj5bO7/O3A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="Z2q/gU0W"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none 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 620E414A0D for ; Tue, 12 Dec 2023 12:28:10 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rD0vU-0004YW-5d; Tue, 12 Dec 2023 06:27:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rD0vS-0004YO-UH for guix-patches@gnu.org; Tue, 12 Dec 2023 06:27:46 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rD0vS-0003as-LC for guix-patches@gnu.org; Tue, 12 Dec 2023 06:27:46 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rD0vh-0006xl-R4 for guix-patches@gnu.org; Tue, 12 Dec 2023 06:28:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67742] [PATCH] gnu: ci: Build tuned packages for common baselines. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 12 Dec 2023 11:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67742 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 67742@debbugs.gnu.org X-Debbugs-Original-Cc: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170238047326749 (code B ref -1); Tue, 12 Dec 2023 11:28:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Dec 2023 11:27:53 +0000 Received: from localhost ([127.0.0.1]:55378 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rD0vZ-0006xM-9b for submit@debbugs.gnu.org; Tue, 12 Dec 2023 06:27:53 -0500 Received: from lists.gnu.org ([2001:470:142::17]:60098) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rD0vW-0006x9-6U for submit@debbugs.gnu.org; Tue, 12 Dec 2023 06:27:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rD0vB-0004XA-3E for guix-patches@gnu.org; Tue, 12 Dec 2023 06:27:29 -0500 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rD0v7-0003Yh-8z; Tue, 12 Dec 2023 06:27:28 -0500 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-40c31f18274so50276995e9.0; Tue, 12 Dec 2023 03:27:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702380443; x=1702985243; darn=gnu.org; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc:subject:date:message-id:reply-to; bh=F/7yhySwmv8iU/JEYP432SvPPIPZ/SwG7uIkhsnRyxc=; b=Z2q/gU0WhKexQ5/O3dTFqvLf051bgLznEa5fQI/QIWw8sNhOVaHciWmfOARSN7uyDH VlUcwayZMZO28G9ofdfzmRe5M7C39rxfRjvO1jS8gCh5mYAmlkC+Lb/0DM1ms7sNExho GgAfJQnZTmYTxgHyNwBjM7gpN5DvzPX8SVkeDrO+EzCHiywSh8NM88xUxA/xgEY93U9S 8GsP8t7OwQ2vI24yhAq7I9+Zgzp3L19UlquY9yKgq9FYhkSC1f1+sV3kTH4bEgHABVTe D73VgnB978lRJDtrvC5xEl7oTGsDn6s5Hak3DfJDAvRXtfT/aa5f1A4MJKmqR3WhJWA7 77Og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702380443; x=1702985243; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=F/7yhySwmv8iU/JEYP432SvPPIPZ/SwG7uIkhsnRyxc=; b=aGiAC12wD8178vugovyMUHAtOLGhaVtMgT/63xb8G3bvd6qLvwmpR1tTO4KMRb6tCf CN+l2GhgI7RCuan6z6WHOa8tcFvnfUEHIVKFNSlngUFvJYQnK2che135q5HB7PBuwu6a o7V50DvSL3bk+ziT1ocMX6+vHi6OdVpnZY2qBYRmnzVBiteirfr8JrUvTPojR8DDgEhM 2osebdn47lRcSLmdOS2I11m3sNk/O6sqF7eWR7lUbSwZDf3M9culQYOsGSD6z+U0rf3S Ty4JxyYhc1k2WxZhojbhDbh5HZSGuBHPoRu8hJIS65B40jhTvoNVdQgfe0sOHTisK5FX ii+Q== X-Gm-Message-State: AOJu0YwnMTf37VR3tODogAO9lk47iizqL6p3lt1V1tuqh+l4uKV9YGz6 bcDO94PlFVI/PuMosU+KEfyKhtFysq1HrQ== X-Google-Smtp-Source: AGHT+IFxtte4oWWHovykAXm3GCYfZ/+FFlioPb+C4GHEYZDjXuVPgBJ+twLrNW8DaP+ReXvW+YXCwA== X-Received: by 2002:a05:600c:1688:b0:40c:3417:233 with SMTP id k8-20020a05600c168800b0040c34170233mr2697566wmn.102.1702380442734; Tue, 12 Dec 2023 03:27:22 -0800 (PST) Received: from localhost ([188.120.129.233]) by smtp.gmail.com with ESMTPSA id a4-20020a056000100400b00333371c7382sm10669605wrx.72.2023.12.12.03.27.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 03:27:21 -0800 (PST) Date: Tue, 12 Dec 2023 13:27:19 +0200 From: Efraim Flashner Message-ID: Mail-Followup-To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , guix-patches@gnu.org References: <7c09a597a23276e1987898022ff7f0e145c9fd8a.1702194739.git.efraim@flashner.co.il> <87y1e02zft.fsf@chbouib.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="CuO7TnhgRMmj6qoL" Content-Disposition: inline In-Reply-To: <87y1e02zft.fsf@chbouib.org> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=efraim.flashner@gmail.com; helo=mail-wm1-x329.google.com X-Spam_score_int: -2 X-Spam_score: -0.3 X-Spam_bar: / X-Spam_report: (-0.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NUMERIC_HTTP_ADDR=1.242, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, WEIRD_PORT=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.78 X-Spam-Score: -6.78 X-Migadu-Queue-Id: 620E414A0D X-Migadu-Scanner: mx12.migadu.com X-TUID: kwD3Xc/9OaSD --CuO7TnhgRMmj6qoL Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 11, 2023 at 10:37:26PM +0100, Ludovic Court=C3=A8s wrote: > Hi, >=20 > Efraim Flashner skribis: >=20 > > * gnu/ci.scm (%x86-64-micro-architectures): Replace specific > > micro-architectures with generic ones. > > > > Change-Id: Iee2f65376a00ad2ee5fb393c2e64c07f866d8116 > > --- > > gnu/ci.scm | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/gnu/ci.scm b/gnu/ci.scm > > index 279dd4d910..5c093ae135 100644 > > --- a/gnu/ci.scm > > +++ b/gnu/ci.scm > > @@ -372,7 +372,7 @@ (define package->job > > =20 > > (define %x86-64-micro-architectures > > ;; Micro-architectures for which we build tuned variants. > > - '("westmere" "ivybridge" "haswell" "skylake" "skylake-avx512")) > > + '("x86-64-v2" "x86-64-v3" "x86-64-v4")) >=20 > Right now, on my laptop, I get: >=20 > --8<---------------cut here---------------start------------->8--- > $ guix build gsl -n --tune > guix build: tuning gsl@2.7.1 for CPU skylake > substitute: updating substitutes from 'http://192.168.1.48:8123'... 100.0% > substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% > 1.5 MB would be downloaded: > /gnu/store/kx060kry6ka7khzganfcqk98agqp226i-gsl-2.7.1 > $ guix describe > Generation 284 Dec 10 2023 23:34:41 (current) > guix a90bc8b > repository URL: https://git.savannah.gnu.org/git/guix.git > branch: master > commit: a90bc8b6a82e094b10488030532cf4cd690ce57e > --8<---------------cut here---------------end--------------->8--- >=20 > Which is nice! >=20 > With the proposed change, I=E2=80=99d no longer get substitutes. >=20 > So perhaps we could keep the common Intel variants in addition to the > SysV psABI generic names? >=20 > Maybe we can drop =E2=80=9Cwestmere=E2=80=9D now since it=E2=80=99s relat= ively old. I'm not sure how we'd determine what would count as common. I think if we added a '--tune=3Dclose-enough' and used cpu->micro-architecture-level or gcc-architecture->micro-architecture-level from (guix cpu) to choose x86_64-v[234] that would count more as common than the list above :P. westmere and ivybridge didn't make the cut in (guix cpu), so they'd never get chosen from '--tune'. --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --CuO7TnhgRMmj6qoL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmV4Q5IACgkQQarn3Mo9 g1GMrg/+LjdR4ESH8CfSTciZoORHFGuk7RABY12am6AlA+fpdTarBVPGPHimictP Yf8ewkiowVEmNS6tVFr/bvL4IE5uNxh3QU/AtNaMT/xVkNhr48plOhLdpDMWKuCJ h4wP+JwM8XxS2aUgAXatvqacp+HJpRVY+YAb6AoHoGpsAI5cjZblvo4MZBJHGVwo tpsdNoiC0KlgzS4MvNtnsJAfTqMigqTel2hYKBSKumm32a3Vm+Ayhz9Itztmjzem FiPAaNWXSF9gQ5e5Lo1T9KHCNx+TxyEYjvS6hW8qsBvbwoDfGUggQXnDXglcYwRt 7SykpkBWj1CaNDtN9iOLaVSW9tYorHcw1nnpAYOzBYw+dQr4bHL6h0c/Y1/M13ck cS+IhScoRKV7eQx4Ndbe2Q+ilRXm9i7jgU8rtNUNj1igRRHcDqPIKoZ/BVFir+b1 kVSppCDRu0/qGXzjbeMq4io0XPb0F0ikaQGtSMYrPh6urYFNGEsXZ0WcUl7c6FH5 stcuw7kkuq89jrVzuk6fEDlZPJEoYmycPhgt9MS6koP0FkrTFEzQW1l+3tjgcwez z+1+iy9h8Tg72Ld9bKCig6VnBEilcMq/M/hURVtMDZi19jzSCobv8LzMGIiADpnZ 7si2u/A+pGObV4SDJIg1ZA7gOLeeoz16C9BuMRsjctNkc+WwZEQ= =aoPp -----END PGP SIGNATURE----- --CuO7TnhgRMmj6qoL--