Difference between revisions of "SMT profiling with pmcstat and perf"

From RCS Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
This article discusses profiling symmetric multithreading (SMT) on the POWER9 architecture.  It uses both Big-endian FreeBSD with pmcstat and Debian with perf.
 
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) ===
 
=== Symmetric multithreading (SMT) ===
Line 14: Line 17:
  
 
=== perf ===
 
=== perf ===
 +
 +
=== Additional Resources ===
 +
[[:File:POWER9 um OpenPOWER v21 10OCT2019 pub.pdf|POWER9 User Manual v21]]
 +
 +
[[:File:POWER9_PMU_UG_v12_28NOV2018_pub.pdf|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

Revision as of 05:23, 15 July 2025

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