How To Install perftest on CentOS 8

perftest is IB Performance Tests

Introduction

In this tutorial we learn how to install perftest on CentOS 8.

What is perftest

Perftest is a collection of simple test programs designed to utilize RDMA communications and provide performance numbers over those RDMA connections. It does not work on normal TCP/IP networks, only on RDMA networks.

We can use yum or dnf to install perftest on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install perftest.

Install perftest on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install perftest using dnf by running the following command:

sudo dnf -y install perftest

Install perftest on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install perftest using yum by running the following command:

sudo yum -y install perftest

How To Uninstall perftest on CentOS 8

To uninstall only the perftest package we can use the following command:

sudo dnf remove perftest

perftest Package Contents on CentOS 8

/usr/bin/ib_atomic_bw
/usr/bin/ib_atomic_lat
/usr/bin/ib_read_bw
/usr/bin/ib_read_lat
/usr/bin/ib_send_bw
/usr/bin/ib_send_lat
/usr/bin/ib_write_bw
/usr/bin/ib_write_lat
/usr/bin/raw_ethernet_bw
/usr/bin/raw_ethernet_lat
/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/82bb10b87575d17637d660f7db49caeeff339f
/usr/lib/.build-id/16
/usr/lib/.build-id/16/6c6ab2712402b900353bd90d0132f1618ffedb
/usr/lib/.build-id/36
/usr/lib/.build-id/36/bf775eab5f90cffd8780b7353a68735a70114f
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/fc82b5b2488c0f97a0999ed4cca6c775de8c35
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/497af5ad8f00aee2a8aeb44838f3bb8b2285d2
/usr/lib/.build-id/64
/usr/lib/.build-id/64/5c8f2e96d958124e69a50d606bd452ab911275
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/ebdb0ddb3564068d570d83427e76563a331acf
/usr/lib/.build-id/c7
/usr/lib/.build-id/c7/cd98cdac9ef5167cb9bff59062bdce37319ab8
/usr/lib/.build-id/da
/usr/lib/.build-id/da/02a87e835e960992220c99666a28d4d35ca4df
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/36c3587e706926cdfe0e8f36f143345e969b7f
/usr/share/doc/perftest
/usr/share/doc/perftest/README
/usr/share/licenses/perftest
/usr/share/licenses/perftest/COPYING
/usr/share/man/man1/ib_atomic_bw.1.gz
/usr/share/man/man1/ib_atomic_lat.1.gz
/usr/share/man/man1/ib_read_bw.1.gz
/usr/share/man/man1/ib_read_lat.1.gz
/usr/share/man/man1/ib_send_bw.1.gz
/usr/share/man/man1/ib_send_lat.1.gz
/usr/share/man/man1/ib_write_bw.1.gz
/usr/share/man/man1/ib_write_lat.1.gz
/usr/share/man/man1/raw_ethernet_bw.1.gz
/usr/share/man/man1/raw_ethernet_lat.1.gz

References

Summary

In this tutorial we learn how to install perftest on CentOS 8 using yum and dnf.