[Fedora-xen] Unable to use multiple CPUs inside an HVM
Richard W.M. Jones
rjones at redhat.com
Wed Apr 23 12:10:40 UTC 2008
On Tue, Apr 22, 2008 at 10:03:08AM -0700, David Levinger wrote:
> To add a couple more data points to this, if I look in virt-manager it
> shows at 97-99% CPU usage, but if I look at the virsh vcpuinfo domain then
> it shows that only one processor seems to be doing anything at a time.
>
> IE one will show blocked and the other running, or one will show offline
> and the other running and sometimes running and "no state". Considering
> the rather poor performance I'm assuming that I'm really only utilizing
> one at a time. Any thoughts?
Use virt-top. It's able to tell you which physical CPUs are being
utilized.
You can also try using virsh vcpupin to pin virtual CPUs to physical
CPUs in case there's some contention (but use virt-top first to find
out).
Rich.
--
Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top
More information about the Fedora-xen
mailing list