Re: [RFC PATCH] x86,resctrl: Read event counters with an IPI when the read cannot block
From: Shakeel Butt
Date: Mon Oct 26 2026 - 23:18:04 EST
On Thu, Oct 22, 2026 at 11:05:42AM +0200, Peter Newman wrote:
> On Thu, Oct 22, 2026 at 12:58 AM Reinette Chatre
> <reinette.chatre@xxxxxxxxx> wrote:
> >
> >
> > If the goal is indeed to obtain accurate monitoring data at regular
> > intervals when using the stated hardware at its full capacity then
> > I would suggest that you consider the per-group rate files that Peter
> > settled on per
> > https://lore.kernel.org/all/CALPaoCgpnVORZfbKVLXDFUZvv8jhpShHPzB3cwdLTZQH1o9ULw@xxxxxxxxxxxxxx/
> >
> > I actually cannot remember seeing an update on that work after he posted that
> > message and my assumption has been that that is what they have been using since
> > then.
>
> These changes have been available within Google for a while, but I
> don't believe they've ever gone into use. They've had a lot of other
> issues with the MBM implementations on AMD and have been estimating
> jobs' bandwidth using the offcore PMU instead.
>
> Shakeel, I can share the changes for you to try out, but they won't be
> up to the standard for code review. If it works for you, that would be
> one confirmed user and I could put more time into it.
Yes please, do share, I will take a look.