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
F176496442: D57779.id180403.diff
Mon, Oct 19, 8:03 AM
Unknown Object (File)
Thu, Oct 15, 5:06 AM
Unknown Object (File)
Wed, Oct 14, 5:26 AM
Unknown Object (File)
Sat, Oct 10, 2:28 PM
Unknown Object (File)
Sat, Oct 10, 10:19 AM
Unknown Object (File)
Thu, Oct 8, 4:31 PM
Unknown Object (File)
Thu, Oct 8, 1:52 AM
Unknown Object (File)
Wed, Oct 7, 8:41 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.