Command line usage

OS-Benchmark is powered by a command line tool: os-benchmark

Benchmark

Actually 2 scenarios are available time-upload and time-download. They are designed to:

  • Setup the test environment
  • Launch tests
  • Tear down
  • Output result

Here’s an exemple of output from os-benchmark:

version         0.1
operation               download
ops             50
time            0.001370
rate            101458.732463
bw              99.080793
object_size             1024
total_size              51200
test_time               0.000493
avg             0.000010
stddev          0.000001
med             0.000010
min             0.000009
max             0.000013

time-upload

Example::

os-benchmark time-upload --object-size 1024 --object-number 1

time-download

Example::

os-benchmark time-download --object-size 1024 --object-number 1

Bucket management

os-benchmark provides operations for manage your bucket:

  • create-bucket
  • list-buckets
  • delete-bucket
  • list-objects
  • upload
  • download
  • delete-object
  • clean-bucket: Remove all files and delete a bucket
  • clean: Remove all objects and buckets