From 3d41a65738c44c2859ec9bdba11a0c0714b62b14 Mon Sep 17 00:00:00 2001 From: mbeierl Date: Thu, 26 Jan 2017 11:30:26 -0500 Subject: Hardening FIO interaction Fixes a problem where FIO does not terminate by scheduling a second killall if we get a specific message back from FIO stderr. Introduces a new flavor for StorPerf that has a little more memory as larger memory maps for duplicate blocks sometimes caused out of memory killer to be invoked. Change-Id: I06856561ad73fef582a81d4136a36a1bea47654a JIRA: STORPERF-99 Signed-off-by: mbeierl --- ci/create_storperf_flavor.sh | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 ci/create_storperf_flavor.sh (limited to 'ci/create_storperf_flavor.sh') diff --git a/ci/create_storperf_flavor.sh b/ci/create_storperf_flavor.sh new file mode 100755 index 0000000..f25d56d --- /dev/null +++ b/ci/create_storperf_flavor.sh @@ -0,0 +1,25 @@ +#!/bin/bash +############################################################################## +# Copyright (c) 2017 EMC and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + +echo "Checking for StorPerf flavor" + +openstack flavor delete storperf + +FLAVOUR=`openstack flavor list | grep "storperf"` +if [ -z "$FLAVOUR" ] +then + openstack flavor create storperf \ + --id auto \ + --ram 8192 \ + --disk 4 \ + --vcpus 2 +fi + +openstack flavor show storperf -- cgit 1.2.3-korg