我要评分
获取效率
正确性
完整性
易理解

Configuring the Memory Bandwidth

You can configure VM memory bandwidth in an XML file. The MPAM feature can limit the maximum memory bandwidth used by a process based on XML configuration parameters.

Example memory bandwidth configurations:

1
2
3
4
5
<cputune>
    <memorytune vcpus='0-15'>
      <node id='0' bandwidth='60' min_bandwidth='10' hardlimit='0' priority='2'/>
    </memorytune>
</cputune>

Parameter description:

  • vcpus: list of vCPUs to be limited.
  • id: NUMA ID.
  • bandwidth: (mandatory) corresponds to MB of MPAM. The value range is [1, 100].
  • min_bandwidth: (optional) corresponds to MBMIN of MPAM. The value range is [0, 100].
  • hardlimit: (optional) corresponds to MBHDL of MPAM. The value can be 0 or 1.
  • priority: (optional) corresponds to MBPRI of MPAM. The value range is [0, 7].