Jump to content

Steam: 2.9.8.1214+ FPS performance issue


Go to solution Solved by Moezilla,

Recommended Posts

Posted
35 minutes ago, jackd said:

Tip: clean your shader cache files with Windows Disk Cleanup.

Why not just use File Explorer? 😉 Does this app actually seek out shaders? I'm curious. 

Cheers 

  • Like 1
Posted (edited)

Now where's that cache folder? BTW i am just having stutters again after several perfect game starts ...

Disk Cleaner showed me a direct x shader cache on my game drive.

shader cache F.jpg

Edited by jackd
  • Like 1
Posted
29 minutes ago, jackd said:

Now where's that cache folder? BTW i am just having stutters again after several perfect game starts ...

Disk Cleaner showed me a direct x shader cache on my game drive.

shader cache F.jpg

 

Check your FXO and Metashaders folders in Saved Games. 

  • Thanks 1
Posted
1 hour ago, MAXsenna said:

FXO and Metashaders folders

I had deleted two folders, and it did not help in my case.  Thanks.

  • Like 1
Spoiler

Dell XPS 9730, i9-13900H, DDR5 64GB, Discrete GPU: NVIDIA GeForce RTX 4080, 1+2TB M.2 SSD | Thrustmaster Warthog HOTAS + TPR | TKIR5/TrackClipPro | Total Controls Multi-Function Button Box | Win 11 Pro

 

Posted

I am starting to look at the CPU affinity and priority based on the video made by SP:

Windows 10/11 can set both options through Task Manager and I would like to play around to find out any improvement to my DCS.

 

 

Spoiler

Dell XPS 9730, i9-13900H, DDR5 64GB, Discrete GPU: NVIDIA GeForce RTX 4080, 1+2TB M.2 SSD | Thrustmaster Warthog HOTAS + TPR | TKIR5/TrackClipPro | Total Controls Multi-Function Button Box | Win 11 Pro

 

  • ED Team
Posted

I would be interested to know if you see any difference with windows game bar enabled and disabled.

Long shot I know but I think worth testing for some processors.

  • Like 2

smallCATPILOT.PNG.04bbece1b27ff1b2c193b174ec410fc0.PNG

Forum rules - DCS Crashing? Try this first - Cleanup and Repair - Discord BIGNEWY#8703 - Youtube - Patch Status

Windows 11, NVIDIA MSI RTX 3090, Intel® i9-10900K 3.70GHz, 5.30GHz Turbo, Corsair Hydro Series H150i Pro, 64GB DDR @3200, ASUS ROG Strix Z490-F Gaming, PIMAX Crystal

Posted (edited)

Based on the ED FAQ tech site:

Steam (digitalcombatsimulator.com)

for the subject "How do I add command line arguments to a Steam shortcut?"

image.png

The value "7F" is an example if I would like to make CPU affinity for the first 6 CPUs.

EDIT1: sharing the CPU affinity calculator @ CPU Affinity Mask Calculator (bitsum.com)

EDIT2: Steam launch options @ Steam Support :: Setting Game Launch Options (steampowered.com)

 

 

Edited by scommander2
Spoiler

Dell XPS 9730, i9-13900H, DDR5 64GB, Discrete GPU: NVIDIA GeForce RTX 4080, 1+2TB M.2 SSD | Thrustmaster Warthog HOTAS + TPR | TKIR5/TrackClipPro | Total Controls Multi-Function Button Box | Win 11 Pro

 

Posted (edited)

The following is my testing regarding the CPU affinity with dcs.exe.

My CPU is i9-13900H, and P-cores and total CPUs can be set according to the Intel web site:image.png 

 

** NOTE: my Nvidia Control Panel has limited 60 FPS as well as DCS Max FPS ** (Do not want to overkill my system)

 

Enable Window Game bar for the following tests:

With the affinity of 20 CPUs:

image.jpeg

With the affinity of 10 CPUs:

image.jpeg

As soon as I do "Task Manager"->"Details"->"dcs.exe"->"Set Affinity"->"All Processors"->"OK", my FPS is back 53 and stable.

 My finding

When I did all core unparking, and it made all P-cores available to the most of processes regardless priorities.  The video that I posted in the previous post was set the affinity to dcs.exe with all P-cores, and not other window processes.

There is my dcs.exe found in the task manager with all core unparking:

image.png

The priority of dcs.exe is normal and my AV priority even higher than doc.exe.  I think that I can set dcs.exe priority to high (mentioned in the video also) by doing "Task Manager"->"Details"->"Set Priority" (with selected dcs.exe shown above)->"High" so that dcs.exe can be scheduled into all P-cores in the most runtime possible.

When I set "High", the FPS does not increase and I hope that dcs.exe should better and smooth.  I need to test more to find out.

Thanks.

Edited by scommander2
Spoiler

Dell XPS 9730, i9-13900H, DDR5 64GB, Discrete GPU: NVIDIA GeForce RTX 4080, 1+2TB M.2 SSD | Thrustmaster Warthog HOTAS + TPR | TKIR5/TrackClipPro | Total Controls Multi-Function Button Box | Win 11 Pro

 

Posted (edited)

Priority / Affinity for dcs.exe

I have discovered that "Selected Launch Option" has the limited options and it can't take "-high" for the priority setting.

The following cmd script will make changes for affinity and priority:

: set CPU affinity to the process
:
: Binary to Decimal at https://www.rapidtables.com/convert/number/hex-to-decimal.html
: For example for 20 CPUs (P-Cores)
: Binary  = 11111111111111111111
: Decimal = 1048575
: "1" - select
: "0" - not select
:
powershell.exe "$process = Get-Process dcs; $process.ProcessorAffinity = 1048575"

:
: sets process with the specified priority
:
: Priorities are:
: Realtime     -> 256
: High         -> 128
: Above normal -> 32768
: Normal       -> 32
: Below normal -> 16384
: Low          -> 64
:
powershell.exe "gwmi win32_process -f 'name=\"dcs.exe\"' | foreach-object { $_.setPriority( 32768 ) }"

save the contents into a file with ".cmd" and make sure the permissions to execute the cmd file.

To execute the cmd file after dcs.exe is up and running.

 

Edited by scommander2
Spoiler

Dell XPS 9730, i9-13900H, DDR5 64GB, Discrete GPU: NVIDIA GeForce RTX 4080, 1+2TB M.2 SSD | Thrustmaster Warthog HOTAS + TPR | TKIR5/TrackClipPro | Total Controls Multi-Function Button Box | Win 11 Pro

 

Posted

I am not sure that "Scale GUI" will cause FPS drops since I have the 4K 3840x2160 monitor and I set it for 1.25.

 

Spoiler

Dell XPS 9730, i9-13900H, DDR5 64GB, Discrete GPU: NVIDIA GeForce RTX 4080, 1+2TB M.2 SSD | Thrustmaster Warthog HOTAS + TPR | TKIR5/TrackClipPro | Total Controls Multi-Function Button Box | Win 11 Pro

 

Posted

@scommander2 I see you’re using a 13th Gen CPU. Are you aware of this issue here? 

 

i9-14900KS | ASUS ROG MAXIMUS Z790 HERO | 64GB DDR5 5600MHz | iCUE H150i Liquid CPU Cooler | ASUS TUF GeForce RTX 4090 OC | Windows 11 Home | 2TB Samsung 980 PRO NVMe | Corsair RM1000x | LG 48GQ900-B 4K OLED Monitor | CH Fighterstick | Ch Pro Throttle | CH Pro Pedals | TrackIR 5

Posted
32 minutes ago, SharpeXB said:

I see you’re using a 13th Gen CPU. Are you aware of this issue here? 

Thanks for checking.  My CPU is the "H" model, and there is no overclock option on my system.

Spoiler

Dell XPS 9730, i9-13900H, DDR5 64GB, Discrete GPU: NVIDIA GeForce RTX 4080, 1+2TB M.2 SSD | Thrustmaster Warthog HOTAS + TPR | TKIR5/TrackClipPro | Total Controls Multi-Function Button Box | Win 11 Pro

 

Posted (edited)
17 minutes ago, scommander2 said:

Thanks for checking.  My CPU is the "H" model, and there is no overclock option on my system.

Some more info, not sure whether it affects all the 13 and 14 series or not. It looks like it’s just the desktop ones though.

https://community.intel.com/t5/Processors/June-2024-Guidance-regarding-Intel-Core-13th-and-14th-Gen-K-KF/m-p/1607807#M73544

Edited by SharpeXB
  • Thanks 1

i9-14900KS | ASUS ROG MAXIMUS Z790 HERO | 64GB DDR5 5600MHz | iCUE H150i Liquid CPU Cooler | ASUS TUF GeForce RTX 4090 OC | Windows 11 Home | 2TB Samsung 980 PRO NVMe | Corsair RM1000x | LG 48GQ900-B 4K OLED Monitor | CH Fighterstick | Ch Pro Throttle | CH Pro Pedals | TrackIR 5

Posted (edited)

Posted elsewhere too, and for DCS MT version in case of gameplay stuttering

Hyperthreading in BIOS should be off.

disable Vsync and Fullscreen in DCS settings.

clean the FXO folder in Saved Games.

You could use Bitsun Park Control to disable E-cores parking, some times it helps as with my i9 12900K system.

Edited by jackd
  • Like 1
Posted

Testing With ParkControl and other adjustments

Thanks for @jackd suggestions, and I have tried different settings with my new objectives:

  • To obtain 60 FPS (pre-set in Nvidia Control Panel and DCS options) and not over kill my system
  • To utilize P-Cores as many as possible.
  • To leave E-Cores for other tasks or helpers for P-Cores if too busy to handle.
  • Re-test the test case "Test1" for CPU/GPU metrics v.s. FPS

 

ParkControl

Installed Bitsum ParkControl and adjusted options according to my objectives to have the long-life tasks to be assigned to P-Cores possible, other tasks (included all background prcoesses) will be handled by E-Cores:

image.png

Affinity/Priority

Re-adjusted my P-Cores affinity with dcs.exe possible, and made dcs.exe priority ("Above normal") a little bit higher most of all processes: 

: set CPU affinity to the process
:
: Binary to Decimal at https://www.rapidtables.com/convert/number/hex-to-decimal.html
: For example for 20 CPUs (P-Cores)
: Binary  = 11111111111111111111
: Decimal = 1048575
: "1" - select
: "0" - not select
:
powershell.exe "$process = Get-Process dcs; $process.ProcessorAffinity = 4095"

:
: sets process with the specified priority
:
: Priorities are:
: Realtime     -> 256
: High         -> 128
: Above normal -> 32768
: Normal       -> 32
: Below normal -> 16384
: Low          -> 64
:
powershell.exe "gwmi win32_process -f 'name=\"dcs.exe\"' | foreach-object { $_.setPriority( 32768 ) }"

 

CPU/GPU metrics

With the test case "Test1", it was about 50-55 FPS at the airfield and 60 FPS in air with the following metrics:

image.png

image.png

 

Conclusion

Overall, the 60 FPS is possible in the most cases (instant action and multiplayer), and GPU / CPU BOUNDs are based on the views (F2, F3 ..., F10).  I will perform more tests for more findings.

 

 

  • Like 1
Spoiler

Dell XPS 9730, i9-13900H, DDR5 64GB, Discrete GPU: NVIDIA GeForce RTX 4080, 1+2TB M.2 SSD | Thrustmaster Warthog HOTAS + TPR | TKIR5/TrackClipPro | Total Controls Multi-Function Button Box | Win 11 Pro

 

Posted (edited)

Weird, my park Control (latest free 5.2.1.4 version) looks different and has for high performance only one preset, no screensaver  ....

- ParkControl 21 okt 2024.jpg

With Standard parking it even has Ultimate Performance:

- ParkControl 21 okt 2024_2.jpg

Edited by jackd
  • Like 1
Posted

@jackd, oh.. sorry not to mention it.

I have created my own power plan for the screen saver if I am away for a while, But the rest of settings should be identical to "high performance", especially processor min/max management.

About the bitsum power plan, I have no ideal.  Is it because of mime is the paid version?! Not sure...

 

  • Like 1
Spoiler

Dell XPS 9730, i9-13900H, DDR5 64GB, Discrete GPU: NVIDIA GeForce RTX 4080, 1+2TB M.2 SSD | Thrustmaster Warthog HOTAS + TPR | TKIR5/TrackClipPro | Total Controls Multi-Function Button Box | Win 11 Pro

 

Posted

I find "bitsum high performance profile" if I enable it from Settings->Experimental. 

  • Like 1
Spoiler

Dell XPS 9730, i9-13900H, DDR5 64GB, Discrete GPU: NVIDIA GeForce RTX 4080, 1+2TB M.2 SSD | Thrustmaster Warthog HOTAS + TPR | TKIR5/TrackClipPro | Total Controls Multi-Function Button Box | Win 11 Pro

 

Posted
10 hours ago, scommander2 said:

I find "bitsum high performance profile" if I enable it from Settings->Experimental. 

There was also a solution to disable the "Power" service. The guy who mentioned it says that even if you set "High performance" power plan, the "Power" service continue to make a lot interupts, so disabeling it completely helps sometimes to make the game much smoothier.

 

Than there is a guy who mentioned that after each mission load, you should open the task manager, go to DCS process affinity option, disable the "0 Core", back to the game, then switch to task manager again and enable "0 Core" and the game starts to be smooth. But you need to do it each time you load a new mission.

  • Thanks 1
Posted
39 minutes ago, JohnRedcorn said:

Than there is a guy who mentioned that after each mission load, you should open the task manager, go to DCS process affinity option, disable the "0 Core", back to the game, then switch to task manager again and enable "0 Core" and the game starts to be smooth. But you need to do it each time you load a new mission.

Hi @JohnRedcorn, thanks...

I have the CPU affinity for dcs.exe with all of P-Cores to ensure that all of threads (included the DCS main process) are running the best loads as possible.

Spoiler

Dell XPS 9730, i9-13900H, DDR5 64GB, Discrete GPU: NVIDIA GeForce RTX 4080, 1+2TB M.2 SSD | Thrustmaster Warthog HOTAS + TPR | TKIR5/TrackClipPro | Total Controls Multi-Function Button Box | Win 11 Pro

 

Posted
1 minute ago, scommander2 said:

Hi @JohnRedcorn, thanks...

I have the CPU affinity for dcs.exe with all of P-Cores to ensure that all of threads (included the DCS main process) are running the best loads as possible.

You are welcome.

I just made my own tests and I have noticed that ED changed something to AI. At least it looks like this. I have a mission set on "Syria" map which I have created a long time ago when there wasn't MT yet. The mission have a lot of moving ground units columns which are also very long columns. So even when MT was introduced, this mission worked well for me both in MT and ST, but after a couple of last updates (especially after the last one), this mission is just working very bad. I even noticed that when one of the AI planes drop the bombs or when I drop the bombs. The microstutterings starting right away. Then they are stops but after the bombs impacts to the ground the microstutterings starts again for a couple of seconds.

Then I have tested a mission with less ground units on the same map, and it runs much better. Then I have tested a mission without ground units at all and it runs smooth.

So I think that the change in AI targets spotting algorithm which was mentioned by ED in one of the previous updates has impacted performance a lot. It is only my thoughts, but it looks like this. The algorithm has become much complex and it stucks CPU.

 

I'm honestly don't know why ED has divided the main game process to so many threads. I have found an interesting article from NVidia where their devs explains why it is doesn't good to divide the main game process to a lot of threads. They actually explains that there has to be a balance and if you start to open to many threads you are signifficantly reducing the game performance.

You can read it if you want, here is the link, it is NVidia site: https://developer.nvidia.com/blog/limiting-cpu-threads-for-better-game-performance/

Posted
50 minutes ago, JohnRedcorn said:

So I think that the change in AI targets spotting algorithm which was mentioned by ED in one of the previous updates has impacted performance a lot. It is only my thoughts, but it looks like this. The algorithm has become much complex and it stucks CPU.

Yes, I concur, and it is an excellent observation. 

My test case "Test1" for F-14 take off from Afgh airfield is very heavy load of the AI objects (alive or static) on the ground, and air (higher) is the best FPS I can have.   

When CPU BOUND is kicked in the FPS gets drop because of E-cores is part of it and I do not want my cockpit is running with CPU BOUND with E-cores.  Therefore, P-cores have to dominate the entire dcx.exe execution time because I have no idea when DCS will make GPU BOUND or CPU BOUND based on the dcs algorithm.  

Ideally, the first view (what I see currently) should be GPU BOUND (foreground with the best view and FPS) and whatever objects (background) behinds my view should be CPU BOUND so that the entire system will be balanced and not waste any resources rather than context switching between GPU/CPU (speaking from the UNIX multitasking standpoint).

Spoiler

Dell XPS 9730, i9-13900H, DDR5 64GB, Discrete GPU: NVIDIA GeForce RTX 4080, 1+2TB M.2 SSD | Thrustmaster Warthog HOTAS + TPR | TKIR5/TrackClipPro | Total Controls Multi-Function Button Box | Win 11 Pro

 

Posted
5 hours ago, scommander2 said:

Hi @JohnRedcorn, thanks...

I have the CPU affinity for dcs.exe with all of P-Cores to ensure that all of threads (included the DCS main process) are running the best loads as possible.

Just had a mail from support that affinity for the 8th core should be off, and it seems to work at least for my staggering problem.

Pity is that you have to set it off for each new game start with DCS (MT) 2.9.8 running.

stuttering tip van Alexander_support Screen_1.png

  • Like 1
Posted
1 hour ago, jackd said:

Just had a mail from support that affinity for the 8th core should be off

Wow... thanks because of the bitwise issue due to the most significant bit?

I will give a try tonight.

1 hour ago, jackd said:

Pity is that you have to set it off for each new game start with DCS (MT) 2.9.8 running.

Right.  I think that bitsum Process Lasso can make the CPU affinity adjustment in real time when dcs.exe is launched according to SP's video, but I have not tried it yet.

Spoiler

Dell XPS 9730, i9-13900H, DDR5 64GB, Discrete GPU: NVIDIA GeForce RTX 4080, 1+2TB M.2 SSD | Thrustmaster Warthog HOTAS + TPR | TKIR5/TrackClipPro | Total Controls Multi-Function Button Box | Win 11 Pro

 

Posted

CPU8 Affinity on/off Testing

For one minute testing

Before turning off the CPU8 affinity, I took the the resource screenshot:

Snag_49ce4355.png

nullAfter turning off the CPU8 affinity, I took the the resource screenshot again:

Snag_49cee38d.png

 

For ten minutes+ testing

For "Before turning off the CPU8 affinity", I found that FPS went up and down very often sometimes.

For " nullAfter turning off the CPU8 affinity", it seemed that FPS was more stable in the most of time.

It is very interesting finding.  Is it the implementation issue in DCS? 

Hi @jackd, "Support" is the ED tech support?  Thanks.

 

 

 

 

Spoiler

Dell XPS 9730, i9-13900H, DDR5 64GB, Discrete GPU: NVIDIA GeForce RTX 4080, 1+2TB M.2 SSD | Thrustmaster Warthog HOTAS + TPR | TKIR5/TrackClipPro | Total Controls Multi-Function Button Box | Win 11 Pro

 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...