To take advantages of a multi-core or multi-processor machine, multi-threaded mode must be activated by setting the SoPreferences SoPreferences SoPreferences DIRECTVIZ_NUM_THREADS_MASTER parameter to the number of threads to be used by DirectViz. This cannot be changed after DirectViz has been initialized.
![]() | |
The number of threads should not exceed the number of processors multiplied by the number of cores of each processor; otherwise there may be some unwanted overhead. For example, on a dual CPU where each CPU is dual core, the number of threads would be set to 4 in an Open Inventor configuration file: |
![]() | |
Note that the DIRECTVIZ_CLUSTER parameter must remain set to 0 in a stand-alone system configuration. |
![]() | |
Multi-threading is supported by the RTX rendering object and shader package. Other shader packages may not support multi-threading if not designed for that. They should, however, work in cluster mode, as long as multithreading is not set on the slaves. |