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.

Correct affinity mask value

Featured Replies

I have used bojote"s auto tweaking tool and everything has worked but it set an affinity mask of 84 and when I run fsx basically only core #2 is working at 100% and the other three are barely doing anything. Is this supposed to be like this even with an affinity mask or do I have the wrong affinity mask set because I am getting good fps with almost maxes out graphics with an add-on plane in add-on airport but if I could get all the cores to work it would be even better.

Boeing777_Banner_Pilot.jpgsig_TheBusIveBeenWaitingFor.jpg

Alfredo Terrero

  • Replies 37
  • Views 26.7k
  • Created
  • Last Reply

Top Posters In This Topic

Well, I have an affinity mask of 13 which means that core 0 is running the main thread, core 1 is for everything else and core 2 and 3 are for texture loading. This is how it´s working for me, but I dunno whether you can use this mask, cause I don´t have the same CPU, but you could give it a try and see what happens.

Best regards, Steffen

vrs_supporter_zpsiwiqesbo.png

Fight time: NGX 737-700: 37,0h; -800: 47,2h

  • Author
Well, I have an affinity mask of 13 which means that core 0 is running the main thread, core 1 is for everything else and core 2 and 3 are for texture loading. This is how it´s working for me, but I dunno whether you can use this mask, cause I don´t have the same CPU, but you could give it a try and see what happens.
I'll try it. Do you know where I can find a list of what the affinity mask values do? And on a completely different sidenote (sorry) do you know why the "hibernate" option doesn't appear on my shutdown area on the start menu. I have turned on hibernation through the cmd and my computer does hibernate when I type the command shutdown -h but the option to hibernate doesn't appear on the start menu. Again the most important aspect of this topic is the correct affinity mask value so I am sorry for this other random question.Edit:When you are using fsx with this affinity mask, are all your cores highly active under the task manager?

Boeing777_Banner_Pilot.jpgsig_TheBusIveBeenWaitingFor.jpg

Alfredo Terrero

I'll try it. Do you know where I can find a list of what the affinity mask values do? And on a completely different sidenote (sorry) do you know why the "hibernate" option doesn't appear on my shutdown area on the start menu. I have turned on hibernation through the cmd and my computer does hibernate when I type the command shutdown -h but the option to hibernate doesn't appear on the start menu. Again the most important aspect of this topic is the correct affinity mask value so I am sorry for this other random question.Edit:When you are using fsx with this affinity mask, are all your cores highly active under the task manager?
I´m using the core temp gadged to watch my cpu utilization. It shows me, that core0 with main thread is running on 100% usage (3GHz) and core2 and 3 running mostly on 100%.How do you get your own affinity mask setting. It´s pritty easy when you know how to do. I´ll show it to you on the example of my setting of 13. The 13 is the decimal translation of the binary value 1101 which shows which core is going to be used. You have to read it from right to left, than the binary value says, that core 0, 2,3 are used, but core 1 is free for system realted functions. You can get your own affinity mask with the inbuild windows calculator, which can translate decimal values into binary ones. Just try it out.

Best regards, Steffen

vrs_supporter_zpsiwiqesbo.png

Fight time: NGX 737-700: 37,0h; -800: 47,2h

When you are using fsx with this affinity mask, are all your cores highly active under the task manager?
No matter what Affinity Mask you choose, one core will run the main FSX load and other cores will be usedfor scenery loading. If you are in heavy scenery (try Seattle), those cores will be showing high utilization.If you are on a little island somewhere - those cores will be very lightly loaded.

Bert

  • Author
I´m using the core temp gadged to watch my cpu utilization. It shows me, that core0 with main thread is running on 100% usage (3GHz) and core2 and 3 running mostly on 100%.How do you get your own affinity mask setting. It´s pritty easy when you know how to do. I´ll show it to you on the example of my setting of 13. The 13 is the decimal translation of the binary value 1101 which shows which core is going to be used. You have to read it from right to left, than the binary value says, that core 0, 2,3 are used, but core 1 is free for system realted functions. You can get your own affinity mask with the inbuild windows calculator, which can translate decimal values into binary ones. Just try it out.
Okay thanks for that trick. Does it matter if I set all cores active?
No matter what Affinity Mask you choose, one core will run the main FSX load and other cores will be usedfor scenery loading. If you are in heavy scenery (try Seattle), those cores will be showing high utilization.If you are on a little island somewhere - those cores will be very lightly loaded.
Okay I understand thanks.

Boeing777_Banner_Pilot.jpgsig_TheBusIveBeenWaitingFor.jpg

Alfredo Terrero

There were some good AffinityMask threads around - either here(always check the Computer Hardware threads as well) or maybe fullterrain.com or mycockpit.org. Anyway, one comment is that with a mask of 84, it sounds like you have Hyperthreading enabled so that it seeems that you have 8 virtual cores instead of 4 real cores. Most folks are saying that FSX runs a bit better with HT off (and the CPU runs cooler) but if you need it for other programs, then accept the slight penalty and leave it on.

PC=9700K@5Ghz+RTX2070  VR=HP Reverb|   Software = Windows 10 | Flight SIms = P3D, CAP2, DCS World, IL-2,  Aerofly FS2

  • Author
There were some good AffinityMask threads around - either here(always check the Computer Hardware threads as well) or maybe fullterrain.com or mycockpit.org. Anyway, one comment is that with a mask of 84, it sounds like you have Hyperthreading enabled so that it seeems that you have 8 virtual cores instead of 4 real cores. Most folks are saying that FSX runs a bit better with HT off (and the CPU runs cooler) but if you need it for other programs, then accept the slight penalty and leave it on.
So, you Are saying that fsx runs better with ht off? If so, does that mean my affinity mask value would be 17 if I want to have four real cores working?

Boeing777_Banner_Pilot.jpgsig_TheBusIveBeenWaitingFor.jpg

Alfredo Terrero

So, you Are saying that fsx runs better with ht off? If so, does that mean my affinity mask value would be 17 if I want to have four real cores working?
No: 15 actually.. and that is also the FSX default.15 = 111114 = 111013 = 1101Others to try, are 14 and 13. 14 works best for me..

Bert

  • Author
No: 15 actually.. and that is also the FSX default.Others to try, are 14 and 13.
Oh yes it is 15 I did the math wrong. I have a question wouldn't all 4 cores running be better than 14 or 13? Because if 15 is the fax default that means that 15 isn't the best setting. Also, does this all mean that hyperthreading hurts fsx performance?

Boeing777_Banner_Pilot.jpgsig_TheBusIveBeenWaitingFor.jpg

Alfredo Terrero

I have used bojote"s auto tweaking tool and everything has worked but it set an affinity mask of 84
The affinity 'mask' is a decimal value representing the active threads FSX will use. To understand it, you need to use the win calculator and 'convert' the decimal 84 to its binary representation, so:84 = 01010100If you read the above backwards:0 0 1 0 1 0 1 0Each '0' is a disabled thread. The 1's represent an active thread. In a 8 CPU configuration (an i7 with HT on for example) this means that the 'physical' core 0 will NOT be used, and you will notice that for each physical core that follows only the 'first' thread will be active, meaning you will be using only 'phisycal' cores, which is the right way to run FSX with HT on.
  • Author
The affinity 'mask' is a decimal value representing the active threads FSX will use. To understand it, you need to use the win calculator and 'convert' the decimal 84 to its binary representation, so:84 = 01010100If you read the above backwards:0 0 1 0 1 0 1 0Each '0' is a disabled thread. The 1's represent an active thread. In a 8 CPU configuration (an i7 with HT on for example) this means that the 'physical' core 0 will NOT be used, and you will notice that for each physical core that follows only the 'first' thread will be active, meaning you will be using only 'phisycal' cores, which is the right way to run FSX with HT on.
So do you recommend turning hyperthreading off altogether an just using the value 15?

Boeing777_Banner_Pilot.jpgsig_TheBusIveBeenWaitingFor.jpg

Alfredo Terrero

So do you recommend turning hyperthreading off altogether an just using the value 15?
Absolutely, turn it off, and use the affinity mask recommended above, either 14 or 15.. even 12!
The affinity 'mask' is a decimal value representing the active threads FSX will use. To understand it, you need to use the win calculator and 'convert' the decimal 84 to its binary representation, so:84 = 01010100If you read the above backwards:0 0 1 0 1 0 1 0Each '0' is a disabled thread. The 1's represent an active thread. In a 8 CPU configuration (an i7 with HT on for example) this means that the 'physical' core 0 will NOT be used, and you will notice that for each physical core that follows only the 'first' thread will be active, meaning you will be using only 'phisycal' cores, which is the right way to run FSX with HT on.
Must be my right brain dominance or something, but I've read so many posts about this and still do not understand what exactly to enter for the AFFINITYMASK setting. I have a dual processor system, each processor has 4 physical cores, and hyperthreading is on (I have no idea how to turn it off). What do I actually enter here?[JOBSCHEDULER]AffinityMask=????????If your reply contains anything more than just a number, you'll confuse me beyond belief :(. Thanks for your help.- Jev McKee

- Jev McKee, AVSIM member since 2006.
Specs: i7-2600K oc to 4.7GHz, 8GB, GTX580-1.5GB, 512GB SSD, Saitek Pro Flight Yoke System, FSX-Acceleration 

 

  • Author
Absolutely, turn it off, and use the affinity mask recommended above, either 14 or 15.. even 12!
Okay, thanks bojote and everyone else for their help and bojote thanks for the auto tweaking tool.

Boeing777_Banner_Pilot.jpgsig_TheBusIveBeenWaitingFor.jpg

Alfredo Terrero

Create an account or sign in to comment

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.