intel-cloud / cosbench

a benchmark tool for cloud object storage service
Other
573 stars 242 forks source link

How to configure the workload to test EMC ECS using existing bucket #337

Open zhichao-cao opened 7 years ago

zhichao-cao commented 7 years ago

I want to use cosbench to evaluate the EMC ECS. However, due to the security reason, I can only use the existing bucket and I'm not authorized to create or delete any bucket. How to configure the s3-config-sample.xml so that I can indicate the bucket name as the existing one and put all the workload in that bucket

Thanks,

Tom

ywang19 commented 7 years ago

Hi tom,

You just need skip/comment out "init" and "dispose" stages to avoid bucket creation and disposal.

Then to use "cprefix" and "csuffix" parameter to customize bucket names.

-yaguang

在 2016年11月12日,上午5:01,zhichao-cao notifications@github.com 写道:

I want to use cosbench to evaluate the EMC ECS. However, due to the security reason, I can only use the existing bucket and I'm not authorized to create or delete any bucket. How to configure the s3-config-sample.xml so that I can indicate the bucket name as the existing one and put all the workload in that bucket

Thanks,

Tom

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

jauzins commented 7 years ago

I have a similar question.

If I want to use a pool named "mypool", how do I specify this in the configuration XML file?

I tried to use this:
<operation type="write" config="cprefix=mypool; oprefix=myobj_;objects=s(1,10);sizes=c(2)MB" />

But it results in a terminated job because I didn't include the selection expression part (e.g. "containers=c(1)"). How can I skip that so my pool doesn't have any numbers in it? I simply want it to be "mypool". I don't want "mypool1".

Regards, Josh