[vfio-users] Eliminate Mini Stutter in "Witcher 3: The Wild Hunt" on top of KVM/VFIO

Okky Hendriansyah okky.htf at gmail.com
Wed Mar 16 04:44:58 UTC 2016


On Wed, Mar 16, 2016 at 11:37 AM, Alex Williamson <
alex.l.williamson at gmail.com> wrote:

> ..
> The Fedora kernel already sets all of these, however regarding 3) the
> advice from nbhs is to use hugetlbfs and not rely on transparent
> hugepages.  Transparent hugepages is not compatible with device assignment
> since pages get pinned as the VM is created, there's no opportunity for
> transparent hugepages to take effect.  Therefore I don't think your madvise
> change is doing anything.
>

Hi Alex,

Actually I enable the madvise since from the description it could create a
more efficient memory usage when using transparent hugepages. But yeah, you
were right I just noticed that nbhs only adviced to use hugetlbfs (which I
already had in my config) thus I'm not using transparent hugepages at all
for the VM.

Can you enlighten me on how those 2 kernel configurations can eliminate the
mini stutters? The thing is that the mini stutters only happens on Witcher
3, and after applying those config the game is very fluid.

Thank you.

Best regards,
Okky Hendriansyah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20160316/55f1277d/attachment.htm>


More information about the vfio-users mailing list