Sign in to follow this  
Rob Ainscough

Excessive VAS usage in P3D V3.4 triggered by OPTIMIZE_PARTS

Recommended Posts

FYI, LM have a ticket open for possible VAS issues in P3D v3.4 and I've been working with them on it.

 

I believe I have found one possible source of the excessive VAS usage, please try changing the following entry in your Prepar3D.cfg:

 

[sIM]
OPTIMIZE_PARTS=0
 
The default value is 1, set the value to 0.
 
Important that you delete your Shaders folder (i.e. C:\Users\Rob\AppData\Local\Lockheed Martin\Prepar3D v3\Shaders) after making this changes.  
 
So far I've seen about 250 MB VAS reduction when testing with Milviz 737-200 and PMDG 737-600.  
 
This is NOT going to cure OOMs in P3D, graphics settings and many add-ons can still OOM P3D, but it might explain the VAS difference between V3.3 and V3.4.  In V3.3 the OPTIMIZE_PARTS=1 was mostly beneficial in performance and VAS, but in V3.4 that seems to have changed.  Hopefully LM can isolate and report back.
 
If anyone cares to try this change, please report back your findings and which aircraft was used.
 
Cheers, Rob
  • Upvote 1

Share this post


Link to post
Help AVSIM continue to serve you!
Please donate today!

AFAIK OPTIMIZE_PARTS=1 should optimize usage of all cpu cores? No performance difference with =0?

Share this post


Link to post

Will try rob might help my poor 747 if i could gain back 250 i would be very happy

Share this post


Link to post

OPTIMIZE_PARTS is related to aircraft models ... nothing to do with CPU cores/threading.

 

Cheers, Rob.

Share this post


Link to post

I'll give it a try.  I have a noticeable increase in OOMs  with 3.4.  From zero in 3.3 to roughly 3 out of 5 flights in 3.4.

Share this post


Link to post

Yes, 3.4 is definitely got a ~200/300 Mb of VAS usage

Share this post


Link to post

Yes, LM is aware.  

 

So anyone reporting back from setting OPTIMIZE_PARTS=0 in terms of VAS usage?

 

Cheers, Rob.

Share this post


Link to post

Good Morning Rob,

 

Thanks for the heads up and postimg this here.

I tested it a moment ago and have to say that i cannot see any difference in VAS use....

 

Will try more scenarios today and report back.

 

Anyway thanks again, Carsten

Share this post


Link to post

 

 


So anyone reporting back from setting OPTIMIZE_PARTS=0 in terms of VAS usage?

 

Hi Rob,

 

I did a quick test.

 

OPTIMIZE_PARTS=1

Aerosoft EDDF v2, PMDG 777, No weather -> 1.21 Gb free VAS after loading, 1.29 Gb free VAS after approx. 1 minute just sitting on the runway

 

OPTIMIZE_PARTS=0

Aerosoft EDDF v2, PMDG 777, No weather -> 1.25 Gb free VAS after loading, 1.31 Gb free VAS after approx. 1 minute just sitting on the runway

 

So no significant change in VAS. With 1.3 Gb free VAS in the above scenerio, free VAS is approx 100 Mb lower than in v3.3 on my system.

Share this post


Link to post

OPTIMIZE_PARTS=1 saved around 100-200Mb PMDG737. Shaders rebuilt after changing setting without deleting folder.

Share this post


Link to post

OP...parts=1 FT YSSY Orbx AU   AS2016 PMDG737 NGX Free VAS=1302 dropped to 1242 after 1 min

 

OP....parts=0  Same as above =VAS Free 1241

 

Seems no difference.

Share this post


Link to post
Guest
This topic is now closed to further replies.
Sign in to follow this