Configurable parallel und distributed processing settings
PyCAM v0.4 started to support parallel and distributed processing. This basically means that the calculation of toolpaths will use all available CPU cores of your machine automatically. Additionally you can also use some commandline arguments to connect to remote worker servers. This leverages your local CPU resources to process even huge models with the help of remote PyCAM servers in a timely manner. With the new upcoming release v0.4.1, PyCAM will also allow you to configure these network connections via the preferences dialog of the GUI.
The following items are configurable:
Enable parallel processes
This setting is the general switch for enabling parallel processing (using all cores of your computer) and distributed processing (sharing processing resources over the network).
Number of processes:
This specifies the maximum number of parallel local processes. By default this equals the number of CPU cores in your machine. Increasing this number will usually reduce overall performance. A lower number can be useful if you want to reserve CPU cores for other tasks.
Use this switch to open a connection to a remote server or to start a local server (depending on the Remote server setting below). Initiating a connecting as well as taking it down takes some moments – please be patient.
Remote server / port:
Here you can specify the hostname or IP of a remote server. You can also change the TCP port (default: 1250) if necessary.
Leave the hostname field empty if you only want to run a local server. This allows other hosts to connect to your instance of PyCAM. There is no difference between you connecting to another host or the other way around.
This is the local TCP port, that you want to open for remote PyCAM instances. Usually you should keep the default value (1250).
Running a PyCAM server is a risky operation. Malicious peers have arbitrary control over your computer (limited only by the permissions of the user account running PyCAM). So please use a strong passoword for restricting access to your server. Click at New to generate a new random password. The Show password checkbox is used for toggling the visibility of the content of the password field above.
The network settings are currently not stored permanently. This will probably be implemented in a later release of PyCAM.