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 it works...

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.

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