Summary: | Coffee lake frequency scaling | ||
---|---|---|---|
Product: | Base System | Reporter: | Dennis Noordsij <dennis.noordsij> |
Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | New --- | ||
Severity: | Affects Some People | CC: | emaste |
Priority: | --- | ||
Version: | 12.1-RELEASE | ||
Hardware: | amd64 | ||
OS: | Any |
Description
Dennis Noordsij
2020-01-09 22:18:09 UTC
After more testing: If I kldload cpuctl and run i7z it does appear frequency scaling is working for some default scaling setup (hover around 1200MHz-2000MHz but scale up to 5GHz under load). powerd does not seem to be able to tell the current frequency correctly (i7z can, and I have verified with basic benchmarks that performance matches i7z's output). when powerd is run with "-n maximum" it matches the above behaviour (~2GHz baseline and scale up under load, although it says it wants to go 7200MHz and IMO should be at 3600Mhz), then powerd -v drops to 800MHz under no load. this is "good enough" for me at the moment, as the default behaviour is what I'd like, but there seems be something wrong (scaling/multiplier?) with powerd/cpufreq. Disable powerd and the system should turboboost just fine. powerd is functionally obsolescent / broken. The "3601/xxx" frequency level is "3.6GHz base clock + turboboost." See also this work in progress: https://reviews.freebsd.org/D18028 Thank you for your comments Conrad. Despite the confusing feedback from powerd the system works fine as you said. I don't really need powerd functionality at the moment, but look forward to the work in progress making it into one of the next versions, as it would be nice to occasionally lock it to the max speed. |