cosbench 测试用例

<?xml version="1.0" encoding="utf-8"?>

<workload name="buckets*objects=100*100 size=4k num_workers=1000 read:write=0:100" description="buckets*objects=100*100 size=4k num_workers=1000 read:write=0:100"> 
  <storage type="s3" config="accesskey= {accesskey};secretkey= secretkey{secretkey};proxyhost=;proxyport=;endpoint=http://192.168.1.1:80"/>  
  <!-- Small Objects, Write & Read -->  
  <workflow> 
    <!-- Create  bucket  -->  
    <workstage name="create-buckets"> 
      <work type="init" workers="1000" config="cprefix=s3test;containers=r(1,100)"/> 
    </workstage>  
    <!-- write  -->  
    <workstage name="main"> 
      <work name="main" workers="1000" runtime="1000"> 
        <operation type="write" ratio="100" config="cprefix=s3test;containers=r(1,100);objects=u(1,100);sizes=c(4)KB"/> 
      </work> 
    </workstage>  
    <!-- del objects -->  
    <workstage name="cleanup"> 
      <work type="cleanup" workers="1000" config="cprefix=s3test;containers=r(1,100);objects=r(1,100)"/> 
    </workstage>  
    <!-- del buckets -->  
    <workstage name="dispose"> 
      <work type="dispose" workers="1000" config="cprefix=s3test;containers=r(1,100)"/> 
    </workstage> 
  </workflow> 
</workload>


你可能感兴趣的:(radosgw,cosbench)