The syntax for the rbd bench-write looks like the following:
# rbd bench-write <RBD image name>
Following is the detailed explanation of preceding syntax:
- --io-size: The write size in bytes; the default is 4M
- --io-threads: The number of threads; the default is 16
- --io-total: The total bytes to write; the default is 1024M
- --io-pattern <seq|rand>: This is the write pattern, the default is seq
You can use different options with the rbd bench-write tool to adjust the block size, number of threads, and IO pattern.