RE: [PATCH] fs/resctrl,x86/resctrl: Factor mba rounding to be per-arch
From: Luck, Tony
Date: Thu Oct 02 2025 - 12:44:00 EST
> > > So, if ACPI says Q=387, that's the denominator we advertise.
> > >
> > > Does that sound right?
> > >
> >
> > Yes, it makes sense, the denominator is the "scale" in your example.
>
> Thanks for confirming that.
>
> > > Question: is this a global parameter, or per-CPU?
> > >
> >
> > It should be a global setting for all the MBA Register Blocks.
>
> That's good -- since resctrl resource controls are not per-CPU,
> exposing the exact hardware resolution won't work unless the value
> is scaled identically for all CPUs.
The RDT architecture spec says there is a separate MARC table that
describes each instance on an L3 cache.
So in theory there could be different "Q" values for each. I'm chatting
with the architects to point out that would be bad, and they shouldn't
build something that has different "Q" values on the same system.
-Tony