In this tutorial we will show you how to install IOPing on CentOS 7 server. For those of you who didn’t know, IOPing lets you to benchmark the storage performance is to measure the latency of individual requests. IOPing is a simple tool that does just that. It runs I/O requests to the storage device to benchmark the time to reply. The results display disk latency in the same way ping –test measures network latency.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step install IOPing on CentOS 7 server.
Install IOPing on CentOS 7
Step 1. First let’s start by ensuring your system is up-to-date.
yum clean all
yum -y install epel-release
yum -y update
Step 2. Installing IOPing.
First, create and navigate to the directory where ioping will be installed:
Download the installation file using wget. We will be using version 0.8 from their Google Code repository:
tar -xzvf ioping-0.8.tar.gz
Enter the directory and compile ioping:
Ioping has a list of built-in commands. Run ioping without any arguments to show the list:
To show sequential latency, enter the following command:
ioping -R /dev/sda
To determine the latency of the entire drive, run this command:
ioping -c 10 /
Congratulation’s! You have successfully installed IOPing on CentOS 7. Thanks for using this tutorial for installing IOPing on CentOS 7 systems. For additional help or useful information, we recommend you to check the official IOPing web site.