How To Install IOPing on CentOS 7

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.

Table of Contents

Step 1. First let’s start by ensuring your system is up-to-date.

Step 2. Installing IOPing.

Step 3. Usage IOPing.

Prerequisites

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:

cd ~
mkdir ioping
cd ioping

Download the installation file using wget. We will be using version 0.8 from their Google Code repository:

wget https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/ioping/ioping-0.8.tar.gz
tar -xzvf ioping-0.8.tar.gz

Enter the directory and compile ioping:

cd ioping-0.8
make ioping

Step 3. Usage IOPing.

Ioping has a list of built-in commands. Run ioping without any arguments to show the list:

ioping

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.

Leave a Reply