Multithreading Module

FLAMES-Simulation-Framework-logo.gif

more-info.gif

FLAMES News
    FLAMES 8.1 Now Available
    Ternion Makes MT2 Top Simulation List


About FLAMES
    FLAMES Product Information
    FLAMES Simulation Benefits
    Simulation Applications for FLAMES
    FLAMES Simulation Modules
    Product Literature
    Product Videos
    Contact FLAMES Sales
    Sign-up for FLAMES E-mail Alerts
 

Try FLAMES Simulation Software
    Free Simulation Software

    30-Day Evaluation with Development
 

FLAMES User Resources
    FLAMES Forum

    Technical Support

What is it?

The Multithreading module allows FLAMES-based simulations to execute scenarios using two or more of the processors of a multiple-processor computer simultaneously. Using this module will allow nearly all FLAMES scenarios to execute more quickly. If you want to execute larger scenarios in the same amount of time, or if you want to execute your existing scenarios in less time, the Multithreading module may be what you need.

One of the most amazing and attractive features of the Multithreading module is that it is almost always fully automatic. When this module is enabled, a FLAMES scenario execution application (such as FORGE or FIRE) is automatically divided into multiple threads (processes), and each thread is given a different portion of the scenario to execute. Changes to the application or the scenario are rarely required. The only requirement is that the models that are to be executed on parallel threads must be implemented according to FLAMES development guidelines.

How does it work?

When the Multithreading module is enabled, a FLAMES scenario execution application (such as FORGE or FIRE) is automatically divided into multiple threads (processes), and each thread is given a different portion of the scenario to execute. FLAMES and the operating system automatically distribute these threads to the various processors of the computer and handle all shared memory management, thread synchronization, and load balancing. If your computer has multiple processors or multiple processor cores, your scenario will usually execute faster. How much faster will depend on your computer and your particular scenario.

The Multithreading module currently executes sensor detection, platform motion, and munition motion on multiple threads, because most scenario execution time for the majority of scenarios is spent in these operations. Other parts of scenario execution are executed on a single thread.