[fedora-virt] System performance

Avi Kivity avi at redhat.com
Sun Mar 7 18:52:34 UTC 2010


On 03/03/2010 11:38 AM, Andrés García wrote:
> Hi,
>
> Lately I have been having some problem with the performance my virtual
> setup.
>
> I have five virtual machines, four windows and a Linux one that's used
> mainly as a
> Samba server.
>
>   From time to time the samba server slows badly and looking at the
> system monitor
> it shows that one core at the host machine is at 100% while the other
> three aren't
> doing anything much.
>
> So it looks to me that just about all virtual machines are being run on
> the same core
> which creates a bottleneck for the system as a whole.
>    

What does 'top' on the host say while this is happening?  On the slow guest?

> Does that make sense? And, in case it does, is there a way to prevent it
> or is the  i5
> cpu doing it on its own?

The scheduler ought to spread the load to all cores.

> If I configure the virtual machine as having
> two processors,
> will it get to use two physical cores?
>    

Yes.

-- 
Do not meddle in the internals of kernels, for they are subtle and quick to panic.



More information about the virt mailing list