[vfio-users] What is the best host os for vfio vm gaming?

Quentin Deldycke quentindeldycke at gmail.com
Fri Feb 26 09:16:49 UTC 2016


Mainly:

CONFIG_NO_HZ_FULL=y
CONFIG_RCU_NOCB_CPU_ALL=y

Using cgroups / cpu pinnning, the cores won't have to handle any kernel
tick, but only run qemu

For my i7 4790k, i am force to put vm on 3 threads (the main of my 3
cores). So kernel parameter:

nohz_full=1,2,3,5,6,7 rcu_nocbs=1,2,3,5,6,7

and my vm run on threads 1,2,3 (main thread of cores 1,2,3)
and qemu emulator run on threads 5,6,7 (sub threads of cores 1,2,3)

Amd cards seems more affected by DPC than nvidia ones.

Note an interesting thing:

http://www.guru3d.com/articles-pages/rise-of-the-tomb-raider-pc-graphics-performance-benchmark-review,9.html

amd and multi cores is... erratic :)

--
Deldycke Quentin


On 26 February 2016 at 09:53, Rokas Kupstys <rokups at zoho.com> wrote:

> Could you elaborate on config differences? Still hunting for something
> that could help bringing DPC latency down since VM gaming is no go due to
> that..
>
>
> On 2016.02.26 10:51, Quentin Deldycke wrote:
>
> For my part:
>
> debian with some experimental package. When new kernel is out, i recompile
> it with some difference in config.
>
> But right now, 4.5 rc4.
>
> No problem with the host since ages. Plasma is buggy but... i think on
> every distro xD
>
>
> --
> Deldycke Quentin
>
>
> On 26 February 2016 at 09:43, Stein van Broekhoven <stein at aapjeisbaas.nl>
> wrote:
>
>> Dear All,
>>
>> What do you consider the distro of choice for a stable vm gaming build?
>> At the moment I'm on solus because it has 4.4.0 kernel by default and I
>> like the project.
>> Got libvirtd & virsh working with qemu but just can't get passthrough to
>> work as of now.
>>
>> I have a :
>> ASUS SABERTOOTH 990FX v1 with FX-8120
>> Ati Radeon 6xxx
>> Ati Radeon 5xxx
>>
>> I had it working at some point with ubuntu but that is some time ago and
>> don't remember how.
>>
>>
>> Kind regards,
>>
>> Stein van Broekhoven / System administrator
>> stein at aapjeisbaas.nl
>>
>> _______________________________________________
>> vfio-users mailing list
>> vfio-users at redhat.com
>> https://www.redhat.com/mailman/listinfo/vfio-users
>>
>
>
>
> _______________________________________________
> vfio-users mailing listvfio-users at redhat.comhttps://www.redhat.com/mailman/listinfo/vfio-users
>
>
>
> _______________________________________________
> vfio-users mailing list
> vfio-users at redhat.com
> https://www.redhat.com/mailman/listinfo/vfio-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20160226/ef56cc78/attachment.htm>


More information about the vfio-users mailing list