Re: Question about host CPU usage/allocation by KVM

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


On 04/18/2012 12:54 AM, Alexander Lyakas wrote:
> Greetings everybody,
>
> Can anybody please point me to code/documentation regarding the
> following questions I have:
>
> - What does it actually mean using "-smp N" option, in terms of CPU
> sharing between the host and the guest?

What does cpu sharing mean?

> - How are guest CPUs mapped to host CPUs (if at all)?

The host scheduler allocates guest vcpus to host cpus.  This allocation
changes with demand from other processes (or guests) on the host.

> - Is it possible to hard-allocate one or more CPUs to a particular
> guest, preventing the host from using them?

Look up 'cpusets'.

> - Is it possible to limit guest usage of host CPUs?

Look up 'cgroups cpu controller'.

-- 
error compiling committee.c: too many arguments to function

--
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


[KVM ARM]     [KVM ia64]     [KVM ppc]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [XFree86]

Add to Google Powered by Linux