I'm checked out my /proc/cpuinfo file and I'm finding the following changes.<br><br>Physical ID : 0<br>Siblings : 1<br>core id :0<br>cpu cores :1<br>apicid :0<br>initial apicid:0<br><br>This is what I noticed when I edited the vm with this ...<br>
<div><div><cpu></div><div>    <topology sockets='1' cores='2' threads='4'/></div><div> </cpu></div></div>

<br>Thanks<br>Joe<br><br><br><div class="gmail_quote">On Tue, Jan 18, 2011 at 2:50 PM, joe fu <span dir="ltr"><<a href="mailto:joefuu10@gmail.com">joefuu10@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5"><br><div class="gmail_quote">Hi,<div><br></div><div>Is there any other way I could allocate sockets, cores and threads to my virtual machine? I looked over the virsh man page and I didn't find anything that talks about sockets, threads and cores. </div>


<div>I edited the vm xml file and added this... </div><div><br></div><div><div><cpu></div><div>    <topology sockets='1' cores='2' threads='1'/></div><div> </cpu></div></div><div>


<br></div><div>Saw this in the libvirt documents, <a href="http://libvirt.org/formatdomain.html" target="_blank">http://libvirt.org/formatdomain.html</a></div><div><br></div><div>Setting this up shows me a single core in my vm, but I don't see any sockets and threads. Can somebody tell me how to do it in a right way so that I see all sockets, cores and threads allocated in my vm.</div>


<div><br></div><div>Thanks</div><div>joe</div>
</div><br>
</div></div></blockquote></div><br>