cbt
cbt copied to clipboard
Create Module for All-to-All Network Tests
Use iperf for all-to-all network tests. Base code on somthing vaguely like:
Client to OSD tests:
!/bin/bash
for i in 8 9 10 11 12 13 do val=$((62+$i)) pdsh -R ssh -w osd[$i] iperf -s -B 172.27.50.$val & done
!/bin/bash
for i in 0 1 2 3 4 5 6 7 do for val in 70 71 72 73 74 75 do pdsh -R ssh -w client[$i] iperf -c 172.27.50.$val -f m -t 60 -P 1 > /tmp/iperf_client${i}to${val}.out & done done
!/bin/bash
for i in 8 9 10 11 12 13 do val=$((62+$i)) pdsh -R ssh -w osd[$i] iperf -s -B 172.27.49.$val & done
!/bin/bash
for i in 8 9 10 11 12 13 do for val in 70 71 72 73 74 75 do pdsh -R ssh -w osd[$i] iperf -c 172.27.49.$val -P 1 -f m -t 60 -P 1 > /tmp/iperf_${i}to${val}.out & done done