안녕하세요,
vdbench Tool을 이용해 부하를 줘서 성능 이슈를 재현해야 합니다.
실제 서비스 환경대비 서버가 부족하지만, 가능한 있는 서버에서 라도 최대한 Latency를 높게 나오게 하려면
어떻게 만들어야 할까요 ?
답변 해주시면 감사드리겠습니다.
///////////
#host definitions#
hd=default,vdbench=/root/vdbench,shell=ssh,user=root,jvm=2
hd=host1,system=vm01
hd=host2,system=vm02
hd=host3,system=vm03
hd=host4,system=vm04
hd=host5,system=vm05
hd=host6,system=vm06
hd=host7,system=vm07
hd=host8,system=vm08
hd=host9,system=vm09
hd=host10,system=vm10
hd=host11,system=vm11
hd=host12,system=vm12
hd=host13,system=vm13
hd=host14,system=vm14
hd=host15,system=vm15
hd=host16,system=vm16
hd=host17,system=vm17
hd=host18,system=vm18
hd=host19,system=vm19
hd=host20,system=vm20
hd=host21,system=vm21
hd=host22,system=vm22
hd=host23,system=vm23
hd=host24,system=vm24
#filesystem definitions#
fsd=fsd_host1,anchor=/opt/cdb/vdbench1,depth=10,width=10,files=1000,size=(4k,20,8k,40,64k,40)
fsd=fsd_host2,anchor=/opt/cdb/vdbench2,depth=10,width=10,files=1000,size=(4k,20,8k,40,64k,40)
fsd=fsd_host3,anchor=/opt/cdb/vdbench3,depth=10,width=10,files=1000,size=(4k,20,8k,40,64k,40)
fsd=fsd_host4,anchor=/opt/cdb/vdbench4,depth=10,width=10,files=1000,size=(4k,20,8k,40,64k,40)
fsd=fsd_host5,anchor=/opt/cdb/vdbench5,depth=10,width=10,files=1000,size=(4k,20,8k,40,64k,40)
fsd=fsd_host6,anchor=/opt/cdb/vdbench6,depth=10,width=10,files=1000,size=(4k,20,8k,40,64k,40)
fsd=fsd_host7,anchor=/opt/cdb/vdbench7,depth=10,width=10,files=1000,size=(4k,20,8k,40,64k,40)
fsd=fsd_host8,anchor=/opt/cdb/vdbench8,depth=10,width=10,files=1000,size=(4k,20,8k,40,64k,40)
fsd=fsd_host9,anchor=/opt/cdb/vdbench9,depth=10,width=10,files=1000,size=(4k,20,8k,40,64k,40)
fsd=fsd_host10,anchor=/opt/cdb/vdbench10,depth=10,width=10,files=1000,size=(4k,20,8k,40,64k,40)
fsd=fsd_host11,anchor=/opt/cdb/vdbench11,depth=10,width=10,files=1000,size=(4k,20,8k,40,64k,40)
fsd=fsd_host12,anchor=/opt/cdb/vdbench12,depth=10,width=10,files=1000,size=(4k,20,8k,40,64k,40)
fsd=fsd_host13,anchor=/opt/cdb/vdbench13,depth=10,width=10,files=1000,size=(4k,20,8k,40,64k,40)
fsd=fsd_host14,anchor=/opt/cdb/vdbench14,depth=10,width=10,files=1000,size=(4k,20,8k,40,64k,40)
fsd=fsd_host15,anchor=/opt/cdb/vdbench15,depth=10,width=10,files=1000,size=(4k,20,8k,40,64k,40)
fsd=fsd_host16,anchor=/opt/cdb/vdbench16,depth=10,width=10,files=1000,size=(4k,20,8k,40,64k,40)
fsd=fsd_host17,anchor=/opt/cdb/vdbench17,depth=10,width=10,files=1000,size=(4k,20,8k,40,64k,40)
fsd=fsd_host18,anchor=/opt/cdb/vdbench18,depth=10,width=10,files=1000,size=(4k,20,8k,40,64k,40)
fsd=fsd_host19,anchor=/opt/cdb/vdbench19,depth=10,width=10,files=1000,size=(4k,20,8k,40,64k,40)
fsd=fsd_host20,anchor=/opt/cdb/vdbench20,depth=10,width=10,files=1000,size=(4k,20,8k,40,64k,40)
fsd=fsd_host21,anchor=/opt/cdb/vdbench21,depth=10,width=10,files=1000,size=(4k,20,8k,40,64k,40)
fsd=fsd_host22,anchor=/opt/cdb/vdbench22,depth=10,width=10,files=1000,size=(4k,20,8k,40,64k,40)
fsd=fsd_host23,anchor=/opt/cdb/vdbench23,depth=10,width=10,files=1000,size=(4k,20,8k,40,64k,40)
fsd=fsd_host24,anchor=/opt/cdb/vdbench24,depth=10,width=10,files=1000,size=(4k,20,8k,40,64k,40)
#Workload definitions#
### Read:Write = 46:54 / seekpct 100:0 ###
fwd=default,xfersize=8k,rdpct=46,fileio=random,fileselect=random,threads=1,openflags=directio
fwd=fwd$host_1,host=$host,fsd=fsd_$host
fwd=fwd$host_2,host=$host,fsd=fsd_$host
fwd=fwd$host_3,host=$host,fsd=fsd_$host
fwd=fwd$host_4,host=$host,fsd=fsd_$host
fwd=fwd$host_5,host=$host,fsd=fsd_$host
fwd=fwd$host_6,host=$host,fsd=fsd_$host
fwd=fwd$host_7,host=$host,fsd=fsd_$host
fwd=fwd$host_8,host=$host,fsd=fsd_$host
fwd=fwd$host_9,host=$host,fsd=fsd_$host
fwd=fwd$host_10,host=$host,fsd=fsd_$host
fwd=fwd$host_11,host=$host,fsd=fsd_$host
fwd=fwd$host_12,host=$host,fsd=fsd_$host
fwd=fwd$host_13,host=$host,fsd=fsd_$host
fwd=fwd$host_14,host=$host,fsd=fsd_$host
fwd=fwd$host_15,host=$host,fsd=fsd_$host
fwd=fwd$host_16,host=$host,fsd=fsd_$host
fwd=fwd$host_17,host=$host,fsd=fsd_$host
fwd=fwd$host_18,host=$host,fsd=fsd_$host
fwd=fwd$host_19,host=$host,fsd=fsd_$host
fwd=fwd$host_20,host=$host,fsd=fsd_$host
fwd=fwd$host_21,host=$host,fsd=fsd_$host
fwd=fwd$host_22,host=$host,fsd=fsd_$host
fwd=fwd$host_23,host=$host,fsd=fsd_$host
fwd=fwd$host_24,host=$host,fsd=fsd_$host
# Run Definition #
rd=rd1,fwd=fwd*,fwdrate=max,format=yes,elapsed=300,interval=1
#rd=rd2,fwd=fwd*,fwdrate=max,format=yes,elapsed=300,warmup=10