The tools, rados bench, and RADOS load-gen, which we discussed in the last recipe, are used to benchmark the Ceph cluster pool. In this recipe, we will focus on benchmarking the Ceph Block Device with the rbd bench-write tool. The ceph rbd command-line interface provides an option known as bench-write, which is a tool to perform write benchmarking operations on the Ceph Rados Block Device.
Benchmarking the Ceph Block Device
How to do it...
To benchmark the Ceph Block Device, we need to create a block device and map it to the Ceph client node:
- Create a Ceph Block Device named block-device1, of size 10 G, and map it:
# rbd create block-device1 --size 10240 --image-feature layering
# rbd info --image block-device1...