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)
Sat, Sep 12, 4:54 AM
Unknown Object (File)
Sat, Sep 12, 4:54 AM
Unknown Object (File)
Sat, Sep 12, 4:33 AM
Unknown Object (File)
Fri, Sep 11, 2:08 PM
Unknown Object (File)
Mon, Sep 7, 7:01 PM
Unknown Object (File)
Sat, Sep 5, 1:07 AM
Unknown Object (File)
Sat, Sep 5, 12:04 AM
Unknown Object (File)
Wed, Sep 2, 1:37 PM
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.