KVM - The Linux Kernel-Based Virtual Machine
News, Blogs and Resources on the Linux (KVM) Kernel-Based Virtual Machine

Multiple CPUs shown, but not used in Windows 2003 & 2008

3 replies [Last post]
telenieko
User offline. Last seen 12 weeks 6 days ago. Offline
Joined: Dec 9 2009
Points: 7

Hi there, I amb running kvm-88 on and amb64 box. In it I run a Windows 2003R2 box and a Windowss 2008 (both 32 bit). On both I tested multiple "-smp" options (2, 4) and in any case:

  • Device Manager shows "Multiprocessor ACPI"
  • Devive Manager shows all the CPU in "Processors" (ie, 2 or 4)
  • Task Manager shows only one CPU (settings set fine, ie: One graph per CPU).

On the Host, if I run "top" I see only one CPU getting load, so it appears Windows is "seeing" all the CPU but only using one.

The host has 2 Quad Core CPU's.

Given the same happens to the 2003 and 2008 systems I can only assume I've got something wrong in KVM.  My command line is:

/usr/bin/kvm -S -M pc -cpu qemu32 -m 4096 -smp 4 -name vesta -uuid [...] -monitor unix:/var/lib/libvirt/qemu/vesta.monitor,server,nowait -localtime -boot c -drive file=/dev/virtual/vesta-disk,if=ide,index=0,boot=on -drive file=/dev/virtual/vesta-data,if=ide,index=1 -drive file=,if=ide,media=cdrom,index=2 -net nic,macaddr=[...],vlan=0,model=virtio,name=virtio.0 -net tap,fd=19,vlan=0,name=tap.0 -serial pty -parallel none -usb -usbdevice tablet -vnc 127.0.0.1:0 -k es -vga cirrus
 

Anything else (ie, ram) works fine ;\ I am using the paravirt network driver.

Thanks for any help :)

Haydn Solomon
User offline. Last seen 1 day 21 hours ago. Offline
Joined: Mar 7 2008
Points: 204
Re: Multiple CPUs shown, but not used in Windows 2003 & 2008

Have you tried it without using the -M  and -cpu options? 

telenieko
User offline. Last seen 12 weeks 6 days ago. Offline
Joined: Dec 9 2009
Points: 7
Hi Haydn, Thanks for the

Hi Haydn,
Thanks for the answer.
The command line is built by libvirt when starting the VM.

The "stupid" box is being used now but I'll try without those two ASAP and let you know if it makes any difference ;)

Thanks,
Marc

telenieko
User offline. Last seen 12 weeks 6 days ago. Offline
Joined: Dec 9 2009
Points: 7
It seems the problem was the

It seems the problem was the "-cpu qemu32". Taking it off solved the problem (and required re-activating the 2003 system).

Thanks for the help!!

Post new comment

The content of this field is kept private and will not be shown publicly.