Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp227545rdb; Tue, 5 Dec 2023 04:00:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IGpSiBbm3EVKNnoyLFGRK6M89VC673+42fLUCim5gfxCA3rdpczRDgY/8eimu2ayf1dPRwH X-Received: by 2002:a05:6a20:be11:b0:18f:9c4:d33d with SMTP id ge17-20020a056a20be1100b0018f09c4d33dmr1445684pzb.45.1701777657914; Tue, 05 Dec 2023 04:00:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701777657; cv=none; d=google.com; s=arc-20160816; b=to8QzonkYSCo3UQqJ2cVdMBZgFSfi8EuKFBWB1BfmXqVxK20Z38EKK3EtI+XAURzH9 xg7NgtZNSJGtZAtZUCAZdXn0H23u8M7qHLX6wMkJ1Sp3g5tfy78T1p8rrQrijReYlQ0Z uzPZmsNwLHfXPGWFtJ4llSqPUpKKA3e88nSmwZKEphEajVVIJEC6rwWaQqCHrp6qDoXP CikXcmQA/cb3GzkldlOIXmBtD7km0/NrF2aBOVLzf6BA31RwcR7iAh9EVtSau+emGftQ G9EBuEHtBayOHopDaw30B1c/vxq4dzKbBXXOhA1u/5+4rRrb0+Z5iaNEI9prQoWZ1g81 mQoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:in-reply-to:user-agent:subject:cc:to:from:date :dkim-signature; bh=/eKJhgPMTMMY5RfTR6X1AJ44Ndjq/J/8VLPyF0xruWU=; fh=5A2oy7yMOaUaOiQxAQ1Sfy3Bv43thhazQ5i2+te2qrI=; b=c3lplN1ksHB1n4MhZgtuR6x+4jpUA6AD0RpWfm36A3ZVCY71Mev4lps26vzbGYXFwj BtmUdFYZ5rsNZDz4pfPBgnFznwe1cD/JEYvU2UIcdwicbAwCVBqNbsblW4su4/XCIT+N M+9pSGhyOVYjPf0ZFT83OfdMwq3nX0EtcRd31I2ApLydrVP7Fq+f4SjrPL8H3gikKEhy S3ScO5+qWVTxc5jV6pk8WJmRmcknW6UdWVoapvyeLaHXLZfUnwR1H3t0nBfFy/xX4e4T NcTkEFR3n1CaXxity6ywRPLjr1ELmf9FZiJrVgm+eMCQGzys2/rR3FyrBuJWc9aHYons ljrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=QfDoArJd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id s21-20020a63d055000000b005c16f26b1b4si9279991pgi.440.2023.12.05.04.00.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 04:00:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=QfDoArJd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 33D2F8075015; Tue, 5 Dec 2023 04:00:49 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347038AbjLEMAf (ORCPT + 99 others); Tue, 5 Dec 2023 07:00:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345161AbjLEMAc (ORCPT ); Tue, 5 Dec 2023 07:00:32 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F34AA98 for ; Tue, 5 Dec 2023 04:00:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:In-Reply-To:Subject:CC:To:From:Date:Sender:Reply-To: Content-ID:Content-Description:References; bh=/eKJhgPMTMMY5RfTR6X1AJ44Ndjq/J/8VLPyF0xruWU=; b=QfDoArJdhDbZztII3tMJ1ynhkK 1XX3+6r4Oh3Yi54ykyfQQShKvX5us7FdMniDsEg3taV/89OoASvWIonKDHGg/lrnK01unE/OWpQk0 YXGEtcB9jNYnhnRfZoCWYSIG2eZ7E651BZOT4C5ho16w9Fpk3JgYERmNqCCu4UUooevXV16xC3BYO MU1ZTQH7xB2ZHPQvdt34iAo3U/+1E8ay9o/71IXKV07vw85D8BHsdjYRJdX1MjR9iWWMu4E4CX94m wYKbWsioCa6AyM+N8hBDnIpWEslkqgekQbtZDtrxghZkgQVFWfq2FSQ5P+Ov1Em4pPGi2kRN01+wt NTj6oz3w==; Received: from [46.18.216.58] (helo=[127.0.0.1]) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1rAU5s-001py0-VY; Tue, 05 Dec 2023 12:00:05 +0000 Date: Tue, 05 Dec 2023 12:00:04 +0000 From: David Woodhouse To: pdurrant@amazon.co.uk CC: bp@alien8.de, dave.hansen@intel.com, dave.hansen@linux.intel.com, hdegoede@redhat.com, hpa@zytor.com, jalliste@amazon.co.uk, juew@amazon.com, len.brown@intel.com, linux-kernel@vger.kernel.org, mingo@redhat.com, peterz@infradead.org, rafael.j.wysocki@intel.com, rafael@kernel.org, tglx@linutronix.de, usama.arif@bytedance.com, x86@kernel.org Subject: =?US-ASCII?Q?RE=3A_=5BPATCH=5D_x86=3A_intel=5Fepb=3A_Add_earlyp?= =?US-ASCII?Q?aram_option_to_keep_bias_at_performance?= User-Agent: K-9 Mail for Android In-Reply-To: <53bce76c5c60463eba1372df426a64b9@amazon.co.uk> Message-ID: <1D71D218-5EB6-47DE-A01B-3A66F9F4C74E@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 05 Dec 2023 04:00:49 -0800 (PST) Paul writes: > The problem is that this will take effect even on a kexec and hence it i= s throttling > a system that set ENERGY_PERF_BIAS_PERFORMANCE prior to the kexec=2E We= use kexec to > live update the host kernel of our systems whilst leaving virtual machin= es running=2E > This resetting of the perf bias is having a very detrimental effect on t= he downtime > of our systems across the live update - about a 7 fold increase=2E It isn't just about kexec, is it? Even in a clean boot why wouldn't we wan= t to stay in performance mode until the kernel has *finished* booting? It's= literally adding seconds to the startup time in some cases=2E And yes, we *particularly* care in the kexec case because guests experienc= e it as excessive steal time=2E But it ain't great in the general case eith= er, surely?