-
Hybrid CPU and good isolation/pinning practices for gaming
I have experienced no problem with FromSoftware's last titles, namely Elden Ring (including its DLC, Shadow of the Erdtree) and Armored Core VI 🤞
-
Hybrid CPU and good isolation/pinning practices for gaming
Sorry for the delay. I just forgot it 🙃
-
Hybrid CPU and good isolation/pinning practices for gaming
... <memoryBacking> <nosharepages/> </memoryBacking> <vcpu placement='static'>8</vcpu> <cputune> <vcpupin vcpu='0' cpuset='8'/> <vcpupin vcpu='1' cpuset='9'/> <vcpupin vcpu='2' cpuset='10'/> <vcpupin vcpu='3' cpuset='11'/> <vcpupin vcpu='4' cpuset='12'/> <vcpupin vcpu='5' cpuset='13'/> <vcpupin vcpu='6' cpuset='14'/> <vcpupin vcpu='7' cpuset='15'/> <emulatorpin cpuset='22-23'/> </cputune> ... <os> <type arch='x86_64' machine='pc-i440fx-7.1'>hvm</type> <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi-tpm.fd</loader> <nvram>/etc/libvirt/qemu/nvram/..._VARS-pure-efi-tpm.fd</nvram> <smbios mode='host'/> </os> <features> <acpi/> <apic/> <hyperv mode='custom'> <relaxed state='on'/> <vapic state='on'/> <spinlocks state='on' retries='8191'/> <vpindex state='on'/> <synic state='on'/> <stimer state='on'/> <vendor_id state='on' value='none'/> <frequencies state='on'/> </hyperv> <ioapic driver='kvm'/> </features> <cpu mode='host-passthrough' check='none' migratable='off'> <topology sockets='1' dies='1' cores='4' threads='2'/> <cache mode='passthrough'/> <feature policy='require' name='topoext'/> </cpu> <clock offset='localtime'> <timer name='hpet' present='no'/> <timer name='hypervclock' present='yes'/> <timer name='tsc' present='yes' mode='native'/> </clock>
-
Hybrid CPU and good isolation/pinning practices for gaming
UNRAID allows you to isolate cpu 0, but it seems well known that the kernel just ignores it... Indeed, I had problems with some Anti Cheats too 💀 For what I can remember, I solved all issues by configuring secure boot (FIFA) and set smbios mode to 'host' (Elden Ring). It was sufficient for me, but I don't play competitve games. These may have stricter rules.
-
Hybrid CPU and good isolation/pinning practices for gaming
Final config : 4 isolated P cores (+ HT) for the first VM + 2 isolated E cores for the emulator (emulatorpin), even if, in practice, I think 1 E core would be sufficient, since nothing seems to be parallelized at this level + RTX 4070 ; 3 isolated P cores (+ HT) for the second VM + 2 isolated E cores for the emulator (same remark) + RTX 4060 ; 1 P core (+ HT), because it seems I cannot isolate cpu 0, unfortunately, and 4 E cores for UNRAID. I think assigning an E core to the emulator is great. It means emulation tasks will not ruin the processors' caches. For the Hyper-V enlightenments, I will send you my config in a couple of days.
-
Hybrid CPU and good isolation/pinning practices for gaming
Hello, I followed my initial plan (cf. my first message), except that I finally left the first P core (cpu 0) and its HT friend to UNRAID to avoid any trouble (I never found any answer to my first question). After following some guides/tutorials to enable Hyper-V enlightenments and optimize my VM, I eventually got amazing performances If someone can give me some hints on this topic, I am sure I can even do better. (The two VM are used everyday. Since then I even wrote a small CLI client and an Android app to start the tower and the VMs on demand. All is powered off automatically when the last VM shuts down.) It seems, however, that the emulator does not take advantage of the two pinned E processors. It seems that libvirt (and what runs behind the scene --- I'm not an expert) does not parallelize anything. Best regards,
-
Hybrid CPU and good isolation/pinning practices for gaming
Hello, Do you think installing a tool such as https://github.com/sas41/ProcessAffinityControlTool within the guest could help ? In theory, it could allow games to be automatically pinned (affinities set) to P cores even if the guest OS itself has no information about them (of course E cores would still be there for background tasks). All the best,
-
tulkas started following Hybrid CPU and good isolation/pinning practices for gaming
-
Hybrid CPU and good isolation/pinning practices for gaming
I will soon receive an Intel i7 13700 (8 P cores, 8 E cores) to hopefully configure a 1 tower 2 gaming VM setup (nothing else, no docker, no NAS, ...). My plan is the following : 4 isolated P cores (+ HT) for the first VM + 2 isolated E cores for the emulator (emulatorpin) + RTX 4070 ; 3 isolated P cores for the second VM + 1 pinned-only P core (cpu 0 cannot be isolated to the best of my knowledge) + 2 isolated E cores for the emulator + RTX 4060 ; 4 E cores for UNRAID. My questions are the following : Since the host should not be too busy, is it a good idea to pin the first unisolated P core to the second VM ? or shall I expect performance drop anyway ? Would one isolated E core per VM be sufficient for handling emulation stuffs (emulator pin) ? Would it be a good idea to isolate+pin additional E cores to the gaming VMs ? Do UNRAID and/or guest and/or gaming apps handle hybrid CPU correctly ? I've read a lot on that topic, but nothing very recent. Are 4 P cores / 8 T sufficient for running recent AAA titles ? Max resolution will be 2K. Any other suggestion ? All the best,
tulkas
Members
-
Joined
-
Last visited