Please "destroy" out of range (FLYING) AI Aircraft - that are causing FPS decrease, (and eventually CTD ? )

Great, hope more people can vote on this one. This is a great find and will probably benefit both Asobo and us.

The slider for nax distance is goid but if you don like many ai traffic turn off cause compare with real traffic theres less on the sim if they decresse even more is gonna be bad

im interested to see how that works, i dont have littlemap so let me launch fs real quick with AI off

EDIT:

Wow, SIGNIFICANT difference, i was practically locked at anywhere from 45-60 FPS globally, i used KATL with zero AI/Live Traffic, Ground traffic was on, very minor decrease in perf, only 5-8 FPS Drop difference between ground traffic on and off. but, yes, AI Traffic is definitely a factor here for perf.

then i launched to KLAX, same thing, KRSW, same
 all the places i visit regularly, fundamental difference in system usage, rendering and handling.

you guys totally scared me now, and I started to wonder if I can “save” (the current state of plane) at least maximum of 5 min seperations?

Edit: still downloading


I dont see why this is an issue or a bug. Yes AI traffic costs resources especially if high poly aircraft are used. That is no different to FSX or P3D. You already have various sliders to adjust how much traffic you want to see or you can turn it off completely.

You don’t see it as an issue, or a bug, but many of those in this thread do. Why argue the toss? Clearly, whatever the cause is, it needs to be addressed / acknowledged by Asobo. If they can’t fix it because it is purely a third party app overloading the system, then they probably need to put more effort into the SDK, so the devs of said 3rd party software, that to be frank, is covering up the inadequacies of the sim, can fix it at their end.

Over time the AI traffic grows without bound. A computer has a finite amount of resources. AI air traffic right now will eventually exhaust any system’s resources leading to a CTD.

The bug is just that irrelevant aircraft need to be removed from the scene.

2 Likes

LONG Post, but it aims to sum up the finding of the past 180 Posts !!

(1) When aircraft enters the session, it spawns aircraft around itself, out to a FIXED Radius, and the AI Plane slider determines how many aircraft are spawned at that time.

(2) As the aircraft flies, other aircraft are spawned around it, within that same fixed Radius, to maintain the Number in that Radius to at least the Minimum, of what the slider is set to.

(3) The Problem is, the plane has moved, and the Spawned AI, that are now Outside of the Radius, are NOT being Destroyed.

(a) So, if plane stays fixed at airport, there is still a problem, but its not too bad.

As aircraft leave the spawned Radius, new ones are generated to maintain at least that Number within the Radius, as set by the slider.

But as planes flying out of that radius are no longer counted, and are also not being destroyed, the total number of AI planes increases.

(b) If the Plane is flying, new AI aircraft spawned in front of the plane, within the FIXED Radius, to maintain the number in the radius from DROPPING below that set by the Slider)
But now, more AI Planes are being left behind, out of the Radius, so the total number of AI planes grows quickly.

Over time, this Total number does max out, at about 1000 !!! but the number in the radius, for a slider of 50% is still being maintained at NOT less than the slider value. (could be more)

Remember, new AI planes are “only” ADDED if the number in the Radius falls below the slider value

Roughly, Slider vs minimum AI Planes in radius is

Radius Planes
0 0
50 128
100 256

So approx 2x slider value (for GA planes) 
 all these tests were done with Airline set at 0

ON my system, with slider set to 50, initially I get about 120 spawned aircraft, and a frame rate drop of only about 1-2 FPS. and my GPU/CPU ration goes from GPU limited, to 50/50 CPU GPU limited, which I consider a “sweet spot”

But over times, since AI Planes OUTSIDE of the moving Radius are not Destroyed, the Total number of AI planes increase, the faster you fly, the more excess are generated.

That’s why the issue is worse for Airlines than for slower GA !!
Airline pilots are commenting on Lowering Frame rates more than GA pilots

After a Time, no matter what value the slider is set to (part from Zero), the number of planes WILL increase to a maximum of about 1000, by which time, the load on the CPU is so great, that it becomes heavily “Main Thread” limited, FPS drop to 10.000 FPS ( does not seem to ever want to go below that, so somewhere that may be what is limiting the max # of Planes, its not like it is the magic number 1024 !!!

Note: All these AI Planes do not consume a great amount of memory . (also there is no memory leak being caused), the problem is, all these AI Aircraft are placing an excessive load on the CPU, hence the “Main Thread” issue, and the lowering Frame Rate.

=========
Asobo has to fix the AI planes not getting destroyed BUG.

In the meanwhile, a work around is to
(a) Either set the AI Plane sliders to ZERO, and never generate any AI Planes (in the air)
(b) Set the slider to a reasonable value (say 50 = 100 planes), and occasionally, when FPS drop,
Pause – set AI slider to zero – save-- set AI slider back to 50-- save-- Un-pause

It’s far better to do that occasionally, than have 10FPS when you are trying to land at the end of your flight, and a possible CTD because the main Thread is so lagged.

ON my system, with the slow C172, and a typical 2 hour flight, if I set my AI slider to 25, I get initially about 50 AI planes around me, which is more than enough to get some busy ATC chatter, and I am still up near my original FPS, when I come to land,
If you have a more Powerful system, you may be able to go higher, but at 25, the amount of traffic is more than enough for the airspace to appear and sound to be busy.

5 Likes

you dont see it as a bug because you probably dont even interact with that function enough to cause it to present problems.

this is a problem that if a resource is created and used, and you leave the specific area that the resource was once used, it should be destroyed and put back into the resource pool for another specific instance to spawn in and use that same resource. because it is not being destroyed and the resource released, it builds up over time and leads to resource exhaustion. that is a problem especially for those who do long haul flights. some of us are even noticing it in high traffic areas on short haul and short hop flights. thats a performance issue, and while maybe not a critical of a issue, is a valid one.

Since I’ve changed the default cache setting from 8GB to 20GB, I’ve had zero crashes whatsoever.

My cache is 64GB - that has no effect on the issue documented here.

Noticed less stuttering with AI traffic fully off.Stutters are still there but certainly less.I cannot wait to get a cpu that can clock to 6ghz on ice to enjoy the full experience.
This and x-plane 11 the too main software on my system that uses a lot of CPU as expected in flight sims unlike normal games that uses mostly GPU and pushes as many frames as possible.

did you manually go in and set your rolling cache to 64? its set to 8 in game by default.

Yes, I did.

what download cache are you referring to? I’m following along in this thread and then I don’t understand this. Thanks!

This thread’s Topic is nothing to do with cache, setting it, or clearing it.
Somehow, talk about Cache got in, OFF Topic.

There are other thread that discuss CACHE,

This Thread is a BUG Report about excessive AI Planes overloading the CPU,

I agree, do not divert the topic of conversation. Massive FPS drop due to AI traffic on or live traffic is the main problem that is being addressed in this post. Dynamic or manual cache and how to set it, should be treated in another post, ram memory usage or quantity, the same, and a long etc 


Noticed the past few weeks I went from around 60 fps to 30 fps and as the sim was running, would get even lower, into the mid-teens. I kept lowering graphics settings but none of it really helped more than a few fps. I disabled all AI traffic and now I’m back up to a solid 50-60 fps with most settings maxed out again (2k res). Just in case anyone wants to try it.

ROFL – yes, It works – Its a problem, but nobody wants to do anything about it !!!

Glad you got your FPS back up. Now you know whay they went down
 the longer you fly, the lower they get, til 10.000 then BANG CTD

It is interesting that you mention that. Flying past KSFO this evening there are tons of aircraft at the airport. I use the sim with AI aircraft disabled. I only use “Real World Traffic.” But
 even at that, there are massive amounts of A/C at KSFO.

The software crashed to desktop about 65 nm south of KSFO.

Draw your own conclusions