Jump to content

Very Long Loading Times


Recommended Posts

I have the same problem. What's more, huge fps loss after a few minutes often but not always. 

 

It's all after the latest update and I think here's a problem.

It's not mod problem or something just optimalisation. Before update but with MT it was working great. All graphic settings set almost to max and 120 fps.
Now no SSAA, MSAA on 2x and 103-105 fps and often after a few minutes 40-60.

 

i7-13700K

RTX3080

64GB RAM

SSD for DCS only


Edited by Valium
  • Like 1
Link to comment
Share on other sites

On 3/17/2023 at 4:41 PM, wurger13 said:

Possible workaround.

I have been seeing very long loading times in Multi Thread for missions and the mission editor when changing maps.  I have noticed the following when changing maps in the mission editor and loading a mission that is different from the previous map.

  1. If I click on the mission to open it, I get the loading screen but the progress bar at the bottom never changes. I just sits there like nothing is happening. The loading screen stays in this state if I don't do anything. 
  2. If I then just L click anywhere on the screen (after about 10 sec), my mouse pointer changes to the spinney blue circle... Then, If I click one more time I get the windows dialog "The program is not responding etc". The progress bar then begins to fill about 10%.  Then I click "wait for the program to respond" and the progress bar fills at the normal rate and the mission opens.

It is weird as hell... But is completely repeatable.

I should add, this is after a fresh repair and clean with no-mods installed apart from TacView.

 

That's the way I did, also with alt+ctrl+delete. It destroyed my DCS totally that I had to install everything once again.

Link to comment
Share on other sites

  • 2 weeks later...

I think I found a solution for this. The workaround that works for me:

  1. Start DCS 
  2. Open the Task-Manager
  3. Go to the details tab and find the process DCS.exe
  4. Rightclick the process and select "Set Affinity"
  5. Uncheck all cores that relates to E-cores for your CPU 

Point 5 is the tricky one. I'm using a 13700K with 8 P-cores and 8 E-cores. The E-Cores are the last 8 in the list (as far as I know). After unchecking the last 8 cores, the loading times are even faster or at the same level than non multithreaded.

 

 


Edited by Nereid
  • Like 1
  • Thanks 1

DCS:A-10C / DCS:Ka-50 / DCS:UH-1H / DCS:Mig21bis / DCS:P-51D / DCS:Mi-8MTV2 / DCS:Fw190D9 / DCS:Bf109K4 / DCS:C-101EB / DCS:L-39C / DCS:F-5E / DCS:Spitfire LF Mk. IX / DCS:AJS37

Link to comment
Share on other sites

5 hours ago, Nereid said:

I think I found a solution for this. The workaround that works for me:

  1. Start DCS 
  2. Open the Task-Manager
  3. Go to the details tab and find the process DCS.exe
  4. Rightclick the process and select "Set Affinity"
  5. Uncheck all cores that relates to E-cores for your CPU 

Point 5 is the tricky one. I'm using a 13700K with 8 P-cores and 8 E-cores. The E-Cores are the last 8 in the list (as far as I know). After unchecking the last 8 cores, the loading times are even faster or at the same level than non multithreaded.

 

 

 

Interesting, will try when I get home. Does this change stick or is it necessary to do this each time DCSMT is launched?

Link to comment
Share on other sites

20 minutes ago, evilnate said:

Interesting, will try when I get home. Does this change stick or is it necessary to do this each time DCSMT is launched?

You will have to change this each time. But there is a program called "Process Lasso" that does this automatially. Unfortunatelly it doesn't work reliable for me and doesn't set the affinity in some cases. But it shows what cores are the E-cores at least.

I have tried this over 10 times so far and every time the loading times were quite normal with the workaround.

And without it the loading times are really a pain in the... 😒


Edited by Nereid
  • Thanks 1

DCS:A-10C / DCS:Ka-50 / DCS:UH-1H / DCS:Mig21bis / DCS:P-51D / DCS:Mi-8MTV2 / DCS:Fw190D9 / DCS:Bf109K4 / DCS:C-101EB / DCS:L-39C / DCS:F-5E / DCS:Spitfire LF Mk. IX / DCS:AJS37

Link to comment
Share on other sites

I did some tests regarding performance:

NMT   = Non MT version of DCS
MT-8E = MT version of DCS without 8 E-cores
MT-4E = MT version of DCS without 4 E-cores
MT-2E = MT version of DCS without 2 E-cores

MT    = MT version of DCS with all E-cores (affinity unchanged)

 

AH-64D, Caucasus, Cold Start, external view only

NMT:   80 fps, 25 seconds to load
MT-2E: 80 fps, 41 seconds to load
MT-4E: 80 fps, 25 seconds to load
MT-8E: 80 fps, 25 seconds to loa
MT:    85 fps, up to 5 minutes to load

So no real performance gain or loss. And in one case I got 90 fps for MT-8E. 

 

F/A-18C, Syria, free flight, no flight input (just let the bird fly on its own, slowly descending for about 15 seconds down to the small town/buildings)

NMT:   80 fps down to 65 fps, about 30 seconds to load
MT-4E: 95 fps down to 80 fps, about 30 seconds to load
MT-8E: 95 fps down to 80 fps, about 30 seconds to load
MT:    95 to 100 fps down to 80 or 82 fps, about 3 minutes to load

Disabling the 8 E-cores seems to have a small negative impact on performance but it is still better than NMT. And the impact is hard to notice and maybe it was just some kind of confirmation bias or pure coincidence.

 

All Affinity changes were made by Process Lasso and no Alt-Tabbing was done.


Edited by Nereid
  • Thanks 1

DCS:A-10C / DCS:Ka-50 / DCS:UH-1H / DCS:Mig21bis / DCS:P-51D / DCS:Mi-8MTV2 / DCS:Fw190D9 / DCS:Bf109K4 / DCS:C-101EB / DCS:L-39C / DCS:F-5E / DCS:Spitfire LF Mk. IX / DCS:AJS37

Link to comment
Share on other sites

On 4/10/2023 at 8:42 AM, Nereid said:

You will have to change this each time. But there is a program called "Process Lasso" that does this automatially. Unfortunatelly it doesn't work reliable for me and doesn't set the affinity in some cases. But it shows what cores are the E-cores at least.

I have tried this over 10 times so far and every time the loading times were quite normal with the workaround.

And without it the loading times are really a pain in the... 😒

 

Disabling many e cores fixed load times for me. Windows 10, i9 13900k.

Link to comment
Share on other sites

1 hour ago, evilnate said:

Disabling many e cores fixed load times for me. Windows 10, i9 13900k.

I have to add that even disabling P-cores seems to fix it. There is a rumor that disabling cores disable MT, but a closer look with the process manager and some performance checks do not confirm this. And if you have to "disable" a core then anybody would go for the E-cores.

DCS:A-10C / DCS:Ka-50 / DCS:UH-1H / DCS:Mig21bis / DCS:P-51D / DCS:Mi-8MTV2 / DCS:Fw190D9 / DCS:Bf109K4 / DCS:C-101EB / DCS:L-39C / DCS:F-5E / DCS:Spitfire LF Mk. IX / DCS:AJS37

Link to comment
Share on other sites

38 minutes ago, Nereid said:

I have to add that even disabling P-cores seems to fix it. There is a rumor that disabling cores disable MT, but a closer look with the process manager and some performance checks do not confirm this. And if you have to "disable" a core then anybody would go for the E-cores.

Now that you mention it, my game performance did seem to suffer other than loading mission faster.

Link to comment
Share on other sites

On 4/10/2023 at 11:56 AM, Nereid said:

I think I found a solution for this. The workaround that works for me:

  1. Start DCS 
  2. Open the Task-Manager
  3. Go to the details tab and find the process DCS.exe
  4. Rightclick the process and select "Set Affinity"
  5. Uncheck all cores that relates to E-cores for your CPU 

Point 5 is the tricky one. I'm using a 13700K with 8 P-cores and 8 E-cores. The E-Cores are the last 8 in the list (as far as I know). After unchecking the last 8 cores, the loading times are even faster or at the same level than non multithreaded.

 

 

 

Indeed, it works. I have to check it a few times.

Link to comment
Share on other sites

3 hours ago, evilnate said:

Now that you mention it, my game performance did seem to suffer other than loading mission faster.

For me it is stll better than non MT. But there seems to be a difference. In my tests with the AH-64D there is really no difference between non MT and a start with disabled cores. But even with all cores performance is not that much better. But the results are indeed strange. There is a difference for the F-18 though.

Problem is: Loading times of 3 to 5 minutes are more than just a nuisance. 

PS: Maybe they calculate the number of used threads on the number cores and with to many cores there is just one thread "too many" so that a deadlock or resource contention is caused? Debugging such bugs is often hard. But I haven't seen any differences in the threads used with the process manager.

2 hours ago, Valium said:

Indeed, it works. I have to check it a few times.

Check your fps after doing it please and make a comparison with the non MT version.


Edited by Nereid

DCS:A-10C / DCS:Ka-50 / DCS:UH-1H / DCS:Mig21bis / DCS:P-51D / DCS:Mi-8MTV2 / DCS:Fw190D9 / DCS:Bf109K4 / DCS:C-101EB / DCS:L-39C / DCS:F-5E / DCS:Spitfire LF Mk. IX / DCS:AJS37

Link to comment
Share on other sites

1 hour ago, Nereid said:

For me it is stll better than non MT. But there seems to be a difference. In my tests with the AH-64D there is really no difference between non MT and a start with disabled cores. But even with all cores performances is not that much better. But the results are indeed strange. There is a difference for the F-18 though.

Problem is: Loading times of 3 to 5 minutes are more than just a nuisance. 

Check your fps after doing it please and make a comparison with the non MT version.

Without your solution: loading time from menu to mission editor - about 2 mins, fps 109-119 

With your solution: loading time from menu to mission editor - about 19 sec, fps 109-119 (maybe a 3 less) but it's honestly hard to tell because this amount is still changing between 109 and 119 in both cases and sometimes without your solution, mission got loaded with 92 fps with no cause.

  • Thanks 1
Link to comment
Share on other sites

DCS Open Beta 2.8.4.38947.
I think now is a lot better, however I changed HT=on again (loading time is few seconds again only).

 

  • Like 1

Webmaster of http://www.yoyosims.pl

Yoyosimsbanner.gif

Win 10 64, i9-13900 KF, RTX  4090 24Gb OC, RAM 64Gb Corsair Vengeance LED OC@3600MHz,, 3xSSD+3xSSD M.2 NVMe, Predator XB271HU res.2560x1440 27'' G-sync, Sound Blaster Z + 5.1, TiR5, [MSFS, P3Dv5, DCS, RoF, Condor2, IL-2 CoD/BoX] VR fly only: Meta Quest Pro

Link to comment
Share on other sites

14 hours ago, YoYo said:

DCS Open Beta 2.8.4.38947.
I think now is a lot better, however I changed HT=on again (loading time is few seconds again only).

Because of time constraints and real life I could only test this once. But it seems that it loads much quicker now even without fiddling with affinities. The progress bar behaves differently than in ST but it changes in the first few seconds (it never did before), then  it stops and after 10 seconds or so it suddenly moves to the end and the loading time was quite normal. But I didn't use a stopwatch to verify this and maybe I'm wrong.

I have never disabled HT on my machine.

DCS:A-10C / DCS:Ka-50 / DCS:UH-1H / DCS:Mig21bis / DCS:P-51D / DCS:Mi-8MTV2 / DCS:Fw190D9 / DCS:Bf109K4 / DCS:C-101EB / DCS:L-39C / DCS:F-5E / DCS:Spitfire LF Mk. IX / DCS:AJS37

Link to comment
Share on other sites

  • 2 weeks later...
On 4/10/2023 at 5:56 AM, Nereid said:

I think I found a solution for this. The workaround that works for me:

  1. Start DCS 
  2. Open the Task-Manager
  3. Go to the details tab and find the process DCS.exe
  4. Rightclick the process and select "Set Affinity"
  5. Uncheck all cores that relates to E-cores for your CPU 

Point 5 is the tricky one. I'm using a 13700K with 8 P-cores and 8 E-cores. The E-Cores are the last 8 in the list (as far as I know). After unchecking the last 8 cores, the loading times are even faster or at the same level than non multithreaded.

 

 

 

Maybe I'm mistaken (probably am) but, I'm not sure my Ryzen 5900x has e-cores. When I look it up, I only seem to see e-cores in reference to intel processors. 

Link to comment
Share on other sites

  • 3 weeks later...
On 5/1/2023 at 4:32 AM, THATDUUDE_GAMES said:

Maybe I'm mistaken (probably am) but, I'm not sure my Ryzen 5900x has e-cores. When I look it up, I only seem to see e-cores in reference to intel processors. 

I was not talking about any Ryzen. But the long loading times are gone.


Edited by Nereid

DCS:A-10C / DCS:Ka-50 / DCS:UH-1H / DCS:Mig21bis / DCS:P-51D / DCS:Mi-8MTV2 / DCS:Fw190D9 / DCS:Bf109K4 / DCS:C-101EB / DCS:L-39C / DCS:F-5E / DCS:Spitfire LF Mk. IX / DCS:AJS37

Link to comment
Share on other sites

  • 4 months later...
On 4/10/2023 at 10:56 AM, Nereid said:

I think I found a solution for this. The workaround that works for me:

  1. Start DCS 
  2. Open the Task-Manager
  3. Go to the details tab and find the process DCS.exe
  4. Rightclick the process and select "Set Affinity"
  5. Uncheck all cores that relates to E-cores for your CPU 

Point 5 is the tricky one. I'm using a 13700K with 8 P-cores and 8 E-cores. The E-Cores are the last 8 in the list (as far as I know). After unchecking the last 8 cores, the loading times are even faster or at the same level than non multithreaded.

Thanks !!! That did it for me !

I disabled the last 4 threads which likely correspond to the 4 E-Cores i have. Is there a way to have this action automated when i start the game?

(I'm already using DCS Open Beta 2.9, by the way) 

Regards

Link to comment
Share on other sites

3 minutes ago, cesarferrolho said:

Thanks !!! That did it for me !

I disabled the last 4 threads which likely correspond to the 4 E-Cores i have. Is there a way to have this action automated when i start the game?

(I'm already using DCS Open Beta 2.9, by the way) 

Regards

Here is a batch file that wiill do it, you need to have nircmd (NirCmd - Windows command line tool (nirsoft.net)) installed on your pc;

 

:SetAffinity
    REM Define the process name
    set "process_name=DCS.exe"
    REM Initialize the PID variable
    set "pid="
    REM Use WMIC to get the PID and store it in the variable
    for /f "tokens=*" %%a in ('wmic process where "name='%process_name%'" get ProcessId ^| findstr /r "[0-9]"') do (
        set "pid=%%a"setlocal enabledelayedexpansion
        goto :found_pid
    )
    REM If the process was not found, display a message
    if not defined pid (
        echo The process "%process_name%" was not found.
        goto END
    )

    REM Label to exit the loop
    :found_pid
    REM Display the PID
    echo The PID of "%process_name%" is %pid%, Setting the Affinity to not use CPU 16 17 18 19 (the eCores)
 
    nircmd setprocessaffinity /%pid% 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
    goto END
:END

 

  • Thanks 2

SYSTEM SPECS: Hardware Intel Corei7-12700KF @ 5.1/5.3p & 3.8e GHz, 64Gb RAM, 4090 FE, Dell S2716DG, Virpil T50CM3 Throttle, WinWIng Orion 2 & F-16EX + MFG Crosswinds V2, Varjo Aero
SOFTWARE: Microsoft Windows 11, VoiceAttack & VAICOM PRO

YOUTUBE CHANNEL: @speed-of-heat

1569924735_WildcardsBadgerFAASig.jpg.dbb8c2a337e37c2bfb12855f86d70fd5.jpg

Link to comment
Share on other sites

6 hours ago, speed-of-heat said:

Here is a batch file that wiill do it, you need to have nircmd (NirCmd - Windows command line tool (nirsoft.net)) installed on your pc;

 

:SetAffinity
    REM Define the process name
    set "process_name=DCS.exe"
    REM Initialize the PID variable
    set "pid="
    REM Use WMIC to get the PID and store it in the variable
    for /f "tokens=*" %%a in ('wmic process where "name='%process_name%'" get ProcessId ^| findstr /r "[0-9]"') do (
        set "pid=%%a"setlocal enabledelayedexpansion
        goto :found_pid
    )
    REM If the process was not found, display a message
    if not defined pid (
        echo The process "%process_name%" was not found.
        goto END
    )

    REM Label to exit the loop
    :found_pid
    REM Display the PID
    echo The PID of "%process_name%" is %pid%, Setting the Affinity to not use CPU 16 17 18 19 (the eCores)
 
    nircmd setprocessaffinity /%pid% 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
    goto END
:END

 

Thank you very much!!! It seems to work well 🙂

  • Like 2
Link to comment
Share on other sites

14 minutes ago, cesarferrolho said:

Thank you very much!!! It seems to work well 🙂

De nada

SYSTEM SPECS: Hardware Intel Corei7-12700KF @ 5.1/5.3p & 3.8e GHz, 64Gb RAM, 4090 FE, Dell S2716DG, Virpil T50CM3 Throttle, WinWIng Orion 2 & F-16EX + MFG Crosswinds V2, Varjo Aero
SOFTWARE: Microsoft Windows 11, VoiceAttack & VAICOM PRO

YOUTUBE CHANNEL: @speed-of-heat

1569924735_WildcardsBadgerFAASig.jpg.dbb8c2a337e37c2bfb12855f86d70fd5.jpg

Link to comment
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
  • Recently Browsing   0 members

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