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 rados bench is as follows:

# rados bench -p <pool_name> <seconds> <write|seq|rand> -b <block size> -t  --no-cleanup

The syntax can be explained as follows:

  • -p: -p or --pool specifies the pool name.
  • <seconds>: Tests the time in seconds.
  • <write|seq|rand>: Is the type of test, for example, write, sequential read, or random read.
  • -b: For the block size; by default, it's 4M.
  • -t: Is the number of concurrent threads; the default is 16.
  • --no-cleanup: Is the temporary data that is written to the pool by the rados bench that should not be cleaned. This data will be used for read operations when they are used with sequential reads or random reads. The default is cleaned up.
Please note that I ran these tests on the ...

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