Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

P3D V5.4 High CPU Usage & Temps

Featured Replies

  • Commercial Member
2 minutes ago, ywg256 said:

This is terrific Steve, thank you. I dont have golf tonight so I think I will test this out and report back. I havent had success with ht on in the past so hopefully this works. I usually run ht off for stability and temperature reasons.

Good luck!

When HT is enabled you get more file loading work done in the same time and since work=heat we may want to curb the amount of file loading tasks allowed or turn down the settings in P3D as I have shown.

The jobscheduler theory I have provided in this thread should enable anyone to balance their CPU loads properly and allow the use of HT enabled on their CPU.

Disabling HT very simply allows only one task per core and by doing that reduces the overall computer speed for all applications all the time. With the correct jobscheduler settings we need not disable HT at all for P3D and get the most out of the PC.

Steve Waite: Engineer at codelegend.com

  • Replies 196
  • Views 75.8k
  • Created
  • Last Reply

Hi Steve,

 

Looks like the below setting is giving me extremely high temperatures up to 99c

 

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

 

I will try the other settings but looks like I may have to go to HT off if this keeps up.

 

Regards,

Sean

system i9 10850K NVidia RTX3090 24GB Samsung SSD980 m.2 1TB (x2) Samsung 850 EVO 500GB SSD Seagate 2TB external drive Samsung SSD 840 EVO 250GB SSD Asus B460M-PLUS Mobo 32GB GSkill DDR4 3000mhz Ram using P3D v5.3

  • Commercial Member
8 hours ago, ywg256 said:

I will try the other settings but looks like I may have to go to HT off if this keeps up.

Hi Sean,

Let's look at what you get with HT Off in P3D v5...

i9-10850K 10 core CPU with HT Off - typical P3D v5 setting using 10 LPs, one per core:

HT Enabled 10 core HT Off
9,8,7,6,5,4,3,2,1,0=core number
1,1,1,1,1,1,1,1,1,1=AffinityMask = 1023
1,1,1,1,1,1,1,1,1,1=P3DCoreAffinityMask = 1023
0,0,0,0,0,0,0,0,0,1=MainThreadScheduler = 0
0,0,0,0,0,0,0,1,0,0=RenderThreadScheduler = 2
0,0,0,0,0,1,0,0,0,0=FrameWorkerThreadScheduler = 4

[JobScheduler]
AffinityMask=1023
P3DCoreAffinityMask=1023
MainThreadScheduler=0
RenderThreadScheduler=2
FrameWorkerThreadScheduler=4


 

Let's mimic that with HT enabled...

With HT Enabled using the same 10LPs:

HT Enabled 10 core 20 LP affinity equivalent of HT Off
09,08,07,06,05,04,03,02,01,00=core number
01,01,01,01,01,01,01,01,01,01=AffinityMask = 349525
01,01,01,01,01,01,01,01,01,01=P3DCoreAffinityMask = 349525
00,00,00,00,00,00,00,00,00,01=MainThreadScheduler = 0
00,00,00,00,00,00,00,01,00,00=RenderThreadScheduler = 2
00,00,00,00,00,01,00,00,00,00=FrameWorkerThreadScheduler = 4

[JobScheduler]
AffinityMask=349525
P3DCoreAffinityMask=349525
MainThreadScheduler=0
RenderThreadScheduler=2
FrameWorkerThreadScheduler=4

I would check that first. If you have reasonable temperatures then you can start adding LPs to increase the file processing.

The bottom line is that you can only increase file processing performance (which adds smoothness to the flight) in P3D going with more LPs enabled. Any increase in file processing performance will add heat to the CPU.

 

Steve Waite: Engineer at codelegend.com

  • Commercial Member

Something I have not talked about in this thread is that as we increase the number of LPs (logical processors) dedicated to file processing, eventually we see only tiny increases in processing speed. At this stage there is not so much point in adding more LPs since this also places more load on the simulator to administer the extra tasks.

The file processing is divided up between those LPs and as we increase the LP count we see each LP spending less time doing the processing, shortening the time of the file loading sequence. A way to see this behaviour is with Task Manager graphs displayed in LP view, watch as the simulator starts up and loads the initial scenery and objects the activity on those LPs shortens with each additional LP enabled in the jobscheduler settings.

We can set the simulator to start up right into the cockpit by setting the Options, Application settings - unchecking "Show Scenario Startup Screen". Now when the simulator is started up it goes straight into the cockpit view of the default flight. The file processing performance can be seen to increase with each additional LP by timing how long it takes to get to the cockpit from a desktop shortcut startup. Remember that after freshly booting the PC the first time the simulator loads it will take longer as files are not cached, so it is best to do a few starts to settle in the system caching.

With whatever display settings selected, the amount of work the CPU does to process the files is the same, work done is the same. However, as I already mentioned, with too many LPs enabled the simulator does a little more work to administer those extra tasks.

In short, heat is generated more quickly with more LPs available and generated slower with less LPs. Overall it is the same. Dissipating that heat comes down to how efficiently the cooling system of the PC handles that.

 

 

 

Steve Waite: Engineer at codelegend.com

1 hour ago, SteveW said:

At this stage there is not so much point in adding more LPs since this also places more load on the simulator to administer the extra tasks.

When - meaning with how many cores - is this stage reached?

Best regards, Dimitrios

9950X3D - 64 GB - RX 7900 XTX - TrackIR - Power-LC M39 WQHD - Honeycomb Alpha yoke, Saitek pedals & throttles in a crummy home-cockpit - MSFS for props, P3D for jets

  • Commercial Member
10 minutes ago, d.tsakiris said:

When - meaning with how many cores - is this stage reached?

When we see only tiny increases in processing speed or in other words when we see only tiny reductions in loading time. If you experiment adding cores in the affinity settings you will see loading time come down by several seconds at first but later as you add cores this becomes only a second or less. At this stage you don't need any more cores.

Steve Waite: Engineer at codelegend.com

  • Commercial Member

...as a caveat to that, loading times from sim startup contain a lot of stuff loading up that does not improve with core count. So it is only a ballpark number to start with. When the loading times are getting near the same with increased cores there can still be milage in adding more cores for when the flight is underway. Experiment with that in mind, even though I said you don't "need" any more cores. As a quick test I went from 4 HT cores (35s) to 8 cores (25s) and then 16 cores (23s). I use 16 cores without heat issues but I don't have all the sliders to the right, mesh resolution at 19m and Texture res at 1m.

Steve Waite: Engineer at codelegend.com

unfortunately temps are still high with the last AF settings and I am running modest settings in p3d. Temps are in the 90s mostly.

system i9 10850K NVidia RTX3090 24GB Samsung SSD980 m.2 1TB (x2) Samsung 850 EVO 500GB SSD Seagate 2TB external drive Samsung SSD 840 EVO 250GB SSD Asus B460M-PLUS Mobo 32GB GSkill DDR4 3000mhz Ram using P3D v5.3

  • Commercial Member
40 minutes ago, ywg256 said:

unfortunately temps are still high with the last AF settings and I am running modest settings in p3d. Temps are in the 90s mostly.

Do you mean you tried the 10 LPs setting with HT on? (01,01,01,01,01,01,01,01,01,01=AffinityMask = 349525), and this is way hotter than 10 LPs (P3D default) with HT Disabled (1,1,1,1,1,1,1,1,1,1=AffinityMask = 1023). There should be only a very small difference since P3D is only using 10 LPs (one per core) either way. 

If so, it might well be something other than P3D utilizing the doubling of LPs when HT is enabled. I would look at the Task Manager graphs and check that when P3D is running (HT enabled) you see activity on LPs 0,2,4 etc. and little or no activity on LPs 1,3,5 etc.

Edited by SteveW

Steve Waite: Engineer at codelegend.com

I'll check and report ack. Yes you are correct it is currently hotter with HT on.

system i9 10850K NVidia RTX3090 24GB Samsung SSD980 m.2 1TB (x2) Samsung 850 EVO 500GB SSD Seagate 2TB external drive Samsung SSD 840 EVO 250GB SSD Asus B460M-PLUS Mobo 32GB GSkill DDR4 3000mhz Ram using P3D v5.3

  • Author

I currently have CTD more often without an error message, and there is nothing in the event viewer either. can CTD also have something to do with the affinitymask setting?

  • Commercial Member
1 hour ago, Lenovouser said:

I currently have CTD more often without an error message, and there is nothing in the event viewer either. can CTD also have something to do with the affinitymask setting?

Actually, I found CTD was possible in P3D v5 when they initially included the main thread scheduler locations in the jobscheduler section.

Back then I found on one machine this result:

During testing with different orders I recorded:
Main, Render, Frame: is smoothest
Main, Frame, Render: works OK
Render, Frame, Main: works but less smooth
Frame, Render, Main: works but less smooth
Frame, Main, Render: CTD
Render, Main, Frame: CTD

Something I have have not since tested.

It's best to keep the order - MainThreadScheduler before RenderThreadScheduler before FrameWorkerThreadScheduler since I never found a problem with that order.

 

 

Steve Waite: Engineer at codelegend.com

  • Commercial Member
3 hours ago, Lenovouser said:

I currently have CTD more often without an error message, and there is nothing in the event viewer either. can CTD also have something to do with the affinitymask setting?

...I have been considering more of what you said in your post, specifically:

3 hours ago, Lenovouser said:

I currently have CTD more often

So you are saying you had CTDs before.

Often this can be caused by a bad texture in an addon airport or imported traffic model. So depending on where you fly you may be in range of an airport with a bad texture or depending on the time of day or location where an AI aircraft is invoked that aircraft may have a bad texture. Then in another area flying gives no CTD.

To check that through, it might be a good idea to eliminate imported AI aircraft and addon scenery for some test flights to be sure.

Also it's possible when flying with some older aircraft made for P3D v4 and used in v5 to get odd results. For example, I tested a free Falcon model for a customer that had CTDs and sometimes caused P3D v5 to claim it was unregistered, that cleared after a restart of the sim. Also, sometimes after the sim was closed, a process of the sim was still running so that upon attempting to restart the sim, the sim stopped, claiming the sim was already running. In that case I had to close the rogue process from Task Manager whereby this process was appearing in the list of background processes. Problems were resolved by avoiding flying with that particular model.

 

Edited by SteveW

Steve Waite: Engineer at codelegend.com

  • Commercial Member
On 9/1/2023 at 5:26 PM, SteveW said:

loading times from sim startup contain a lot of stuff loading up that does not improve with core count.

What I meant to say there is that when the sim is started up from the desktop shortcut there's a lot of code that is only loaded during the startup. In fact all file operations are accelerated with more cores or HT (or SMT) enabled.

Steve Waite: Engineer at codelegend.com

  • 3 weeks later...
On 9/7/2023 at 4:18 PM, SteveW said:

What I meant to say there is that when the sim is started up from the desktop shortcut there's a lot of code that is only loaded during the startup. In fact all file operations are accelerated with more cores or HT (or SMT) enabled.

Hi @SteveW
I have p3d V5.4 I'm facing very high CPU usage and temps. Also I have Ryzen 9 5950x with SMB off so physical cores is 16
My pc:
R9 5950x SMB off
RTX3090
RAM32

What is the best JobScheduler for my CPU ? and in the task manger I noticed my 2 and 6 core being 100% used.

I use my pc mostly for media content so I'm sorry I'm not that expert how to handle p3d coding.

Thanks in advance

 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.