Jump to content
Sign in to follow this  
dazza1980

Max Regions Purge Per Frame

Recommended Posts

Hello!

 

I was after a little advice on what settings are available for the "MaxRegiosPurgePerFrame" setting.

 

Using the fantastic AVSIM guide, i have managed to get a pretty fluid and stable P3d running.

 

However, i am aware of a small stutter when changing this setting from 4 to 16. 4 causes to much VAS usage, whereas 16 indices the small stutter.

 

My question is, what are the values available? From what I read, and I maybe wrong, the values to use are 1, 4, 16 or 64.

 

Is this correct or are there other values that can be used? Ideally A balance between 4 and 16?

 

Thank you!


Darren Palmer

Share this post


Link to post

I have it at 12..


13900 8 cores @ 5.5-5.8 GHz / 8 cores @ 4.3 GHz (hyperthreading on) - Asus ROG Strix Gaming D4 - GSkill Ripjaws 2x 16 Gb 4266 mhz @ 3200 mhz / cas 13 -  Inno3D RTX4090 X3 iCHILL 24 Gb - 1x SSD M2 2800/1800 2TB - 1x SSD M2 2800/1800 1Tb - Sata 600 SSD 500 Mb - Thermaltake Level 10 GT case - EKWB Extreme 240 liquid cooling set push/pull - 2x 55’ Sony 4K tv's as front view and right view.

13600  6 cores @ 5.1 GHz / 8 cores @ 4.0 GHz (hypterthreading on) - Asus ROG Strix Gaming D - GSkill Trident 4x Gb 3200 MHz cas 15 - Asus TUF RTX 4080 16 Gb  - 1x SSD M2 2800/1800 2TB - 2x  Sata 600 SSD 500 Mb - Corsair D4000 Airflow case - NXT Krajen Z63 AIO liquide cooling - 1x 65” Sony 4K tv as left view.

FOV : 190 degrees

My flightsim vids :  https://www.youtube.com/user/fswidesim/videos?shelf_id=0&sort=dd&view=0

 

Share this post


Link to post

I have never heard about this. Would you care to elaborate abit about it. What does it do and which section of CFG do it put it.

 

Thanks

Share this post


Link to post

Quote from LM :

 

To reduce stalls was to put a limit on the number of scenery regions purged per frame. This was part of the big updates we made to optimize trees. As you fly around, scenery regions get requested based on distance from the camera. Scenery regions hold model placements, auto-gen, etc.

The terrain mesh/texture data is handled through a totally different system though which relies on the LOD radius. The scenery database loads modes based on your scenery complexity, and makes auto-gen requests based on auto-gen settings, etc.

The regions represent 64km, 16km, 4km, and 1km tiles with 16 children. These are loaded as needed and stay in memory until purged. Because of parent/child dependencies, the system only purges by distance at the 64km level. When a top level region is removed, it then recursively removes its children.

Autogen tree data is stored in 1k cells, so there could be up to 4,096 tiles worth of three placement data to free up. This would cause very noticeable hangs. So, rather than remove all the tiles, we que them up for remove and remove a few every frame.

Originally this was set to something low like 4. We raised it during the last round of memory optimizations to help speed up the process of clearing memory and avoid potential edge cases where fly fast at a low framerate might allocate memory faster than it gets freed.

 

Summary : Decrease value to reduce long frames (stutters), but VAS usage could increase. Increase value to reduce VAS usage but will increase long frames (stutters).

  • Upvote 1

13900 8 cores @ 5.5-5.8 GHz / 8 cores @ 4.3 GHz (hyperthreading on) - Asus ROG Strix Gaming D4 - GSkill Ripjaws 2x 16 Gb 4266 mhz @ 3200 mhz / cas 13 -  Inno3D RTX4090 X3 iCHILL 24 Gb - 1x SSD M2 2800/1800 2TB - 1x SSD M2 2800/1800 1Tb - Sata 600 SSD 500 Mb - Thermaltake Level 10 GT case - EKWB Extreme 240 liquid cooling set push/pull - 2x 55’ Sony 4K tv's as front view and right view.

13600  6 cores @ 5.1 GHz / 8 cores @ 4.0 GHz (hypterthreading on) - Asus ROG Strix Gaming D - GSkill Trident 4x Gb 3200 MHz cas 15 - Asus TUF RTX 4080 16 Gb  - 1x SSD M2 2800/1800 2TB - 2x  Sata 600 SSD 500 Mb - Corsair D4000 Airflow case - NXT Krajen Z63 AIO liquide cooling - 1x 65” Sony 4K tv as left view.

FOV : 190 degrees

My flightsim vids :  https://www.youtube.com/user/fswidesim/videos?shelf_id=0&sort=dd&view=0

 

Share this post


Link to post

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
Sign in to follow this  
  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...