How To Install libvma on CentOS 8
Introduction
In this tutorial we learn how to install libvma
on CentOS 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install libvma.
Install libvma 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 libvma
using dnf
by running the following command:
sudo dnf -y install libvma
Install libvma 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 libvma
using yum
by running the following command:
sudo yum -y install libvma
How To Uninstall libvma on CentOS 8
To uninstall only the libvma
package we can use the following command:
sudo dnf remove libvma
libvma Package Contents on CentOS 8
/etc/libvma.conf
/usr/lib/.build-id
/usr/lib/.build-id/22
/usr/lib/.build-id/22/b01bca068e4f7ba6c16b24f5f46460db5b7906
/usr/lib/.build-id/52
/usr/lib/.build-id/52/4f1be13073eed45deaf1f9b6a8b59b4206614a
/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 CentOS 8 using yum and dnf.