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
F170945578: D57779.diff
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
Unknown Object (File)
Wed, Sep 2, 8:19 AM
Unknown Object (File)
Tue, Sep 1, 4:31 AM
Unknown Object (File)
Mon, Aug 31, 1:58 AM
Unknown Object (File)
Mon, Aug 31, 1:30 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 74157
Build 71040: arc lint + arc unit

Event Timeline

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

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.