O'Reilly logo

OpenStack Cloud Computing Cookbook by Kevin Jackson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

OpenStack Storage benchmarking

Understanding the capabilities of your OpenStack Storage environment is crucial to determining limits for capacity planning and areas for performance tuning. OpenStack Storage provides a tool named swift-bench that helps you understand these capabilities.

Getting ready

Log in to the swift-proxy node as the root user.

How to do it...

Carry out the following to benchmark an OpenStack Storage cluster:

  1. First, create a configuration file named /etc/swift/swift-bench.conf, with the following contents:
    [bench]
    auth = http://172.16.0.1:5000/v2.0
    user = cookbook:admin
    key = openstack
    concurrency = 10
    object_size = 1
    num_objects = 1000
    num_gets = 10000
    delete = yes
    
  2. With this in place, we can simply execute swift-bench, specifying ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required