How To Install intel-cmt-cat.x86_64 on Amazon Linux 2

In this tutorial we learn how to install intel-cmt-cat.x86_64 in Amazon Linux 2. intel-cmt-cat.x86_64 is Provides command line interface to CMT, MBM, CAT and CDP

Introduction

In this tutorial we learn how to install intel-cmt-cat.x86_64 on Amazon Linux 2.

What is intel-cmt-cat.x86_64

This software package provides basic support for Cache Monitoring Technology (CMT), Memory Bandwidth Monitoring (MBM), Cache Allocation Technology (CAT) and Code Data Prioratization (CDP). CMT, MBM and CAT are configured using Model Specific Registers (MSRs) to measure last level cache occupancy, set up the class of service masks and manage the association of the cores/logical threads to a class of service. The software executes in user space, and access to the MSRs is obtained through a standard Linux* interface. The virtual file system provides an interface to read and write the MSR registers but it requires root privileges.

We can use yum to install intel-cmt-cat.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install intel-cmt-cat.x86_64.

Install intel-cmt-cat.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install intel-cmt-cat.x86_64 using yum by running the following command:

sudo yum -y install intel-cmt-cat.x86_64

How To Uninstall intel-cmt-cat.x86_64 on Amazon Linux 2

To uninstall only the intel-cmt-cat.x86_64 package we can use the following command:

sudo yum remove intel-cmt-cat.x86_64

intel-cmt-cat.x86_64 Package Contents on Amazon Linux 2

/usr/bin/pqos
/usr/bin/rdtset
/usr/lib64/libpqos-0.1.6.so
/usr/share/doc/intel-cmt-cat-0.1.5
/usr/share/doc/intel-cmt-cat-0.1.5/ChangeLog
/usr/share/doc/intel-cmt-cat-0.1.5/README
/usr/share/licenses/intel-cmt-cat-0.1.5/LICENSE
/usr/share/man/man8/pqos.8.gz
/usr/share/man/man8/rdtset.8.gz

References

Summary

In this tutorial we learn how to install intel-cmt-cat.x86_64 on Amazon Linux 2 using yum.