Reduce number of locust clients

When measuring availability, multiple clients effectively give you
additional resolution, but that resolution may be of negligible value
here.

More importantly, when measuring for response time consistency
(important for zero-impact upgrades), it's counter-productive to run
clients in parallel, as you're also measuring the effect of parallel
clients instead of just the impact of the upgrade process.

Change-Id: Ic9449a1050651a1285bf80e69c958c965c21cbc4
This commit is contained in:
Dolph Mathews 2017-02-10 17:15:04 +00:00
parent 05adf591d3
commit 9c39427577
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@
- { src: "auth.json" , dest: "/opt/auth.json" }
- { src: "locustfile.py" , dest: "/opt/locustfile.py" }
- name: Run locust
command: locust -f /opt/locustfile.py --no-web --clients=4 --hatch-rate=1 --only-summary --host=http://localhost --port=5000 --logfile=/var/log/locust.log
command: locust -f /opt/locustfile.py --no-web --clients=1 --only-summary --host=http://localhost --port=5000 --logfile=/var/log/locust.log
async: 1000
poll: 0
register: locust_benchmark