RADOS load-gen

A bit similar to the rados bench, rados load-gen is another interesting tool provided by Ceph, which runs out-of-the-box. As the name suggests, the rados load-gen tool can be used to generate load on a Ceph cluster and can be useful to simulate high load scenarios.

How to do it…

Let's try to generate some load on our Ceph cluster with the following command:

# rados -p rbd load-gen \
   --num-objects 50 \
   --min-object-size 4M \
   --max-object-size 4M \
   --max-ops 16 \
   --min-op-len 4M \
   --max-op-len 4M \
   --percent 5 \
   --target-throughput 2000 \
   --run-length 60


How it works…

The syntax for rados load-gen is as follows:

# rados -p <pool-name> load-gen
  • --num-objects: The total number of objects
  • --min-object-size: The minimum object ...

Get Ceph Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.