Set controls to maximum performance to avoid regressions now that CPPC
is activated by default and to match what the P-state support does.
Sponsored by: The FreeBSD Foundation
Differential D55253
hwpstate_amd(4): CPPC: Switch the default to maximum performance Authored by olce on Wed, Feb 11, 8:51 PM.
Details
Diff Detail
Event TimelineComment Actions Let me explain the context for this, so that we can discuss if this is the best solution or if we should find something else, both short term and longer term. hwpstate_amd(4) is compiled-in in GENERIC by default (as part of cpufreq). Contrary to hwpstate_intel(4), this driver not only contains the new CPPC support, it also supports the regular, fixed P-states. So far, we have chosen to enable CPPC support by default when supported by the processor. As PR 292615 has shown, this can cause a performance regression (cracauer@'s case), and does make powerd(8) ineffective (cy@'s case; apparently he found acceptable settings of CPPC knobs for his use case, with possibly better hardware reactivity than powerd(8)'s). To add to the equation, once CPPC support is enabled, it cannot be disabled (except by a processor reset). For the short-term:
Longer term, widening the perspective:
|