Received: (at 67742) by debbugs.gnu.org; 31 Oct 2024 15:06:17 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 31 11:06:17 2024 Received: from localhost ([127.0.0.1]:42525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1t6Wka-0003yC-Os for submit <at> debbugs.gnu.org; Thu, 31 Oct 2024 11:06:17 -0400 Received: from mailtransmit04.runbox.com ([185.226.149.37]:60714) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <steve@HIDDEN>) id 1t6WkY-0003y2-1k for 67742 <at> debbugs.gnu.org; Thu, 31 Oct 2024 11:06:15 -0400 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from <steve@HIDDEN>) id 1t6WiK-00Eou6-A8 for 67742 <at> debbugs.gnu.org; Thu, 31 Oct 2024 16:03:56 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=futurile.net; s=selector1; h=Content-Type:MIME-Version:Message-ID:Subject: To:From:Date; bh=a919ynYv+XGc2dDRnhYoX+hdQ/2eKxISKhI2J3APydU=; b=dIvgQG37eqGS Jy21oZTL+Asg48NBHEaVLlNvVwUq5EBlbkkyF1sQL0uDYWgchBK6Jyg9Tlb3u0zV9vQ9HUWOxaQKY ekOwW5xMy9h6Psi1YKTHhHevAeJ/WNBGpNK+l8532IijZEYUVeKO55LCMGJf9OzFS8jb65HLbvr+F /fLWRcNReFHyD8DbLrPxxgv1n9PvrbU1hAkA6LiBMyngkbzs7tOo55355kkkQyqqv7vLc/t9eRPzp oQtlazzbkiBNrmcQxXLsMPb2AhJBsfJRa4CNc0tmGY0Kaod+Uyz1GuwtMySMlPe6vj8404wH57FRY VuRdd8L3jx6DfaZW6oofjw==; Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from <steve@HIDDEN>) id 1t6WiJ-0008GW-OX for 67742 <at> debbugs.gnu.org; Thu, 31 Oct 2024 16:03:55 +0100 Received: by submission02.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93) id 1t6Wi4-000ziE-BF for 67742 <at> debbugs.gnu.org; Thu, 31 Oct 2024 16:03:40 +0100 Date: Thu, 31 Oct 2024 15:03:38 +0000 From: Steve George <steve@HIDDEN> To: 67742 <at> debbugs.gnu.org Subject: RE: gnu: ci: Build tuned packages for common baselines Message-ID: <njqw3hap4ghxh6wer5kcn6show7lqubr6xcdrd4v4szepz2cxx@2zix5thz36qm> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 67742 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hi, Bump ... did you'a'll you'a'll decide what to do here? Futurile
guix-patches@HIDDEN:bug#67742; Package guix-patches.
Full text available.
Received: (at submit) by debbugs.gnu.org; 18 Dec 2023 22:26:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 18 17:26:39 2023
Received: from localhost ([127.0.0.1]:33747 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1rFM4M-0006CB-SH
for submit <at> debbugs.gnu.org; Mon, 18 Dec 2023 17:26:39 -0500
Received: from lists.gnu.org ([2001:470:142::17]:36956)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <ludo@HIDDEN>) id 1rFM4K-0006Bu-Jh
for submit <at> debbugs.gnu.org; Mon, 18 Dec 2023 17:26:37 -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 <ludo@HIDDEN>) id 1rFM4C-0003c0-I6
for guix-patches@HIDDEN; Mon, 18 Dec 2023 17:26:28 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1rFM4C-0001CK-A1
for guix-patches@HIDDEN; Mon, 18 Dec 2023 17:26:28 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To:
From; bh=dRpc9WKDt2R8XjHaoQdj/w0eJkxRswbSatbql1Mf7/Q=; b=oCMKsM7+oL0MXaTMQ2Bd
8pZrusGD41pC1HNCw2qsbF2M5Omz8L4czEcUCm0tKXNmfqvqbRrS1twtfNQxownTSQRNE/eBe0sQV
/duzrmUzSaMn0+YqEN43ykmzz78/MCcCiW0Fo2b+bPnmeFoQKyQRjxOOs1zglt6YPEcWPO2C+bS5n
xtGyGu3hVSB1x6DDrvluEowWdH7JyVoeDVFu/oQuHcCkxA2fKlQtVOV6wa3SCCwU0zFxpRq4IQWoe
mYz4Da6ylH9nVfa5/TfhmrTFtUIItDWK+iPMeZ/6IJlnWux4AC4EuS/p3C9L/bBSKmBZuLOU/bTYu
AolfvDnomcqQ9w==;
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: guix-patches@HIDDEN
Subject: Re: [bug#67742] [PATCH] gnu: ci: Build tuned packages for common
baselines.
In-Reply-To: <ZXhDlzHQOYTY-iw4@3900XT> (Efraim Flashner's message of "Tue, 12
Dec 2023 13:27:19 +0200")
References: <7c09a597a23276e1987898022ff7f0e145c9fd8a.1702194739.git.efraim@HIDDEN>
<87y1e02zft.fsf@HIDDEN> <ZXhDlzHQOYTY-iw4@3900XT>
Date: Mon, 18 Dec 2023 23:26:25 +0100
Message-ID: <87zfy7i1v2.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Hello,
Efraim Flashner <efraim@HIDDEN> skribis:
> On Mon, Dec 11, 2023 at 10:37:26PM +0100, Ludovic Court=C3=A8s wrote:
[...]
>> > (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@HIDDEN for CPU skylake
[...]
> 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.
Sure, but that=E2=80=99s not the case yet:
--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix build gsl --tune -n=20
guix build: tuning gsl@HIDDEN for CPU skylake
1.5 MB would be downloaded:
/gnu/store/kx060kry6ka7khzganfcqk98agqp226i-gsl-2.7.1
--8<---------------cut here---------------end--------------->8---
So my suggestion was something like this:
(define %x86-64-micro-architectures
;; Micro-architectures for which we build tuned variants.
'("ivybridge" "haswell" "skylake" "skylake-avx512"
"x86-64-v2" "x86-64-v3" "x86-64-v4"))
=E2=80=A6 so we don=E2=80=99t lose substitutes for =E2=80=9Ccommon=E2=80=9D=
architectures.
Alternatively, we can go towards using x86-64-v* only, but in that case
we need to adjust the way =E2=80=98--tune=E2=80=99 (without arguments) gues=
ses the
target architecture.
WDYT?
Ludo=E2=80=99.
guix-patches@HIDDEN:bug#67742; Package guix-patches.
Full text available.
Received: (at submit) by debbugs.gnu.org; 12 Dec 2023 11:27:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 12 06:27:53 2023
Received: from localhost ([127.0.0.1]:55378 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1rD0vZ-0006xM-9b
for submit <at> 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 <efraim.flashner@HIDDEN>) id 1rD0vW-0006x9-6U
for submit <at> 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 <efraim.flashner@HIDDEN>)
id 1rD0vB-0004XA-3E
for guix-patches@HIDDEN; 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 <efraim.flashner@HIDDEN>)
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 <efraim@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: [PATCH] gnu: ci: Build tuned packages for common baselines.
Message-ID: <ZXhDlzHQOYTY-iw4@3900XT>
Mail-Followup-To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>,
guix-patches@HIDDEN
References: <7c09a597a23276e1987898022ff7f0e145c9fd8a.1702194739.git.efraim@HIDDEN>
<87y1e02zft.fsf@HIDDEN>
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@HIDDEN>
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@HIDDEN; 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-Spam-Score: 1.5 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: On Mon, Dec 11, 2023 at 10:37:26PM +0100, Ludovic Courtès
wrote: > Hi, > > Efraim Flashner <efraim@HIDDEN> skribis: > > > *
gnu/ci.scm (%x86-64-micro-architectures): Replace specific > > micr [...]
Content analysis details: (1.5 points, 10.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
provider (efraim.flashner[at]gmail.com)
-0.0 SPF_HELO_PASS SPF: HELO matches SPF record
1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail)
0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level
mail domains are different
0.0 NUMERIC_HTTP_ADDR URI: Uses a numeric IP address in URL
0.0 WEIRD_PORT URI: Uses non-standard port number for HTTP
0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and
EnvelopeFrom freemail headers are
different
-0.0 T_SCC_BODY_TEXT_LINE No description available.
X-Debbugs-Envelope-To: submit
Cc: guix-patches@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.5 (/)
--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 <efraim@HIDDEN> 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@HIDDEN 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 <efraim@HIDDEN> =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--
guix-patches@HIDDEN:bug#67742; Package guix-patches.
Full text available.
Received: (at submit) by debbugs.gnu.org; 11 Dec 2023 21:37:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 11 16:37:58 2023
Received: from localhost ([127.0.0.1]:54814 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1rCnyQ-0003In-6f
for submit <at> debbugs.gnu.org; Mon, 11 Dec 2023 16:37:58 -0500
Received: from lists.gnu.org ([2001:470:142::17]:35654)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <ludo@HIDDEN>) id 1rCnyO-0003Ia-7X
for submit <at> debbugs.gnu.org; Mon, 11 Dec 2023 16:37:57 -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 <ludo@HIDDEN>) id 1rCny0-0004cC-O5
for guix-patches@HIDDEN; Mon, 11 Dec 2023 16:37:33 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
id 1rCnxz-0008QK-UC; Mon, 11 Dec 2023 16:37:31 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To:
From; bh=x1ag7v1UT3HRSSG7C89VFfg7iKw0lJc7XNVIe1EIuac=; b=OMH7QtmIoSVZNDnd6OjY
EaTXBc4WRRzSxTeyIsm8omF2IfCLLLPyZ6TGdc0dn2ktoKY98ugdtwBZl22RjbOoc3DJN/5kKHe//
3GgnCeNMNZvDsxXK0XA7BHK92dRj5e8nHLAH/IzY5TVVpJLCNsdKm+J3Gn6SInrfYw3Wg4qPz19+c
BFYhbA4sUhcEZbmivwyjTU6KPFynznh/RPG+klIqQuWUj97KjiHshaIiYoq85+bSzcpJjGPQX5s04
+E3s1c8y9tZcyjrqY7srdRzfnJv70NiyLAfLYpSAF2IxrhAcFdMRi0kLTLZgZdw0Rhom/Ap35D5Uk
+BMUQRtq8/CxXw==;
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Efraim Flashner <efraim@HIDDEN>
Subject: Re: [PATCH] gnu: ci: Build tuned packages for common baselines.
In-Reply-To: <7c09a597a23276e1987898022ff7f0e145c9fd8a.1702194739.git.efraim@HIDDEN>
(Efraim Flashner's message of "Sun, 10 Dec 2023 09:52:42 +0200")
References: <7c09a597a23276e1987898022ff7f0e145c9fd8a.1702194739.git.efraim@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: Primidi 21 Frimaire an 232 de la =?utf-8?Q?R=C3=A9vo?=
=?utf-8?Q?lution=2C?= jour de
=?utf-8?Q?l'=C3=89rable-sucre?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Mon, 11 Dec 2023 22:37:26 +0100
Message-ID: <87y1e02zft.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: submit
Cc: guix-patches@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Hi,
Efraim Flashner <efraim@HIDDEN> skribis:
> * 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=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"))
Right now, on my laptop, I get:
--8<---------------cut here---------------start------------->8---
$ guix build gsl -n --tune
guix build: tuning gsl@HIDDEN 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---
Which is nice!
With the proposed change, I=E2=80=99d no longer get substitutes.
So perhaps we could keep the common Intel variants in addition to the
SysV psABI generic names?
Maybe we can drop =E2=80=9Cwestmere=E2=80=9D now since it=E2=80=99s relativ=
ely old.
WDYT?
Ludo=E2=80=99.
guix-patches@HIDDEN:bug#67742; Package guix-patches.
Full text available.
Received: (at submit) by debbugs.gnu.org; 10 Dec 2023 07:53:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 10 02:53:25 2023
Received: from localhost ([127.0.0.1]:49414 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1rCEcv-00022T-4e
for submit <at> debbugs.gnu.org; Sun, 10 Dec 2023 02:53:25 -0500
Received: from lists.gnu.org ([2001:470:142::17]:53210)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <efraim.flashner@HIDDEN>) id 1rCEcq-00022A-J7
for submit <at> debbugs.gnu.org; Sun, 10 Dec 2023 02:53:24 -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 <efraim.flashner@HIDDEN>)
id 1rCEcV-0002ep-7e
for guix-patches@HIDDEN; Sun, 10 Dec 2023 02:52:59 -0500
Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from <efraim.flashner@HIDDEN>)
id 1rCEcT-0008Vw-DU; Sun, 10 Dec 2023 02:52:58 -0500
Received: by mail-wm1-x333.google.com with SMTP id
5b1f17b1804b1-40c31f18274so27909215e9.0;
Sat, 09 Dec 2023 23:52:56 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1702194775; x=1702799575; darn=gnu.org;
h=content-transfer-encoding:mime-version:message-id:date:subject:cc
:to:from:sender:from:to:cc:subject:date:message-id:reply-to;
bh=d19G7faAOh12EkfgpsHVCN230japR+LFoKImdAWS9uc=;
b=fKxhu3WnUfXsIfWw+hzuLiZNxRxTykWlupNRRDGt2P4nsmNvxtywwtiefsB/3zFdIg
uIIPXk1AiKcfM2EGpR4R6cGZJ2HwS7ZXHpNlVnvAUO/4WYrgIhBRsMp5T79ypr6AEqYy
NveetLiBTVNFs3Et9GDTQ8uO0pQBNYEKRCWkhofYY+NmGOdEh1eaSOofSjrvgnp7PRAr
leSejupK43fsKhSUazl7LH/rXVhc4+X2vFwkO/BXFDbJear5ZpFL3hZE+TmB5bEQK6E5
tZzL/j3GbQQVa5lfvoUty5IJbVn0cC5b9k7RAiJvB2viW3+aYr2Kv4AFTbhySCQpl0Ay
d53A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1702194775; x=1702799575;
h=content-transfer-encoding:mime-version:message-id:date:subject:cc
:to:from:sender:x-gm-message-state:from:to:cc:subject:date
:message-id:reply-to;
bh=d19G7faAOh12EkfgpsHVCN230japR+LFoKImdAWS9uc=;
b=uVINiYjbic8cToTxNPCAt4eWYMWD3Ot+XV0ic2L9MzIEeGLRreu0xKNIkePEjLk3CT
1KUn1fp4YqHcLOpnYJsTGgiBUI7xsGsdpL5jYHPIBOm4LpSJW3PL+Skjh3Q5prLyTJNo
X27kmf2gmvAcJVwV/lnhjxrbk46WA71M8mOIun5AuMsQXiv91d7tDD0f9yuxyTfVuAY5
lK6GED/4+/9kVFfBW2mbXV4Y0GaNP21B7PHS0tytYBh3nBWiAuGekPHGm/wQ+wmXyLF7
M5ZbxGnf0d4SGRCT+78qgYDCHPjE9kVG2K1ZZrISHWuGChg1Huw0ch5SGPDvynntfqXH
Gr8Q==
X-Gm-Message-State: AOJu0YwYfa+ELGk0tvgEMbAYdKigkn2K9CrbCytjU7aOyUt5Tw6XUyKQ
XiRUS0xkqATdkZeXfZOh/WUnvyeS262D7w==
X-Google-Smtp-Source: AGHT+IFCo7vLdNQLaaSJHH59cPfLa+1EwPQdwQt64G86qYos2n9C5ZcmbAPoSzfpmWAmZWcmvU8kBQ==
X-Received: by 2002:a05:600c:492f:b0:40b:5e21:bdb1 with SMTP id
f47-20020a05600c492f00b0040b5e21bdb1mr1201717wmp.64.1702194775228;
Sat, 09 Dec 2023 23:52:55 -0800 (PST)
Received: from localhost ([188.120.129.233]) by smtp.gmail.com with ESMTPSA id
bg32-20020a05600c3ca000b0040b3e7569fcsm11113790wmb.11.2023.12.09.23.52.54
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Sat, 09 Dec 2023 23:52:54 -0800 (PST)
From: Efraim Flashner <efraim@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: ci: Build tuned packages for common baselines.
Date: Sun, 10 Dec 2023 09:52:42 +0200
Message-ID: <7c09a597a23276e1987898022ff7f0e145c9fd8a.1702194739.git.efraim@HIDDEN>
X-Mailer: git-send-email 2.41.0
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=2a00:1450:4864:20::333;
envelope-from=efraim.flashner@HIDDEN; helo=mail-wm1-x333.google.com
X-Spam_score_int: -14
X-Spam_score: -1.5
X-Spam_bar: -
X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.25,
FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25,
RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.5 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: * 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(-)
Content analysis details: (1.5 points, 10.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
provider (efraim.flashner[at]gmail.com)
-0.0 SPF_HELO_PASS SPF: HELO matches SPF record
1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail)
0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level
mail domains are different
0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and
EnvelopeFrom freemail headers are different
-0.0 T_SCC_BODY_TEXT_LINE No description available.
X-Debbugs-Envelope-To: submit
Cc: ludo@HIDDEN, Efraim Flashner <efraim@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.5 (/)
* 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
(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"))
(define (tuned-package-jobs store package system)
"Return a list of jobs for PACKAGE tuned for SYSTEM's micro-architectures."
base-commit: 9c30fb27a42bf10a733ef5165df7869588f0b27c
--
Efraim Flashner <efraim@HIDDEN> רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
Efraim Flashner <efraim@HIDDEN>:guix-patches@HIDDEN.
Full text available.guix-patches@HIDDEN:bug#67742; Package guix-patches.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.