From 59e8a7f512baa7b95d103952b2d3e57c495720a5 Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Mon, 14 Sep 2015 14:04:27 +0200 Subject: [PATCH] openstack: throttling helps the instance running the cluster The instance throttling (not launching more than X instances per minute) helps the instance running the teuthology cluster when running multiple workers. The workload does not spike when launching a suite and that allows to run more workers on a machine with the same hardware configuration. Signed-off-by: Loic Dachary --- teuthology/openstack/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/teuthology/openstack/__init__.py b/teuthology/openstack/__init__.py index 72cb9576..cfaf5219 100644 --- a/teuthology/openstack/__init__.py +++ b/teuthology/openstack/__init__.py @@ -410,11 +410,11 @@ ssh access : ssh {identity}{username}@{ip} # logs in /usr/share/nginx/html 'ram': 1024, # MB 'cpus': 1, } - if self.args.simultaneous_jobs > 25: + if self.args.simultaneous_jobs > 100: hint['ram'] = 30000 # MB - elif self.args.simultaneous_jobs > 10: + elif self.args.simultaneous_jobs > 25: hint['ram'] = 7000 # MB - elif self.args.simultaneous_jobs > 3: + elif self.args.simultaneous_jobs > 10: hint['ram'] = 4000 # MB select = None -- 2.47.3