From: Bing Niu <[email protected]>
This series is to introduce RDT memory bandwidth allocation support by extending
current virresctrl implementation.
The Memory Bandwidth Allocation (MBA) feature provides indirect and approximate
control over memory bandwidth available per-core. This feature provides a
method to
control applications which may be over-utilizing bandwidth relative to their
priority
in environments such as the data-center. The details can be found in Intel's
SDM 17.19.7.
Kernel supports MBA through resctrl file system same as CAT. Each resctrl group
have a
MB parameter to control how much memory bandwidth it can utilize in unit of
percentage.
In this series, MBA is enabled by enhancing existing virresctrl implementation.
The
policy employed for MBA is similar with CAT: The sum of each MBA group's
bandwidth
dose not exceed 100%. The enhancement of virresctrl include two parts:
Patch 1: Add two new structure virResctrlInfoMB and virResctrlAllocMB for
collecting
host system MBA capability and domain memory bandwidth allocation.
Patch 2: On frontend XML parsing, add new element "llc" in cachetune section for
MBA allocation.
Bing Niu (2):
util: Add memory bandwidth support to resctrl
conf: Extend cputune/cachetune to support memory bandwidth allocation
src/conf/domain_conf.c | 86 +++++++++-
src/util/virresctrl.c | 422 ++++++++++++++++++++++++++++++++++++++++++++++---
src/util/virresctrl.h | 5 +
3 files changed, 487 insertions(+), 26 deletions(-)
--
2.7.4
--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list