By default, Netfabb Simulation will use the maximum number of available cores. If hyper- threading is not turned off, it will use twice the number of physical cores, which results in slow performance. It is best to set the maximum number of threads to the physical cores. To ensure that Netfabb Simulation properly utilizes system resources, the following steps should be followed after installation.
- Navigate to the Netfabb Simulation environmental variable file in C:\Program Files\Autodesk\Netfabb Local Simulation 20XX\env\pan.env.
- Right click
pan.env
Open With and select your preferred text editor.
- Set OMP NUM THREADS: to the number of physical processing cores of your system. If your system uses hyperthreading, do not use the number of apparent cores as this will slow down performance.
- Set KMP_STACKSIZE:2G
- Save and close the file
Users may also set the OMP NUM THREADS and KMP STACKSIZE variables as user or environmental variables through Windows environmental variable settings. This is required for simulations using the pan2 command directly instead of the pan command, as pan2 does not reference the pan.env file.