Show Your Support: This site is primarily supported by advertisements. Ads are what have allowed this site to be maintained on a daily basis for the past 18+ years. We do our best to ensure only clean, relevant ads are shown, when any nasty ads are detected, we work to remove them ASAP. If you would like to view the site without ads while still supporting our work, please consider our ad-free Phoronix Premium.
Linux 6.0's Perf Tooling Ready For AMD Zen 4 IBS
Sent out on Thursday for the Linux 6.0 merge window were the perf tools changes. Notable among the tooling updates is supporting Zen 4 IBS:
Add support for new AMD IBS (Instruction Based Sampling) features:
With the DataSrc extensions, the source of data can be decoded among:
- Local L3 or other L1/L2 in CCX.
- A peer cache in a near CCX.
- Data returned from DRAM.
- A peer cache in a far CCX.
- DRAM address map with "long latency" bit set.
- Data returned from MMIO/Config/PCI/APIC.
- Extension Memory (S-Link, GenZ, etc - identified by the CS target and/or address map at DF's choice).
- Peer Agent Memory.
Aside from getting the perf tools ready for Zen 4 Instruction Based Sampling, other tooling updates including a new "perf lock contention" subtool, a "perf kwork" tool to trace time properties of kernel work, support hardware tracing with Intel PT on guest VMs, the Intel Meteor Lake JSON file for perf events has been added, various hybrid system enhancements, and other smaller changes.
As reported in numerous articles over many months, AMD engineers have been very busy preparing the Zen 4 Linux support for launch-day. It appears they have all their bases covered now aside from some late audio driver code and are now working on some of the other "nice to have" but not mandatory features like around this IBS perf integration. We'll see soon enough how well AMD Ryzen Zen 4 processors work under Linux.