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.

Horrible FSLabs performance P3Dv5.2 HF1

Featured Replies

I just posted this in the FSL thread: https://forums.flightsimlabs.com/index.php?/topic/30307-fps-issue-with-the-fslabs-in-52/

 

In case anyone would like to try the same and report back

 

I spent the better part of this weekend attempting to figure out why the FSL A320/321SL were performing noticeably worse in 5.2 HF1 than in 5.2, specifically during the latter states of cruise all the way to shutdown at the gate. My system maintains 30 FPS / 30Hz with ease under any scenario in P3D, however following the upgrade to HF1 I was suddenly experiencing significant stutters while panning view via Chaseplane/TrackIR and only in FSL aircraft. Strangely enough my FPS never actually reduced below the intended 30FPS / 30Hz. Always beginning in cruise and lasting until shutdown at the gate and restart of the sim.

To narrow this down, I downgraded back to to 5.2, performed the identical KLAX-KSFO flight in the A321SL and the experience was smooth throughout as expected. Upgraded back to HF1, performed the identical flight again and the stutters were back again (beginning in cruise).

In both v5.2 and HF1 my CPU's 6 physical cores (HT disabled) never go beyond 55% load and my 3080Ti is barely at 25% load, in other words the HF1 stutters were definitely not being caused by a CPU/GPU at its limit. 

IIRC, LM changed the CPU/GPU scheduling in 5.2 and tweaked it further in HF1. I experience better performance using HF1 (compared to 5.2) with all aircraft in all scenarios except for the FSL family. 

I repeated my HF1 "test flight" again and upon reaching cruise began observing the EFB's cef_browser.exe via Process Lasso. I always have five instances of the .exe running (according to Process Lasso) and interestingly each one has a different (default) affinity range, all however having access to core 0.

I believe that the Chrome based EFB which is rendered via cef_browser.exe (located in \FSLabs\cef_binary\release) is causing a negative performance impact in HF1.

Via Process Lasso I set cef_browser.exe CPU affinity to exclude only Core 0 and upon re-testing the same KLAX-KSFO flight twice I am now pleased to report that performance is back to what I was experiencing in 5.2 (and prior). No stutters whatsoever and P3D maintains the intended 30 FPS / 30HZ throughout.

Any chance the team could take a look at this? As you know, CPU affinity can have a wide range of impacts and results depending on the CPU, which would explain why some of us saw a noticeable performance decrease in HF1 and others did not. Especially using SL vs offensive initials not allowed as reported here:

https://forums.flightsimlabs.com/index.php?/topic/29252-noticeable-performance-issue-sl-offensive initials not allowed/page/4/


The EFB's cef_browser.exe may benefit from a similar CPU optimization/affinity policy that the FSL benefits from (I have FSL CPU optimization enabled). 

My FSL HF1 performance is now back to or better than what it was in 5.2, simply by allowing cef_browser.exe to utilize any core except for Core 0. 


My system: i9-9900k (6 cores @ 5.0 Ghz), EVGA 3080Ti FTW3 @ 4K, 32GB RAM, 1TB M.2 for P3D only.  - No P3D.cfg tweaks

Edited by PinkPony

  • Replies 49
  • Views 10.5k
  • Created
  • Last Reply

sorry been working for a week just catching up 

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 

  • Author
On 7/21/2021 at 9:53 AM, Ray Proudfoot said:

That’s a 6 core 12 Virtual Processor CPU designed for mobile devices. The same principle applies. Use only 1 of the 2 VPs for each core and you should get a better performance.

So 101010101010 in binary equates to 2730 in decimal. 1=on; 0=off.

Open prepar3d.cfg and at the bottom paste this entry...

[JobScheduler]

AffinityMask=2730

Save and exit. Start P3D and after a couple minutes of flying open Task Manager, choose the Performance tab, choose CPU on the left and observe the activity in core 0 which hopefully will be under 100%.

No graphs are attached. Just logical thinking. Going back to 5.1 is not recommended. If you want to learn about AM this is an excellent guide. Don’t use the graphics guide as that’s for FSX and P3D 64-bit is a very different animal.

 

Thank you very much for the help.
I'm going to try this now.
 

Question: Should I enable Hyper-threading on my pc? I'm a bit of a newbie to hyper-threading and affinitymasks.

1485989

  • Moderator
59 minutes ago, roostbrood said:

Thank you very much for the help.
I'm going to try this now.
Question: Should I enable Hyper-threading on my pc? I'm a bit of a newbie to hyper-threading and affinitymasks.

Try it with and without HT. I have now turned it off as HT increases CPU temperature and you can’t overclock as much.

Using AI Suite III (only for Asus motherboards) I was able to overclock my CPU to 5.2 for the first 3 cores with the other 3 running at 5.0. The software does everything for you so no risk involved. Do you have an Asus motherboard?

You can read about my experience here.

https://www.avsim.com/forums/topic/603806-30fps-unobtainable-but-core-0-is-not-at-100/?do=findComment&comment=4584758

 

Ray (Cheshire, England).

System: P3D v5.3HF2, Intel i9-13900K, MSI 4090 GAMING X TRIO 24G, Crucial T700 4Tb M.2 SSD, Asus ROG Maximus Z790 Hero, 32Gb Corsair Vengeance DDR5 6000Mhz RAM, Win 11 Pro 64-bit, BenQ PD3200U 32” UHD monitor, Fulcrum One yoke, Fulcrum Throttle Quadrant.

Cheadle Hulme Weather website.

chlive.php

  • Author
On 8/2/2021 at 5:26 PM, Ray Proudfoot said:

Try it with and without HT. I have now turned it off as HT increases CPU temperature and you can’t overclock as much.

Using AI Suite III (only for Asus motherboards) I was able to overclock my CPU to 5.2 for the first 3 cores with the other 3 running at 5.0. The software does everything for you so no risk involved. Do you have an Asus motherboard?

You can read about my experience here.

https://www.avsim.com/forums/topic/603806-30fps-unobtainable-but-core-0-is-not-at-100/?do=findComment&comment=4584758

 

No idea which motherboard I have. 

I also had a look and saw I have hyperthreading enabled, so I'll just keep it on. 

By the way, the AffinityMask you gave me really did a significant impact on my fps in the FSLabs, just gotta try again with other aircraft. 

Thank you very much! 

1485989

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.