Mercurial > hg > Members > taiki > benchmarks
diff memo.txt @ 17:170f04992ccb default tip
add work log that result of count time
author | taiki |
---|---|
date | Wed, 14 Jan 2015 19:30:55 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/memo.txt Wed Jan 14 19:30:55 2015 +0900 @@ -0,0 +1,104 @@ +## VM 2 node から計測 + +/media/fcs 以下に + + gateway/fedora20_09.xml + gateway/fedora20_09.img + + gateway2/fedora20_10.xml + gateway2/fedora20_10.img + +をそれぞれ作成 + +でそれぞれ実行 + +gateway2 上での例 + virsh define /media/fcs/gateway2/fedora20_10.xml + virsh start fedora20_10 + + +ansible を実行する host に sshconfig.counttime を作成 +鍵はすべて ansible をつかう client におく +このファイルも client に。 + + Host gateway + HostName gateway + IdentityFile ~/.ssh/bldsv + User xxxxx + Host gateway2 + HostName gateway2 + IdentityFile ~/.ssh/bldsv + User xxxxx + Host 192.168.122.18 + User xxx + Identityfile counttime + Proxycommand ssh -F sshcondig.counttime gateway nc -w 120 %h %p + + +各 VM の ip address を知りたい + + /var/lib/libvirt/dnsmasq/default.leases + +からとれる +中身はこんな感じ + + 1421178594 52:54:00:44:02:54 192.168.122.18 * 01:52:54:00:44:02:54 + +そういえば raw だった… + + qemu-img convert -O qcow2 fedora20_09.img fedora20_09.qcow2 + +というわけで qcow2 へ変換 + +filebench の測定結果を正しくするため、 + + echo 0 > /proc/sys/kernel/randomize_va_space + +しとく + +その間に、なんとかかんとかに hydra を install + yum install hydra + +gateway2 の qcow2 形式の測定結果 +あんまり raw と変わらない感ある + + statfile1 15995ops 266ops/s 0.0mb/s 0.2ms/op 2216us/op-cpu [0ms - 1842ms] + deletefile1 16001ops 267ops/s 0.0mb/s 4.9ms/op 5053us/op-cpu [0ms - 2983ms] + closefile3 16011ops 267ops/s 0.0mb/s 0.0ms/op 2162us/op-cpu [0ms - 6ms] + readfile1 16017ops 267ops/s 33.8mb/s 23.3ms/op 4302us/op-cpu [0ms - 2322ms] + openfile2 16020ops 267ops/s 0.0mb/s 0.3ms/op 2232us/op-cpu [0ms - 1842ms] + closefile2 16023ops 267ops/s 0.0mb/s 0.0ms/op 2148us/op-cpu [0ms - 4ms] + appendfilerand1 16025ops 267ops/s 2.1mb/s 38.2ms/op 6767us/op-cpu [0ms - 2407ms] + openfile1 16031ops 267ops/s 0.0mb/s 0.1ms/op 2205us/op-cpu [0ms - 68ms] + closefile1 16033ops 267ops/s 0.0mb/s 0.0ms/op 2132us/op-cpu [0ms - 6ms] + wrtfile1 16035ops 267ops/s 32.9mb/s 1.3ms/op 2710us/op-cpu [0ms - 781ms] + createfile1 16041ops 267ops/s 0.0mb/s 11.4ms/op 2653us/op-cpu [0ms - 2284ms] + 1037: 95.813: IO Summary: 176232 ops, 2936.273 ops/s, (267/534 r/w), 68.8mb/s, 433us cpu/op, 26.5ms latency + +gateway でも動かす + +IP address を調べる + 192.168.122.18 + +鍵作成 + .ssh/counttime + .ssh/counttime.pub + +gateway gateway2 で、 + scp ~/.ssh/counttime.pub xxx@192.168.122.18: + +送信。 + +gateway gateway2 両方の VM fedora20_XX で、いつものやつを + + mkdir .ssh + chmod 700 .ssh + mv counttime.pub .ssh + touch .ssh/authorized_keys + cat .ssh/counttime.pub > .ssh/authorized_keys + chmod 600 .ssh/authorized_keys + +これで鍵を使って pass なしで login 可能に + + +