|
FLAMES
News Try
FLAMES Simulation Software FLAMES
User Resources |
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.
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.