Page MenuHomeFreeBSD

pmc: pmc frontend stall analysis based on IBS
ClosedPublic

Authored by ali_mashtizadeh.com on Jun 23 2026, 4:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Aug 10, 11:07 PM
Unknown Object (File)
Mon, Aug 10, 6:49 PM
Unknown Object (File)
Mon, Aug 10, 6:45 PM
Unknown Object (File)
Sat, Aug 8, 1:46 PM
Unknown Object (File)
Sat, Aug 8, 12:53 PM
Unknown Object (File)
Fri, Aug 7, 6:06 PM
Unknown Object (File)
Fri, Aug 7, 2:51 PM
Unknown Object (File)
Fri, Aug 7, 11:58 AM
Subscribers

Details

Summary

The frontend command uses AMD IBS frontend events to analyze the major
sources of frontend stalls. It displays a table breakind down the major
causes of front end stalls. This is a simple demonstration of the tools
as you can use the filtering tools to limit the analysis to a subset of
the samples including filtering by fetch latencies.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ali_mashtizadeh.com created this revision.
adrian added a subscriber: adrian.
adrian added inline comments.
usr.sbin/pmc/cmd_pmc_frontend.cc
138

Do you think it's worth adding cycles spent walking page tables?

This revision is now accepted and ready to land.Jun 30 2026, 5:49 PM
This revision was automatically updated to reflect the committed changes.