大网数据广告活动
服务器运维问答

KVM Host with 88 physical cores uses only 14 on 64 core Guest

· 52CE 我爱测

I do have a server with 2 CPUs (22 Cores each plus HT). I created a KVM Guest with 64 allocated cores. When I run a compilation task the virtual machine shows all 64 cores at 100% (at moderate Disk I/O and memory usage) but on th…

问题原文

原帖链接 · HibikiTaisuna · CC BY-SA 3.0

I do have a server with 2 CPUs (22 Cores each plus HT). I created a KVM Guest with 64 allocated cores. When I run a compilation task the virtual machine shows all 64 cores at 100% (at moderate Disk I/O and memory usage) but on the physical machine the guest only uses 14 cores at 100% instead of all the 88 cores randomly (or 64 dedicated cores at 100%). Even if I spawn more compilation tasks this doesn't change. Is there any parameter or setting I have to change to actually use all the computing power that is available?

已采纳解答

原帖链接 · HibikiTaisuna · CC BY-SA 3.0

There was a vCPU pinning in the XML which doesn't appear in virt-manager -.- I removed it via

for i in {0..63}; do sudo virsh vcpupin $kvmdomain $i r --config; done 

and removed the line in the XML-file via

sudo virsh edit <domain> 

After that I restarted the guest.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2017-02-17)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。