Re: [PATCH v17 30/33] fs/resctrl: Disable BMEC event configuration when mbm_event mode is enabled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Babu,

On 8/14/25 7:25 PM, Babu Moger wrote:
> The BMEC (Bandwidth Monitoring Event Configuration) feature enables
> per-domain event configuration. With BMEC the MBM events are configured
> using the mbm_total_bytes_config or mbm_local_bytes_config files in
> /sys/fs/resctrl/info/L3_MON/ and the per-domain event configuration affects
> all monitor resource groups.
> 
> The mbm_event counter assignment mode enables counters to be assigned to
> RMID (i.e a monitor resource group), event pairs, with potentially unique
> event configurations associated with every counter.
> 
> There may be systems that support both BMEC and mbm_event counter
> assignment mode, but resctrl supporting both concurrently will present a
> conflicting interface to the user with both per-domain and per RMID, event
> configurations active at the same time.
> 
> The mbm_event counter assignment provides most flexibility to user space
> and aligns with Arm's counter support. On systems that support both,
> disable BMEC event configuration when mbm_event mode is enabled by hiding
> the mbm_total_bytes_config or mbm_local_bytes_config files when mbm_event
> mode is enabled. Ensure mon_features always displays accurate information
> about monitor features.
> 
> Suggested-by: Reinette Chatre <reinette.chatre@xxxxxxxxx>
> Signed-off-by: Babu Moger <babu.moger@xxxxxxx>
> ---

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

Reinette




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux