From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id qPy5Cjig42QYUQEASxT56A (envelope-from ) for ; Mon, 21 Aug 2023 19:34:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id eNCYCjig42RsLAEAauVa8A (envelope-from ) for ; Mon, 21 Aug 2023 19:34:48 +0200 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 C900E55099 for ; Mon, 21 Aug 2023 19:34:47 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="B/zLktiw"; 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=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692639288; 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: content-transfer-encoding:content-transfer-encoding:resent-to: 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=IO1I7hEMgsozb6MaqsFkYeOXL23vbR98RD46LWwHhjo=; b=VBYMel88SBC0nLUQC66DfrR/yP4Iy07QN9E0GZpCtdj5CuSTAPNuoXel6mIO0EjGjarKfR r1T2fUdA/mb3vq3o2OpJGGuqqHosH+Dk8VuU0TFEV6xhgOd1VLrqVF3dn/hmhzpXCo+Qxn zY08NKecXF2TGgpbCevSHslLx+uoBUXqHZPa3VoeO3Ke0Dhyika8ih8SORBzLEBfZHfhBZ SH+yRCc15oCCoYg3vr9DTYK6hY+NYBSns4sv6wiGv5QeMYWHzRB/np0z3Gr5i7KzgtWkjp 2kyZF0z0Tg3ZvxhX/w0wiXAqk9/YJDowWapI9k40gqjpqN/FuD2Ij6FqflqDUw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="B/zLktiw"; 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=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692639288; a=rsa-sha256; cv=none; b=MySGAV/r2cMlUHxhEEXhr0a8kSoY4HpOngeevaSPzib/oeiQlerUDEZFzUPm046dOk3AK9 mL01eMp9810/fX1e/ETdm8oU5Yc9A10ZhhNehcSocUM+uIqxrNKJMzD0hjjluOm/ZZJob/ R6bT0zZFp0WRKQSXAuqNIy0jI783fHqRq3fdSxH8hXsuFxDhrmwrhVWekzPxzEWHV/St6R c/eLjf0uob9PHH7euAZeORQsIyGmJeCmW+dQrlmKMGiByUf+9XLOWu4Rf+sUG5MGxnAj1c 4Q923fuS59JZLaDv55A3TNytMjyH3/QggFpizw3iRvJsQVzBBtW+ulamjrTAZA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qY8CC-0004b7-BW; Mon, 21 Aug 2023 12:56:04 -0400 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 1qY8C9-0004ao-8X for guix-patches@gnu.org; Mon, 21 Aug 2023 12:56:01 -0400 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 1qY8C9-00047F-0u for guix-patches@gnu.org; Mon, 21 Aug 2023 12:56:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qY8CA-0002x2-KD for guix-patches@gnu.org; Mon, 21 Aug 2023 12:56:02 -0400 Subject: bug#64188: [PATCH 0/8] More package tuning Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Mon, 21 Aug 2023 16:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 64188 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Efraim Flashner Cc: Josselin Poiret , Christopher Baines , Simon Tournier , Mathieu Othacehe , Tobias Geerinckx-Rice , 64188-done@debbugs.gnu.org, Ricardo Wurmus Mail-Followup-To: 64188@debbugs.gnu.org, ludo@gnu.org, efraim@flashner.co.il Received: via spool by 64188-done@debbugs.gnu.org id=D64188.169263691311281 (code D ref 64188); Mon, 21 Aug 2023 16:56:02 +0000 Received: (at 64188-done) by debbugs.gnu.org; 21 Aug 2023 16:55:13 +0000 Received: from localhost ([127.0.0.1]:57609 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qY8BM-0002vt-UP for submit@debbugs.gnu.org; Mon, 21 Aug 2023 12:55:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37696) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qY8BJ-0002vb-WD for 64188-done@debbugs.gnu.org; Mon, 21 Aug 2023 12:55:11 -0400 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 ) id 1qY8BA-0003gw-HV; Mon, 21 Aug 2023 12:55:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=IO1I7hEMgsozb6MaqsFkYeOXL23vbR98RD46LWwHhjo=; b=B/zLktiwJbwmU1SX1zXn 6L6BiF3co0vtLP5h9+/09re4JEoQuSeFL4aMVHQeY5mOiA6OgGoHbflYC2u+XvNzDWmuB2BUAe/oW yuWUZ2hhXljGXS+FKfAnjafcTi7o6mRtwUvOE8YKy5TrXF3fpG3zUmz79DK+YEZ4p2tyqkUU3hsM0 zdH+JGmMgpGuAf91QaHdCGMjNxb/fPdHXTN0uY3JTUOjbv+m83tgxH658hOl4cK7bwMIAmjDLYKrf lE+vj8qZ+sQq42D76EtN8U9xI7Z4VH7euUZd0StcAOIW8pjKnSdujAsL1VywLi0eHHNHT2bnI7ovh SAqoo767payF8Q==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87352fz2m9.fsf_-_@gnu.org> <871qhbzvae.fsf_-_@gnu.org> <87wmyypmts.fsf@inria.fr> <87il9rxq6h.fsf@inria.fr> Date: Mon, 21 Aug 2023 18:54:56 +0200 In-Reply-To: <87il9rxq6h.fsf@inria.fr> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Mon, 07 Aug 2023 09:33:10 +0200") Message-ID: <87a5uk8hen.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx2.migadu.com X-Migadu-Spam-Score: -5.39 X-Spam-Score: -5.39 X-Migadu-Queue-Id: C900E55099 X-TUID: iPlscwB8ozt1 Hi Efraim, Ludovic Court=C3=A8s skribis: > Efraim Flashner skribis: > >>> Not a valid argument! :-) We can discuss the implementation on IRC if >>> you want. It might be that we can slightly generalize =E2=80=98tuning-= compiler=E2=80=99 >>> so that it works for go (perhaps there=E2=80=99s an option like =E2=80= =98-march=E2=80=99 that we >>> could use instead of setting =E2=80=98GOAMD=E2=80=99?). >> >> I found -goarch, but it's for cross-compiling and wouldn't take >> x86_64-v3 as an input. >> >> The attached diff has 2 parts, the first wraps the go binary (and only >> the go binary) with GOAMD or the like. The second part is commented out, >> but is how I would've fixed the extra 'set-microarchitecture phase. > > At first sight it seems to me like it=E2=80=99s going in the right direct= ion. > > Perhaps we should create a separate =E2=80=98tuning-go-compiler=E2=80=99 = for clarity, > and arrange to factorize =E2=80=98search-next=E2=80=99 between the two. > > Let me know what you think! I see you pushed a variant as 1fd4f544b3065af225731462f3d3d647da781ee8, neat. Closing! Ludo=E2=80=99.