Salt Master Performance Testing
minionswarm.py
is a utility that can be used to spin up any number of minions to test master performance. At current, it must be run on a master+minion to allow for auto-key-creation/acceptance.
minionswarm.py
is a useful tool to test specific functions against a number of minions and verify what load is produced on the master. Functionality is limited as the filesystem is jailed only for minion configuration things. All filesystem operations occur on the host minion. Expect to consume more RAM than CPU. An example systems RAM usage:
RAM used prior to minion swarm: 531 MB
RAM used after 10 minion swarm: 1700 MB
RAM used after 30 minion swarm: 2600 MB
RAM used after 50 minion swarm: 3500 MB
Here is an example command to startup 30 minions (-m 30
) based on the O/S of the master/minion running minionswarm.py
, running as root (-u root
) and connect to the specific master (--master
192.168.123.26
):
Options Include: