[vfio-users] CPU Question

ALG Bass olorin12 at gmail.com
Fri Sep 4 22:36:48 UTC 2015


So if I had an FX8350, it would be best to allocate 6 or fewer cores to the
guest (for gaming) and 2 or more to the host?

On Fri, Sep 4, 2015 at 6:32 PM, Alex Williamson <alex.l.williamson at gmail.com
> wrote:

> 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/c7703b83/attachment.htm>


More information about the vfio-users mailing list