How To Install libvma on Rocky Linux 8

In this tutorial we learn how to install libvma on Rocky Linux 8. libvma is A library for boosting TCP and UDP traffic (over RDMA hardware)

Introduction

In this tutorial we learn how to install libvma on Rocky Linux 8.

What is libvma

libvma is a LD_PRELOAD-able library that boosts performance of TCP and UDP traffic. It allows application written over standard socket API to handle fast path data traffic from user space over Ethernet and/or Infiniband with full network stack bypass and get better throughput, latency and packets/sec rate. No application binary change is required for that. libvma is supported by RDMA capable devices that support “verbs” IBV_QPT_RAW_PACKET QP for Ethernet and/or IBV_QPT_UD QP for IPoIB.

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

Install libvma on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libvma

Install libvma on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libvma

How To Uninstall libvma on Rocky Linux 8

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

sudo dnf remove libvma

libvma Package Contents on Rocky Linux 8

/etc/libvma.conf
/usr/lib/.build-id
/usr/lib/.build-id/34
/usr/lib/.build-id/34/fc0ab9270dc6c145c4d022100ddf9531cebbe9
/usr/lib/.build-id/93
/usr/lib/.build-id/93/04448bf7160b5710920a8459aa460aab490195
/usr/lib/systemd/system/vma.service
/usr/lib64/libvma.so
/usr/lib64/libvma.so.9
/usr/lib64/libvma.so.9.2.2
/usr/sbin/vmad
/usr/share/doc/libvma
/usr/share/doc/libvma/README.txt
/usr/share/doc/libvma/VMA_VERSION
/usr/share/doc/libvma/journal.txt
/usr/share/licenses/libvma
/usr/share/licenses/libvma/COPYING
/usr/share/licenses/libvma/LICENSE
/usr/share/man/man7/vma.7.gz
/usr/share/man/man8/vmad.8.gz

References

Summary

In this tutorial we learn how to install libvma on Rocky Linux 8 using yum and dnf.