Book Image

Ceph Cookbook - Second Edition

By : Karan Singh, Hackett, Umrao
Book Image

Ceph Cookbook - Second Edition

By: Karan Singh, Hackett, Umrao

Overview of this book

Ceph is a unified distributed storage system designed for reliability and scalability. This technology has been transforming the software-defined storage industry and is evolving rapidly as a leader with its wide range of support for popular cloud platforms such as OpenStack, and CloudStack, and also for virtualized platforms. Ceph is backed by Red Hat and has been developed by community of developers which has gained immense traction in recent years. This book will guide you right from the basics of Ceph , such as creating blocks, object storage, and filesystem access, to advanced concepts such as cloud integration solutions. The book will also cover practical and easy to implement recipes on CephFS, RGW, and RBD with respect to the major stable release of Ceph Jewel. Towards the end of the book, recipes based on troubleshooting and best practices will help you get to grips with managing Ceph storage in a production environment. By the end of this book, you will have practical, hands-on experience of using Ceph efficiently for your storage requirements.
Table of Contents (15 chapters)

Ceph rados bench

Ceph ships with an inbuilt benchmarking tool known as the rados bench, which can be used to measure the performance of a Ceph cluster at the pool level. The rados bench tool supports write, sequential read, and random read benchmarking tests, and it also allows the cleaning of temporary benchmarking data, which is quite neat.

How to do it...

Let's try to run some tests using the rados bench:

  1. To run a 10 second write test to the pool RDB without cleanup, use the following command:

        # rados bench -p rbd 10 write --no-cleanup

We get the following screenshot after executing the command:

You will notice my test actually ran for a total time of 17 seconds, this is due to running the test on VM&apos...