Yes, there is a difference: it is about memory consumption and the maintenance / administration effort.
- Starting a slave in the system starts the (main) process. This process costs the (private) main memory to run and connect to the master.
- Each executor is a subprocess of the main process.
Thus, it is obvious that launching two executors on one slave device requires less memory in total compared to running two slaves (with one executor each), since the memory consumption of the main process will be twice:
2 * Main Processes + 2 * Executors > 1 * Main Process + 2 * Executors
In addition, administering a slave is more than just a contractor: despite the fact that the contractor has little to worry about, there are many things to configure for the slave. In addition, the capabilities of the two slave devices are the same (they work on the same OS as you said), so there is a bit of added value to assign different labels to it as well.
In short, if there are no other boundary conditions that make me do it differently, I would always prefer to run two artists on the same slave, as it is easier to administer and some memory is saved.
Eagle rainbow
source share