You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default is to use as many worker threads as there are CPUs and set CPU
affinity to map worker threads to CPUs in a 1:1 fashion.
The first core is used to run the eventloop that processes I/O and the rest
runs the main loop that executes actors.
On machines with a low CPU count this can be catastrophic. The extreme
example being a single CPU machine, which consequently will have 0 worker
threads executing actors. It will only run the eventloop that processes I/O
and thus is unable to actually run an Acton program.
Even on a 2 CPU machine, which would lead to a single worker thread
executing actors, this can be quite bad.
We now run a minimum of 4 worker threads, 1 for the I/O eventloop and 3
actor processing threads, to get around these problems.