libvirt/tests/vircaps2xmldata
Wang Huaqiang 6af8417415 conf: Introduce RDT monitor host capability
This patch is introducing cache monitor(CMT) to cache and
memory bandwidth monitor(MBM) for monitoring CPU memory
bandwidth.

The host capability of the two monitors is also introduced
in this patch.

For CMT, the host capability is shown like:
  <host>
  ...
    <cache>
      <bank id='0' level='3' type='both' size='15' unit='MiB' cpus='0-5'>
        <control granularity='768' min='1536' unit='KiB' type='both' maxAllocs='4'/>
      </bank>
      <monitor level='3' 'reuseThreshold'='270336' maxMonitors='176'>
        <feature name='llc_occupancy'/>
      </monitor>
    </cache>
    ...
  </host>

For MBM, the capability is shown like this:
  <host>
    ...
    <memory_bandwidth>
      <node id='1' cpus='6-11'>
        <control granularity='10' min ='10' maxAllocs='4'/>
      </node>
      <monitor maxMonitors='176'>
        <feature name='mbm_total_bytes'/>
        <feature name='mbm_local_bytes'/>
      </monitor>
    </memory_bandwidth>
    ...
  </host>

Signed-off-by: Wang Huaqiang <huaqiang.wang@intel.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
2018-09-20 13:06:02 -04:00
..
linux-basic/system
linux-caches/system
linux-resctrl
linux-resctrl-cdp
linux-resctrl-cmt
linux-resctrl-fake-feature
linux-resctrl-skx
linux-resctrl-skx-twocaches
vircaps-aarch64-basic.xml
vircaps-x86_64-basic.xml
vircaps-x86_64-caches.xml
vircaps-x86_64-resctrl-cdp.xml
vircaps-x86_64-resctrl-cmt.xml
vircaps-x86_64-resctrl-fake-feature.xml
vircaps-x86_64-resctrl-skx-twocaches.xml
vircaps-x86_64-resctrl-skx.xml
vircaps-x86_64-resctrl.xml