Jump to content
Sign in to follow this  
JoeFackel

Performance advantage with using external AI Traffic tools?

Recommended Posts

Hi everyone,

i want to ask if there would be an performance advantage using external traffic tools like UT Live over the .bgl driven AI Traffic by P3D itself. The idea is that maybe i could relieve the stress from the P3D core engine and let UT inject the traffic running on a different core or even on an client machine.

Thx in advance for more infos!


System: i9 9900k@4.9 - 32 GB RAM - Aorus 1080ti --- Sim/Addons: P3D v5 + ProSim737
Signature3.png

Share this post


Link to post

Hello Joe,

generally speaking - no. An external AI app usually works with SimConnect - it creates the AI and then assigns a flight plan to it (otherwise you wouldn't get ATC to talk to them) - and is done. The AI logic inside the simulator is doing all the flying, the starting of engines, turning on/off lights, moving control surfaces, raise or drop the gear, etc.etc. it doesn't matter how the planes have been created. If anything, then using an external app is worse performance wise, because you add the SimConnect API overhead to service an additional client and especially creating/removing SimObjects with the SimConnect API puts a little strain on the sim. While hardly noticable to the users as a small "hesitation", if you create many objects, then there will be many "hesitations" = stutters. This is most noticable when you fly from your lonely route into a more densly populated area of a major hub airport. But that usually happens with the BGL based method too, so there really is nothing to be gained.

There are exceptions from the rule, where the external app is controlling every movement of the AI (AFAIK there is this SID/STAR controller and the two apps that inject live traffic. I think that VoxATC does it too, within limits). But there is no guarantee that to use your own code instead of taking advantage of the AI object movement logic in P3D is any better. In P3D we now even have the option to natively attach an external simulator engine to an object if we so desire - but someone has to develop a superior engine first...

Only thing that you can do is to remove the calculation of which plane should be flying where and when. Even move it to another computer if you run UT on a network. But that only has a positive effect on the weakest of computers, where every CPU instruction saved is a bonus. The bulk of the calculations - the actual flight of the AI - is still done by the sim.

Best regards


LORBY-SI

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...