Disk performance baseline

The disk performance baseline test will be done in two steps. First, we will measure the performance of a single disk, and after that, we will measure the performance of all the disks connected to one Ceph OSD node simultaneously.

Note

To get realistic results, I am running the benchmarking tests described in this recipe against a Ceph cluster deployed on physical hardware. We can also run these tests on the Ceph cluster, hosted on virtual machine, but we might not get appealing results.

Single disk write performance

To get the disk read and write performance, we will use the dd command with oflag set to direct in order to bypass disk cache for realistic results.

How to do it…

  1. Drop caches:
    # echo 3 > /proc/sys/vm/drop_caches ...

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.