~/talk

A New CPU Frequency Control Mechanism on Linux

Talkat LinuxCon Europe 2022 · 2022-09-13..09-16· [linux-and-operating-systems]
name:Ray Huang
links:none on file
slides:none on file

Replaces the ACPI three P‑state model with an AMD P‑State CPUFreq driver that uses CPPC via MSR to push fine‑grained performance hints to the SMU DPM rather than the AML interpreter, merged in kernel 5.17 and extended with cpupower and tracer in 5.18 and kselftest unit tests. Scheduler‑util governor integration and a tracer script are used to correlate activity to hardware performance goals. Early results show modest benchmark shifts (around ±2–3% on t‑bench) and larger wins in some workloads (up to ~24–30%); driver still needs cross‑platform tuning and gaming/Proton fixes.

AI-written summary · about

  1. 0:00Intro
  2. 1:36Background
  3. 3:09Legacy CPUFreq Design and Potential Conflict
  4. 5:15New AMD CPUFreq Design Proposal
  5. 6:59Frequency Control Algorithm in SMU Firmware
  6. 8:08CPPC Performance Capability
  7. 9:02CPPC Performance Control
  8. 10:01Frequency Control Governors in Linux Kernel
  9. 15:05Existing Firmware Component
  10. 16:27Existing Kernel Component
  11. 18:22New AMD P-State Core Design and Implementation (1)
  12. 23:17AMD P-State Trace Event Design and Implementation
  13. 24:30AMD P-State Tracer Tool Support
  14. 26:08AMD P-State Sysfs Attributes Design and Implementation
  15. 28:55AMD P-State Unit Test Support
  16. 30:26RAPL Perf Support for AMD Processor
  17. 31:14Performance Per Watt Calculation
  18. 31:52TBench CPU Benchmark for AMD P-State vs ACPI CPUFreq
  19. 33:26Gitsource CPU Benchmark for AMD P-State vs ACPI CPUFreq
  20. 34:30Speedometer CPU Benchmark for AMD P-State vs ACPI CPUFreq
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.