Michael Still ff7667db86 Use /tmp for baseline testing.
We had permissions problems otherwise.

Change-Id: I8f009ec22612157884573663b3ee32bcec9ab511
2014-01-03 17:28:30 +11:00

12 lines
281 B
Bash
Executable File

#!/bin/bash
# Generate a baseline measure of the performance of an instance
# $1 is a string descript of the instance flavor
echo "Instance flavor: $1"
echo "IO test starts"
time dd if=/dev/zero bs=1024000 count=1024 of=/tmp/test-$$.dd
rm -f /tmp/test-$$.dd
echo "IO test ends"