diff options
author | 2024-12-06 08:31:44 -0800 | |
---|---|---|
committer | 2024-12-10 16:13:48 +0100 | |
commit | 2c272fadb58b590eb973c6c447b039f10631f5f7 (patch) | |
tree | 859eb88122c397b6a6e84f7fc658d2a458204f1e /scripts/generate_rust_analyzer.py | |
parent | x86/resctrl: Modify update_mba_bw() to use per CTRL_MON group event (diff) | |
download | wireguard-linux-2c272fadb58b590eb973c6c447b039f10631f5f7.tar.xz wireguard-linux-2c272fadb58b590eb973c6c447b039f10631f5f7.zip |
x86/resctrl: Compute memory bandwidth for all supported events
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@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>
Tested-by: Babu Moger <babu.moger@amd.com>
Link: https://lore.kernel.org/r/20241206163148.83828-5-tony.luck@intel.com
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions