Skip to content

Instantly share code, notes, and snippets.

@qqshow
Forked from dyusupov/s3-1mb.xml
Created August 10, 2021 05:59
Show Gist options
  • Save qqshow/bd0417c669fb760656b5287197aad7ee to your computer and use it in GitHub Desktop.
Save qqshow/bd0417c669fb760656b5287197aad7ee to your computer and use it in GitHub Desktop.
cosbench s3 1MB read-write, single bucket 100,000 objects
<?xml version="1.0" encoding="UTF-8"?>
<workload name="S3-1MB-write-reread" description="Verification of S3 parallel I/O of 1MB objects into a single bucket">
<auth type="none" config="username=admin;password=edgefs;auth_url=http://172.10.10.75:8080/auth/v1.0"/>
<workflow config="">
<workstage name="prepare">
<work name="prepare-objects" type="prepare" workers="40" division="object"
interval="20" config="cprefix=shared;containers=r(1,1);objects=r(1,100000);sizes=r(1,1)MB;hashCheck=false">
<storage type="s3" config="accesskey=KEY;secretkey=SEC;endpoint=http://172.10.10.75:9982;timeout=600000"/>
</work>
</workstage>
<workstage name="main">
<work name="re-read" type="normal" workers="40" interval="10" totalBytes="100000000000">
<storage type="s3" config="accesskey=KEY;secretkey=SEC;endpoint=http://172.10.10.75:9982;timeout=600000"/>
<operation type="read" ratio="100" config="cprefix=shared;containers=r(1,1);objects=r(1,100000);sizes=r(1,1)MB;hashCheck=true"/>
</work>
</workstage>
</workflow>
</workload>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment