[libvirt] [RFC PATCH 0/2] Introduce RDT memory bandwidth allocation support

bing.niu bing.niu at intel.com
Sat Jun 2 12:11:25 UTC 2018


ping for this series.....

thanks a lot
bing

On 2018年05月29日 18:58, bing.niu at intel.com wrote:
> From: Bing Niu <bing.niu at intel.com>
> 
> 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(-)
> 




More information about the libvir-list mailing list