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.

How to Set CPU AFFINITY without using FSX.CFG

Featured Replies

Jim,I've been messing around with this, and also removing the line from my cfg and using task manager to manually set affinity and have seen the best results with the latter, setting FSX to use 0, 1, 2 and 3 and also sending stuff like Fraps (huge hog) ASE2012 (tiny hog) and EFB (larger hog) to cores 6 and 7. It's a pain to do it all every flight and it doesn't remember the setting for all of the other programs when you start them all up again..be great if there were an app that does it as we all run so much stuff alongside FSX that everything is having a fight..It's stuff on core 0 alongside FSX that causes problems I imagine?What i did notice though, is that if you bring up the Resource Monitor on the Performance page of TM and choose CPU, that I have CPU's PARKED :huh:Did a bit of reading and found that, even with high-end systems, and power management effectively turned off in ctrl panel, that Windows 7 will still PARK CPU's!!Who knew? Not me, that's for sure..I knew laptops did it with APM, but didn't realise it was still happening with me, sometimes even with FSX running..There is a registry hack that stops it happening..not noticed any extra heat from the CPU since and I am sure FSX is a tiny bit smoother :)Anyway, is 12 or 14 the best setting for a 2600K? I have a job to tell to be honest..I tried 255 and all of my cores were maxed out!bestjake

Edited by quadraspleen

JAKE EYRE
It's a small step from the sublime to the ridiculous...Napoleon Bonaparte
newSigBetaTeam.gif
lancairuk.jpg

  • Replies 45
  • Views 16k
  • Created
  • Last Reply

Top Posters In This Topic

Its wrong because it's giving the wrong decimal value for the binary equivilent for the amount of cores I wish to use. In most cases the majority of people just disable Core0. It also always gave me poorer performance if I accepted the tools values.
Sorry, not understanding you. With six cores, an affinity mask of 56 is binary 111000 which translates as use cores 5,4 and 3 and not 2, 1 or 0i.e. 3 cores for FSX, the rest for the system.With 12 cores (HT enabled) the value 1366 gives binary 10101010110 which I agree does not seem correct. Can you check if the actual value ******* gave you was 1344? That would map to binary 010101000000 which again is three physical cores for FSX, no HT cores and the rest available to the system.

Paul Smith.

I have probably the fastest d/core CPU. Would this tweak help me at all please?

Dave Taylor gb.png

 

 

 

Dual core? You can try it, but I don't expect you'd see any improvement

Kenneth Weir

My Saitek yoke mod

 

i7 2600k @ 4.7

8GB Gskill CAS7

2x GTX580 SLI Surround + GT520 Accessory

Win7x64

  • Author

If you use task manager rather than FSX.CFG to set the Affinity as I mentioned in the first post eg shortcutC:\Windows\System32\cmd.exe /C START "" /AFFINITY E "D:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\fsx.exein the statement "/AFFINITY E" above the "E" is the HEX (not decimal) representation of the cores ie 1110 in this example cores 1, 2 & 3 are assigned to FSX leaving Core 0 to the system.David Gunton

Hi David,presumably this works for any and all programs, not just FSX?bestjake

JAKE EYRE
It's a small step from the sublime to the ridiculous...Napoleon Bonaparte
newSigBetaTeam.gif
lancairuk.jpg

If you use task manager rather than FSX.CFG to set the Affinity as I mentioned in the first post eg shortcutC:WindowsSystem32cmd.exe /C START "" /AFFINITY E "D:Program Files (x86)Microsoft GamesMicrosoft Flight Simulator Xfsx.exein the statement "/AFFINITY E" above the "E" is the HEX (not decimal) representation of the cores ie 1110 in this example cores 1, 2 & 3 are assigned to FSX leaving Core 0 to the system.David Gunton
What is the difference between doing it your way and doing it the FSX way?

Paul Smith.

  • Author

I have played about extensively with CPU Affinity and FSX.CFG and compared the core loadings in Task Manager whilst FSX is in windowed mode. I am aware that this is not an exhaustive test.My conclusions so far are:-

  • Hyperthreading should be turned off.

  • With the Affinity set in the .CFG then my experiments have shown that once the aircraft has been loaded then core loading changes and FSX runs on core 0 and 1 and performance drops regardless of the setting in FSX.CFG.
  • Setting Affinity without using FSX .CFG gives consistent core loading when ever FSX is running and can be applied to any program and not just FSX.

I am aware that some people have no problems with setting Affinity in FSX.CFG and thats fine. However, this is not what I have found. My system is an I7 860 runing Windows 7.Kind RegardsDavid Gunton

Hi!Setting the priority of FSX.exe in Task Manager does also help me to improve performance.

I have also found the same as both Davids..It's just a PITA to set it up every time you open all of those programs...ASE; FSC; EFB etc etc..I have rem'd the comment out of FSX.cfg now..A question to DavidCG: Do you find your PC suffers in other respects with HT turned off? I find my VCore lowers slightly, but it doesn't seem to like running other stuff, like when I'm doing video editing or using Photoshop etc..bestjake

JAKE EYRE
It's a small step from the sublime to the ridiculous...Napoleon Bonaparte
newSigBetaTeam.gif
lancairuk.jpg

Sorry, not understanding you. With six cores, an affinity mask of 56 is binary 111000 which translates as use cores 5,4 and 3 and not 2, 1 or 0i.e. 3 cores for FSX, the rest for the system.With 12 cores (HT enabled) the value 1366 gives binary 10101010110 which I agree does not seem correct. Can you check if the actual value ******* gave you was 1344? That would map to binary 010101000000 which again is three physical cores for FSX, no HT cores and the rest available to the system.
Your right about the 1344, I was quoting that figure from memory, the ******* tool was giving me 56 which wasn't what I wanted, as you say its only using 3 cores which seems an underkill to me when I want to have more available, I think 62 was the correct value for 111110

Chris Ibbotson

AMD Ryzen 7 7800x3D / MSI AMD MPG x670E Carbon Motherboard / Gigabyte GeForce RTX 5090 Gaming OC 32GB GDDR7 PCI-Express Graphics Card / Corsair DOMINATOR Titanium RGB Grey 64GB 6000MHz AMD EXPO DDR5 / NZXT C1200 Gold ATX 3.1 - Fully Modular Low-Noise PC Gaming Power Supply - 1200 Watts - 80 PLUS Gold / 48” UltraGear™ UHD 4K OLED Gaming Monitor / 40" Philips 4K LED Monitor / Honeycomb Alpha Yoke / Honeycomb Bravo Throttle Quadrant / WinWing Orion Rudder Pedals c/w dampener / WinWing Ursa Minor Airline Joystick / WinWing Airbus MCDU

Holy crap! 83 processes, that is a huge number!! and 12.8GB of memory being used? How many programs are you running at the same time?!

Holy crap! 83 processes, that is a huge number!! and 12.8GB of memory being used? How many programs are you running at the same time?!
I actually use a RAM disk for temporary storage (8 GB), so I guess I'm only using about 4.8 GB. Certain programs use the temp folder for storage, and RAM is crazy fast as a temp storage folder (much faster than an SSD, that's why RAM based storage is so expensive). For example, whenver you install one of your addons (eg. ORBX, UTX, etc), it writes everything to a temp folder, then starts the install process. From there, it installs everything from the temp folder to the destination folder (eg. FSX). So installing stuff like UTX is much faster for me.

Edited by magnetite

Jeff Thomson

OK that makes sense! Now, why so many system processes?

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.