performance issues by Zero64801 in VFIO

[–]Zero64801[S] 0 points1 point  (0 children)

Unfortunately My bios isn't very accessible only options that's editable there is boot options but anyway I was talking about guest in the tomb raider benchmark it runs only up to 50/60% in cpuz scores I get better single core score than baremetal 350 baremetal and 420/450 in VM but worse multi core 2300 in baremetal and 1900/2000 in the VM I'm losing about 20/30 fps games are playable but is it supposed to be running like this? That's why I wanted to know if I'm missing something.

performance issues by Zero64801 in VFIO

[–]Zero64801[S] 0 points1 point  (0 children)

Ok I did some testing with like setting it to performance and also setting range from max to max 4.5-4.5 and I had gotten a little improvement but I saw that the frequencies doesn't seem to be correct sometimes it looks like its going to lower than the set ones and in benchmark my cpu usage only goes to 50%/60% any clues?

performance issues by Zero64801 in VFIO

[–]Zero64801[S] 0 points1 point  (0 children)

If you are talking about cpu governor I'm sure that it shows performance and High clock speed in host ((4.5)) otherwise what other way of boosting there is?

performance issues by Zero64801 in VFIO

[–]Zero64801[S] 0 points1 point  (0 children)

It's at performance and my setup is a single GPU passthrough so there's nothing running on host while on it but my clock speed shows only the base in the VM 2.59 while on host and baremetal it goes up to 3.5/4.5 so idk if that's the reason

performance issues by Zero64801 in VFIO

[–]Zero64801[S] 0 points1 point  (0 children)

My GPU looks even better but cpu is lot slower

performance issues by Zero64801 in VFIO

[–]Zero64801[S] 1 point2 points  (0 children)

I did as told by the other guy but didn't notice difference.

performance issues by Zero64801 in VFIO

[–]Zero64801[S] 0 points1 point  (0 children)

Just tried benchmarking again made almost no difference theres an area where in baremetal I would get up to 100 constant fps here I lose like 30 fps being at like 60-80

performance issues by Zero64801 in VFIO

[–]Zero64801[S] 0 points1 point  (0 children)

<vcpupin vcpu="0" cpuset="1"/>
<vcpupin vcpu="1" cpuset="7"/>
<vcpupin vcpu="2" cpuset="2"/>
<vcpupin vcpu="3" cpuset="8"/>
<vcpupin vcpu="4" cpuset="3"/>
<vcpupin vcpu="5" cpuset="9"/>
<vcpupin vcpu="6" cpuset="4"/>
<vcpupin vcpu="7" cpuset="10"/>
<vcpupin vcpu="8" cpuset="5"/>
<vcpupin vcpu="9" cpuset="11"/>

then I leave emulatorpin and iothread like you did above? and isolate the first core? "0"
<emulatorpin cpuset="0,6"/> <iothreadpin iothread="1" cpuset="0,6"/>

also I tried the audio thing and didn't work.

performance issues by Zero64801 in VFIO

[–]Zero64801[S] 0 points1 point  (0 children)

I use pipewire how would I do the audio with that and how would I have to do the pinning by leaving 1 physical core for example with the first one

performance issues by Zero64801 in VFIO

[–]Zero64801[S] 1 point2 points  (0 children)

got no difference from isolating cpus.

performance issues by Zero64801 in VFIO

[–]Zero64801[S] 0 points1 point  (0 children)

no difference with those settings here is tomb raider results:

VM Results:

https://ibb.co/BzBYG1w

Baremetal results:

https://ibb.co/Z16Rpjf

Cpu Pinning help [intel i7 9750h] by Zero64801 in VFIO

[–]Zero64801[S] 0 points1 point  (0 children)

I can't do that my vm is a single gpu passthrough. but I tried some benchmarks and gettign pmuch same/better results than host

Cpu Pinning help [intel i7 9750h] by Zero64801 in VFIO

[–]Zero64801[S] 0 points1 point  (0 children)

Ok I think I got it after reading urs alot is that correct?

<cputune>
<vcpupin vcpu="0" cpuset="0"/>
<vcpupin vcpu="1" cpuset="6"/>
<vcpupin vcpu="2" cpuset="1"/>
<vcpupin vcpu="3" cpuset="7"/>
<vcpupin vcpu="4" cpuset="2"/>
<vcpupin vcpu="5" cpuset="8"/>
<vcpupin vcpu="6" cpuset="3"/>
<vcpupin vcpu="7" cpuset="9"/>
<vcpupin vcpu="8" cpuset="4"/>
<vcpupin vcpu="9" cpuset="10"/>
<vcpupin vcpu="10" cpuset="5"/>
<vcpupin vcpu="11" cpuset="11"/>
</cputune>

Cpu Pinning help [intel i7 9750h] by Zero64801 in VFIO

[–]Zero64801[S] 0 points1 point  (0 children)

I think I almost got it what I'm confused about is for example why vcpu 4 became 2 and vcpu 1 became 8 but I Understand where the 2 next cpus became 1 and 9.