Table of Contents
The reference to these commands is from Sébastien Han Blog Post “Ceph: validate that the RBD cache is active” and the rbd man Page. For more posts about Ceph, take a look at Sébastien Han Blog.
Requisite - RBD image for running the Benchmarks
To be able to run a rbd benchmark, you need to create an image. The command to create an image for this would be:
rbd command flags like:
--poolfor the rbd pool to use.
The following flags are for the benchmark configuration:
--io-typeif read or write IO should be run.
--io-sizehow big every IO should be (in B/K/M/G/T).
--io-threadshow many IOs are done in parallel.
--io-totalhow much total IO should be done.
--io-patternsequential or random IO pattern.
For sequential write benchmark:
For sequential read benchmark:
- To use random IO instead of sequential IO pattern, change the
--io-patternflag value to