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.

AffinityMask - Why?

Featured Replies

  • Commercial Member

Hi Jason, With P3D we can use with a six core HT=Off AM=30, and HT=On AM=340 for very good results, or AM=980. Those split the sim over four parts and 980 six parts all on four cores. With v4 we can use six parts or more. With more options we can try patterns such as 3028 which on six or more cores use five cores for the sim and enable three main sim processes each a free core and incorporates four cores loading. Some examples I also posted over on another discussion:

 

6 core no HT

011110=AM30 - sim

100001=AM33 - addons

 

6 core HT enabled:

00,01,01,01,01,00=AM340 - sim

00,11,11,01,01,00=AM980 - sim

11,00,00,00,00,11 - addons

 

v4 specific 6 core +HT:

10,11,11,01,01,00=AM3028

00,10,10,00,00,11 - addons

 

 

Steve Waite: Engineer at codelegend.com

  • Replies 73
  • Views 27.4k
  • Created
  • Last Reply

Thanks Steve.  I'll give those a try. And if I'm reading those correctly core 0 is all the way on the right and core 11 on the left?

  • Commercial Member

It's better to think of the HT enabled CPU made from pairs of logical processors: with six cores we have core zero (LPs 1 and 0) on the right, and core five (LPs 11 and 10) on the left.

HT On - 11/10,9/8,7/6,5/4,3/2,1/0

HT Off - 5,4,3,2,1,0

We always only have six cores.

 

Think of the operation outcome this way: If we run two identical procedures on one core they will take n seconds to complete, the same two procedures - one to each Logical Processor of one core - take less time to complete. For example in the following graphic on the right each process (thread 1 and thread 2) is shown being computed for a time period then saved away and the other process switched in to continue computing for another period. On the left the addition of Hyperthreading hardware enables those two processes to complete sooner:

SwitchingImproves.jpg

 

 

Steve Waite: Engineer at codelegend.com

  • 4 months later...
On 6/19/2017 at 9:59 AM, Piotr007 said:

I am getting 100% load on ALL cores and threads with my i7 6700K @ 4,5 ghz. This is when the AM for all cores is set. 

Which is what in your case =?

Thanks.

  • 3 years later...
On 6/19/2017 at 11:55 AM, SteveW said:

Four core HT disabled no AM = 0 = 15 because you only have four binary digits.

 

..with HT off and 8 cores I would check out 01111110 = 126 (six cores used by sim) or 00111100 = 60 (four cores used) avoiding the first and last cores.

Even better! HT enabled and 00,01,01,01,01,01,01,00 = 5460 (six LPs) or 00,00,01,01,01,01,00,00 = 1360 (four LPs).

Hi, Steve, I know this discussion was in 2017, but I hope you can still see this, because I tried using AM 5460, the ground texture become very blurry and don't seem to load properly. What I realized is that I must assign P3D to use core 0, then the textures can load properly. May I ask why is it so? I cannot get it off core 0. What I use as AM value now is 5461 (00, 01,01,01,01,01,01,01)

I am on P3D 4.5, i9-9900K HT on.

8 hours ago, yuyicheng1990 said:

Hi, Steve, I know this discussion was in 2017, but I hope you can still see this, because I tried using AM 5460, the ground texture become very blurry and don't seem to load properly. What I realized is that I must assign P3D to use core 0, then the textures can load properly. May I ask why is it so? I cannot get it off core 0. What I use as AM value now is 5461 (00, 01,01,01,01,01,01,01)

I am on P3D 4.5, i9-9900K HT on.

The phenomenon that you have experienced is one reason why tinkering around with AF can lead to unforeseen side effects and why it is often best to leave it in the default state, meaning not to enter anything at all. I can't tell you why the textures don't load properly if you use your specific AF setting, but don't you think that by just getting rid of the AF entry you can save yourself some headache?  The default setting wouldn't be used if there was something wrong with P3D's own affinity handling.

do i need/benefit from AM with my 10th Gen Intel(R) Core(TM) i9- 10900F processor(10-Core, 20M Cache, 2.8GHz to 5.2GHz)?

 

what setting should i have if i need it?

  • Moderator
30 minutes ago, Beerz said:

what setting should i have if i need it?

Your CPU has 10 cores and 20 virtual processors. I’m not sure if P3D can take advantage of that number.

But if you want to try using all 20 then the AM setting is 349525 derived as follows:-

10101010101010101010

Load Task Manager and switch to the performance tab and observe what is being used.

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

11 minutes ago, Ray Proudfoot said:

Your CPU has 10 cores and 20 virtual processors. I’m not sure if P3D can take advantage of that number.

But if you want to try using all 20 then the AM setting is 349525 derived as follows:-

10101010101010101010

Load Task Manager and switch to the performance tab and observe what is being used.

thank you, i will try it out.

12 hours ago, yuyicheng1990 said:

What I realized is that I must assign P3D to use core 0, then the textures can load properly.

Curious how you determined this? I keep P3D off core 0 (LPs 0 & 1) and it loads and runs great.

Edited by bbuckley

[CPL]  I9-9900K @5.0GHz HT ON, Maximus XI Hero, ASUS TUF RTX4080 OC, 32GB DDR4 3200 14, 1TB NVMe SSD, 500GB SSD, 1TB HDD, 40" Samsung 4K TV, Honeycomb Alpha & Bravo, Logitech Rudder Pedals, WIN11

3 hours ago, Ray Proudfoot said:

Your CPU has 10 cores and 20 virtual processors. I’m not sure if P3D can take advantage of that number.

But if you want to try using all 20 then the AM setting is 349525 derived as follows:-

10101010101010101010

Load Task Manager and switch to the performance tab and observe what is being used.

No, that AM uses one LP per physical core (10 total), rather than all 20 LPs.  1048575 would be all 20 LPs (binary 11111111111111111111), which is the same as not specifying an AM at all.

Personally, I use HT off with no AM on my 10900K, which prevents the OS from assigning non-P3D threads to the LPs that are active but masked out for use by P3D.

Bob Scott | President and CEO, AVSIM Inc
ATP Gulfstream II-III-IV-V

Sys1 (MSFS20+24/XPlane12+11): AMD 9800X3D, water 2x240mm, MSI MPG X670E Carbon, 64GB GSkill 6000/30, nVidia RTX4090FE
Alienware AW3821DW 38" 21:9 GSync, 2x4TB Crucial T705 PCIe5 + 2x2TB Samsung 990 SSD, EVGA 1000P2 PSU, 12.9" iPad Pro
Thrustmaster TCA Boeing Yoke, TCA Airbus Sidestick, Twin TCA Airbus Throttle quads, PFC Cirrus Pedals, Coolermaster HAF932 case

Sys2 (P3Dv5/v4): i9-13900KS, water 2x360mm, ASUS Z790 Hero, 32GB GSkill 7800MHz CAS36, ASUS RTX4090
Samsung 55" JS8500 4K TV@60Hz,
3x 2TB WD SN850X 1x 4TB Crucial P3 M.2 NVME SSD, EVGA 1600T2 PSU
Fiber link to Yamaha RX-V467 Home Theater Receiver, Polk/Klipsch 6" bookshelf speakers, Polk 12" subwoofer, 12.9" iPad Pro
PFC yoke/throttle quad/pedals with custom Hall sensor retrofit, Thermaltake View 71 case, Stream Deck XL button box

Sys3 (DCS/P3Dv4/ATS/ETS): AMD 7800X3D, MSI MPG X870E Carbon, Noctua NH-D15S, 64GB GSkill 6000/30, EVGA RTX3090
Alienware AW3420DW 34" 21:9 GSync, Corsair HX1000i PSU, 4TB Crucial T705 PCIe5 + 2TB Samsung 970Evo Plus,
TM TCA Officer Pack
, Saitek combat pedals, TM Warthog, TM RS300 FF wheel/pedals, Coolermaster HAF XB case

  • Moderator
16 minutes ago, w6kd said:

No, that AM uses one LP per physical core (10 total), rather than all 20 LPs.

Yes, my mistake. But only saying to use all 20 which I didn’t mean. Using just one VP per core is what I calculated so that number is correct. Results will be interesting.

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

13 hours ago, bbuckley said:

Curious how you determined this? I keep P3D off core 0 (LPs 0 & 1) and it loads and runs great.

Have you tried flying relatively fast with P3D off core 0? My experience is that leaving out core 0 leads to nothing ever loading during flight, so within 100nm you’re looking at blurries and no autogen. Need to pause for about 10 minutes for it to catch up. 

2 hours ago, DChockey08 said:

Have you tried flying relatively fast with P3D off core 0? My experience is that leaving out core 0 leads to nothing ever loading during flight, so within 100nm you’re looking at blurries and no autogen. Need to pause for about 10 minutes for it to catch up. 

I'll try it. I usually fly either a Phenom 100 relatively fast at FL240 or below or a Legacy lower. Both are relatively fast. 

Here's a couple pics: Phenom  Legacy

Edited by bbuckley

[CPL]  I9-9900K @5.0GHz HT ON, Maximus XI Hero, ASUS TUF RTX4080 OC, 32GB DDR4 3200 14, 1TB NVMe SSD, 500GB SSD, 1TB HDD, 40" Samsung 4K TV, Honeycomb Alpha & Bravo, Logitech Rudder Pedals, WIN11

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.