Skip to content

Commit

Permalink
gc workloads
Browse files Browse the repository at this point in the history
  • Loading branch information
mkogan1 committed May 26, 2020
1 parent 1d7355f commit 4618d2a
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 0 deletions.
21 changes: 21 additions & 0 deletions cosbench_workloads/gc-workload-config_01-s3.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<workload name="hybridSS"
description="RGW release based workload testing" config="">
<storage type="s3" config="accesskey=b2345678901234567890;secretkey=b234567890123456789012345678901234567890;endpoint=http://127.0.0.1:8000;path_style_access=true;timeout=900000;retry=100"/>
<workflow config="">
<!-- <workstage name="MAIN" closuredelay="0" config=""> -->
<workstage name="MAIN">
<work name="hybrid" type="normal" workers="10"
interval="5" division="none" runtime="43200" rampup="0" >
<operation type="read" ratio="10" division="none" afr="2000"
config="containers=u(6,6);objects=u(1,400000)" id="op1"/>
<operation type="list" ratio="10" division="none" afr="2000"
config="containers=u(6,6);objects=u(1,700000)" id="op2"/>
<operation type="write" ratio="50" division="none" afr="2000"
config="content=zero;containers=u(6,6);objects=u(300001,700000);sizes=c(512)KB" id="op3"/>
<operation type="delete" ratio="30" division="none" afr="2000"
config="containers=u(6,6);objects=u(300001,700000)" id="op4"/>
</work>
</workstage>
</workflow>
</workload>
23 changes: 23 additions & 0 deletions cosbench_workloads/gc-workload-config_01.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<workload name="hybridSS"
description="RGW release based workload testing" config="">
<!-- <auth type="swauth" config="username=johndoe:swift;password=0i3qjHAdexA8CX44Q4XgcCe23iQM4GWbzArpPi2W;auth_url=http://127.0.0.1:5000/auth/1.0"/> -->
<auth type="swauth" config="username=cosbench:operator;password=redhat;auth_url=http://127.0.0.1:8000/auth/1.0"/>
<storage type="swift" config="timeout=900000"/>
<workflow config="">
<workstage name="MAIN" closuredelay="0" config="">
<work name="hybrid" type="normal" workers="30"
interval="5" division="none" runtime="43200" rampup="0"
rampdown="0" afr="200000" totalOps="0" totalBytes="0" config="">
<operation type="read" ratio="10" division="none"
config="containers=u(6,6);objects=u(1,400000)" id="op1"/>
<operation type="list" ratio="10" division="none"
config="containers=u(6,6);objects=u(1,700000)" id="op2"/>
<operation type="write" ratio="50" division="none"
config="content=zero;containers=u(6,6);objects=u(300001,700000);sizes=c(512)KB" id="op3"/>
<operation type="delete" ratio="30" division="none"
config="containers=u(6,6);objects=u(300001,700000)" id="op4"/>
</work>
</workstage>
</workflow>
</workload>
15 changes: 15 additions & 0 deletions cosbench_workloads/gc-workload-fill-s3.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<workload name="hybridSS"
description="RGW release based workload testing" config="">
<storage type="s3" config="accesskey=b2345678901234567890;secretkey=b234567890123456789012345678901234567890;endpoint=http://127.0.0.1:8000;path_style_access=true;timeout=900000;retry=10"/>
<workflow config="">
<workstage name="init_containers">
<work type="init" workers="1" config="containers=r(2,6)"/>
</workstage>
<workstage name="preparing_cluster">
<!-- <work type="prepare" workers="30" config="content=zero;containers=r(2,6);objects=r(1,10000);sizes=h(1|1|50,64|64|15,8192|8192|15,65536|65536|15,1048576|1048576|5)KB"/> -->
<!-- <work type="prepare" workers="30" config="content=zero;containers=r(2,6);objects=r(1,20000);sizes=h(1|1|50,64|64|15,128|128|15,256|256|15,512|512|5)KB"/> -->
<work type="prepare" workers="10" config="content=zero;containers=r(6,6);objects=r(1,700000);sizes=c(512)KB"/>
</workstage>
</workflow>
</workload>

0 comments on commit 4618d2a

Please sign in to comment.