Benchmarking OpenStack Object Storage

Recommended by 0 users

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

Getting started

Log in to the OpenStack Object Storage Proxy Server. To log on to our OpenStack Object Storage Proxy host that was created using Vagrant, issue the following command:

vagrant ssh swift

How to achieve it…

Carry out the following to benchmark an OpenStack Object Storage cluster:

  • First, create a configuration file named /etc/swift/swift-bench.conf, containing the following contents:
auth = user = service:swift
key = swift auth_version = 2.0 concurrency = 10 object_size = 1 num_objects = 1000 num_gets = 10000 delete = yes
  • With this in place, we can simply execute swift-bench, specifying our configuration file:
swift-bench /etc/swift/swift-bench.conf

This produces the following output:


How it works…

OpenStack Object Storage comes with a benchmarking tool named swift- bench. This runs through a series of puts, gets, and deletions, calculating the throughput and reporting of any failures in our OpenStack Objectc Storage environment. The configuration file contains the following content:

auth = Keystone authentication URL user = tenant:username
key = key/password
auth_version = version of Keystone API concurrency = number of concurrent operations object_size = the size of the object in bytes num_objects = number of objects to upload num_gets = number of objects to download delete = whether to perform deletions

The user specified must be capable of performing the required operations in our environment, including the creation of containers.

Related Pages:

Sample Resume:

Interview Questions:

0 Responses on Benchmarking OpenStack Object Storage"

Leave a Message

Your email address will not be published. Required fields are marked *

Copy Rights Reserved © Mindmajix.com All rights reserved. Disclaimer.
Course Adviser

Fill your details, course adviser will reach you.