Page 2 of 2

Re: Longer loading times

Posted: Sun May 17, 2020 3:53 pm
by Kaiii3
if i can make a suggestion regarding loading times:

I have monitored the CPU usaged on loading and it looks like P3Dv5 is not using the full potential of multithreading here.

I was able to reduce loading times of SimObjects in our AI Manager tool to just some seconds using multithreading:

Code: Select all

16.05.2020 15:27:25 - Collect SimObjects from: 21 paths
16.05.2020 15:28:37 - Collected SimObjects: 434
16.05.2020 15:28:37 - Collected SimObjects from: 21 paths

Re: Longer loading times

Posted: Tue May 19, 2020 1:11 am
by pinsnpies
Kaiii3 wrote: Sun May 17, 2020 3:53 pm if i can make a suggestion regarding loading times:

I have monitored the CPU usaged on loading and it looks like P3Dv5 is not using the full potential of multithreading here.

I was able to reduce loading times of SimObjects in our AI Manager tool to just some seconds using multithreading:

Code: Select all

16.05.2020 15:27:25 - Collect SimObjects from: 21 paths
16.05.2020 15:28:37 - Collected SimObjects: 434
16.05.2020 15:28:37 - Collected SimObjects from: 21 paths
Where do I put that code please Kai?

Re: Longer loading times

Posted: Tue May 19, 2020 1:12 am
by pinsnpies
LM can this please be fixed?

Re: Longer loading times

Posted: Wed May 20, 2020 8:46 am
by andy1252
Rob McCarthy wrote: Thu Apr 16, 2020 3:19 pm Thanks for the report. In previous versions the Select Vehicle UI, entering multiplayer and SimDirector, and a few other various cases would cause long loads due to populating entity lists. We moved this to startup and also cache this list to improve the speed of accessing these parts of the system. Large numbers of AI could be impacting this initial load. We'll investigate this more on our end.

Ah! This answers one of the questions I posted here. I have a large hangar (not to be read in a music-hall voice) of something like 500 aircraft. It's a main part of the fascination of the sim for me. I have long found this to be unworkable in practice so have for some time been storing all aircraft in an external "hangar" folder and simply moving the ones I want to use in a session across to simobjects\airplanes or rotorcraft. The nice thing about this is that you can (could) simply pause the sim, switch to a file manager window, and then move additional aircraft in to simobjects and they would be available when you went back in to the sim. This of course no longer works in the new environment, and requires a restart of the sim. Which in turn takes longer.

A suggestion. How about making this caching and list population switchable? A simple "EntityCache [0/1]" in the prepar3d.cfg file could be defaulted to on (or omitted by default) for those with small lists/no AI/no inclination to fiddle, but allow the rest of us the freedom to revert back to the old technique.

Generally, the improvements from DX12 are better than the new problems, and I've no doubt it will all settle down in time, but I don't think this new feature is an improvement, by any means.

Re: Longer loading times

Posted: Wed May 20, 2020 12:11 pm
by Rob McCarthy
Hi Everyone,

We'll have this improved in the next hotfix. Thanks again for the reports and for your patience while we work this.

Regards,
Rob McCarthy

Re: Longer loading times

Posted: Wed May 20, 2020 12:17 pm
by Kaiii3
thanks for fixing, will report back when the next hotfix is out.

Re: Longer loading times

Posted: Wed May 20, 2020 2:06 pm
by JorgenSA
If a further hotfix is planned for v. 4.5, it would be very nice if a similar solution could be incorporated in that.

Jorgen

Re: Longer loading times

Posted: Thu May 21, 2020 5:40 am
by vbazillio
Great news ! You make my day.

Re: Longer loading times

Posted: Mon May 25, 2020 8:25 pm
by AnkH
I installed Windows 10 2004 over the weekend and surprise, surprise, not only having almost one GB more VRAM available, also the loading time of v5 almost halfed. Just that you know this...

Re: Longer loading times

Posted: Mon May 25, 2020 10:09 pm
by radorabatin
Hi All,

using IVAO MTLs it takes more than 8minutes on my system (Using Samsung SATA SSDs)....
very very long time, it would be welcomed if LM fixed it or created setup option to affect this loading process.

Thanks,

Rado

Re: Longer loading times

Posted: Tue Jun 23, 2020 7:04 pm
by Kaiii3
thanks for the fixes in HF2 :) major improvement from more then 10mins down to less then 2mins - great work