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.

Long stutters with FSL and hyperthreading on/Affinity Mask

Featured Replies

My system is a 5600x (6c/12t) with a 3080ti. Recently, I started getting long stutters/pauses in the FSL A32X, about 2 seconds every couple of minutes, especially in scenery-dense areas around airports on departure/arrival. 

It only seems to happen when I have SMT/hyperthreading turned on and using the following AM:

[JobScheduler]
AffinityMask=4053
P3DCoreAffinityMask=4053
MainThreadScheduler=0
RenderThreadScheduler=1
FrameWorkerThreadScheduler=2

 

If I turn SMT off, so just 6 cores total, and let P3D rebuild the AM to default, the stutter goes away:

[JobScheduler]
AffinityMask=63
P3DCoreAffinityMask=63
MainThreadScheduler=0
RenderThreadScheduler=2
FrameWorkerThreadScheduler=4

Is there anything I can do to be able to have SMT on and stop this stuttering? 

 

 

 

Why would you want to use SMT if it's not good for P3D?

 

OS=WIN11 Home, Sim=P3D5 5.3 (P3D4 and FSX for install reasons)
Addons=ORBX, ASCA, AS, TOGA and tons of sceneries, aircraft

MB=Gigabyte AORUS Z790 Elite AX, CPU=i13900K, Cooling=Be quiet! Pure Loop II FX
GPU=KFA2 RTX3090 24 GB, RAM=64 GB DDR5-5600, HOTAS=Logitech G Saitek X52 Pro

Visit my website for fixes and addons: https://sites.google.com/view/dans-p3d-mods

  • Author
36 minutes ago, blaunarwal said:

Why would you want to use SMT if it's not good for P3D?

 

Well supposedly you can achieve the same or better perf with SMT/HT on in P3D these days, and I'd prefer to keep it on for other apps and workloads besides P3D. I just have to figure out why FSL in particular doesn't like it on my system. 

You could try using an affinity mask that limits P3D to one virtual CPU per physical core (e.g. 1365 = 010101010101), which effectively disables SMT for P3D, but leaves it available for everything else running on the computer.

 

Bob Scott | President and CEO, AVSIM Inc
ATP Gulfstream II-III-IV-V

Sys1 (MSFS20+24/XPlane12+11): AMD 9800X3D, water 2x240mm, MSI MPG X670E Carbon, 64GB GSkill 6000/30, nVidia RTX4090FE
Alienware AW3821DW 38" 21:9 GSync, 2x4TB Crucial T705 PCIe5 + 2x2TB Samsung 990 SSD, EVGA 1000P2 PSU, 12.9" iPad Pro
Thrustmaster TCA Boeing Yoke, TCA Airbus Sidestick, Twin TCA Airbus Throttle quads, PFC Cirrus Pedals, Coolermaster HAF932 case

Sys2 (P3Dv5/v4): i9-13900KS, water 2x360mm, ASUS Z790 Hero, 32GB GSkill 7800MHz CAS36, ASUS RTX4090
Samsung 55" JS8500 4K TV@60Hz,
3x 2TB WD SN850X 1x 4TB Crucial P3 M.2 NVME SSD, EVGA 1600T2 PSU
Fiber link to Yamaha RX-V467 Home Theater Receiver, Polk/Klipsch 6" bookshelf speakers, Polk 12" subwoofer, 12.9" iPad Pro
PFC yoke/throttle quad/pedals with custom Hall sensor retrofit, Thermaltake View 71 case, Stream Deck XL button box

Sys3 (DCS/P3Dv4/ATS/ETS): AMD 7800X3D, MSI MPG X870E Carbon, Noctua NH-D15S, 64GB GSkill 6000/30, EVGA RTX3090
Alienware AW3420DW 34" 21:9 GSync, Corsair HX1000i PSU, 4TB Crucial T705 PCIe5 + 2TB Samsung 970Evo Plus,
TM TCA Officer Pack
, Saitek combat pedals, TM Warthog, TM RS300 FF wheel/pedals, Coolermaster HAF XB case

You could try to move the umpolicy away from the FSL folders (there are several if you have expansions packs)

Say no to rebuild when launching P3D and see if it works for you.

Michael Moe

Michael Moe

 

fs2crew_747_banner1.png

Banner_FS2Crew_Emergency.png

4 hours ago, Chapstick said:

Well supposedly you can achieve the same or better perf with SMT/HT

Well, I think you proved, you can´t.

OS=WIN11 Home, Sim=P3D5 5.3 (P3D4 and FSX for install reasons)
Addons=ORBX, ASCA, AS, TOGA and tons of sceneries, aircraft

MB=Gigabyte AORUS Z790 Elite AX, CPU=i13900K, Cooling=Be quiet! Pure Loop II FX
GPU=KFA2 RTX3090 24 GB, RAM=64 GB DDR5-5600, HOTAS=Logitech G Saitek X52 Pro

Visit my website for fixes and addons: https://sites.google.com/view/dans-p3d-mods

Try removing FSL UM policy , worth a try 

ROG Crossair Hero X670e , 9900X, TUF 4090 , X4 NVME's. OS  2TB 980 Pro , MSFS  2TB WD Black , Kington Fury 64GB ram ( 6000) Corsair RM1000 PSU, Artic Freezer iii 360 AIO  . Phanteks P600s Case ,TCL QM8B 50" 120 Hz  TV,second 24 inch screen for charts you tube etc, and 11" touch screen for the EFB. Warthog Stick and TCA Captains throttle ( full pack)  Velocity 1 Rudder Pedals , extreme3D for the Tiller,Streamdeck XL x2 / Streamdeck +/Streamdeck mini because i like pressing buttons 

What's UM Policy ?

How can it be turned on / off ?

Flying gliders since 1980

Flightsimming since 1992

AMD Ryzen 5600x, 32GB RAM, GPU Nvidia RTX 3060 Ti 8 GB, 1 TB and 500 GB nvme2 SSD drives, HP 27" 60Hz LED monitor @ 1920x1080, T16000, Hotas from old X52 Pro, Saitek Combat Rudder Pro (2010 model)

4 minutes ago, jcomm said:

What's UM Policy ?

How can it be turned on / off ?

C/Users/YOU/Documents/Prepared3D Addon-ons/FSLabs/A320/Data/UMPolicy

Cut and paste to desktop( do not delete yet). Do that for all your FSL aircraft. i only fly 320 SL so i have removed the UM for that aircraft. I read on this and other forums there is a conflict with p3d affinity, give it a try !

ROG Crossair Hero X670e , 9900X, TUF 4090 , X4 NVME's. OS  2TB 980 Pro , MSFS  2TB WD Black , Kington Fury 64GB ram ( 6000) Corsair RM1000 PSU, Artic Freezer iii 360 AIO  . Phanteks P600s Case ,TCL QM8B 50" 120 Hz  TV,second 24 inch screen for charts you tube etc, and 11" touch screen for the EFB. Warthog Stick and TCA Captains throttle ( full pack)  Velocity 1 Rudder Pedals , extreme3D for the Tiller,Streamdeck XL x2 / Streamdeck +/Streamdeck mini because i like pressing buttons 

Ah !  That !!!

I only have P3D installed a couple, at most 3 times a year, for the FSL and Active Sky only, and everytime I think I have seen that "massage" that supposedly the FSL installer does to my process affinity for P3D.exe. 

So that's it - there used to be a way to not enable it during install, but the last time I installed a 1 month professional dev license I got the idea I was no longer able to opt out from it 😕

So, what you pointed me to is very useful ! Thanks !

I am also ( just like the OP ) on a Ryzem 5600x, 6 core / 12 SMT vCPUs.

👍

I also would like to take this chance to ask for yet another suggestion:

- Coupled with that UMPolicy "blockage", what should I set in my 

[JobScheduler]

section, given I'm on a 6 core CPU with SMT enabled ?

THANKS !

Edited by jcomm

Flying gliders since 1980

Flightsimming since 1992

AMD Ryzen 5600x, 32GB RAM, GPU Nvidia RTX 3060 Ti 8 GB, 1 TB and 500 GB nvme2 SSD drives, HP 27" 60Hz LED monitor @ 1920x1080, T16000, Hotas from old X52 Pro, Saitek Combat Rudder Pro (2010 model)

have A LOOK IN THERE

ROG Crossair Hero X670e , 9900X, TUF 4090 , X4 NVME's. OS  2TB 980 Pro , MSFS  2TB WD Black , Kington Fury 64GB ram ( 6000) Corsair RM1000 PSU, Artic Freezer iii 360 AIO  . Phanteks P600s Case ,TCL QM8B 50" 120 Hz  TV,second 24 inch screen for charts you tube etc, and 11" touch screen for the EFB. Warthog Stick and TCA Captains throttle ( full pack)  Velocity 1 Rudder Pedals , extreme3D for the Tiller,Streamdeck XL x2 / Streamdeck +/Streamdeck mini because i like pressing buttons 

If you look at the task manager cpu usage with fsl a32x, all cores enabled by the p3d main affinity mask entry are being used equally, regardless of the other new p3d cpu affinity settings you put. This indicates there is probable issue with FSL cpu optimization, as normal p3d cpu usage should not look like that, and indicates lot of thread bouncing among cores made worse with HT enabled. That may be causing thread stalling and the long stutters, also resulting in p3d clock increasingly lagging behind. In normal conditions only the main job running core should have uniformely highest cpu use while others much lesser and variable when moving, which is the case seen with most other aircrafts.

so does the fslabs UMP only make changes when running fslabs aircraft?

5800X3D, 4090FE, 64GB DDR4 3600C16, Gigabyte X570S MB, EVO 970 M.2's, Alienware 3821DW  and 2  22" monitors, Corsair RM1000x PSU,  360MM MSI MEG, MFG Crosswind, T16000M Stick, Boeing TCA Yoke/Throttle, Skalarki MCDU and FCU, Logitech Radio Panel/Switch Panel, Spad.Next

  • Author
5 hours ago, sonny147 said:

Try removing FSL UM policy , worth a try 

Unfortunately, the stutter is still present without the UMPolicy files. It's very strange because it wasn't doing this a week ago. 

any new software ?

ROG Crossair Hero X670e , 9900X, TUF 4090 , X4 NVME's. OS  2TB 980 Pro , MSFS  2TB WD Black , Kington Fury 64GB ram ( 6000) Corsair RM1000 PSU, Artic Freezer iii 360 AIO  . Phanteks P600s Case ,TCL QM8B 50" 120 Hz  TV,second 24 inch screen for charts you tube etc, and 11" touch screen for the EFB. Warthog Stick and TCA Captains throttle ( full pack)  Velocity 1 Rudder Pedals , extreme3D for the Tiller,Streamdeck XL x2 / Streamdeck +/Streamdeck mini because i like pressing buttons 

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.