Cores, Hyperthreads, and KVM

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

 



Hi all,

Apologies to those who saw this earlier on debian-user.

I generally (currently) use KVM with libvirt on Debian Stretch.

When I configure a KVM guest to have 2 vcpus, will that be 2 full cores?
Or will it give the guest both threads on the same real core? Or might
it use half of each of 2 different cores?

I guess the same applies to physical CPUs, too - there's presumably an
advantage in giving a VM a set of cores all on the same CPU, to take
advantage of shared caching - is that dealt with automatically?

I've always assumed that I should allocate even numbers of vcpus on an
HT capable machine, so that it keeps the threads together.

Does any of this matter?

Cheers,
Richard



[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