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.
How to log onto OpenStack Object Storage Proxy host
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
If you would like to become an OpenStack Certified professional, then visit Mindmajix - A Global online training platform:" OpenStack Certification Training Course ". This course will help you to achieve excellence in this domain.
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:
[bench] auth=http://172.16.0.200:5000/v2.0 user=service:swift key=swift auth_version=2.0 concurrency=10 objects_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.com
Subscribe to our youtube channel to get new updates..!
This produces the following output:
Benchmarking
OpenStack Objects 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 Objects Storage environment. The configuration file contains the following content:
[bench] 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:
Openstack Tutorial
Sample Resume:
Openstack Sample Resumes
Interview Questions:
Openstack Interview Questions