~/talk

HiSilicon Performance Monitor Control Unit

Talkat Linux Plumbers Conference 2023 · 2023-11-13..11-15· [security]
name:Jie Zhan
links:none on file
slides:none on file

Performance Monitor Control Unit (PMCU) offloads core PMU work to an external DMA-backed controller that configures events, switches them, and writes samples to memory, Performance Monitor Control Unit (PMCU). Demo shows ten samples at ~4 ms each and the motivation is concrete: traditional per-CPU PMU sampling can raise latency (an observed 50% latency increase in cybench) and consumes CPU cycles. Implementation uses perf_event auxtrace, exposes sysfs knobs, and works functionally, but concurrent CPU vs external accesses lack synchronization and raise correctness and security problems.

AI-written summary · about

  1. 0:00Introduction to PMCU
  2. 1:49Problems with traditional PMUs
  3. 3:19Hardware design of PMCU
  4. 4:50Software design framework
  5. 6:59Demo of PMCU usage
  6. 8:33Main challenges faced
  7. 12:11Security concerns with external PMU access
  8. 14:17Workarounds and alternatives
  9. 17:07Performance overhead discussion
  10. 18:34Q&A and closing remarks
~/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.