Cosbench test RGW S3 path_style_access=true mode support

Source: Internet
Author: User
Tags prepare

When using the Ceph RGW cosbench test, there is no way to write how to use path_style_access mode in the document. A look at the Cosbench source code discovery has been supported, but the document is not written.

Submitted a issue to the community: https://github.com/intel-cloud/cosbench/issues/350

In the following configuration file, add the following path_style_access=true parameter

Complete sample:

<?xml version= "1.0" encoding= "UTF-8"?>
<workload name= "S3-sample" description= "sample benchmark for S3" >

<storage type= "S3" config= "accesskey=9tgvu7d9w70esjz54ovx;secretkey=****;p roxyhost=;p roxyport=;endpoint=http ://s3.yyclouds.com; path_style_access=true"/>

<workflow>

<workstage name= "Init" >
<work type= "Init" workers= "config=" Cprefix=s3testqwer;containers=r "/>"
</workstage>

<workstage name= "Prepare" >
<work type= "Prepare" workers= "config=" Cprefix=s3testqwer;containers=r (objects=r) 1,256 sizes=u (1,3) MB "/>
</workstage>

<workstage name= "Main" >
<work name= "main" workers= "Runtime=" >
<operation type= "read" ratio= "1" config= "Cprefix=s3testqwer;containers=u (objects=u) 1,128"/>
<operation type= "Write" ratio= "config=" Cprefix=s3testqwer;containers=u, Objects=u (129,256); Sizes=u (1,3 ) MB "/>
</work>
</workstage>

<workstage name= "Cleanup" >
<work type= "cleanup" workers= "config=" Cprefix=s3testqwer;containers=r (objects=r) 1,256
</workstage>

<workstage name= "Dispose" >
<work type= "dispose" workers= "config=" Cprefix=s3testqwer;containers=r "/>"
</workstage>

</workflow>

</workload>

Cosbench test RGW S3 path_style_access=true mode support

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.