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.

CPU cores are not 100% utilized when “Limited by MainThread”

Featured Replies

Why when “Limited by MainThread” I see in the task manager that CPU cores is not 100% utilized ?

CPU-util.png

 

 

 

Edited by SMN204

  • Replies 31
  • Views 10k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • TacomaSailor
    TacomaSailor

    The Dev Mode FPS tells us that it is Main Thread limited when the frame time (spent preparing a frame for execution/display on the CPU) is greater than the delay waiting for the GPU to do it's process

  • That's not how CPU usage works. Limited by a core doesn't necessarily mean it's pegged at 100%, because it's also dependent on the work of the other cores finishing their workload, and working in tand

  • The sim will always be limited by something. Think of it as the slowest part of the computing/redenring process. It it weren't, your FPS would always increase, ad infinitum. The Main Thread limit

6.05 GHz on a 10600K??

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

The sim will always be limited by something. Think of it as the slowest part of the computing/redenring process. It it weren't, your FPS would always increase, ad infinitum.

The Main Thread limitation just means that the processing of the main thread instructions is what is the determining factor in the performance you see. As to why the game doesn't consume 100% of the CPU at all times, I cannot say, but I prefer that to not be the case.

  • Author
14 minutes ago, Bob Scott said:

6.05 GHz on a 10600K??

No, overclocked to 5.0 😃
I don't know why the number in the manager is 6.05.....

CPU-clock.png

 

Edited by SMN204

Taskmanager is not the ideal tool to monitor such things, use e.g. MSI Afterburner for this. In addition, with todays multicore CPUs, utilization percentages of the whole CPU doesnt tell you anything meaningful, but utilization of the GPU does. If it is significantly below 95%, you are CPU limited, no matter what the overall CPU utilization percentage tells you. Reason: think of a eight-core CPU, one core at 100%, seven cores at 0%. The overall load is only 12.5%, yet you are fully CPU limited due to the one core (usually the main thread on it) being at 100%.

Greetings, Chris

AMD Ryzen 7 9800X3D, 2x32GB DDR5 6000MT/s RAM, MSI RTX 4090 Ventus 3X, Windows 11 Home, MSFS2024

3 minutes ago, AnkH said:

Taskmanager is not the ideal tool to monitor such things, use e.g. MSI Afterburner for this. In addition, with todays multicore CPUs, utilization percentages of the whole CPU doesnt tell you anything meaningful, but utilization of the GPU does. If it is significantly below 95%, you are CPU limited, no matter what the overall CPU utilization percentage tells you. Reason: think of a eight-core CPU, one core at 100%, seven cores at 0%. The overall load is only 12.5%, yet you are fully CPU limited due to the one core (usually the main thread on it) being at 100%.

The OP shows a screenie of the per-core utilization, and that pic makes it clear that this is not an issue of averaging core ute rates.  It looks like the core running the main thread (core 5) is running in the low 80% range.

My first guess would be memory/IMC bandwidth limitations.

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

  • Author
8 minutes ago, AnkH said:

Reason: think of a eight-core CPU, one core at 100%, seven cores at 0%. The overall load is only 12.5%, yet you are fully CPU limited due to the one core (usually the main thread on it) being at 100%.

In that case, it's only the speed of the processor in single-core mode that matters, not multi-core mode?
And a CPU with a higher frequency on one core is preferable to a multi-core CPU with a lower frequency of cores?

 

That's not how CPU usage works. Limited by a core doesn't necessarily mean it's pegged at 100%, because it's also dependent on the work of the other cores finishing their workload, and working in tandem with the RAM and GPU. So you never see a perfect utilization of the CPU unless it's a synthetic / render workload. It's all a ballet of utilization.

[MSI MPG X870E Carbon | 9800X3D (PBO +200Mhz / -20 Offset) | Corsair 64GB DDR5 (Custom Timings) | RTX 4090 Founders Edition (Undervolted) | WD SNX 850X 4TB + 4TB | Antec Flux Pro]

 

  • Author
4 minutes ago, Bob Scott said:

My first guess would be memory/IMC bandwidth limitations.

I have a DDR4 3200.   32GB.
Is that the reason?

DRAM.png

No, memory is NOT the issue here. As I said, your GPU is only at 63%. As I said, this is sufficient to tell that you have a CPU Limit. And yes, better single core performance is still preferable in MSFS. Might change (hope so) with MSFS2024, considering the published system requirements.

Greetings, Chris

AMD Ryzen 7 9800X3D, 2x32GB DDR5 6000MT/s RAM, MSI RTX 4090 Ventus 3X, Windows 11 Home, MSFS2024

20 minutes ago, SMN204 said:

I have a DDR4 3200.   32GB.
Is that the reason?

It's probably a good part of it.  3200 CAS 16 memory is "Joe Average" RAM with ~10ns latency, and the 10600K has a pretty limited cache on top of that.  So your CPU is having to wait for data from the memory subsystem where computers with faster RAM and CPUs with much more cache don't.

The memory speed is how fast the clock ticks, the CAS (column address strobe) latency is a measure of how many clock cycles the CPU has to idle from the time a memory read request is made until the data is available on the data bus.  Faster clock speeds and lower CAS latency means faster access to the data--less CPU cycles spent idling while waiting for data.  The large increase in performance with the AMD X3D CPUs, which have massive L3 cache memory capacity, illustrates how sensitive MSFS actually is to memory bandwidth.

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

  • Author
6 minutes ago, Bob Scott said:

It's probably a good part of it.  3200 CAS 16 memory is "Joe Average" RAM with ~10ns latency, and the 10600K has a pretty limited cache on top of that.  So your CPU is having to wait for data from the memory subsystem where CPUs with faster RAM and much more cache don't.

And which memory (DDR4) would be the best choice in my situation?
i5-10600k (5GHz) + MSI MPG Z490

Edited by SMN204

Forget about this memory discussion please. Fast memory provides you with max. 10% FPS if you are lucky. In the scenario shown here we speak about 2-3 FPS. Besides the fact that 3200MT/s is already above specs for the 10600K IMC...

Greetings, Chris

AMD Ryzen 7 9800X3D, 2x32GB DDR5 6000MT/s RAM, MSI RTX 4090 Ventus 3X, Windows 11 Home, MSFS2024

23 hours ago, AnkH said:

Forget about this memory discussion please. Fast memory provides you with max. 10% FPS if you are lucky. In the scenario shown here we speak about 2-3 FPS. Besides the fact that 3200MT/s is already above specs for the 10600K IMC...

Pretty cheeky of you there, Bucko.

We're not talking about getting a massive boost in performance here.  We're discussing why the CPU is not running closer to 100% on the main core.

I run MSFS on a 10900K at 5 GHz, with 3600 MHz CAS 15 RAM, which is about 17% faster than the OP's 3200/16 RAM, and I have 20MB of shared L3 cache vs the 10600K's 12MB.  With that I see around 90% utilization on the main thread's core in MSFS.

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

  • Author

P.S

I have 3 monitors 2560 x 1440, all screenshots are when running 3 monitors....

 

 

Edited by SMN204

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.