perf c2c: Top 3 Metrics for Cache-to-Cache Contention

The Linux `perf c2c` subcommand is specifically designed for Shared Data Cache-to-Cache (C2C) analysis, revealing false sharing by examining cache-line contention. It highlights cache lines with the highest contention, processes involved, and instructions causing the issue. Crucial metrics include 'HITM' (Hit in Modified cache line) events, indicating when a core loads data from a cache line modified by another, and information on load latency and NUMA nodes involved.

Sources

Open the full topic