About Activity Performance Optimization and Resource Management

You can optimize the performance and manage the resource usage for an activity containing an Optimization adapter, DOE adapter, Monte Carlo Simulation adapter, or Loop adapter..

For such activities, you can set a maximum batch size to control parallel simulations, and you can enable fast-flow execution to improve subflow performance.

This page discusses:

See Also
Configuring the Activity Execution Options

Maximum Batch Size

The maximum batch size is the maximum number of parallel simulations submitted by Optimization Process Composer at one time while the activity is running.

For example, if an activity contains a DOE adapter running 100 simulations, Optimization Process Composer can submit all simulations at once and consume all available 3DOrchestrate Stations. Therefore, setting a maximum batch size protects against consuming all the available stations.

However, not all algorithms reach the maximum batch size. Most optimizers do not use a high maximum batch size, and the actual batch size is often a function of the number of design variables.

The 3DOrchestrate cloud administrator can set a maximum batch size for running a job on the 3DOrchestrate cloud environment connected to the desktop client. When you specify a maximum batch size value greater than the value set by the administrator, the app issues a warning and resets the value to the value set by the administrator. For more information see, SMAExeServer.properties File.

Fast-Flow Execution

Fast-flow execution allows the app to run the complete simulation process on the same 3DOrchestrate Station without going back and forth interacting with the 3DOrchestrate Distribution Server.

A subflow is a nested process within a larger process. Organizing a process into subflows allows you to encapsulate a series of activities or gateways into a single activity, making the overall process diagram more manageable and easier to understand.

When a subflow contains only adapters that run rapidly (such as the Calculator adapter, OS Command adapter, or Excel adapter), fast-flow execution allows the app to improve performance by running the entire subflow on a single 3DOrchestrate Station. Running the subflow on a single station reduces the amount of network activity during distributed execution by the 3DOrchestrate Distribution Server.

However, if an adapter in the subflow does not run rapidly (in less than one second), fast-flow execution is unlikely to improve performance. For example, if the subflow contains an Abaqus adapter, selecting fast-flow execution might limit the availability of parallel computing resources and slow down the execution of the subflow. You cannot use fast-flow execution if the affinities prevent the function adapters in a subflow from running on a single station.

For example, consider the simulation process shown below:

In this process, the user enabled fast-flow execution for the Optimization adapter and the Monte Carlo Simulation adapter. Optimization Process Composer highlights the subflows in orange in the process diagram to indicate the use of fast-flow execution. For more information, see Subflow.