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.

New P3D 5.3+ Affinity Mask Calculator

Featured Replies

21 hours ago, LarsA said:

9700K, 8 cores, no HT!? 

Thanks! 

This CPU DO NOT support HT . I own the same CPU.....

Maurizio

spacer.png   Como (Italy )   www.sim737ng.it

I9-13900kf-Asusz790-32GB GSkill-Rtx4080-MSFS/P3Dv6-3xBenq1080ST-Win10-Prosim3.26-AS-Envtex-Envshade-Orbx basepack,OpenLC Europe-CPFlight hardware-RSP TQ-Always on Vatsim

 

banner2.jpg

  • Replies 281
  • Views 72.1k
  • Created
  • Last Reply
5 minutes ago, MAUCINTI said:

This CPU DO NOT support HT . I own the same CPU.....

Maurizio

I know Maurizio, thanks - but not everybody knows it and I'm still looking for the best settings. Unfortunately, I still don't really understand the calculator... 

1 hour ago, LarsA said:

I know Maurizio, thanks - but not everybody knows it and I'm still looking for the best settings. Unfortunately, I still don't really understand the calculator... 

There is not really much need for an affinity mask without HT, I wouldn't know what to set it at to be honest. What is more important in this case is keeping all other programs off of core 0 (the first core), which is the main core used by P3D by default. This however is bit more complicated.

For transparency: I'm a community mentor at the BATC discord. However, I do not get paid for it in any way.

  • Moderator
15 minutes ago, Fiorentoni said:

There is not really much need for an affinity mask without HT, I wouldn't know what to set it at to be honest. What is more important in this case is keeping all other programs off of core 0 (the first core), which is the main core used by P3D by default. This however is bit more complicated.

I thought Rob’s post yesterday made it clear. Look at my earlier post with a screenshot of my Task Manager.

Ray (Cheshire, England).

System: P3D v5.3HF2, Intel i9-13900K, MSI 4090 GAMING X TRIO 24G, Crucial T700 4Tb M.2 SSD, Asus ROG Maximus Z790 Hero, 32Gb Corsair Vengeance DDR5 6000Mhz RAM, Win 11 Pro 64-bit, BenQ PD3200U 32” UHD monitor, Fulcrum One yoke, Fulcrum Throttle Quadrant.

Cheadle Hulme Weather website.

chlive.php

  • Moderator
1 hour ago, MAUCINTI said:

This CPU DO NOT support HT . I own the same CPU.....

Maurizio

That doesn’t prevent you using a suitable AM. I’ve disabled HT on my i7-8086K. It allows you to overclock that bit more as HT causes more heat.

Ray (Cheshire, England).

System: P3D v5.3HF2, Intel i9-13900K, MSI 4090 GAMING X TRIO 24G, Crucial T700 4Tb M.2 SSD, Asus ROG Maximus Z790 Hero, 32Gb Corsair Vengeance DDR5 6000Mhz RAM, Win 11 Pro 64-bit, BenQ PD3200U 32” UHD monitor, Fulcrum One yoke, Fulcrum Throttle Quadrant.

Cheadle Hulme Weather website.

chlive.php

  • Moderator

@MAUCINTI,

For an 8 core non-HT processor try this:-

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

That means P3D will be assigned all 8 cores but only use cores 1-6 for processing. core 0 is assigned the the OS and core 7 is for any programs like weather, moving maps etc.

You should assign those programs to an AM manually by opening Task Manager, Details tab, right-click entry and choose Assign Affinity Mask. Alternatively, use Project Lasso for the assignments.

Ray (Cheshire, England).

System: P3D v5.3HF2, Intel i9-13900K, MSI 4090 GAMING X TRIO 24G, Crucial T700 4Tb M.2 SSD, Asus ROG Maximus Z790 Hero, 32Gb Corsair Vengeance DDR5 6000Mhz RAM, Win 11 Pro 64-bit, BenQ PD3200U 32” UHD monitor, Fulcrum One yoke, Fulcrum Throttle Quadrant.

Cheadle Hulme Weather website.

chlive.php

  • Commercial Member
17 minutes ago, Ray Proudfoot said:

Look at my earlier post with a screenshot of my Task Manager.

I'm really curious as to what is happening on Core 0. The OS should idle at a very negligible amount.

On a side note, I'm surprised that LM hasn't implemented something like what they have in the MSFS2020 SDK - something indicating when the target frame rate cannot be achieved and what is blocking. I'm also disappointed that they haven't implemented warnings when the sim blocks for more than a certain period of time. That would go a long way to at least identifying what the cause of micro-stutters are, and then ideally resolving them.

Cheers!

 

Luke Kolin

I make simFDR, the most advanced flight data recorder for FSX, Prepar3D and X-Plane.

 

I have now taken these settings for AMD 5800x .. 8 cores HT on are these settings ok? with ASPD

 

[JobScheduler]

Affinitätsmaske= 65493

P3DCoreAffinityMask= 65493

MainThreadScheduler=0

RenderThreadScheduler=1

FrameWorkerThreadScheduler=2

Edited by RAMMSTEIN1977

1 hour ago, Ray Proudfoot said:

@MAUCINTI,

For an 8 core non-HT processor try this:-

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

That means P3D will be assigned all 8 cores but only use cores 1-6 for processing. core 0 is assigned the the OS and core 7 is for any programs like weather, moving maps etc.

You should assign those programs to an AM manually by opening Task Manager, Details tab, right-click entry and choose Assign Affinity Mask. Alternatively, use Project Lasso for the assignments.

Thanks a lot, Ray and Maucinti! 

  • Moderator
2 hours ago, Luke said:

I'm really curious as to what is happening on Core 0. The OS should idle at a very negligible amount.

Possibly a lot of unnecessary services and executables like DropBox and CCleaner. Rob A has probably stopped most of those.

Does anyone know if SimStarterNG can temporarily stop services and then resume them once P3D has terminated.

Ray (Cheshire, England).

System: P3D v5.3HF2, Intel i9-13900K, MSI 4090 GAMING X TRIO 24G, Crucial T700 4Tb M.2 SSD, Asus ROG Maximus Z790 Hero, 32Gb Corsair Vengeance DDR5 6000Mhz RAM, Win 11 Pro 64-bit, BenQ PD3200U 32” UHD monitor, Fulcrum One yoke, Fulcrum Throttle Quadrant.

Cheadle Hulme Weather website.

chlive.php

  • Commercial Member
10 minutes ago, Rob_Ainscough said:

Luke, see my prior post here ... yes the OS is doing very little other than standard housekeeping or automatic updates or other stuff it loves to do without asking

Task Manager should be able to display the executing process and its CPU usage without difficulty. I'm not as ready to give up and blame the OS when Ray has over 180 processes executing. I see the odd blip on my own PC but that's pretty constant and there's probably some helpful data if he can track it down.

To be somewhat pedantic, a DLL cannot control its processor affinity - that can only be done at a Thread/Process level, since the same DLL can technically be loaded by multiple discrete processes and threads each running with their own affinity.

12 minutes ago, Rob_Ainscough said:

Interesting, where are you finding this, I don't see it in the FPS metrics?  All I see are "Limited by MainThread" and "Limited by GPU" ... I don't see anything really useful as in this object ID/GUID triggered the event ... I can sorta point in a direction to see but that isn't very useful.  Can you expand on how you find value in this or are you discussion some other feature I missed out on?

No, that's it - I agree that it's not hugely useful on its own, but it's a start. There is no substitute for logging what's blocking and then exceeding its time budget when debugging stalls in a latency-sensitive application. Everything else is just rooting around in the dark and I'm surprised that neither LM nor MS have fully gone down this road, to help their own developers as well as others.

Cheers!

Luke Kolin

I make simFDR, the most advanced flight data recorder for FSX, Prepar3D and X-Plane.

  • Commercial Member
24 minutes ago, Ray Proudfoot said:

Possibly a lot of unnecessary services and executables like DropBox and CCleaner. Rob A has probably stopped most of those.

Does anyone know if SimStarterNG can temporarily stop services and then resume them once P3D has terminated.

Before you randomly shut stuff down, I would definitely look in Task Manager and track down the offending processes. You have the data, why not use it? 😉

Cheers!

Luke Kolin

I make simFDR, the most advanced flight data recorder for FSX, Prepar3D and X-Plane.

  • Moderator
1 minute ago, Luke said:

Before you randomly shut stuff down, I would definitely look in Task Manager and track down the offending processes. You have the data, why not use it? 😉

Cheers!

I have no intention of shutting down services at random. Some are obvious and those will be the first to go. Yourphone.exe is one example of a useless process.

But having searched the SimStarterNG forum there is no option to terminate services and then restart them. The thought process being that because there's so much RAM stopping them achieves very little in 10 compared to earlier OSs.

OS is using around 10% - not that different to Rob's if you look carefully at his screenshot.

Ray (Cheshire, England).

System: P3D v5.3HF2, Intel i9-13900K, MSI 4090 GAMING X TRIO 24G, Crucial T700 4Tb M.2 SSD, Asus ROG Maximus Z790 Hero, 32Gb Corsair Vengeance DDR5 6000Mhz RAM, Win 11 Pro 64-bit, BenQ PD3200U 32” UHD monitor, Fulcrum One yoke, Fulcrum Throttle Quadrant.

Cheadle Hulme Weather website.

chlive.php

I need some help to understand all parts of JobScheduler in P3D. I have an I9-9900K, using HT and have followed Rob A's advice earlier in the thread. I have moved P3D off core 0 and put P3D on cores 1-5 (not any HT core). I use core 6 and 7 for AS, Chaseplane and a few others. Now to my question. This is how it looks in P3D.cfg after changing as above.

AffinityMask=65535
P3DCoreAffinityMask=1364
MainThreadScheduler=0
RenderThreadScheduler=2
FrameWorkerThreadScheduler=4

I assume that MainThreadScheduler=0 should be changed to =1 because I have removed P3D from Core 0. And what values should be specified for the entries RenderThreadScheduler and FrameWorkerThreadScheduler. Or is it that all the values in these three entries should be left untouched?

As you can see, I need some help to understand

 

/Thomas

Thomas ( Sundsvall, ESNN, Sweden)
MSFS 2024, Intel 9 9900K Oc 5 GHZ 16MB, Corsair Hydro H150i PRO RGB 360mm, ASUS GeForce RTX 2080 SUPER 8GB ROG, 2 Corsair Force M2 MP600 1TB+500Gb, ASUS ROG MAXIMUS XI HERO Z390 MB, Corsair 32GB (2x16GB) DDR4 3200Mhz CL16, Fractal Design Define S2 Vision, Win 10 Home, BenQ 32" PD3200U 4K IPS monitor

A2A Comanche, WB Sim Cessna 152

  • Commercial Member
2 hours ago, Ray Proudfoot said:

OS is using around 10% - not that different to Rob's if you look carefully at his screenshot.

Unless you've masked off all 180-odd non-flightsim processes to only use Core 0, I suspect there's something in there that isn't the OS. Either way, just something curious I noticed. You can do with it what you wish.

Cheers!

Luke

Edited by Luke

Luke Kolin

I make simFDR, the most advanced flight data recorder for FSX, Prepar3D and X-Plane.

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.