Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jan 2026 09:47:48 +0100
From:      Olivier Certner <olce@freebsd.org>
To:        Gleb Smirnoff <glebius@freebsd.org>
Cc:        freebsd-current@freebsd.org, src-committers@freebsd.org, ShengYi Hung <aokblast@freebsd.org>
Subject:   Re: January 2026 stabilization week
Message-ID:  <2329920.sMrx5ctUpN@ravel>
In-Reply-To: <aXp2VvOLn063IcUs@cell.glebi.us>
References:  <aXctKTNm_CEau0yB@cell.glebi.us> <aXp2VvOLn063IcUs@cell.glebi.us>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Hi Gleb,

> 2) The AMD CPPC switched on by default instead of Cool`n'Quiet caused problems on
>    certain hardware.  For laptops see bug 292615.
>    At Netflix A/B test we discovered that CPPC mode reports wrong frequency levels
>    to powerd, which results in reduced performance.
>    This problem is still not resolved.

ShengYi will be, AFAIK, mostly unavailable for at least a month, so I'm handling the AMD CPPC problems (actually, I've done some part of the initial work as a reviewer and by proposing changes to it).

I've been having some mail problems in the past days, so sorry if I missed something, but it's the first time I'm hearing Netflix experienced a problem caused by the new AMD CPPC.

If powerd(8) tries to set frequencies to balance performance/efficiency (as it always has AFAIK), it is in effect incompatible with CPPC, both this new AMD implementation and the already existing Intel one.  They do not allow to set frequency but just report the current real frequency which is *dynamic*, i.e., it can frequently change even for non-changing CPPC control values (that's the entire purpose of CPPC).  In the future, we'll probably want to add support of CPPC to powerd(8).

For now, it's either CPPC or powerd(8) (as for Intel), and a priori I'd recommend switching to CPPC entirely (once we have finished with the potential problems here).  For pressing production issues, in the meantime you can set the 'machdep.hwpstate_amd_cppc_enable' tunable to 0 to force using the "manual" P-states that powerd(8) can manipulate.

Please help us by intervening in bug 292615, adding comments about your problems and findings (or mail them to me if they must stay confidential), and please read the latest comments, apply the latest patch and play with the different knobs as explained there.  Depending on your feedback, we may be able to provide more specific guidance.  If CPPC mode reports a wrong frequency (how do you tell?), please comment there also, and depending on first analysis, we'll see if we want it to be a separate bug or not.

Thanks and regards.

-- 
Olivier Certner
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iQIzBAABCQAdFiEEmNCxHjkosai0LYIujKEwQJceJicFAml7HrQACgkQjKEwQJce
JietAw//dzC59BS2wFtboISSBcBZU6mSOliEn3CsmMyrWNRION5IvmzUPOMCW71m
gWGDpdko+fbyL847Wqdy2Y4ccYu+Men6s4imlJ+y2JfjwyWYean4e5hu0yem4tM9
NFn9VEGixs8VeFuaCrjCkIDKTiO/3ur7QEox4GtS4DjpB4rBKV4cIQc+Eiwz/xmQ
x56W5IOqsnEaU9PPr2Knq6ocXPpahrFA33yr/EoWcda4TQwbWff2j3joafM6UiJi
jesz9QkHmbZNzCem1EOw1TE6hrfOIzD246lSVr/daIpA4cBeWevdcWnNmzm9i56P
qNl1uQNhM9kuwsacbnBApg9CLWpGKvRO6g63CneNEP+ypL4ddkyABcN3CZT47uQl
4CXHek/w+hzZw3OBBKfn7aTBCZ9gnlLrF6GBytwiK+l8RCYRqiryLz7ucRB+5uUi
T5xoVmeWWHqLrYxO1yy0Jj9mumAhF2eimfYaens4ZeRz2tPNGO4Qi9geevqjI3qN
FCrCegvkqFCfYoDv17shTDZ1rUC3eo5k6n/IUna+KienW7LFHIBOqKd+VCD2C8a2
ykyA+kj3Kvw83DXfxuOx4/QYa06f8q9RYO5tVqtGQqcMkr9BSq2NxpgNC0yzvsIC
+1eXwybuUcE9FRXdeddiCeNfPRror8A6DdIvuQqzslu/HWz6kK8=
=uBvu
-----END PGP SIGNATURE-----
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2329920.sMrx5ctUpN>