From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 0AtEOthN6GX/2wAAe85BDQ:P1 (envelope-from ) for ; Wed, 06 Mar 2024 12:04:57 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 0AtEOthN6GX/2wAAe85BDQ (envelope-from ) for ; Wed, 06 Mar 2024 12:04:57 +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=mPrmtbnf; 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=1709723096; 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-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Lxdc/MbxeW+qGw/spJYCUJr+e/ibcr85AGzfEoi5Auw=; b=Cl0QANdp4adQ5XFPf5yIps+iACNK37J9qypSzNSTqWD0InFg2h6lX0XdyGzrsM0y+VFoYJ wivuZ3QNAQCyIfnzNw4fW33IslPnaRzdhA7USMsEmiR6mT3OdEq4xRooqI342KJedfSfHJ RL6PkZ7Orw+Agxd8YtzEoe+PQ4Dvbs1vo7jdVXib9VroiXXrNlprTHz6vhWk7BRbLMjsgk +TaQKXDVB6+YwEtM9LcJLLm2Dxb54RIwBQvpZUHyYVl2J19IS0XfDquFKbl++CZ7EozLPc uWxE+dvDOPDWp58Cg7AUKDwNmBL+fRz2Up/+VHTEVY4hDkjcxWky+SAnclEoTQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=mPrmtbnf; 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-Seal: i=1; s=key1; d=yhetil.org; t=1709723096; a=rsa-sha256; cv=none; b=EzFQMx6KJnQ6GXnSfd2snq0pfQSzJZrNkJcxlGXajNepa+1O2g+4gWPQSRnVWMVaSz/Ykt k3+2vjnwamagvBQavqQiS9B5xeuEL8n/CRAqSxLjDoI6TwN2cMeVdyapDQYoSXfkUSekGj 15uuvP72hB1xcIGd61rHZStiNBnHXfVI6kHc5JVZtp6218y+7IpRPalgJuUZ8aaqt6Y9y1 jAhyu5h0tfTAXDxp/L0g7n/7SNoLcoHmptpeGkbPcTu98aEBS8pBt/4q/IOqPY+xeR2Qyk 5974UDGh3jDKQb8A+3o2BaYX5smPQc9pcSJUvYdlMkBC/1Np0oexKR7oeQqXvQ== 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 7C66E42581 for ; Wed, 6 Mar 2024 12:04:56 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rhp4h-0008Kj-Ag; Wed, 06 Mar 2024 06:04:39 -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 1rhp4a-0008Jj-1U for guix-patches@gnu.org; Wed, 06 Mar 2024 06:04:33 -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 1rhp4Z-0005b0-N0 for guix-patches@gnu.org; Wed, 06 Mar 2024 06:04:31 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rhp54-00057p-60 for guix-patches@gnu.org; Wed, 06 Mar 2024 06:05:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69581] [PATCH 00/11] CPU tuning patches Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Mar 2024 11:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69581 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69581@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170972307319660 (code B ref -1); Wed, 06 Mar 2024 11:05:01 +0000 Received: (at submit) by debbugs.gnu.org; 6 Mar 2024 11:04:33 +0000 Received: from localhost ([127.0.0.1]:49790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhp4b-000572-6N for submit@debbugs.gnu.org; Wed, 06 Mar 2024 06:04:33 -0500 Received: from lists.gnu.org ([209.51.188.17]:45638) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhp4Y-00056t-Aq for submit@debbugs.gnu.org; Wed, 06 Mar 2024 06:04:31 -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 1rhp42-0008BO-Jl for guix-patches@gnu.org; Wed, 06 Mar 2024 06:03:59 -0500 Received: from mail-lj1-x230.google.com ([2a00:1450:4864:20::230]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rhp40-0005XN-Ey for guix-patches@gnu.org; Wed, 06 Mar 2024 06:03:58 -0500 Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2d23114b19dso85177991fa.3 for ; Wed, 06 Mar 2024 03:03:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709723034; x=1710327834; 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=Lxdc/MbxeW+qGw/spJYCUJr+e/ibcr85AGzfEoi5Auw=; b=mPrmtbnf2E9QHCVur/piVzZIo17BxoGuZJr+E2pakC71d31DZoDCszbpLVKKYSSj8d 8lpxGCJ2r6iOWw1EOtIfBk1DsB1NMmCjZaiJ+IxLJNptclUXegmpgit8FL8qR8XB6CSx 9WGV6/k6QHrUAyNfC2K7TrO6fJuhU+oTUFE7W5HTdKMpnI/1HjJDHjtfAJiciPB1w1Rm 1PwR7sxfb+mauX48+dhcpFgjJpQ+67CRk+rnUIL0e1SCdm9jxS65LvncT8tSVXWh0Ru8 QHjkHMx2RUV8jr1DNahSKyKzvt6Hng7mQT3wxHi7ifb0tqBz+E3v4s+8eU24ZYxoBfsm EHhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709723034; x=1710327834; 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=Lxdc/MbxeW+qGw/spJYCUJr+e/ibcr85AGzfEoi5Auw=; b=Z8+jp7C4Ul4ZqrCcVJheEg6lBdSpkfRbhdHOMq0CZVkLbMFJ9bG3mpcMycgmX0Gm3l TxQyFBqNyGCovV4T5jrAG6AhpSL3lx80jvmrmCPFLKcf6mtdQaNletDluTohBA4EEd8A shfwHwXn1+t42sEfzNyohPkvbx0hLmxOeA3ou4Gz86PyT/fMB8ipD1Qj1x0u8Qq8/Qw+ VJu0ScjmD0UW6HMkbP+ukKJStA7RRaX5xeFm2A2RDrIfPuR7haTzMQJ1MpFDsiiz138w ToNU6B4tBBO6ZTE72mIieY6S5Zka2n6VSod/g2IErXZ5tWcj7Vxkfv9/eqHeUDyPe7vd 6/MA== X-Gm-Message-State: AOJu0YyGrGkYwhE77awVwu9lmZswn5bCt/gUnVIdXpFoPWk08xL8Vl9w XXEE7DcSHLmTDQfs82E+IBC2COkife1WeVDu/Y9SkgiFNkK7x+QUfK0YLR0i4bM= X-Google-Smtp-Source: AGHT+IEGkcIIXaHNqTCKeTpAKfPpIqIyHdP9aG8bS5k7DhcvucDErTbrsVw7RyFQYQLP1T9y0EDItw== X-Received: by 2002:a05:6512:ac2:b0:513:34b8:6d83 with SMTP id n2-20020a0565120ac200b0051334b86d83mr4646339lfu.57.1709723033737; Wed, 06 Mar 2024 03:03:53 -0800 (PST) Received: from localhost ([141.226.12.177]) by smtp.gmail.com with ESMTPSA id n33-20020a05600c502100b00412f6bf509asm1330870wmr.22.2024.03.06.03.03.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 03:03:53 -0800 (PST) From: Efraim Flashner Date: Wed, 6 Mar 2024 13:03:46 +0200 Message-ID: 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::230; envelope-from=efraim.flashner@gmail.com; helo=mail-lj1-x230.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, 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-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-Spam-Score: -4.47 X-Spam-Score: -4.47 X-Migadu-Queue-Id: 7C66E42581 X-Migadu-Scanner: mx11.migadu.com X-TUID: Bs1NX6CgQ8at This series corrects the remaining x86_64-v* to x86-64-v*, which is what the compiler expects. It also removes x86-64-v1, which is the baseline, and instead inserts x86-64. Software for i686 running on x86_64 can still benefit from the tuning from x86_64, so I've added those options for gcc. I've added support for tuning rust packages, and I've marked rav1e as tunable since it apparently shows a large boost when tuned to newer hardware. I've also added opus and libvorbis since they benefit greatly, and syncthing since, beyond syncing, there is a lot of other hashing and whatnot that it does that benefits from tuning. I've updated the llvm micro-architecture list for x86_64, and I've added for powerpc64le. I was going to add for aarch64 but it only supports listing specific chips so that didn't fit with what we have elsewhere. Efraim Flashner (11): gnu: opus: Mark as tunable. gnu: libvorbis: Mark as tunable. guix: cpu: Be consistent with x86_64 micro-architecture names. guix: cpu: Rename x86-64-v1 to x86-64. guix: cpu: Enable tuning for i686-linux. gnu: syncthing: Mark as tunable. gnu: rust: Add tuning information. transformations: Add support for rust. gnu: rav1e: Mark as tunable. gnu: clang-properties: Update x86_64 micro-architectures. gnu: clang-properties: Add micro-architecture support for powerpc64le. gnu/packages/gcc.scm | 7 +- gnu/packages/golang.scm | 3 +- gnu/packages/llvm.scm | 127 +++++++++++++++++++------------------ gnu/packages/rust.scm | 4 +- gnu/packages/syncthing.scm | 3 +- gnu/packages/video.scm | 1 + gnu/packages/xiph.scm | 2 + guix/cpu.scm | 24 +++---- guix/transformations.scm | 8 ++- 9 files changed, 101 insertions(+), 78 deletions(-) base-commit: f3ea06baca2b96cd20170616fd5da13ec2daac54 -- Efraim Flashner רנשלפ םירפא GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted