Learn how to test the number of input/output operations per second (IOPS) that your disks can achieve, whether for instances or additional disks.
You'll need to check the speed of your disks when you carry out your tests. Whether you want to compare the performance of different disks or just check if they are satisfactory.
Requirements
- A Public Cloud Instance in your OVHcloud account
- Administrative (sudo) access to your instance via SSH (Linux) or RDP (Windows)
Instructions
Install the test command
The command that you need to test your disk speed is called fio
, and is not installed on your server by default.
To install fio
, run the following command:
The command that you need to test your disk speed is called fio
, and is not installed on your server by default.
To install fio
, log in to your instance via RDP and download this binary: Microsoft Windows binaries for fio.
Test your disk speed
To test your disk speed, run the following command:
Please note that you will need to modify the --numjobs
argument to reflect the number of CPUs that your instance has.
You can retrieve a list of arguments and their functions directly from the fio guide.
To test your disk speed, run the following command:
Please note that you will need to modify the --numjobs
argument to reflect the number of CPUs that your instance has.
You can retrieve a list of arguments and their functions directly from the fio guide.
Analyze the data
Once the test is finished, you will get a result similar to the following:
The line we are interested in is the fifth, which contains the IOPS:
We can see that the performance of the main disk is around 40.0k IOPS.
Once the test is finished, you will get a result similar to the following:
The line we are interested in is the sixth, which contains the IOPS:
We can see that the performance of the main disk is around 39.4k IOPS.
Additional disk
To test the speed of an additional disk, you will need to mount the disk with the following command:
Analyze the data:
The IOPS value will depend on the type of additional disk you use. In the example below, we ran the test on a High speed volume:
We can see that the performance of the additional disk is around 3052 IOPS.
To test the speed of an additional disk, you will need to mount the disk. For more information, consult this guide.
Next, access the disk via PowerShell and run the same command as above.
Go further
For more information and tutorials, please see our other Public Cloud support guides or explore the guides for other OVHcloud products and services.