Skip to content

Instantly share code, notes, and snippets.

@pschichtel
Last active November 1, 2025 00:46
Show Gist options
  • Select an option

  • Save pschichtel/aa9d481d2d23ed61e04c377e25a0eab0 to your computer and use it in GitHub Desktop.

Select an option

Save pschichtel/aa9d481d2d23ed61e04c377e25a0eab0 to your computer and use it in GitHub Desktop.
Ceph Benchmarking Notes

OSD

Throuhput

  1. Increase osd_bench_large_size_max_throughput to something larger (e.g. 10737418240, 10Gi) using ceph config set osd.<id> osd_bench_large_size_max_throughput <throughput>.
  2. Run ceph tell osd.* bench <size> with e.g. 21474836480 (20Gi)

IOPS

  1. Increase osd_bench_small_size_max_iops to something larger (e.g. 100000) using ceph config set osd.<id> osd_bench_small_size_max_iops <iops>.
  2. Run ceph tell osd.* bench <size> <blocksize> with e.g. 2147483648 (2Gi) for <size> and e.g. 512 for <blocksize>.

RBD

Throuhput

  1. Run rados bench -p <pool> 600 write -t 16 --object_size=4MB --no-cleanup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment