当前位置:编程学习 > 网站相关 >>

openstack创建4 VCPU的实例问题

openstack创建windows server 2003系统4 VCPU的实例,为什么安装的硬件检测软件看见cpu是单核,单线程的呢? --------------------编程问答-------------------- 你看看虚拟机目录下的libvirt.xml里面的内容是几个cpu --------------------编程问答-------------------- 参考一下这个。修改/etc/livirt/qemu/instance-*.xml
virsh capabilities | grep topology

it will list the topology of the host:

<topology sockets='1' cores='4' threads='1'/>

The numbers refer to sockets, cores per socket, and threads per core. Add this line to the cpu entry in the xml file to allow windows to use all 4 cores, e.g.:

 <vcpu>4</vcpu>
 <cpu>
     <topology sockets='1' cores='4' threads='1'/>
 </cpu>
--------------------编程问答-------------------- 用Glance?
补充:云计算 ,  OpenStack
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,