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
#!/bin/bash | |
object_size=4194304; #4MB | |
duration=60; | |
results_folder="./smallio_results" | |
mkdir -p ${results_folder}; | |
#one at a time | |
#for iosize in 4096 131072 4194304; |
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
#!/bin/bash | |
num_instances=4 | |
hosts=("ceph0" "ceph1") | |
let num_pools=${#hosts[@]}*$num_instances | |
#Create Pools | |
pgs=16384 |
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
#!/bin/bash | |
echo "Server, Disk, Size, Read BW, Write BW, Read BW, Write IOPS" | |
for osd in {0..43} | |
do | |
throughput=`tail -n3 osd.${osd}_* | grep time | awk -F \" '{print $30}'` | |
iops=`tail -n3 osd.${osd}_* | grep time | awk -F \" '{print $22}'` |
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 |
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
#!/bin/bash | |
############## | |
# NOTE | |
# The number at the end of the path where osd data is stored must match the number used in naming the osd | |
# Must be able to execute ceph health successfully on each osd host | |
# | |
# Last tested | |
# FROM XFS -> BTRFS (12/11/2012) | |
# FROM BTRFS -> XFS (12/10/2012) |
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
#!/bin/bash | |
results="smalliobench_results" | |
osds=`cat /etc/ceph/ceph.conf | grep -B1 \`hostname\` | grep osd | cut -d. -f2 | cut -d] -f1` | |
journals=`cat /etc/ceph/ceph.conf | grep -A1 \`hostname\` | grep journal | cut -d'/' -f3` | |
i=0 | |
for journal in $journals | |
do | |
jour[$i]=$journal |
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
#!/usr/bin/python | |
import sys | |
import csv | |
import string | |
class Row: | |
def __init__(self, size): | |
self.size = size | |
self.node = [] | |
self.run = [] |
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
#!/bin/bash | |
results="smalliobench_results" | |
osds=`cat /etc/ceph/ceph.conf | grep -B1 \`hostname\` | grep osd | cut -d. -f2 | cut -d] -f1` | |
journals=`cat /etc/ceph/ceph.conf | grep -A1 \`hostname\` | grep journal | cut -d'/' -f3` | |
i=0 | |
for journal in $journals | |
do | |
jour[$i]=$journal |
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
#!/bin/bash | |
results="smalliobench_results" | |
osds=`cat /etc/ceph/ceph.conf | grep -B1 \`hostname\` | grep osd | cut -d. -f2 | cut -d] -f1` | |
journals=`cat /etc/ceph/ceph.conf | grep -A1 \`hostname\` | grep journal | cut -d'/' -f3` | |
i=0 | |
for journal in $journals | |
do | |
jour[$i]=$journal |
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
root@hpbs-c01-s01:~# cat node.sh | |
#!/bin/bash | |
results="smalliobench_results" | |
osds=`cat /etc/ceph/ceph.conf | grep -B1 \`hostname\` | grep osd | cut -d. -f2 | cut -d] -f1` | |
journals=`cat /etc/ceph/ceph.conf | grep -A1 \`hostname\` | grep journal | cut -d'/' -f3` | |
i=0 | |
for journal in $journals | |
do | |
jour[$i]=$journal |