Last active
December 10, 2015 23:08
-
-
Save concubidated/4506894 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hosts="node-14 compute-0-0" | |
for size in 4096 131072 4194304 | |
do | |
for host in $hosts | |
do | |
for n in {1..4} | |
do | |
ssh $host rados bench 300 write -p performance_${n} -b $size >> rados_write_${size}_${host}_${n} & | |
done | |
echo "$host: running $n rados bench write instances. Size: $size" | |
done | |
wait | |
for host in $host | |
do | |
ssh $host echo 3 \> /proc/sys/vm/drop_caches | |
for n in {1..4} | |
do | |
ssh $host rados bench 300 seq -p performance_${n} -b $size >> rados_bench_read_${size}_${host}_${n} & | |
done | |
echo "Running $n Rados bench read instances. Size: $size" | |
done | |
wait | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment