Re: [PATCH v3 29/47] arm_mpam: resctrl: Pick classes for use as mbm counters

From: Peter Newman

Date: Thu Jan 15 2026 - 10:49:33 EST


Hi Ben,

On Mon, Jan 12, 2026 at 6:02 PM Ben Horgan <ben.horgan@xxxxxxx> wrote:
>
> From: James Morse <james.morse@xxxxxxx>
>
> resctrl has two types of counters, NUMA-local and global. MPAM has only
> bandwidth counters, but the position of the MSC may mean it counts
> NUMA-local, or global traffic.
>
> But the topology information is not available.
>
> Apply a heuristic: the L2 or L3 supports bandwidth monitors, these are
> probably NUMA-local. If the memory controller supports bandwidth monitors,
> they are probably global.

Are remote memory accesses not cached? How do we know an MBWU monitor
residing on a cache won't count remote traffic?

Thanks,
-Peter