Improve system performance¶
Perhaps in a few weeks or after installing SaltStack Enterprise when you are feeling confident that everything is operating as expected, you can begin to optimize your system’s overall performance. This topic provides some guidance and additional links to articles for more information.
Tuning processes on your SaltStack Enterprise server¶
When the Enterprise API service (RaaS) starts, it creates two types of processes:
- Tornado processes - allows connections from Salt Masters and web browsers
- Celery processes - background workers
By default, RaaS sets the count for each process type to half the number of CPU cores.
In most cases this is optimal, as the RaaS host should be dedicated to this task.
If you need to deploy RaaS on a host that supports additional services, you can override the default behavior by adding the following to your
/etc/raas/raas configuration file.
num_processes: 8 background_workers: concurrency: 8
The following guides might be helpful for tuning:
For help with benchmarking the performance of SaltStack Enterprise, see Benchmarking Guide for SaltStack Enterprise.
For a PostgreSQL tuning guide, see Tuning your PostgreSQL Server for SaltStack Enterprise.