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.

Affinity Mask, value needed

Featured Replies

Hello

 

I have a question about affinity mask settings. I have a 4ghz quad core system and it appears the system has 8 logical cores so which affinity mask setting should I use, I tried a 84 setting and I kept getting freezes due to one of the cores getting overloaded, so my question. What setting should I use to make sure that core #0 is not being used. Thanks for the help.

 

Signed Jon.

  • Replies 31
  • Views 11.3k
  • Created
  • Last Reply
  • Administrators

Charlie Aron

AVSIM Board of Directors-ADMIN/Moderator-Registrar

Just going to run a Chromebook and not upgrade to a Windows computer. Too many problems with the new Sims! 😱
Trying to keep peace and harmony and the will of Landru on the site seems to be a full time job!

                          images (1) (1).jpeg

Maybe I should've rephrased the question, how exactly would I change the affinity mask setting to exclude core 0 because I'm just really confused on that step.

 

 

 

Signed Jon.

 

Use any even number.  Core zero is the only value that can make the number odd, so, if your number is even it is excluded.  I use 244, giving the sim 5 cores.

 

BTW, are you overclocking? 

Gregg Seipp

"A good landing is when you can walk away from the airplane.  A great landing is when you can reuse it."
i9 64GB RAM, GTX-5090

  • Author

Use any even number.  Core zero is the only value that can make the number odd, so, if your number is even it is excluded.  I use 244, giving the sim 5 cores.

 

BTW, are you overclocking? 

 

Yeah tried 244, it still froze trying to fix the fsx freeze as I've narrowed it down to the affinity mask setting.

 

Signed Jon

  • Commercial Member

With HT enabled remember cores have two logical processors. With a four core HT enabled, first try it with four straight cores AffinityMask=85=01,01,01,01, next make sure all your exe addons run on cores 2 and 3 avoiding cores 0 and 1 so in that case assign LPs 5 and 7 (cores 2 and 3) to all addon exe apps (10,10,00,00).

Steve Waite: Engineer at codelegend.com

Use any even number.  Core zero is the only value that can make the number odd, so, if your number is even it is excluded.  I use 244, giving the sim 5 cores.

 

 

I would think that the underlying question is actually:  How do I exclude the first of my four (physical-) cores.

 

In that case you want to have an AM that ends in  00.

 

Examples: 244 = 11 11 01 00

                  84  = 01 01 01 00

Bert

  • Commercial Member

the underlying quetion is why he gets the freezes, and since the first LP is always running hot he's probably mistaking that for the "one of the cores getting overloaded"

 

So if you do want to only use those three physical cores for the sim put those addon exe apps on LPs 0 and 1, the two logical processors of core zero, and use an AffinityMask=116 for the sim.

Steve Waite: Engineer at codelegend.com

  • Commercial Member

Generally all those AMs are going to amount to similar performance, whereas "freezing" might be caused by a number of problems; try running the sim in stock trim then bring in addons like weather and ai traffic and retest.

Steve Waite: Engineer at codelegend.com

  • Commercial Member

Hey Bert, my problem with this Q. is that I don't think AMs (esp. those AMs discussed so far) are really going to be responsible for any pauses glitches or freezes.

 

I would check there's no overheating and for more testing rename the dll.xml and exe.xml temporarily.

Steve Waite: Engineer at codelegend.com

If you are using steam edition, affinity mask is no longer needed, only if you want to try different settings. I have read complete fsx steam changelog, affinity mask is set during installation based on your CPU. Just tested it yesterday, you don't need to change anything even if you play with HT on / off, it seems to detect changes too. It sets FSX not to use first core, and to use the rest of physical cores(probably 14 / 84 values). 

 

HT off:

https://s22.postimg.org/lv7re36xd/Capture.jpg

 

HT on:

https://s21.postimg.org/hxm57ywpz/Capture.jpg

 

I am impresed with Steam edition, they changed a lot of things, not too much tweaking is needed anymore. I'm using BP=0 only. It works great even without it, but BP=0 helps with complex airliners over fps hungry sceneries. 

 

To add something about freezing - try to disable windows update service - set it to manual. There is a problem with(at least in windows 7). For some people, this solved bluries, for me, it increased FSX performance too. It puts additional load on CPU(a lot)while FSX is running.

I still get some microstutters with orbx vector enabled, but only since my SSD decided to day a month after warranty period expired  :P

Zeljko Budovic

Hey Bert, my problem with this Q. is that I don't think AMs (esp. those AMs discussed so far) are really going to be responsible for any pauses glitches or freezes.

 

 

I understand.. the pauses may have an other origin entirely.. :wink:

Bert

edit

Howard
MSI Mag B650 Tomahawk MB, Ryzen7-7800X3D CPU@5ghz, Arctic AIO II 360 cooler, Nvidia RTX4090 GPU, 32gb DDR5@6000Mhz, SSD/2Tb+SSD/500Gb+OS, Corsair 1000W PSU, LG Ultragear 48"4K, MFG Crosswinds, TQ6 Throttle, Fulcrum One Yoke
My FlightSim YouTube Channel: https://www.youtube.com/@skyhigh776

  • Author

I would think that the underlying question is actually:  How do I exclude the first of my four (physical-) cores.

 

In that case you want to have an AM that ends in  00.

 

Examples: 244 = 11 11 01 00

                  84  = 01 01 01 00

Thanks I've tried 244 it failed as I mentioned, I also tried 84 so that didn't do much either although the freezes were less frequent, I'll try the other numbers.

 

Hey Bert, my problem with this Q. is that I don't think AMs (esp. those AMs discussed so far) are really going to be responsible for any pauses glitches or freezes.

 

I would check there's no overheating and for more testing rename the dll.xml and exe.xml temporarily.

There doesn't seem to be overheating although I'll check I also haven't overclocked it in any way. What do you mean by rename the dll.xml and exe.xml, I've already tried other methods, basically all I could find and the only thing that increased or decreased the frequency of the freezes was affinity mask, for default aircraft it doesn't come on, but as soon as I use something like pmdg 747 they come., There also seems to be no connection with my weather program, while the freezes did stop on some flights with the weather program I've tried 2 different weather programs and they both have had freezing occur, it also doesn't appear to relate as whether the weather program could find a station since the freezes occurred several times in area where the stations were bountiful in number. I mostly came to affinity mask because everything else that had worked for anyone else apart from affinity mask had done nothing for me. By the way thanks everyone for all the responses.

 

Signed Jon.

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.