Author Topic: Creating Scenery cache takes 20 minutes!  (Read 11498 times)

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 50875
    • VIRTUALI Sagl
Re: Creating Scenery cache takes 20 minutes!
« Reply #15 on: June 25, 2015, 03:12:14 pm »
Another update about this issue. In addition to the recent finding (see the previous message) that an antivirus can slow down the cache regeneration a lot, we added the ability to exclude an area from the Couatl cache, even if it's flagged as "Active" in the scenery.cfg

This can be useful for product like OrbX Global Base and Global Vector, that have tens of thousands of small airport files, with no data useful for GSX, so skipping the whole folder will speed up the process further.

To get this update, download and install the latest GSX version:

The latest Couatl executable now has an additional parameter in the COUATL.INI file (normally located under APPDATA%\Virtuali\COUATL.INI ) that works this way:

airportCacheExcludeArea=xxxx

With xxxx being part of the scenery pathname. There's no need to include a full path. In fact, it's best if you don't do it, so the scenery area will be recognized even if you move it to a different location.

You can have as many lines as needed, each one on a new line in the Couatl.INI file. This is an example:

airportCacheExcludeArea=FTX_OLC
airportCacheExcludeArea=Scenery\Global
airportCacheExcludeArea=Scenery\Props


Which excludes OrbX OpenLC area and two of the default FSX areas that we know don't include any airports.

A line for OrbX Global would look like this:

airportCacheExcludeArea=FTX_VECTOR

However, is not needed, since we added it directly in the Couatl.exe, so regardless if you add it in the Couatl.INI file or not, it will always be excluded, so users that don't want to tweak files or are not aware of this issue, with OrbX Vector installed, will always get the optimization.

This new addition, especially when combined with the FSX folder exclusion from the antivirus, should increase your cache regeneration times a lot.

Just as a reference, a complete cache regeneration on my system, with just the antivirus excluding the whole FSX folder, took 6 seconds without any area excluded and 3 seconds with the new Coautl and the Orbx folder excluded this way.
« Last Edit: July 24, 2017, 11:11:37 am by virtuali »