ansible vs saltstack速度测试

salt vs ansible
管理的机器数1500

time salt "*"  cmd.run "hostname"
real    0m3.983s
user    0m3.582s
sys     0m0.252s

time  salt '*' test.ping
real    0m3.856s
user    0m3.454s
sys     0m0.242s

time ansible ... -m ping
real    3m44.632s
user    2m9.356s
sys     1m25.901s

time ansible ... -m shell -a "hostname"
real    1m35.808s
user    1m50.635s
sys     1m26.378s


 

Share