Jump to content
Sign in to follow this  
iFlySimX

MSFS & Hyperthreading

Recommended Posts

14 hours ago, MarcG said:

I was intrigued...

Hyperthreading.jpg?ex=65884820&is=6575d3

🤔will have to see what it's like in a normal flight as that's different from a standard benchmark.
(VR, Reverb G2)

In VR you are most probably GPU llimited 99% of the time, try 2D with an airliner at a busy airport.

  • Like 1

7800X3D | 32 GB DDR5-6000 | RTX 3090 | Acer Predator X34P GSync | Tobii Eye Tracker 5 | Completed all achievements 😛 https://i.postimg.cc/DyjR8mzG/image.png

Share this post


Link to post
Share on other sites
9 hours ago, bobcat999 said:

I really wonder, imagine if you had only two cores but both had hyperthreading,

The minimum spec FS2020 CPU is 4 core (non hyper thread) so yes 4 threads but 4 real cores. I think two cores will struggle no matter what.

  • Like 1

Share this post


Link to post
Share on other sites
47 minutes ago, MrFuzzy said:

In VR you are most probably GPU llimited 99% of the time, try 2D with an airliner at a busy airport.

I never fly 2D so doubt I'll ever do that (or fly airliners for that matter!).


HP Reverb G2 - Windows 11 64bit, Gigabyte Z590 Aorus Elite Mobo, i7-10700KF CPU, Gigabyte 3070ti GPU, 32gig Corsair 3600mhz RAM, SSD x2 + M.2 SSD 1tb x1

Saitek X45 HOTAS - Saitek Pro Rudder Pedals - Logitech Flight Yoke - Homemade 3 Button & 8-directional Joystick Box, SNES Controller (used as a Button Box - Additional USB Numpad (used as a Button Box)

Share this post


Link to post
Share on other sites
2 hours ago, MarcG said:

I never fly 2D so doubt I'll ever do that (or fly airliners for that matter!).

I'm in the same boat. Got SMT disabled yesterday for some testing and absolutely zero difference in fps or even temps so leaving it enabled. Seeing a small but noticeable difference in fps and temps by undervolting a little though.

  • Like 2

Ryzen 7800X3D, RTX 4090, 32GB, Win 11. MSFS2020. VKB, MFG & Virpil controllers. Quest 3 for VR.

Share this post


Link to post
Share on other sites

Has anyone tried comparing behaviors while running both MSFS and FSHud (another known CPU hog)? I had to turn SMT back on for accomodating both P3Dv5 and FSHud (with lots of AI); but I haven't flown MSFS too much recently.

23 hours ago, Bob Scott said:

I used Process Lasso to externally set an affinity mask that keeps MSFS off of the paired virtual CPU on the core running the main thread, so the main thread doesn't share its core with other threads.

 

9 hours ago, 4L0M said:

I use it to allocate some of my e-cores on my 13600KF to run external apps like one e-core assigned to FS Realistic Pro, another e-core to run FSLTL, another e-core to run AnyoneFly etc etc.

You can also tell Process Lasso to always run MSFS with High Priority all the time with one simple click, or instantly make MSFS use maximum performance CPU mode with one click etc.

Looks like I can consider this scenario, instead of just turning SMT off.

 

23 hours ago, Bob Scott said:

I've observed that the main thread runs on the last core (core 9 in my case).

How did you find this out? Unlike P3D v5, I can't choose which core will run MSFS main thread.

 

 

 


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

Main rig: self built, AMD Ryzen 5 5600X with PBO enabled (but default settings, CO -15 mV, and SMT ON), 2x16 GB DDR4-3200 RAM, Nvidia RTX3060 Ti 8GB, 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 Hz, Windows 10 Pro. Runing FSX-SE, MSFS and P3D v5.4 (with v4.5 default airports).

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... sometimes on just battery! FSX-SE also installed, just in case. 

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

Share this post


Link to post
Share on other sites
2 hours ago, Luis Hernandez said:

How did you find this out? Unlike P3D v5, I can't choose which core will run MSFS main thread.

I observed MSFS processor loading using Process Lasso.  The last processor available is loaded up at near 100%, while the others are typically much less, with occasional peaks, probably when processing/loading the next scenery tile.

I turned HT off on my i9-10900K's last core (core 9), and MSFS consistently runs the main thread there, and turning off HT on that core prevents it from having to share the core with other threads running on its companion virtual CPU.  Performance appears to be the same as when I managed it by setting a CPU affinity for MSFS externally with Process Lasso.  I do prefer doing it in the BIOS, though, as it presents no interference with the Windows scheduler that way.

  • Like 1
  • Upvote 1

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

System1 (P3Dv5/v4): i9-13900KS @ 6.0GHz, water 2x360mm, ASUS Z790 Hero, 32GB GSkill 7800MHz CAS36, ASUS RTX4090
Samsung 55" JS8500 4K TV@30Hz,
3x 2TB WD SN850X 1x 4TB Crucial P3 M.2 NVME SSD, EVGA 1600T2 PSU, 1.2Gbps internet
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

Sys2 (MSFS/XPlane): i9-10900K @ 5.1GHz, 32GB 3600/15, nVidia RTX4090FE, Alienware AW3821DW 38" 21:9 GSync, EVGA 1000P2
Thrustmaster TCA Boeing Yoke, TCA Airbus Sidestick, 2x TCA Airbus Throttle quads, PFC Cirrus Pedals, Coolermaster HAF932 case

Portable Sys3 (P3Dv4/FSX/DCS): i9-9900K @ 5.0 Ghz, Noctua NH-D15, 32GB 3200/16, EVGA RTX3090, Dell S2417DG 24" GSync
Corsair RM850x PSU, TM TCA Officer Pack, Saitek combat pedals, TM Warthog HOTAS, Coolermaster HAF XB case

Share this post


Link to post
Share on other sites
19 hours ago, Bob Scott said:

I observed MSFS processor loading using Process Lasso

Understood. I did so, but I found in my 5600x (with SMT on) that both Core0 and Core4 were the most heavily loaded ones. I couldn't tell which one handled the main thread. I guess I'll need to test more; FSHud eats more FPS than my AI, even using FSLTL in both cases.

 


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

Main rig: self built, AMD Ryzen 5 5600X with PBO enabled (but default settings, CO -15 mV, and SMT ON), 2x16 GB DDR4-3200 RAM, Nvidia RTX3060 Ti 8GB, 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 Hz, Windows 10 Pro. Runing FSX-SE, MSFS and P3D v5.4 (with v4.5 default airports).

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... sometimes on just battery! FSX-SE also installed, just in case. 

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

Share this post


Link to post
Share on other sites
On 12/10/2023 at 8:48 AM, Bob Scott said:

In a variation on this theme, I had been running MSFS on my 10-core 10900K with HT off.  I've observed that the main thread runs on the last core (core 9 in my case).

As an experiment I lowered my all-core overclock to 4.8 GHz from 5.1 GHz, turned HT back on, and since MSFS doesn't have a config option to manage processor affinity, I used Process Lasso to externally set an affinity mask that keeps MSFS off of the paired virtual CPU on the core running the main thread, so the main thread doesn't share its core with other threads.  In other words, Process Lasso allows MSFS to use virtual CPUs 0-18, and blocks vCPU 19 so that the core running the main thread doesn't have to share its processor time with other threads.

This is an alternative to the all-or-nothing HT on or HT off approach, and it seems to have significantly mitigated the stability issues I was having with memory access violation (0xC0000005) crashes, and without any real performance hit.

So after some further testing, I've gone back to HT completely off--with HT on I was observing small microstutters in the Fenix displays in climbs/descents.  With HT off those microstutters completely smoothed out, and there was no drop in frame rate. 

I did leave the all-core overclock at 4.8GHz, and slowed my RAM down a notch from 3600 to 3500 MHz, and MSFS is still running stable.  My gut feel is that MSFS is hammering the IMC really hard, and that may have been the genesis of intermittent CTDs caused by memory access violations (0xC0000005  errors).


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

System1 (P3Dv5/v4): i9-13900KS @ 6.0GHz, water 2x360mm, ASUS Z790 Hero, 32GB GSkill 7800MHz CAS36, ASUS RTX4090
Samsung 55" JS8500 4K TV@30Hz,
3x 2TB WD SN850X 1x 4TB Crucial P3 M.2 NVME SSD, EVGA 1600T2 PSU, 1.2Gbps internet
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

Sys2 (MSFS/XPlane): i9-10900K @ 5.1GHz, 32GB 3600/15, nVidia RTX4090FE, Alienware AW3821DW 38" 21:9 GSync, EVGA 1000P2
Thrustmaster TCA Boeing Yoke, TCA Airbus Sidestick, 2x TCA Airbus Throttle quads, PFC Cirrus Pedals, Coolermaster HAF932 case

Portable Sys3 (P3Dv4/FSX/DCS): i9-9900K @ 5.0 Ghz, Noctua NH-D15, 32GB 3200/16, EVGA RTX3090, Dell S2417DG 24" GSync
Corsair RM850x PSU, TM TCA Officer Pack, Saitek combat pedals, TM Warthog HOTAS, Coolermaster HAF XB case

Share this post


Link to post
Share on other sites
10 hours ago, Bob Scott said:

So after some further testing, I've gone back to HT completely off--with HT on I was observing small microstutters in the Fenix displays in climbs/descents.  With HT off those microstutters completely smoothed out, and there was no drop in frame rate. 

I did leave the all-core overclock at 4.8GHz, and slowed my RAM down a notch from 3600 to 3500 MHz, and MSFS is still running stable.  My gut feel is that MSFS is hammering the IMC really hard, and that may have been the genesis of intermittent CTDs caused by memory access violations (0xC0000005  errors).

Yeah, I also did a few more tests in these days to confirm the first results. 

This is the NY landing challenge with the 747 tested with the same addons I use daily, same settings and a fixed cockpit view (all 2nd runs to eliminate caching inconsistencies)

image.png

HT/SMT Off provides a better experience, right where hyperthreading is supposed to help (1% lows, 0.1% lows, stuttering...)

I remember having done the same tests with SU10 and the result was that HT on was slightly better. Asobo has changed something with the following sim updates and that's not good news. In particular with SU14, stutters on the ground at large airports have come back.

 

Edited by MrFuzzy

7800X3D | 32 GB DDR5-6000 | RTX 3090 | Acer Predator X34P GSync | Tobii Eye Tracker 5 | Completed all achievements 😛 https://i.postimg.cc/DyjR8mzG/image.png

Share this post


Link to post
Share on other sites

Both my 13900 and 13600 are running at higher turbo speeds than with HT off. Same good stability.
The cooling never was an issue .Both liquid cooled. 

Enough cores on both of them so no need to turn HT on here ….


13900 8 cores @ 5.5-5.8 GHz / 8 cores @ 4.3 GHz (hyperthreading on) - Asus ROG Strix Gaming D4 - GSkill Ripjaws 2x 16 Gb 4266 mhz @ 3200 mhz / cas 13 -  Inno3D RTX4090 X3 iCHILL 24 Gb - 1x SSD M2 2800/1800 2TB - 1x SSD M2 2800/1800 1Tb - Sata 600 SSD 500 Mb - Thermaltake Level 10 GT case - EKWB Extreme 240 liquid cooling set push/pull - 2x 55’ Sony 4K tv's as front view and right view.

13600  6 cores @ 5.1 GHz / 8 cores @ 4.0 GHz (hypterthreading on) - Asus ROG Strix Gaming D - GSkill Trident 4x Gb 3200 MHz cas 15 - Asus TUF RTX 4080 16 Gb  - 1x SSD M2 2800/1800 2TB - 2x  Sata 600 SSD 500 Mb - Corsair D4000 Airflow case - NXT Krajen Z63 AIO liquide cooling - 1x 65” Sony 4K tv as left view.

FOV : 190 degrees

My flightsim vids :  https://www.youtube.com/user/fswidesim/videos?shelf_id=0&sort=dd&view=0

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...