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

 

12 hours ago, MammyJammy said:

Hi All,

With the new release of P3D 5.3 and the increase in settings for the [JobScheduler], combined with the myriad of threads out here about setting affinity masks and how to figure it out, I threw together a new calculator for these settings.

 

Your last post cleared it all up, user error on my part.  Working great now, Thanks, and again happy new year

Jose A.

Core Components: AMD Ryzen7 7700X - G.Skill FlareX 32 GB DDR5 6000 CL36 (XMP)  - Gigabyte B650M Aorus Elite AX  - Asus ROG Strix RTX3060 12gb

Storage: WD Black SN750 NVMe 1TB - AData sx8200 Pro NVMe 1TB - Samsung 860 EVO 500GB - Samsung 870 EVO 1TB

WIN11 - P3D v.5.3 HF2 - XPLANE 11 - MSFS

 

  • Replies 281
  • Views 72.1k
  • Created
  • Last Reply

@MammyJammy

                            What an excellent tool! Thank you so much! I was having trouble getting these tweaks to work as I wanted. 
 

I was giving the main thread etc cores all my 1st 4 proper cores and trying to set the affinity mask to 111111111111111110101010, but couldn’t get they to work it just defaults back to all cores. This tool allowed me to work out what I need to do, so thank you very much for that! Also really appreciate your work on the dc10. 
 

Happy new year and long live p3d 😎

Anyway quite drunk so tata for now 🍺🍹🍻

 

Edited by djbully

AMD Ryzen 5900X - Asus Crosshair VI Hero - G.Skill 32GB (2x16GB) 3000 C14 DDR4 @ 3600 14-14-15-14-28-42

AMD Red Devil Radeon 6900XT  2700/2112 1125mv - 3 x Iiyama G-Master GB2888UHSU 4k @ 11560x2160

Saitek X-55 Rhino - Track IR5 - Obutto Sim Cockpit + Triple Monitor Stand - Fancy some Techno? https://www.mixcloud.com/dj_bully/

  • Moderator
6 hours ago, TomCYYZ said:

I am not sure where this click spot is [“Draw CPUs and start calculating”]. I do not see it. I also have 6 cores and 12 LP.  Is this a trial and error thing or does the calculator do it for you?

Click on the individual cores. They’ll change colour and the AM setting will be calculated further down.

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

4 hours ago, IanHarrison said:

All I can say is that I can see now why I never became a computer programmer. I have read the posts but really have no idea what it all means.😉 I will stick with the trial and error method.

I am neither, but it's actually a really simple thing that only sounds complicated and dangerous. It does not change the system itself, so it's no overclocking or similar stuff. It does massively improve the smoothness in P3D, so it's worth it.
It involves 2 steps, but even if you do only 1 of those steps it's really effective. The cfg-edit takes 30 seconds; if you want to try it just say your number of cores and if you have HT on, and me or someone else will give you a cfg-edit to do that already does 80% of the maximum effects you can get here.

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

2 hours ago, Fiorentoni said:

I am neither, but it's actually a really simple thing that only sounds complicated and dangerous. It does not change the system itself, so it's no overclocking or similar stuff. It does massively improve the smoothness in P3D, so it's worth it.
It involves 2 steps, but even if you do only 1 of those steps it's really effective. The cfg-edit takes 30 seconds; if you want to try it just say your number of cores and if you have HT on, and me or someone else will give you a cfg-edit to do that already does 80% of the maximum effects you can get here.

I'll take you up on your generous offer. I've got an i7 8700K with 6 physical cores/12 logical processors and HT is on. I typically use complex airliners in P3D along with ASP3D. What cfg edit would be most advantageous for this system? Thanks!

Wayne Klockner
United Virtual

BetaTeamB.png

 

2 hours ago, Fiorentoni said:

 The cfg-edit takes 30 seconds; if you want to try it just say your number of cores and if you have HT on, and me or someone else will give you a cfg-edit to do that already does 80% of the maximum effects you can get here.

cfg edit is easy, I've done that many times. So my CPU is 4 cores with HT enabled. 

Intel i7 6700K @4.3. 32gb Gskill 3200 RAM. Z170x Gigabyte m/b. 28" LG HD monitor. Win 10 Home. 500g Samsung 960 as Windows home. 1 Gb Mushkin SSD for P3D. GTX 1080 8gb.

36 minutes ago, IanHarrison said:

cfg edit is easy, I've done that many times. So my CPU is 4 cores with HT enabled. 

Alright both affinitymask numbers in the [JobScheduler] part should be 213. The three scheduler lines (starting with main thread) below that should be =0 , =1, =2.
Now I'm not sure if this works as good with 4 cores, because there is now only one core left for anything else (including P3D processes like texture reloading etc.). You might want to leave a second core free to use, which should not have a negative impact. In that case you'd replace the affinity number in the first two lines with 245. I'd use that rather than 213, just to be sure.
If you want to go the full mile you'd now get your third party software off the first core (core 0 and ht 0), but that's a tad more complicated.
Anyway with only that change you should see much less FPS-dropping while e.g. panning around in the PMDG on a busy airport at the gates. E.g. at KBOS with the 747 at the gates, for me FPS would drop from 27 to 18 temporariliy (inducing "stutters") while panning quickly to the left and right WITHOUT an affinity mask. WITH the affinity mask it's a drop from 27 to 25 for me. That's what creates the feeling of smoothness, even though it does not really increase the FPS.

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

56 minutes ago, RudiJG1 said:

I'll take you up on your generous offer. I've got an i7 8700K with 6 physical cores/12 logical processors and HT is on. I typically use complex airliners in P3D along with ASP3D. What cfg edit would be most advantageous for this system? Thanks!

That's easy, I also have 6 cores: Both affinitymask numbers in the [JobScheduler] part should be 4053. The three scheduler lines (starting with main thread) below that should be =0 , =1, =2.
If you want to go the full mile you'd now get your third party software off the first core (core 0 and ht 0), but that's a tad more complicated.
Anyway with only that change you should see much less FPS-dropping while e.g. panning around in the PMDG on a busy airport at the gates. E.g. at KBOS with the 747 at the gates, for me FPS would drop from 27 to 18 temporariliy (inducing "stutters") while panning quickly to the left and right WITHOUT an affinity mask. WITH the affinity mask it's a drop from 27 to 25 for me. That's what creates the feeling of smoothness, even though it does not really increase the FPS.
[Sorry for copy pasting that from the post before 🙂]

EDIT: Since I have the same, here is my cfg:


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

Edited by Fiorentoni

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

1 hour ago, Fiorentoni said:

 the affinity number in the first two lines with 245. 

Thanks.

I've done that and then used Process Lasso to move the other heavy hitters to core 0 and 1.

Will try a longish flight tomorrow (getting too late now) and see how it goes. 

Intel i7 6700K @4.3. 32gb Gskill 3200 RAM. Z170x Gigabyte m/b. 28" LG HD monitor. Win 10 Home. 500g Samsung 960 as Windows home. 1 Gb Mushkin SSD for P3D. GTX 1080 8gb.

Happy new year to the community! 

This tool is great for sure - but too complicated for me..

Could please someone calculate the best settings for a 9700k (8 cores) without ht? 

Thanks a lot in advance!!! 

2 minutes ago, IanHarrison said:

Thanks.

I've done that and then used Process Lasso to move the other heavy hitters to core 0 and 1.

Will try a longish flight tomorrow (getting too late now) and see how it goes. 

Not sure I misunderstood, but you should move stuff AWAY from core 0 and core 1 (which is both the same physical core with HT on).

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

16 minutes ago, Fiorentoni said:

Not sure I misunderstood, but you should move stuff AWAY from core 0 and core 1 (which is both the same physical core with HT on).

P3D is now running on 0 and 2 according to Process Lasso. leaving 1 and 3 free.. The other was my typo, I meant away from. OOPS.

Intel i7 6700K @4.3. 32gb Gskill 3200 RAM. Z170x Gigabyte m/b. 28" LG HD monitor. Win 10 Home. 500g Samsung 960 as Windows home. 1 Gb Mushkin SSD for P3D. GTX 1080 8gb.

6 hours ago, Ray Proudfoot said:

Click on the individual cores. They’ll change colour and the AM setting will be calculated further down.

Thanks for the reply, I understand that. What I meant by trial and error was, it is just a guessing game…”make cores 3 & 5 green…make cores 4, 6, 8 blue etc.”. It’s probably simple (if you understand it), but unfortunately I don’t know what I am doing. I have no problem editing “ .cfg “ files, just understanding and coming up with the numbers to use.

i913900KF (5.8GHz) | Case: Fractal PopAir RGB I Gigabyte Z790 UD AX| MSI Gaming RTX 4070Ti Super 16GB | Kingston Fury Beast 64GB DDR5 5200Mhz | SOLIDIGM P41 Plus 2TB NVMe M.2 SSD | Samsung SSD 870 EVO 2TB | Thermalright Frozen Notte 240 MM Liquid Cooling | LG EVO 42" Monitor 3840 x 2160 120Hz | Honeycomb Alpha & Bravo | Logitech G Pro pedals | Tobii EyeTracker | 850W Thermaltake 80+ GOLD |

  • Moderator

If core 0 is to be avoided so the OS can use it exclusively how much of it is actually used? All of it? 10% of it?

Is the OS really working that much it cannot share a core with P3D? I’d really like to understand the reasoning behind this recommendation.

Are we really saying irrespective of the number of physical cores the first one must not be used by P3D?

My i7-8086K is running without HT so I have 6 physical cores. Is it really a good idea to only assign P3D to 4 of them leaving one for ASP3D, Chaseplane, EFB etc. and the last one for the OS?

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

Sorry to say but i have no clue how to use it 😞

 

Artur 

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.