Prepar3D V4 is fantastic, but now I want Prepar3D V5 to fix this

Posted Jun 4, 2017, 10:40 AM UTC

Posted Jun 4, 2017, 10:40 AM UTC
Seems to be better for me... Prepar3D 3.4
Your and my screens are showing totally different scenarious. I have full CPU utilization when doing heavy scenery loading. But still, when the load on CPU is not that high, the whole system performance is still limited by core 0, and this is what I would like to see improved in the future version.
That's because flight dynamics and positioning don't lend themselves very well with being paralleled between threads. Unfortunate reality of flight simulation. It'll be the same on X-Plane.
I'm not a game programmer, but I do plenty of multithreaded programming and I don't get why games can't be coded better for high parallelism.
Sure, thread synchronization is tricky, but its doable. And couldn't it be theoretically more accurate? After all the air is flowing over the left aileron, right aileron, and rudder simultaneously.
I'd love to know if there's something I'm fundamentally missing as to why it seems like a true threaded simulation is an impossible problem to solve.
It's not impossible, it's just not really worth doing. On X-Plane every plane is one job in the threadpool, but it's not that expensive. There are way more expensive jobs that are much better suited to be multithreaded than the flight model, at least in terms of low hanging fruits. The big problem with X-Plane right now is that all rendering via OpenGL is inherently single threaded, so there's a lot of synchronization points there were you can't go wide anymore. And last but not least, tasks have inherent dependencies: We can't do the culling for example until we know where the plane is because the camera is attached to it. So there are certain points in the pipeline where we just can't go wide to all cores.
Is this the MD-11? God I've tried to get it working on P3D so hard.
[deleted]
You do realize that in my screenshot cores 0, 2 and 3 are pegged at 100% with core 1 spiking between 60 and 95%, right? And that I was comparing the CPU and GPU utilization in his V4 install against mine in 3.4
[deleted]
I agree. Which is why I posted in the first place. To show that P3D, at least on some older versions, took better advantage of multiple threads. OP's title seemed to imply this was never the case
Well there is actually a way to fix for the CPU usage:
1)Open Prepar3d 2)Go on Task Manager 3)Click on More Details on the left bottom (if it isn't in More details) 4)Click on Processes, if not selected 5)Find P3D, then right click it 6)Select "Go to details" 7)Right click P3D.exe, then in set priority choose High 8)Right click again and select affinity 9)Uncheck CPU0, click OK 10)Redo step 8 again, and check CPU 0 this time and press OK 11)Done. It should give you at least 10 more fps, and all the cores would be fully used (based on my settings, i7-6700k+16Gb with P3Dv4)
Edit: Screenshots after doing the trick Edit 2: Changed the level of priority to High only
7)Right click P3D.exe, then in set priority choose Realtime
I wouldn't choose "Realtime", just select "High". Realtime could potentially have unintended consequences, such as making your mouse pointer unresponsive because now the process that manages it has lower priority than P3D.
More info: https://blogs.msdn.microsoft.com/oldnewthing/20100610-00/?p=13753
That seems quite interesting. I'll edit my answer for that.
Any source with more info on this? Just wondering why it isn't a more widely known workaround.
Interesting, will try later in the same scenario and report you results.
The flight sim market relies heavily on third party developers.
This business model keeps aircraft updated, since customers continue to pay to get the latest and greatest.
Sadly, it also keeps graphical engines outdated as they need to stay backwards compatible with popular third party modules.
Until a developer is willing to invest the necessary resources (and take the risk) required to create the basis for the next, great sim, I think you'll continue to see great aircraft on outdated engines.
Use the affinity mask that should help it
This is not the scenario, which can be fixed with affinity mask. Even with affinity mask, single core CPU performance still will be the limiting factor of the sim.
Wouldn't that be nice?
Core 1 for Aircraft Flight Model
Core 2 for Weather and changes
Core 3 for running the visuals of the plane
Core 4 for the rest of the visuals + the GPU...
I'd be so happy.
This is the first, and naive, multicore implementation in gaming development, one or two system per core which works but provides little to none performance gain in comparison to the potential. A modern approach is basically divide everything into jobs with each core executing each jobs regardless what they are. Unfortunately a modern approach requires a complete new core engine that is very different to what have been done for years. In a fewer words, this would be like re-writing a whole new game from scratch with a totally different concept which they have little experience with, which i doubt LR or LM are willing to do.
We need a new engine though. Let ESP die already.
XP does something similar. Still very limited by OGL though.
I am waiting for the Vulkan version. They promised it, only no timeframe.
I would say a couple of years at least.
Yeah, OpenGL just runs like shit on AMD cards. So it's not really worth getting until it improves.
I'm pretty sure they said by the end of the year in their Facebook feed recently.