O'Reilly logo

Ceph Cookbook - Second Edition by Karan Singh, Michael Hackett, Vikhyat Umrao

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

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's and extended time required to complete the write OPS for the test.

  1. Similarly, to run a 10 second sequential read test on the RBD pool, run the following:
It might be interesting ...

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