[vfio-users] CPU Question

Alex Williamson alex.l.williamson at gmail.com
Fri Sep 4 22:32:28 UTC 2015


On Fri, Sep 4, 2015 at 1:25 PM, ALG Bass <olorin12 at gmail.com> wrote:

> So if you have an 8-core processor like the FX8350, you can assign all 8
> cores to the guest and Linux will manage everything fine? Nothing will
> hang?
> Is the performance comparable to having a certain amount of cores pinned
> to the guest?
>

Well, does the host have zero work to do while the guest is running?  Of
course not!  Fully loading the host CPUs with vCPUs is the fastest way to
get an under performing guest.  It takes resources to run the VM, the
network, the disk, and all the other random stuff running on the system
that occasionally take CPU cycles.  Nothing will hang, but they may lag, if
you do this and there are use cases where it's useful to have an aggregate
number of vCPUs in (far) excess of physical CPUs, but a high performance,
low latency desktop is not that use case.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20150904/a75f698c/attachment.htm>


More information about the vfio-users mailing list