[vfio-users] cpu core pinning with multiple cpus

Alex Williamson alex.l.williamson at gmail.com
Sat Sep 12 20:49:03 UTC 2015


On Sat, Sep 12, 2015 at 2:44 PM, Erik Adler <erik.adler at gmail.com> wrote:

> Thanks Alex for the feedback. Is this what mean by making the emulator
> run on the idle thread pair ?
>
>   <vcpu placement='static'>4</vcpu>
>   <cputune>
>     <vcpupin vcpu='0' cpuset='2'/>
>     <vcpupin vcpu='1' cpuset='3'/>
>     <vcpupin vcpu='2' cpuset='4'/>
>     <vcpupin vcpu='3' cpuset='5'/>
>     <emulatorpin cpuset='14-17'/>
>   </cputune>
>    .......
>   <cpu mode='host-passthrough'>
>     <topology sockets='1' cores='4' threads='1'/>
>   </cpu>
>
> http://i.imgur.com/GBczQvi.png


Yes


> Unfortunately the above did not solve the fps issues. Still only have
> about 5% of my bare metal speed in that game. Unigine Valley Benchmark
> just gave me 93% of bare metal speed.
>

5%?!  What game is this?  93% in Unigine sure sounds like you're pretty
close on the VM setup.  Even with the debug register problem on Borderlands
we were getting an order of magnitude better than 5%.


> I am starting to get a feeling there is a problem with Windows
> scheduling using host-passthough from my system. Sigh.. then there is
> the removed Hyper-V enlightenments to look into.


I think you're expecting way too much from the hyper-v enlightenments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20150912/5080c764/attachment.htm>


More information about the vfio-users mailing list