From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B1A2AE7D0A1 for ; Thu, 21 Sep 2023 23:00:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231370AbjIUXBA (ORCPT ); Thu, 21 Sep 2023 19:01:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231406AbjIUXAk (ORCPT ); Thu, 21 Sep 2023 19:00:40 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5EE5A83306 for ; Thu, 21 Sep 2023 10:37:23 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPS id 59EA3C4160E for ; Thu, 21 Sep 2023 08:21:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695284510; bh=tQYneJVAH5RUqoeoh3OUB5PFLJ9q7Ixv6O6Y0CNVBvk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=akRacofKDKu2a4pKoRHlbvpECyHgHTXmXtYP9zxvA8kgA9XO8BuL6w8AqK2SHvZnE u05ke/j7J1Rw1fIGHpbfkAtPv5Mav4NOZjJhEyNGRyDdgzUBLnxirag+Te2M+dg3ay 6L8C2TbiEf4esStPWn0J1OfyPYAoyi4M5ZOoZkLvCMwv5M5BBP1NNgeD3hBcZGVqtA cjyNoZ8kMZ/tN68vD/SzKvaqhYNMclgZXJ6lInOECh72Xw2L6n3gDPubCWW74wD1K+ ev8jZyar8rVneWPIr3qEGANIruJeRVTxxjsd5/oRKv0wqHh7nWklwVcumJuney2h25 3hYNJ3jXpxO/w== Received: by aws-us-west-2-korg-bugzilla-1.web.codeaurora.org (Postfix, from userid 48) id 47E48C53BD0; Thu, 21 Sep 2023 08:21:50 +0000 (UTC) From: bugzilla-daemon@kernel.org To: linux-pm@vger.kernel.org Subject: [Bug 217931] amd-pstate lacks crucial features: CPU frequency and boost control Date: Thu, 21 Sep 2023 08:21:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Power Management X-Bugzilla-Component: cpufreq X-Bugzilla-Version: 2.5 X-Bugzilla-Keywords: X-Bugzilla-Severity: high X-Bugzilla-Who: aros@gmx.com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: linux-pm@vger.kernel.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugzilla.kernel.org/ Auto-Submitted: auto-generated MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org https://bugzilla.kernel.org/show_bug.cgi?id=3D217931 --- Comment #5 from Artem S. Tashkinov (aros@gmx.com) --- (In reply to Perry Yuan(AMD) from comment #4) > (In reply to Artem S. Tashkinov from comment #0) > > Created attachment 305131 [details] > > Power Options: Processor Power Management in Windows > >=20 > > It would be really great if amd-pstate had a feature parity with > > acpi-cpufreq, namely > >=20 > > 1) Being able to set operating frequencies (maximum, minimum and > > user-defined) > >=20 > > 2) Being able to enable/disable boost > >=20 > > Currently both features are not available and frequency control is simp= ly > > ignored (bug 215800). > >=20 > > Rationale: > >=20 > > 1) This is required for benchmarking and proper temperature control. Bo= ost > > frequencies are subject to multiple limitations (power in watts, ampera= ge, > > voltage, temperature, BIOS limitations) and can change depending on the > > workload. Setting a low enough frequency allows to run benchmarks in the > > controlled environment and get proper data. > >=20 > > Windows allows to do that easily, see the attached screenshot. > >=20 > > 2) Disabling boost is an easy option to subdue operating temperatures > though > > if the previous issue is tackled, it's not really needed. >=20 > Thanks for the suggestion. > There are two modes for amd pstate driver, one passive, and another active > mode, the passive mode already has the boost control feature. >=20 > # cat /sys/devices/system/cpu/cpufreq/boost > 1 >=20 > I have raised this requestion and will get active mode supported with a n= ew > patch. >=20 Thank you for chiming in, Perry! I'm looking forward to being able to control min/max frequency which kinda negates the need for boost control. I know this can be done since the Windo= ws CPPC driver allows that perfectly. --=20 You may reply to this email to add a comment. You are receiving this mail because: You are the assignee for the bug.=