Join the Community
and take part in the story

Architecture benchmarking - using COSBench -


Hi there,

If you want to perftest your object storage architecture you can use COSBench (developped by Intel):
There is an OpenIO driver (based on the OpenIO API) already merged in the original repository. You can also use the SWIFT or S3 connector.

As it’s quite long to deploy we have made a docker image (Thanks @racciari).
If you want to build it here is the dockerfile:
or you can directly pull the pre-built image (see

docker pull openio/cosbench-openio
docker run --net=host -ti --tty openio/cosbench-openio

Once the container is ready you should be able to connect to the webUI at http://<your_cosbench_server_ip>:19088/controller/index.html using your web browser.

Now you can create your workloads configuration.
e.g. for a simple replication openio cluster configuration:

<?xml version="1.0" encoding="UTF-8" ?>
<workload name="openio_java_api" description="Sample benchmark for OpenIO SDS using the Java API">
  <storage type="openio" config="ns=OPENIO;account=cosbench;proxyd-url=http://<ip_to_oioproxy>:6006" />


   <workstage name="init">
      <work type="init" workers="10" config="cprefix=mycontainer_;containers=r(1,10)" />

    <workstage name="prepare">
      <work type="prepare" workers="10" config="cprefix=mycontainer_;containers=r(1,10);objects=r(1,25);sizes=c(1024)KB"/>

    <workstage name="main">
      <work name="main" workers="10" runtime="300">
        <operation type="read" ratio="80" config="cprefix=mycontainer_;containers=u(1,10);objects=u(1,25)" />
        <operation type="write" ratio="20" config="cprefix=mycontainer_;containers=u(1,10);objects=u(26,50);sizes=c(1024)KB" />

    <workstage name="cleanup">
      <work type="cleanup" workers="10" config="cprefix=mycontainer_;containers=r(1,10);objects=r(1,50)"/>

    <workstage name="dispose">
      <work type="dispose" workers="10" config="cprefix=mycontainer_;containers=r(1,10)" />



Open your favorite text editor, copy/paste this example (do not forget to change <ip_to_oioproxy> in the file), save it and upload it to COSBench:
On the COSBench webUI, go to “submit new workloads” and load your file. The bench should start immediately.

That’s it.

You can find more workloads exampes here:

See you around,