Test disk speed
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:
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.
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.
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.
Go further
Browse all the Block Storage guides.
Browse the rest of the OVHcloud US documentation for guides on our other products and services.
Learn more about Block Storage on the OVHcloud US website.