In this article we look at the settings that contribute to the Windows environment in which Microsoft Flight Simulator is running.
- 1 Windows Game Mode (off)
- 2 Windows Power Plan
- 3 Turn Off Windows Fast Start
- 4 CPU Max Setting
- 5 Windows Graphics Settings
- 6 Graphics Performance Preference
- 7 Performance Allocation to Foreground or Background
- 8 Shader Cache Cleaner
- 9 Windows Page File
- 10 Background App Processing
- 11 Background Downloading & Sharing
- 12 Disable Real-Time Antivirus Protection
- 13 Core Isolation
- 14 Disable Windows NDU
- 15 Memory Compression
- 16 Game Bar Settings
- 17 Simplify with a C:\MSFS Folder
Windows Game Mode (off)
- Type Game Mode in the taskbar search box
This one depends completely upon your system, so try it both ways.MSFS has recommended it be on in the ZenDesk support site.
In theory Windows Game Mode will prioritise the game and prevent background downloading. I have seen background updating by 3rd party software anyway, so perhaps this isn’t enforced globally.
Windows Power Plan
- Type Power Plan in the taskbar search box to open your Power Options dialogue.
In theory you don’t need to choose a high performance power plan since MSFS will take the required power as necessary. You can leave this setting at normal unless you need to prevent various parts of your system from shutting down to save energy.
You should check to see what your power options are set to currently. High Performance is the safer option if you aren’t sure what to do. As you can see in the Graphics Performance Preference section, you can set the power plan and thread priority to high performance just for MSFS.
!! Warning !!
High Performance on laptops since will degrade the battery faster than the savings modes.
It you want to test this, then ideally you will benchmark your GPU using both the high performance and balanced options.
The surprise result was that the balanced power mode scored better than the performance mode.
Turn Off Windows Fast Start
The Fast Start option saves the current state of your computer so you can get to work quickly. MSFS is a complicated piece of software so you do not want to save any bad states for next time. Turn off the Fast Start option so that you can completely reset your computer’s memory, giving all the addons the best chance to work nicely.
To find the option in Win11
- Old Control Panel (as embedded desktop app)
- Hardware and Sound
- Power Options
- System Settings
- Shut-down settings (title)
- Turn on fast start-up
CPU Max Setting
- Type Power Plan in the taskbar search box to open your Power Options dialogue.
- Select: Change Plan Settings
- Select: Change Advanced Power Settings
- Find: Processor Power Management
Your The Maximum Processor State is set to 100 by default, and in MSFS this will give you access to the full amount of boost you may have applied via the BIOS or custom overclocking. Its worth checking if you have ever adjusted it.
For example: the Handbrake video converter does not give the CPU a rest and drove the temperature to over 90°C, uncomfortably close to its limit. By adjusting the Maximum Processor State to 99% the heat of the CPU dropped by 15°C. In theory the CPU will protect itself via thermal throttling, but I’d rather not be in that position in the first place. However, with the CPU at 99%, the clock frequency for the CPUs dropped back to their base frequency of 3600 MHz.
Note that the boosted state (5000 MHz) was provided by default overclocking provided by the MSI BIOS and the windows power modes.
Windows Graphics Settings
- Type Graphics Settings in the taskbar search box
Each of the settings are discussed below.
Hardware Accelerated GPU Scheduling (HAGS)
- Type Graphics Settings in the taskbar search box.
Bear in mind that you will need to restart the PC for changes to take effect.
When ‘on’, this setting will move time-slicing from a high-priority thread to the GPU hardware, which is strictly enforced.
For Quest 3, HAGS improved the image quality and should be switched on.
In the Rift S I found this option to be a little harsh compared to the software equivalent and was visible in the micro steps made by the landscape as it passed by.
The biggest difference between GPU scheduling or not is how the system reacts to overload. The GPU scheduled version is strict and tends to stutter more noticeably and more often than the non-GPU version. The non-GPU version has a softer response, which is a plus, but the mouse became inactive fairly often when in Windowed mode which I was using to help the testing. No doubt, this effect came and went as the GPU usage exceeded 90% capacity but moving the sim from windowed mode to full screen mode cleared that problem up.
Variable Refresh Rate
- Type Graphics Settings in the taskbar search box
When ‘on’, this setting will support adaptive rates in DX11 games. Adaptive rates will allow increased frame rates when possible. The extra frames will aid ASW/Reprojection which uses the most recent frame to generate a new frame when required. Younger frames will require less reprojection than older ones, so the end result is more accurate and should cause less smearing.
Own the other hand if you are going for a constant 30Hz refresh rate backed by a matching ASW / Reprojection value of 30, this value will be ‘off’.
Optimisations for windowed games (on)
- Type Graphics Settings in the taskbar search panel
Allows games to run in a window effectively. Windowed mode allows you to ALT-TAB away from the game UI do do other things. Some of these features have already been encoded into Direct-X 12 for example.
Add MSFS to the performance list in order to control its power mode when it is run, then click on the options panel to select High performance.
Graphics Performance Preference
- Start > Settings > System > Display > Graphics
By using the Graphics Performance Preference there will be no need to set a high performance plan for the whole computer, and no need to manually raise the thread priority of the flight sim executable each time you run the sim – this will happen automatically.
Processes started by a user or administrator will have a root thread priority of 8 (‘normal’). When the MSFS executable is set to High Performance mode it’s root thread priority is set to 10 (‘above normal’).
Task Manager’s thread priority ‘set’ command has a pre-selected option that doesn’t necessarily represent the current thread priority value displayed in other applications. I assume that Task Manager does not read the current state of the thread in order to build its settings menu although it does remember and display its own internal state.
Performance Allocation to Foreground or Background
- Type Performance into the taskbar search box
- Select the result entitled Adjust the Appearance and Performance of Windows
- Select the Advanced tab
- Start > Right Click Menu > System > Advanced System Settings (on the right hand side)
- In the dialogue select the ‘Advanced’ tab
- Choose an option in the ‘Processor Scheduling’ group
The dialogue related to this section is called Performance Options. On the advanced tab, you can choose to give background services priority over foreground programs. This is something you would normally set for a server since the user interface is not the main purpose of the machine.
There is divergence of opinion on how to handle the execution priority of MSFS:
- On the one hand you can take the obvious route of pumping it up (see Graphics Performance Preference)
- but there is a second method (see Performance Allocation) whereby you can change Windows to prefer supporting background services and switch of execution enhancement for MSFS. This might allow the headset and other processes to run more smoothly.
Enhancing background support contradicts other advice in this article series that suggests you set MSFS to a higher priority. You will need to bear in mind that there is more than one way to configure all of the available options to reach your goal and experiment to find the combination that works for your hardware and preferences.
Shader Cache Cleaner
Also known as the Disk Clean-up tool. You can remove a lot of stutter clutter by cleaning the shader cache. To launch the tool, in the task bar search for the Disk Clean-up tool.
You can also find a large cache at the following address by replacing <username> with your own id. Make a shortcut for convenient access.
Windows Page File
- Type: Adjust the appearance and performance of windows in the taskbar search box
- Select the Advanced tab
- Refer to the Virtual Memory group box
A Page File is a block of memory on a hard drive that is used as an extension of the RAM for:
- For the OS to use for own reasons
- As performance safety net if you run out of memory for the applications you have loaded.
The OS will always want to use the Page File for its own purposes even if you have a lot of excess main memory available, but you can aid MSFS Sim performance by installing enough RAM for the whole sim to run in. Before you decide what to do, measure your RAM requirement as detailed below.
Since Sim Update 5 you should be OK to ignore the page file if you have at least 32 Gb of RAM. If you have 16 Gb of RAM, the page file will be need to be about 10 Gb in size (see below).
Disk Capacity & Page File
Just a note to say that if your hard disk is full, this will also affect the performance of the page file due to fragmentation. The extra effort of juggling the fragments will build up exponentially, therefore it’s a healthy thing to have excess disk space as well as excess RAM.
If possible its better not to have anything running near its limits, including the power supply, for example.
How to Determine the Page File Size
To determine the size of the page file you will need to measure the maximum amount of memory that your system uses when MSFS and all of your addons & tools are loaded. In the tool that I am suggesting below, this is called the Peak Commit Value.
The Peak Commit value is the maximum amount of memory your system needs to operate in the way you are using it. This includes Windows, MSFS and all the tools and meshes that you have loaded while you are flying. What you should do is maximise this number by taking MSFS through its worst-case flying scenario and add video recording and anything else you might want to use at the same time.
Although you can find the current usage in the task manager memory usage tab this is not the most convenient way to measure it. Instead, download Process Explorer then run it look for the Peak Commit Charge on display at:
Process Explorer > Menu > View > System Information
Look in the Commit Charge (K) group box and find Peak. Unlike the task manager, the peak value shown here is a record of the maximum value recorded since you opened Process Explorer.
This is significantly less than before.
The Page File Calculation
Once you know your Peak Commit Charge (maximum memory usage):
Page file size = Peak Commit Charge – system RAM size
- If the page file size is negative, you don’t have a problem so enable an automatically managed paging file.
- If the page file size is positive set the Initial Size to your calculated value and the maximum size to any reasonable higher number, for example twice the initial size.
In the screenshot shown above, the total memory usage recorded is 25.4 GB. This is far less than before MSFS Sim Update 5 and will run in a 32 GB system without a problem. If you have 16 GB of system RAM, the page file start value should be set to (26 – 16 =) 10 Gb and limited to a maximum of 20 GB.
How to Modify the Page File Size
To change the page file size:
- Type Performance in the taskbar search box
- Select ‘adjust the appearance and performance of windows‘ to locate the performance options dialogue box.
- Select the Advanced tab
- Locate the Virtual Memory group box and select Change.
- Deselect ‘automatically manage paging file size’ if you need to set a custom size
- Select the drive where Windows 10 is installed, normally C drive
- Select ‘custom size’
- Type in the number of gigabytes you want, the bearing in mind the text box is scaled to megabytes.
The Page File Location
The location of the Page File is significant since an M.2 drive can be up to 10 times faster than an SSD. However, the page file is part of Windows and so in effect you should use your fastest drive as the default C drive upon which you should install Windows and the MSFS data & rolling caches.
The Result of Upgrading to 64Gb RAM and a Fast 2TB M.2 Boot Drive
Note: this was relevant before Update 5 – at that time the peak memory use could reach 45 Gb in my system when everything was loaded.
I increased my RAM from 32Gb to 64Gb and replaced my SSD boot drive with a 2TB m.2 drive that was about 11 times faster. The extra RAM I added meant my system would no longer need to use the Page File, and that reduced stuttering. It also provides plenty of RAM space to generate increased texture resolutions and similar, so the quality could increase without spilling into the slower page file.
The large, fast m.2 boot drive now holds the MSFS program as well as the cache and packages folders. The MSFS quick-start loading time is unchanged at 00:02:14 on its first run of the day. It is probably limited by the transfer rate into the graphics card at a guess.
Conclusion: It was a fairly expensive upgrade providing fairly moderate results so if you don’t want to spend the extra money here, it would be more cost-effective to put the money towards a graphics card with plenty of onboard RAM. Since I’ve been stuck indoors for a year and I can’t buy a graphics card (both due to COVID-19), I thought it would be worth a shot and would add in some longevity to the computer’s lifespan.
Clear Memory to Prevent Stutter
These can be used to solve stutter in the following circumstances:
- Stutter due to MSFS memory clutter in a flight lasting more than an hour
- Anyone who is running MSFS on a computer with a limited amount of RAM
This is not an automated program. The ’empty’ menu item gives you more control over how to free up memory, and some of the settings can have a dramatic effect.
Intelligent Standby List Cleaner
(but didn’t seem to stop the stutters)
Download Intelligent Standby List Cleaner
I was able to test the Intelligent Standby List Cleaner after an hour long flight going back and forth between two newly purchased airports. There was a lot of stuttering, so I loaded the list cleaner and hit the ‘purge’ button . The screenshots show the difference, but that didn’t stop the stuttering. Perhaps it needed more time to reload the airport.
Background App Processing
- Type Background Apps In the taskbar search box
These apps can run at the same time as MSFS, and may degrade your flight experience. Although you can turn them all off with a single click, Microsoft Flight Simulator also appears in this list as well, so review them individually.
Background Downloading & Sharing
- Type: Delivery Optimisation advanced settings in the taskbar search box
- The Advanced Options is one step too far. Go back one step (<- settings) to the page entitled Delivery Optimisation.
- Refer to Allow downloads from other PCs (I have set mine to off).
You should be aware of your downloading policies regarding things like Windows Updates and Steam game downloads. It’s easy to forget the background activity that can silently degrade the work you have put into balancing the sim settings.
Be aware that if you have the Delivery Optimisation switched on you may also be feeding information to other computers too. It’s not harmful but it may be affecting your sim quality.
Disable Real-Time Antivirus Protection
The real-time monitoring by the Windows Antimalware Service (a.k.a. Windows Defender) can cause stutter. Although on average the CPU usage was only 1.5% on my system, it is examining everything that is being loaded by MSFS and thereby causes noticeable frame timing problems.
- Enabling ‘game mode’ does not stop the real-time virus checking
- Adding all the accessible MSFS folders and package folders to the exclusion lists of the antivirus program (defender) did not help.
- The only thing that worked was disabling real-time protection.
- With real-time protection off your computer will be more vulnerable to attack than otherwise
- You may forget to turn it back on after each use of the flight sim, but it promises to re-enable itself ‘after a short time’. It did re-enable itself after I restarted the computer.
- There isn’t a quick way to turn it on and off, you have to open up the dialogue etc.
The best I can suggest is to put the Windows Security icon onto the task bar so it’s state is visible:
- Right-click the task bar and choose Taskbar Settings
- Scroll down the page and find the title: ‘Notification Area’
- Click on ‘select which icons appear on the taskbar’
- Find and enable: ‘Windows Security notification icon’
To disable real-time protection:
- Right click the windows security icon and choose View Security Dashboard
- Click on Virus and Threat Protection
- Find the title: ‘Virus and Threat Protection’
- Underneath that title click on ‘Manage settings’
- Turn Real-Time Protection off
Location: type Core Isolation into the task bar search box
This is a security feature that adds about 10% to the FPS if it is on. On my computer it was already in the ‘Off’ mode, so it might well be part of a defensive response to a malicious threat as opposed to a permanent shield.
Disable Windows NDU
I think this one is best ignored unless you are having significant problems, so I won’t show the actual fix here.
This is what I can tell you about it:
- Google says NDU stands for either Network Diagnostic Usage or Network Data Usage, the common words being Network & Usage. It’s probably a network usage monitoring tool and is linked to an executable called NDU.sys in System32.
- This fix involves changing a registry value, so if you are not sure how to do that then leave it alone.
- You are likely to forget that you have changed the registry and that could cause problems in future.
- The NDU service is said to have the job of detecting USB devices when they are connected to the system. When you disable it, you will no longer be able to detect a new USB device when you plug it in.
Here is a useful video from 737NG Driver discussing it with a realistic attitude, and another by Easyjetsimpilot. The latter’s comments section suggests that for some it makes a big difference, but for others there is little or no change.
- You can access this setting via a command prompt / DOS box / Windows Terminal in admin mode
- I recommend you leave this setting alone!
- Note 1: memory compression occurs even if you have an excess of available memory.
- Note 2: Altering Memory Compression will not improve the FPS of a game, as shown in this video by Britec09.
When memory compression is enabled, blocks of memory that are on standby are compressed in order to release up to 70% of its memory footprint to other programs. This is a much faster option than accessing a page file on a disk.
You can find your current memory statistics within the task manager: select the Performance tab, choose the Memory item, and underneath the Memory Usage graph is a memory composition bar. Hover your mouse over it to see the details in a tooltip window. The summary is onscreen as shown marked in red.
Game Bar Settings
- To open the Game Bar press: Windows Key + ALT + G
You should disable audio recording if you aren’t using it.
Simplify with a C:\MSFS Folder
This is not an FPS saver, but will make things easier in general since you will be able to locate the community and related folders easily.
Graphics settings are reset when the packages path is altered.
- Create the new folder structure:
- Move the following folders over:
- Move your saved Community and Official folders into the Packages folder.
- Move your manual and rolling cache files into the Cache folder.
There is a reference to the Packages folder at the end of the UserCfg.opt file. I have used this method before but I can’t recommend it for people who are unsure. It might be better to delete and reinstall MSFS so it will ask you where to put the packages during its first launch. The core MSFS files are about 1 GB in size and so wont take too long to replace on an average broadband link.
- Ensure you have already moved the packages and cache files as described previously before you continue.
- Uninstall MSFS
- Reinstall MSFS
- Start the sim.
- Data will be synced, meaning that all the configurations for your controllers are being retrieved.
- You will now be offered the chance to choose your packages path, so you can select the packages folder you created above. Microsoft Flight Sim will check for updates by scanning the directories. If all goes well, it will find all the packages you moved from the original installation and MSFS will decide that no downloads are required.
- Microsoft Flight Sim will now go to its home screen.
- Open ‘Options > General > Data’ and set the rolling cache path to the new location.
- Select ‘view the manual cache’ and set its cache file location as necessary.
- Open ‘Options > General > Graphics’ and set your options as required.
- All done – now you can reach the community folder easily.