Linux kvm 最大cpu数量,linux – KVM中的CPU放置

我有一个KVM来宾配置,其中cpu放置配置如下:

1

既然我没有指定cpuset,我正在阅读libvirt文档并看到以下内容:

“如果未指定cpuset和placement,或者placement是”static“,但未指定cpuset,则域进程将固定到所有可用的物理CPU.”

这到底是什么意思?我知道CPU固定说明您只能在指定的特定CPU上运行任务. “固定”到所有可用的物理CPU是什么意思?

解决方法:

What does it mean to be “pinned” to all available physical CPUs?

这意味着它可以在主机系统上物理上可用的任何CPU上自由运行.

来自KVM文档的原始段落……

The optional attribute placement can be used to indicate the CPU placement mode for domain process, its value can be either static or auto, which defaults to placement, or numatune, or static if cpuset is specified. auto indicates the domain process will be pinned to the advisory nodeset from querying numad, and the value of attribute cpuset will be ignored if it’s specified. If both cpuset and placement are not specified, or if placement is static, but no cpuset is specified, the domain process will be pinned to all the available physical CPUs.

参考

标签:performance,linux,cpu,virtualization,kvm

来源: https://codeday.me/bug/20190813/1647176.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值