Re: [PATCH v10 4/8] x86/resctrl: Compute memory bandwidth for all supported events

From: Reinette Chatre
Date: Tue Nov 26 2024 - 13:35:56 EST


Hi Tony,

On 11/22/24 3:58 PM, Tony Luck wrote:
> Switching between local and total memory bandwidth events as the input
> to the mba_sc feedback loop would be cumbersome and take effect slowly
> in the current implementation as the bandwidth is only known after two
> consecutive readings of the same event.
>
> Compute the bandwidth for all supported events. This doesn't add
> significant overhead and will make changing which event is used
> simple.
>
> Suggested-by: Reinette Chatre <reinette.chatre@xxxxxxxxx>
> Signed-off-by: Tony Luck <tony.luck@xxxxxxxxx>
> ---

Reviewed-by: Reinette Chatre <reinette.chatre@xxxxxxxxx>

Reinette