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.

A Frame-Time Analysis of P3D v3 -- Effects of CPU Affinity, Frame Lock, and HT

Featured Replies

As soon as I set an AM, on matter which value, I get blurry textures and slow loading in P3D. (6700K @ 4.5 GHz, HT on)

No matter if I set it in p3d.cfg or on ProcessLasso.

 

No idea why...

Same here.....so I have removed AM and no problems now. AM negatively affects my texture loading...4 core HT on..

  • Peter Webber

MSFS 2020 & 2024 / Windows 11 / Intel Core Ultra 7 265KF / MSI Pro Z890-S WIFI / Samsung 970 EVO PLUS M.2 500GB / Corsair Vengeance DDR5 48GB 7000MHz / MSI Geforce RTX 4070Ti Super

  • Replies 596
  • Views 171.1k
  • Created
  • Last Reply
  • 4 weeks later...

Four core non HT use:

1111=no AM (can use 0 or 15)

 

Steve, I'm sure you've seen this site: http://www.gatwick-fsg.org.uk/affinitymask.aspx?SubMenuItem=hardware

 

My question is this, if I use the first calculator and select 4 cores, it says use an AM=14. If I use the one below that under expert and select cores 0 thru 3 (4 cores) it says use an AM=15. I don't get it? What is the difference? I am assuming I have a 4 core because when going into task manager, right clicking and selecting Affinitymask it gives me choices of cores 0 thru 3.

Eric 

 

 

  • Commercial Member

Of course, that's the Gatwick FS Group Affinity Mask calculator.

 

Quite simple. An AM=0 on the four core (no HT) would be 0000 if it was simply a number, but that would mean no cores enabled, would be useless. Instead AM=0 is interpreted as all cores enabled so is the same as 1111 on the four core.

 

So we have AM=0 on different CPUs gives:

4 core AM=15=1111

6 core AM=63=111111

8 core AM=255=11111111

 

...and so on.

 

If you use AM=15 your sim works the same as if it has no AM setting.

 

 

if you use an AM=14=1110 (type it into the Windows Calculator Programmer mode):

 

On the far right is core zero (1110) and there's a zero in that place means core zero is masked so don't let the sim use that. In Task Manager it would be shown on the left in the graphs. This is OK if we want to leave a core free for other processes, for example a weather engine might spring into life every 30 minutes work out the weather in a burst of high activity then inject the data into the sim. If we let the sim use core zero and also the weather engine we get core zero interrupted by the other process. Don't be fooled by thinking the process only shows 6% CPU use, it's still going to interrupt the flow of the sim. Even so we cant stop processes using the three cores the sim is running on. Instead we can use no AM=1111 to use all cores for the sim. With our weather addon we could allocate the last two cores (1100) for it and these are used by the sim to compute background tasks that take seconds to complete, they don't interfere with the FPS. They can't put all that on the calculator.

Steve Waite: Engineer at codelegend.com

Of course, that's the Gatwick FS Group Affinity Mask calculator.Quite simple. An AM=0 on the four core (no HT) would be 0000 if it was simply a number, but that would mean no cores enabled, would be useless. Instead AM=0 is interpreted as all cores enabled so is the same as 1111 on the four core.So we have AM=0 on different CPUs gives:4 core AM=15=11116 core AM=63=1111118 core AM=255=11111111...and so on.If you use AM=15 your sim works the same as if it has no AM setting.if you use an AM=14=1110 (type it into the Windows Calculator Programmer mode):On the far right is core zero (1110) and there's a zero in that place means core zero is masked so don't let the sim use that. In Task Manager it would be shown on the left in the graphs. This is OK if we want to leave a core free for other processes, for example a weather engine might spring into life every 30 minutes work out the weather in a burst of high activity then inject the data into the sim. If we let the sim use core zero and also the weather engine we get core zero interrupted by the other process. Don't be fooled by thinking the process only shows 6% CPU use, it's still going to interrupt the flow of the sim. Even so we cant stop processes using the three cores the sim is running on. Instead we can use no AM=1111 to use all cores for the sim. With our weather addon we could allocate the last two cores (1100) for it and these are used by the sim to compute background tasks that take seconds to complete, they don't interfere with the FPS. They can't put all that on the calculator.

Ahhh, very well explained. Thank you for that. So I was starting all my ancillary stuff; wx engine, vpilot, track ir and my VA's ACARs before starting P3D and was going in to each one via the task manager and deselecting core 0 from them thus allowing P3D to have it. Based on your above, should I also be deselecting core 1 as well and just giving those programs core 2 and 3?

Eric 

 

 

  • Commercial Member

Hi Eric, yes a rule of thumb is to give simconnect type addons two logical processors minimum. Networking processes can be held up with only one LP. Yes leave core 1 free as well allowing these addons to use 2 and 3.

 

You might be able to improve TIR with that on 1 and 3 if it's not performing, it should be OK on 2 and 3. Generally 2 and 3 will be loading scenery, 0 will be rendering and 1 will be coordinating - that's got the least use during running but still needs a clear path.

Steve Waite: Engineer at codelegend.com

  • 7 months later...

Apologies to resurrect an old thread.

Does anyone have a recommendation for

P3D V4 on Win 10 64 bit, i7 7700k @5Ghz, with HT ON.

What would be the optimal AF ?. And related settings incl FFTF, etc.

Thanks So much, just finished building my new rig and have installed the sim and addons.

Also any nvidia inspector setting.

 

Jeganathan Harishanker (YSSY)

i7-7700k @4.9GHz, ASUS Maximus IX Hero, 32 GB RAM @3200MHz, GA GTX 1080 G1, 2 x M.2 NVME Samsung EVO 256 GB, Kraken X61, 55" 4K TV @30Hz,  P3D v4.3, MCE, GSX, ASP4, FSUIPC, PMDG 747 v3 & 737 NGX, QW 787

27 minutes ago, ozflyer said:

Apologies to resurrect an old thread.

Does anyone have a recommendation for

P3D V4 on Win 10 64 bit, i7 7700k @5Ghz, with HT ON.

What would be the optimal AF ?. And related settings incl FFTF, etc.

Thanks So much, just finished building my new rig and have installed the sim and addons.

Also any nvidia inspector setting.

 

I would start with no AF then go through these and see if there is any difference: 116, 85, 252 and 254.

(7700K @ 5 Ghz... nice :))

gb.

YSSY. Win 10, [email protected], Corsair H115i Cooler, RTX 4070Ti, 32GB G.Skill Trident Z F4-3200, Samsung 960 EVO M.2 256GB, ASUS Maximus VIII Ranger, Corsair HX850i 850W, Thermaltake Core X31 Case, Samsung 4K 65" TV.

  • 2 months later...

Hi, guys can you please help  I was suffering stutters and low fps on my rig,

Win 7 Pro

i7 3770k @4.4ghz,

Gtx 980ti 6gb,

16gb Ram DDR3,

When I  applied AM=116 tweak I've just managed to complete my first flight without a crash in Fslabs A320 P3dV4.1 and at least reasonable frames. 

Task manager affinity

P3dV4.1 = core 2,4,5,6

AS16 = core 0,1,3,7

Chaseplane= core 0,1,3,7 

TrackIR= core 0,1,3,7 Priority (High)

The only issue I came across was sound stutters not sure where it came from but sim wise and performance I had no stutters at all.

Question: I'm also not sure whether to continue using AM=116 or AM=84 with respect to my CPU i7 3770k, I have always had HT=On even without  AM Tweak?

The only other tweak I added was FIBER_FRAME_TIME_FRACTION=0.01 but none the less I have seen a huge improvement.

Lloyd

i7 3770k @4.4ghz, GTX 980ti 6Gb, 16GbRam DDR3,LG 29" Class 21:9 UltraWide IPS Monitor

  • Moderator

You are asking an impossible question. TRY different settings and see which works best ON YOUR SYSTEM.

I also suggest you read this thread you posted in and you'll find many suggestions to try.

Vic

 

RIG#1 - I9 14900K MSI Pro z790 RTX 5070Ti
40" 4K Monitor 3840x2160 

  • 1 month later...
On 1/17/2017 at 6:33 PM, SteveW said:

Generally 2 and 3 will be loading scenery, 0 will be rendering and 1 will be coordinating - that's got the least use during running but still needs a clear path.

What is "a clear path" and why does 1 still need a clear path?

Thanks,

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.