SMT profiling with pmcstat and perf

From RCS Wiki
Revision as of 05:23, 15 July 2025 by TimKelly (talk | contribs)
Jump to navigation Jump to search

This article discusses profiling symmetric multithreading (SMT) on the POWER9 architecture. It uses both Big-endian FreeBSD with pmcstat and Debian with perf.

The knowledge presented here was derived from a variety of sources which can be found in the Additional Resources section.


Symmetric multithreading (SMT)

SMT principles

SMT is not "multi-core"

Comparison to RISC-V HARTs

Benchmark code

pmcstat

perf

Additional Resources

POWER9 User Manual v21

POWER9 Performance Monitoring Unit User Guide v12


George Neville-Neil's brief tutorial on pmcstat: https://freebsdfoundation.org/wp-content/uploads/2014/03/Understanding-Application-and-System-Performance-with-HWPMC4.pdf