Jump to content
Sign in to follow this  
Lenovouser

P3D V5.4 High CPU Usage & Temps

Recommended Posts

39 minutes ago, SteveW said:

You're welcome!

Let's say you have a four core CPU and one core is at about 100% and the others are showing no activity, you will only see around 25% CPU. Similarly even if you have thread scheduler cores maxed out in P3D the overall use may still only be 30% until you are actively flying into new scenery areas where the file processing increases.

Good point Steve! I'll try to display the various HT cores load on MSI's display.

Edited by jcomm
  • Like 1

Main Simulation Rig:

Ryzen 5600x, 32GB RAM, Nvidia RTX 3060 Ti, 1 TB & 500 GB M.2 nvme drives, Win11.

Glider pilot since 1980...

Avid simmer since 1992...

Share this post


Link to post

Yes, it's a good idea to watch the activity on the CPU cores/LPs and check that things are working as expected. With HT enabled I want to see that the cores hosting the LPs of the three thread schedulers have no activity on their sister LPs and they don't spend time hitting 100% during the flight.

  • Like 1

Steve Waite: Engineer at codelegend.com

Share this post


Link to post

Just ran some tests with the same SITU flying the Mooney Acclaim in both v5 and v6, with the exact same Jobscheduler settings, namely:

[JobScheduler]
AffinityMask=3967
P3DCoreAffinityMask=3967
MainThreadScheduler=6
RenderThreadScheduler=2
FrameWorkerThreadScheduler=4
 

and VSync OFF in sim, no FPS limiting in sim, in NCP Half Refresh Rate. Monitor is 60 Hz.

I got LP7 at a permanent 100% in v6 as opposed to v5 where it sometimes reaches 100% but soon returns to much lower values, and stabilizes around 25%.

Also in V6 GPU gets a lot more use.

Strangely the insim FPS counter obtained with the default SHIFT-Z sequence in V6 varies wildly between 160+ and two digit values that seldom get down to 30 fps with MSI showing a stable 30. In v5 the insim FPS counter shows 30 or just a bit less but never >30 agreeing with the MSI displayed statistics.

P3Dv5.4

https://drive.google.com/file/d/1AwHCPy9pXLqQrbO20t-Dq1Ahm4zIS3Fp/view?usp=sharing

 

P3Dv6.0.35

https://drive.google.com/file/d/10kTiM3lPPng1sbPN7GOJc9yhw0oTgZ6O/view?usp=sharing

Edited by jcomm

Main Simulation Rig:

Ryzen 5600x, 32GB RAM, Nvidia RTX 3060 Ti, 1 TB & 500 GB M.2 nvme drives, Win11.

Glider pilot since 1980...

Avid simmer since 1992...

Share this post


Link to post

In v6 the graphics settings are harsher so you may need to reduce those to see a drop in LP06 (cpu7) with your MainThreadScheduler, also set VSync=On with Unlimited frames in P3D v6 to use half refresh in NCP.

  • Like 1

Steve Waite: Engineer at codelegend.com

Share this post


Link to post
12 minutes ago, SteveW said:

also set VSync=On with Unlimited frames in P3D v6 to use half refresh in NCP.

Ah! Thx, will try that. Is that only on V6, or should I also set Vsync to  ON in v5.4?

Edited by jcomm
  • Like 1

Main Simulation Rig:

Ryzen 5600x, 32GB RAM, Nvidia RTX 3060 Ti, 1 TB & 500 GB M.2 nvme drives, Win11.

Glider pilot since 1980...

Avid simmer since 1992...

Share this post


Link to post

In v5.4 I get 30fps at half refresh on the 60Hz monitor setting in the sim Unlimited fps with VSync on or off. In v6 I must check vsync on.

After setting up the fps limit I run Task Manager and watch the logical processor activity graphs. If MainThreadScheduler is hitting 100% I reduce graphics settings slightly until I don't hit 100% all the time.

  • Like 1

Steve Waite: Engineer at codelegend.com

Share this post


Link to post

So after recently upgrading to an i9-13900K and an RTX 4090, I returned to this thread with great interest.

I used Steve's suggested figures for the 13900K as per below:

On 8/9/2023 at 10:08 PM, SteveW said:

 


[JobScheduler]
AffinityMask=268391765
P3DCoreAffinityMask=268391765
MainThreadScheduler=0
RenderThreadScheduler=1
FrameWorkerThreadScheduler=2

 

And the result:

spacer.png

To be able to run P3D at 60 fps is mindblowingly bizarre. But I do want to see if I have gone about it correctly. 

FYI both CPU and GPU temps are hovering around the 50 to 55 degree celsius range. 

  • Like 2

i9-13900K | 6400MHz DDR5 (32GB) | GeForce RTX 4090 24GB | ViewSonic 27in QHD VA 165Hz Curved | Windows 10 |

MSFS Premium Deluxe | PMDG 737 | PMDG 777 | Horizon 787-9

Marc

Share this post


Link to post
4 hours ago, verbal said:

To be able to run P3D at 60 fps is mindblowingly bizarre. But I do want to see if I have gone about it correctly. 

FYI both CPU and GPU temps are hovering around the 50 to 55 degree celsius range. 

Wow!  

I'm fine with the performance in my Ryzen 5600x + RTX 3060Ti, but at 30 FPS "only" 🙂

 

  • Like 1

Main Simulation Rig:

Ryzen 5600x, 32GB RAM, Nvidia RTX 3060 Ti, 1 TB & 500 GB M.2 nvme drives, Win11.

Glider pilot since 1980...

Avid simmer since 1992...

Share this post


Link to post
11 hours ago, SteveW said:

In v5.4 I get 30fps at half refresh on the 60Hz monitor setting in the sim Unlimited fps with VSync on or off. In v6 I must check vsync on.

After setting up the fps limit I run Task Manager and watch the logical processor activity graphs. If MainThreadScheduler is hitting 100% I reduce graphics settings slightly until I don't hit 100% all the time.

Steve, you did it again !!! 🙂

Problem solved !!!  It was that VSync not being ON... Now I get 25-27 % most of the time in LP 06 !!!

 

https://drive.google.com/file/d/1y_edFmUNEsNiUO55qSndU7HbTFnYWXMG/view?usp=sharing

Edited by jcomm
  • Like 1

Main Simulation Rig:

Ryzen 5600x, 32GB RAM, Nvidia RTX 3060 Ti, 1 TB & 500 GB M.2 nvme drives, Win11.

Glider pilot since 1980...

Avid simmer since 1992...

Share this post


Link to post
7 hours ago, verbal said:

I do want to see if I have gone about it correctly.

Looks good!

2 hours ago, jcomm said:

Steve, you did it again !!! 🙂

Problem solved !!!  It was that VSync not being ON... Now I get 25-27 % most of the time in LP 06 !!!

 

https://drive.google.com/file/d/1y_edFmUNEsNiUO55qSndU7HbTFnYWXMG/view?usp=sharing

Excellent! You should be able to increase graphics settings keeping LP06 below 100%.


Steve Waite: Engineer at codelegend.com

Share this post


Link to post

Hi Steve--Several weeks ago you posted the settings for an i9-12900K for Prepar3D 5.  Do you an update for the same CPU in Prepar3D v6?  In v6 I continue to have 100% CPU usage and wait change crashes Thanks--

 

                      Robert

Share this post


Link to post
34 minutes ago, rlw9sr said:

Hi Steve--Several weeks ago you posted the settings for an i9-12900K for Prepar3D 5.  Do you an update for the same CPU in Prepar3D v6?  In v6 I continue to have 100% CPU usage and wait change crashes Thanks--

 

                      Robert

Make sure you set VSync to ON in the sim graphic options. Then, depending on your monitor refresh rate, you may as well enable half VSync in NCP ( in case your GPU is Nvidia )

These, together, lowered main thread scheduler from a continuous 100% to between 25 and 50%

  • Like 1

Main Simulation Rig:

Ryzen 5600x, 32GB RAM, Nvidia RTX 3060 Ti, 1 TB & 500 GB M.2 nvme drives, Win11.

Glider pilot since 1980...

Avid simmer since 1992...

Share this post


Link to post

Does this only apply with fixed refresh rate monitors? I guess I'll have to go back to Nvidia Inspector, so that I can enable ¼ refresh rate VSync (with 120 Hz)

  • Like 1

Best regards,
Luis Hernández 20px-Flag_of_Colombia.svg.png20px-Flag_of_Argentina.svg.png

Main rig: self built, AMD Ryzen 5 5600X with PBO enabled (but default settings, CO -15 mV, and SMT ON), 2x16 GB DDR4-3200 RAM, Nvidia RTX3060 Ti 8GB, 256 GB M.2 SSD (OS+apps) + 2x1 TB SATA III SSD (sims) + 1 TB 7200 rpm HDD (storage), Viewsonic VX2458-MHD 1920x1080@120 Hz, Windows 10 Pro. Runing FSX-SE, MSFS and P3D v5.4 (with v4.5 default airports).

Mobile rig: ASUS Zenbook UM425QA (AMD Ryzen 7 5800H APU @3.2 GHz and boost disabled, 1 TB M.2 SSD, 16 GB RAM, Windows 11 Pro). Running FS9 there... sometimes on just battery! FSX-SE also installed, just in case. 

VKB Gladiator NXT Premium Left + GNX THQ as primary controllers. Xbox Series X|S wireless controller as standby/travel.

Share this post


Link to post
13 hours ago, rlw9sr said:

Hi Steve--Several weeks ago you posted the settings for an i9-12900K for Prepar3D 5.  Do you an update for the same CPU in Prepar3D v6?  In v6 I continue to have 100% CPU usage and wait change crashes Thanks--

 

                      Robert

Same for v5 and v6, set your fps options for vsync as jcomm suggests. Not sure what your crashes are related to, ensure you have the latest drivers, eliminate add-ons and retest.


Steve Waite: Engineer at codelegend.com

Share this post


Link to post

This was a really interesting read as I too have been struggling with cpu temps and high usage in v5,4.  I’ve made some of the suggested changes from this thread and am seeing some improvements so thanks all for that. 
 

Just to make sure I understand,  I have a 9700K which doesn’t have HT.  There is nothing I can or should do regarding affinity mask, correct?

 

thanks 


Orman

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...