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.

FS2004 & CPU Core Affinity settings

Featured Replies

  • Author

Hi. I tried that but (may be a separate glitch - very odd), now, no matter what value I put in for the affinity, 01,02,03. (with or without the zero) 0E, 0F etc. etc, I always get cores1-4 active - same result every time. I've given up on the whole thing for now!

Martin Stebbing, EGLF (UK)

  • Replies 70
  • Views 17.5k
  • Created
  • Last Reply

Top Posters In This Topic

 

 


FS04 is a single core program, it runs on one thread only

It was written in the single core era, but it is ~not~ single threaded. (As to how the workload is distributed over the 30 or so threads - hard to say. Task Manager doesn't dig that deep.) In any case when you spread the affinity, the CPU's internal architecture does the heavy lifting to make it happen, so results are like so many things with FS - hardware-dependent.
 

 

 


when I look at the affinity settings via Task Manager, FS9 is using cores 2, 3 & 4, not CPUs 2, 3 & 4
In WIN XP, where do you find core useage data? I see only CPU.

 

I am wondering what effect running in full-screen or windowed mode has on FS9 performance.

Certainly the graphics are handled *totally* differently.

What about CPU activity? 

 

There's often discussion about "my FS9 does this, or that" but hardly ever distinction about windowed mode 

  • Commercial Member

Why do people keep saying that Windows processes run on core 0? They typically don't have an affinity either, and they'll run wherever the kernel wants them to, which is an available processor.

 

Honestly, unless you write your own pre-emptive multitasking kernel, you're probably worse at scheduling processes than the folks who wrote the NT kernel task scheduler. Leave things alone.

 

Cheers!

Luke

Luke Kolin

I make simFDR, the most advanced flight data recorder for FSX, Prepar3D and X-Plane.

All,

 

FS04 is a single core program, it runs on one thread only. if you want to adjust which core it uses that is fine,. and you may notice a difference because of what else you are running on core zero. Anything after that is the ol' fish oil effect.

 

True very true. FS9 is a single core program. Affinity mask won't make a difference. However there was a program wrote about a year or so ago for Intel and AMD cpu's to run on multi core systems. It was called auto cpu affinity for FS 2004. It had to be started before FS9 was started, and it would allocate the process across all 4 processors.

Bill McIntyre

Asus StrixB650E-F Gamer, AMD Ryzen 9 7900X3D, Corsair Titanium DDR5 64GB, Samsung 990 PRO-4TB M.2, (4) 2TB SSD's, Corsair H1150i liquid cooler, RTX 2080TI Founders Edition, (2) LG 34" HD Curved Monitor, Sound Blaster Audigy X, 1Kw PC Power & Cooling Power Supply, Corsair Obsidian Full tower Case. MSFS 2024, WIN11 Pro x64                                                                                                                                             

  • Commercial Member

True very true. FS9 is a single core program. Affinity mask won't make a difference. However there was a program wrote about a year or so ago for Intel and AMD cpu's to run on multi core systems. It was called auto cpu affinity for FS 2004. It had to be started before FS9 was started, and it would allocate the process across all 4 processors.

 

Snake oil. There's nothing that can allocate a single thread across multiple processors.

 

Cheers!

Luke

Luke Kolin

I make simFDR, the most advanced flight data recorder for FSX, Prepar3D and X-Plane.

I think some here must be confusing thread with process. FS runs in a single process, but with multiple threads. And yes threads on a single process can run on multiple processors, as determined by the process affinity mask. To insist FS is confined to a single core, much less a a single thread is just plain wrong.

 

  • Commercial Member

I think some here must be confusing thread with process. FS runs in a single process, but with multiple threads. And yes threads on a single process can run on multiple processors, as determined by the process affinity mask. To insist FS is confined to a single core, much less a a single thread is just plain wrong.

 

While FS9 may have multiple threads, only one is doing any meaningful work.

 

Cheers!

Luke

Luke Kolin

I make simFDR, the most advanced flight data recorder for FSX, Prepar3D and X-Plane.

recently we had nonsense about fs9 using 1024x1024 textures.  now fs9 is multicore capable? 

 

sad.

R9-9950X3D 32G  | RTX5090 | 3T m.2 | Win11 | vkb-gf ultimate & pedals | virpil cm3 throttle | tm boeing yoke | pimax super uw | DCS

 

 

 

FS9 never has been multicore. This is a fact. However, Windows can pick any core (physical/virtual) any time, run FS9 there and in the next second (or even clock cycle) run it in another core. Part of the discussion here is if there is any advantage in restricting the cores FS9 can use. I can remember seeing this discussion since HT appeared.

 

For me, I've just got my answer (select only physical cores, let Windows decide which one), but I'll have to test it before being happy with this solution.

 

True very true. FS9 is a single core program. Affinity mask won't make a difference. However there was a program wrote about a year or so ago for Intel and AMD cpu's to run on multi core systems. It was called auto cpu affinity for FS 2004. It had to be started before FS9 was started, and it would allocate the process across all 4 processors.

 

That program didn't get to be enough snake oil for me. In my old P4 2.8 HT I gained some stability, in my current AMD Athlon 64x2 4000+ desktop didn't notice anything... and in my i5 laptop (see my specs) I gained some stutters.

Best regards,
Luis Hernández 20px-Flag_of_Colombia.svg.png20px-Flag_of_Argentina.svg.png

Main rig: self built, AMD Ryzen 7 5700X3D (with SMT off and CO -50 mV), 2x16 GB DDR4-3200 RAM, Nvidia RTX 5060Ti 16GB, 256 GB M.2 SSD (OS+apps) + 2x1 TB SATA III SSD (sims) + 1 TB 7200 rpm HDD (storage), ID-Cooling SE-224-XTS air cooler, Viewsonic VX2458-MHD 1920x1080@120-144 Hz (G-sync compatible), Windows 11. Running P3D v5.4 (with v4.5 scenery objects as an additional library, just in case), FSX-SE, MSFS2020, MSFS2024 and even FS9! Lossless Scaling for all my sims. What a godsend...

Mobile rig: ASUS Zenbook UM425QA (AMD Ryzen 7 5800H APU @3.2 GHz and boost disabled, 1 TB M.2 SSD, 16 GB RAM, Windows 11 Pro). Running FS9 there .

VKB Gladiator NXT Premium Left + GNX THQ as primary controllers. Xbox Series X|S wireless controller as standby/mobile.

@
Ultimately test, and use what works best on your system. Affinity settings really make no difference on how FS2004 runs, and for some, appears to make things worse.

@@Martin
Sounds like you've given up on the whole thing for now, and I too will now bow out of the fish and Snake oil discussions.
Let me explain one thing quickly re your config issue. I use many FS9.cfg files that all reside in the root folder of FS2004. Each FS9.cfg file has a different name depending upon what aircraft I'll fly etc. This switch /CFG:NORMAL-fs9 for me, tells FS2004 to use my FS9.cfg file called "NORMAL-FS9.cfg" which is located in the root folder of FS2004. If you used /CFG:NORMAL-fs9 in your batch, you just told FS2004 to create a new FS9.cfg file called "NORMAL-FS9.cfg". I suspect if you look in your FS2004 root folder, you'll now have a "NORMAL-FS9.cfg" file which will contain default settings. If you wanted to, you could copy and paste your original FS9.cfg file into the "NORMAL-FS9.cfg" and use it. Neumanix was correct in saying to discard the /CFG:NORMAL-fs9 section. Sorry for the confusion on that.

RJ

True very true. FS9 is a single core program. Affinity mask won't make a difference. However there was a program wrote about a year or so ago for Intel and AMD cpu's to run on multi core systems. It was called auto cpu affinity for FS 2004. It had to be started before FS9 was started, and it would allocate the process across all 4 processors.

 

it was "fs_affinity_v2_267238.zip" available at AVSIM library.

I dont know how it works, but it avoids long 100 percent use of one cpu and keeps it cooler!

Hi,

 

if I remember correct, this tool made my FS slightly slower. However, when running FS2004, I never experienced such "asymetric" usage of my two cores as shown in the screenshots within the named archive.

 

Regards,

Harald

   Harald Geyer
   Gründer der Messerschmitt Freunde Dresden v. V.

lYI9iQV.jpg

here are my pics:

 

 

 

 

 

 

 

 

 

Edited by firehawk44
Photo deleted; Both exceed 1600W and 400KB limits. Both photos over 900KB

  • Author

I only gave up on this because for some annoying reason, whatever value I enter for 'xx' to set the affinity, it always results in just Cores 1,2,3 &4 working. Cores 0,5,6&7 always remain unchecked in the set affinity box. What I was after was to get FS9 working either on just Core 2 (or 4, or 6), or preferably, so that no single core is running at 100% whilst the others are basically idle, on 2 and 4 and 6.

I am not sure why people keep saying that FS9 will only run on one core despite all the evidence to the contrary. I assume they get their information/disinformation from the internet, just repeating what 'gurus' have said elsewhere. Are there any Intel or AMD CPU engineers posting here, or is it just 'internet hearsay'? (Yes, "sad": thanks for your 'helpful' contribution to the discussion, kdfw_). The tired old forums game of a few people trying to make everyone else look misinformed in comparison to them.. :Yawn:

 

FS9 was designed to run on one core, OK, but irrespective of performance issues, when you set the CPU affinity so that FS9 runs on more than one processor, the fact that, instead of now Core0 being at 100% most of the time, you see FS9 now working across more than one core in the Task Manager performance tab (and any other CPU usage monitor you may care to try) shows that it does run on multiple cores if you set it up that way. Maybe it wasn't supposed to run on more than one core and maybe it's not a good idea - but it clearly can do so.

As I said, I was really interested in experimenting with this since when running FS9 my i7-950 runs with Core0 at 100% and the other cores hardly used. Importantly, the temperatures of cores 2-7 are consistently some 15 degrees lower than the hard working Cores 0 (and 1), so spreading the load must make sense from a hardware point of view.

If I could get FS9 working on cores 2, 4 & 6, or maybe just two of those cores, I'd go for it, at least as an experiment, but no setting I make in the batch file enables this. With eight cores showing, how can I set this up?

Martin

Martin Stebbing, EGLF (UK)

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.