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 RADOS load-gen is as follows:

# rados -p <pool-name> load-gen

Following is the detailed explanation of preceding command:

  • --num-objects: The total number of objects
  • --min-object-size: The minimum object size in bytes
  • --max-object-size: The maximum object size in bytes
  • --min-ops: The minimum number of operations
  • --max-ops: The maximum number of operations
  • --min-op-len: The minimum operation length
  • --max-op-len: The maximum operation length
  • --max-backlog: The maximum backlog (in MB)
  • --percent: The percentage of read operations
  • --target-throughput: The target throughput (in MB)
  • --run-length: The total run time in seconds

This command will generate load on the Ceph cluster by writing 50 objects to the RBD pool. ...

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