How to Measure IOPS Using fio
It is important that your Swimlane instance meets the minimum required IOPS, otherwise severe performance degradation can result. Also, you risk your instance being unsupported by Swimlane. This article describes one way to measure IOPS using the fio tool. Note: Because of file caching, the results of fio can vary depending on when you run the command. To reduce that variance, we recommend running fio several times a day over a couple of days and averaging the result. Install fio if not already installed: Fedora-based Linux (e.g. Red Hat, CentOS)
Debian-based Linux (e.g. Ubuntu)
Then run this command on each of your cluster nodes. It will run for a few minutes with output that updates in real time; when it's finished it, will have final output similar to this:
Using this piece of the output: ββ¦ WRITE: bw=15.6MiB/s (16.4MB/s), 15.6MiB/s-15.6MiB/s (16.4MB/s-16.4MB/s)β¦ β¦β convert the number in bold to IOPS using this formula: (MBps Throughput / 4) * 1024. In this example: IOPS = (16.4/4) * 1024 = 4198.4. If the bold number is less than 11.7 MB/s, then you do not meet the minimum required 3000 IOPS.