Re: 0.11: SMP guests using one host CPU only?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/20/2009 07:17 PM, Tomasz Chmielewski wrote:
Avi Kivity wrote:
On 10/20/2009 06:03 PM, Tomasz Chmielewski wrote:
On a 8 CPU host, I created a guest with 4 CPUs (-smp 4).

Unfortunately, the guest only uses one host CPU.
For example, running "cat /dev/urandom | gzip -9 >/dev/null &" several times on this guest causes load on only one host CPU.

Is it expected?

No.  What does 'top -H' show?

In the guest - 4 CPUs with ~100% usage each (when I press "1"), otherwise, in the task list, multiple "cat" processes taking most CPU time (as it reads from /dev/urandom).


In the host - qemu-system-x86 (one process/thread) taking ~100% CPU; when I press "1", I see only one CPU is used 100%, 7 other CPUs are more or less not used.


I meant, how many qemu threads are there, and how much cpu does each take?

--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux