CPU Allocation
来源:互联网 发布:青果软件掌上校园 编辑:程序博客网 时间:2024/05/19 12:40
<domain> ... <vcpu placement='static' cpuset="1-4,^3,6" current="1">2</vcpu> ...</domain>
Figure 20.6. CPU allocation
The
<cpu>
element defines the maximum number of virtual CPUs (vCPUs) allocated for the guest virtual machine operating system, which must be between 1 and the maximum supported by the hypervisor. This element can contain an optional cpuset
attribute, which is a comma-separated list of physical CPU numbers that domain processes and virtual CPUs can be pinned to by default.Note that the pinning policy of domain processes and virtual CPUs can be specified separately by using the
cputune
attribute. If the emulatorpin
attribute is specified in <cputune>
, thecpuset
value specified by <vcpu>
will be ignored. Similarly, virtual CPUs that have set a value for
vcpupin
cause cpuset
settings to be ignored. Virtual CPUs wherevcpupin
is not specified will be pinned to the physical CPUs specified bycpuset
. Each element in the cpuset
list is either a single CPU number, a range of CPU numbers, or a caret (^) followed by a CPU number to be excluded from a previous range. The attributecurrent
can be used to specify whether fewer than the maximum number of virtual CPUs should be enabled.The optional attribute
placement
can be used to specify the CPU placement mode for the domain process.placement
can be set as either static
or auto
. If you set<vcpu placement='auto'>
, the system will query numad and use the settings specified in the<numatune>
tag, and ignore any other settings in<vcpu>
. If you set <vcpu placement='static'>
, the system will use the settings specified in the<vcpu placement>
tag instead of the settings in<numatune>
. 阅读全文
0 0
- CPU Allocation
- Memory Allocation
- Stack Allocation
- Channel Allocation
- poj1129_Channel Allocation
- poj1129Channel Allocation
- Channel Allocation
- uva_259_Software Allocation
- allocation tracker
- Channel Allocation
- cpu
- cpu
- CPU
- cpu
- cpu
- cpu
- cpu
- cpu
- debug of ipdl demo(2)
- Excel导出报表
- SQL语法系列三
- KM算法模板(hdu2255)
- mysql中三种修改列的方式
- CPU Allocation
- 前端在线工具
- Android 隐藏标题栏
- 创建视图时报 insufficient privileges 错误怎么办
- oracle定时器
- Qt 学习之路 2(47):视图选择
- Javascript 面向对象编程(一):封装
- stm32在rt-thread上的PWR(电源管理)
- 数据结构之链式栈