Improving Cyberpunk 2077 on KVM VFIO QEMU

1st improving suggested by mateussouzaweb

 <features>
    <acpi/>
    <apic/>
    <pae/>
    <hyperv>
      <relaxed state='on'/>
      <vapic state='on'/>
      <spinlocks state='on' retries='8191'/>
      <vpindex state='on'/>
      <synic state='on'/>
      <stimer state='on'/>
      <reset state='on'/>
    </hyperv>
  </features>
  <clock offset='localtime'>
    <timer name='rtc' tickpolicy='catchup'/>
    <timer name='pit' tickpolicy='delay'/>
    <timer name='hpet' present='no'/>
    <timer name='hypervclock' present='yes'/>
  </clock>

Result : No improvement

CPU Benchmarks

2nd improvement suggested by jiva_maya

<features>
...
...
<hyperv>
<relaxed state='on'/>
<vapic state='on'/>
<spinlocks state='on' retries='8191'/>
<vpindex state='on'/>
<runtime state='on'/>
<synic state='on'/>
<stimer state="on"/>
<reset state='off'/>
<frequencies state='on'/>
<reenlightenment state='off'/>
<tlbflush state='on'/>
<ipi state='on'/>
<evmcs state='off'/>
</hyperv>
...
<ioapic driver='kvm'/>
</features>
^Some of the above enlightenments will need kernel 4.20+, if you need vendor_id/kvm hidden state, nested virt hyperv flags, etc. enabled please refer to the libvirt.org documentation below
<clock offset="localtime">
<timer name="rtc" tickpolicy="catchup"/>
<timer name="pit" tickpolicy="delay"/>
<timer name="hpet" present="no"/>
<timer name="hypervclock" present="yes"/>
<timer name="tsc" present="yes" mode="native"/>
</clock>

Benchmark

result : no improvement

CPU Benchmarks :

Dejar un comentario

Tu dirección de correo electrónico no será publicada.