Loading…
RISC-V Summit has ended
December 6-8, 2021 | San Fransisco, CA + Virtual
Learn More & Register Now

Back To Schedule
Tuesday, December 7 • 9:00am - 9:25am
Performance Monitoring in RISC-V using perf - Atish Patra, Western Digital

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
Performance analysis using a dedicated hardware performance monitoring unit(PMU) has become ubiquitous in the modern era of computing. A PMU unit consists of several programmable registers that can be used to monitor micro-architectural information using userspace tools such as perf. This was one of the key missing pieces in RISC-V software ecosystem until now. Linux kernel for RISC-V had a very basic perf support due to the missing features in RISC-V ISA. However, an SBI PMU extension and ISA extension ("SScofpmf") were recently proposed. This allows developing a RISC-V platform that is on par with any other ISA in terms of perf capabilities including virtualization support. The SBI PMU extension also added support for a set of novel firmware counters to allow users to gain insight into firmware data during performance analysis. Linux kernel and firmware support for both the proposed extension are under development. This talk will provide the details of these extensions. It will also describe the Linux perf subsystem architecture and Linux RISC-V perf driver that leverages these extensions. In the end, a live demonstration of the full capabilities of perf will be shown using Qemu.

Speakers
avatar for Atish Patra

Atish Patra

Technologist, Western Digital
Atish is a Linux kernel engineer working at Western Digital system software research. He has worked on various features for RISC-V Linux kernel i.e. UEFI, early boot, virtualization and device drivers. He is also the co-maintainer of OpenSBI, the open source run time firmware for... Read More →



Tuesday December 7, 2021 9:00am - 9:25am PST
Room 3004/3006
  Software Stack Integration and Development Tools
  • Talk Type Virtual
  • Presentation Slides Attached Yes