cosbench测试对象存储4k小文件写

4k 1000workers

<?xml version="1.0" encoding="UTF-8" ?> <workload name="s3-sample" description="sample benchmark for s3"> <storage type="s3" config="accesskey=oeosadmin;secretkey=oeosadmin;endpoint=http://oeos.com:19003;path_style_access=true" /> <workflow> <workstage name="init"> <work type="init" workers="1" config="cprefix=99test;containers=r(1,1)" /> </workstage> <workstage name="main"> <work name="write" workers="1000" runtime="30"> <operation type="write" ratio="100" config="cprefix=99test;containers=r(1,1);objects=s(1,10000000);sizes=c(4)KB" /> </work> </workstage> </workflow> </workload>

4k 800workers

<?xml version="1.0" encoding="UTF-8" ?> <workload name="s3-sample" description="sample benchmark for s3"> <storage type="s3" config="accesskey=oeosadmin;secretkey=oeosadmin;endpoint=http://oeos.com:19003;path_style_access=true" /> <workflow> <workstage name="init"> <work type="init" workers="1" config="cprefix=100test;containers=r(1,1)" /> </workstage> <workstage name="main"> <work name="write" workers="800" runtime="30"> <operation type="write" ratio="100" config="cprefix=100test;containers=r(1,1);objects=s(1,10000000);sizes=c(4)KB" /> </work> </workstage> </workflow> </workload>

4k 600workers

<?xml version="1.0" encoding="UTF-8" ?> <workload name="s3-sample" description="sample benchmark for s3"> <storage type="s3" config="accesskey=oeosadmin;secretkey=oeosadmin;endpoint=http://oeos.com:19003;path_style_access=true" /> <workflow> <workstage name="init"> <work type="init" workers="1" config="cprefix=101test;containers=r(1,1)" /> </workstage> <workstage name="main"> <work name="write" workers="600" runtime="30"> <operation type="write" ratio="100" config="cprefix=101test;containers=r(1,1);objects=s(1,10000000);sizes=c(4)KB" /> </work> </workstage> </workflow> </workload>

4k 400workers

<?xml version="1.0" encoding="UTF-8" ?> <workload name="s3-sample" description="sample benchmark for s3"> <storage type="s3" config="accesskey=oeosadmin;secretkey=oeosadmin;endpoint=http://oeos.com:19003;path_style_access=true" /> <workflow> <workstage name="init"> <work type="init" workers="1" config="cprefix=102test;containers=r(1,2)" /> </workstage> <workstage name="main"> <work name="write" workers="400" runtime="30"> <operation type="write" ratio="100" config="cprefix=102test;containers=r(1,2);objects=s(1,10000000);sizes=c(4)KB" /> </work> </workstage> </workflow> </workload>

4k 16384workers

<?xml version="1.0" encoding="UTF-8" ?> <workload name="s3-sample" description="sample benchmark for s3"> <storage type="s3" config="accesskey=oeosadmin;secretkey=oeosadmin;endpoint=http://oeos.com:19003;path_style_access=true" /> <workflow> <workstage name="init"> <work type="init" workers="1" config="cprefix=103test;containers=r(1,2)" /> </workstage> <workstage name="main"> <work name="write" workers="16384" runtime="30"> <operation type="write" ratio="100" config="cprefix=103test;containers=r(1,2);objects=s(1,10000000);sizes=c(4)KB" /> </work> </workstage> </workflow> </workload>

4k 8192workers

<?xml version="1.0" encoding="UTF-8" ?> <workload name="s3-sample" description="sample benchmark for s3"> <storage type="s3" config="accesskey=oeosadmin;secretkey=oeosadmin;endpoint=http://oeos.com:19003;path_style_access=true" /> <workflow> <workstage name="init"> <work type="init" workers="1" config="cprefix=104test;containers=r(1,2)" /> </workstage> <workstage name="main"> <work name="write" workers="8192" runtime="30"> <operation type="write" ratio="100" config="cprefix=104test;containers=r(1,2);objects=s(1,10000000);sizes=c(4)KB" /> </work> </workstage> </workflow> </workload>

4k 4000workers

<?xml version="1.0" encoding="UTF-8" ?> <workload name="s3-sample" description="sample benchmark for s3"> <storage type="s3" config="accesskey=oeosadmin;secretkey=oeosadmin;endpoint=http://oeos.com:19003;path_style_access=true" /> <workflow> <workstage name="init"> <work type="init" workers="1" config="cprefix=105test;containers=r(1,2)" /> </workstage> <workstage name="main"> <work name="write" workers="4000" runtime="30"> <operation type="write" ratio="100" config="cprefix=105test;containers=r(1,2);objects=s(1,10000000);sizes=c(4)KB" /> </work> </workstage> </workflow> </workload>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值