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