Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?xml version="1.0" encoding="UTF-8" ?>
<workload name="bucket-test" description="Bucket Test">
<storage type="s3" config="accesskey=XXXXXXXXXXXXXXXXXXXX;secretkey=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX==;proxyhost=10.14.20.12;proxyport=8080;endpoint=http://10.14.20.12/" />
<workflow>
<workstage name="init">
<work type="init" workers="1" config="cprefix=bucket-test;containers=r(1,10)" />
</workstage>
<workstage name="prepare">
<work type="prepare" workers="100" config="cprefix=bucket-test;containers=r(1,10);objects=r(1,10000);sizes=h(1|3|90,3|10|10)KB" />
</workstage>
<workstage name="main">
<work name="main" workers="100" runtime="300">
<operation type="read" ratio="50" config="cprefix=bucket-test;containers=u(1,10);objects=u(1,10000)" />
<operation type="write" ratio="50" config="cprefix=bucket-test;containers=u(1,10);objects=u(10001,20000);sizes=h(1|3|90,3|10|10)KB" />
</work>
</workstage>
<workstage name="cleanup">
<work type="cleanup" workers="100" config="cprefix=bucket-test;containers=r(1,10);objects=r(1,20000)" />
</workstage>
<workstage name="dispose">
<work type="dispose" workers="1" config="cprefix=bucket-test;containers=r(1,10)" />
</workstage>
</workflow>
</workload>
root@myhost:~# time s3cmd mb s3://bucket-test1
Bucket 's3://bucket-test1/' created
real 0m0.107s
user 0m0.072s
sys 0m0.008s
root@myhost:~# time s3cmd rb s3://bucket-test1
Bucket 's3://bucket-test1/' removed
real 0m0.117s
user 0m0.072s
sys 0m0.004s
############ RAN COSBENCH ############
root@myhost:~# time s3cmd mb s3://bucket-test1
WARNING: Retrying failed request: / (timed out)
WARNING: Waiting 3 sec...
WARNING: Retrying failed request: / (timed out)
WARNING: Waiting 6 sec...
WARNING: Retrying failed request: / (timed out)
WARNING: Waiting 9 sec...
Bucket 's3://bucket-test1/' created
real 0m48.136s
user 0m0.056s
sys 0m0.024s
root@myhost:~# time s3cmd rb s3://bucket-test1
WARNING: Retrying failed request: / (timed out)
WARNING: Waiting 3 sec...
WARNING: Retrying failed request: / (timed out)
WARNING: Waiting 6 sec...
WARNING: Retrying failed request: / (timed out)
WARNING: Waiting 9 sec...
WARNING: Retrying failed request: / (timed out)
WARNING: Waiting 12 sec...
ERROR: Bucket 'bucket-test1' does not exist
Bucket 's3://bucket-test1/' removed
real 1m10.150s
user 0m0.072s
sys 0m0.016s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.