10-15-2018 09:03 AM
10-16-2018 12:53 PM
10-16-2018 01:17 PM
How do devs manage CPU affinity?
Sneakygloworm said:
Wow I used cpu affinity absolutely years ago for an old hp lovecraft game. But it really was years ago. Cpu affinity really shouldn't be something the end user has to implement. Performance issues should be cleared up by the developer during beta testing. Cpu affinity shouldn't be the first thing a user thinks of if he/she has performance issues. Il2 uses an ancient engine? so that may be part of the issue.
10-16-2018 01:30 PM
10-16-2018 02:25 PM
MowTin said:
How do devs manage CPU affinity?
Sneakygloworm said:
Wow I used cpu affinity absolutely years ago for an old hp lovecraft game. But it really was years ago. Cpu affinity really shouldn't be something the end user has to implement. Performance issues should be cleared up by the developer during beta testing. Cpu affinity shouldn't be the first thing a user thinks of if he/she has performance issues. Il2 uses an ancient engine? so that may be part of the issue.
Different users have different CPU's with different number of cores running different processes? How would they know that the Oculus processes would interfere with their game?
I'm guess that CPU affinity is only a problem when you're running a CPU intensive process that would benefit from having fewer processes running in the same core.
Or maybe, Oculus Home is smart enough to run in different cores than the cores it uses for games. But if I'm using Steam VR, it treats Steam VR as a game and the process that SteamVR spawns can end up running on the same cores that Oculus Home and background processes are using.
10-23-2018 05:26 AM
10-23-2018 07:32 AM
I didn't change the affinity for il2. Just the Oculus processes. Yes, I set them to the last 4 virtual cores I had.
Lubermatz said:
Hello MowTin, I have similar issue on IL2. I want to ask you if you changed affinity to the game process too. And if the setting for VR process is cores n 4, 5, 6 and 7.
Thank you in advande.
12-09-2018 08:54 AM
12-10-2018 03:37 PM
I'm guessing here but maybe the OS is getting confused because you have the Oculus process, Steam VR process and whatever game you're running on Steam VR. You don't usually have so many processes working together.
Admiral-Awesome said:
I don't know why the conversation so far has just been "developers" or "users" because the scheduler doesn't lie in either, it's the OS. If there's an issue that setting affinity is sorting, it's because the scheduler is not doing its job. A good reason why affinity is fixing the issue is that when something else runs on the same core as the Oculus processes, it's taking up the cache that Oculus needs. When given it's own core, it's free to have its own cache to use.