How To Install memkind on Fedora 34
Introduction
In this tutorial we learn how to install memkind
on Fedora 34.
What is memkind
The memkind library is an user extensible heap manager built on top of jemalloc which enables control of memory characteristics and a partitioning of the heap between kinds of memory. The kinds of memory are defined by operating system memory policies that have been applied to virtual address ranges. Memory characteristics supported by memkind without user extension include control of NUMA and page size features. The jemalloc non-standard interface has been extended to enable specialized arenas to make requests for virtual memory from the operating system through the memkind partition interface. Through the other memkind interfaces the user can control and extend memory partition features and allocate memory while selecting enabled features. This software is being made available for early evaluation. Feedback on design or implementation is greatly appreciated.
We can use yum
or dnf
to install memkind
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install memkind.
Install memkind on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install memkind
using dnf
by running the following command:
sudo dnf -y install memkind
Install memkind on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install memkind
using yum
by running the following command:
sudo yum -y install memkind
How To Uninstall memkind on Fedora 34
To uninstall only the memkind
package we can use the following command:
sudo dnf remove memkind
memkind Package Contents on Fedora 34
/usr/bin/memkind-auto-dax-kmem-nodes
/usr/bin/memkind-hbw-nodes
/usr/lib/.build-id
/usr/lib/.build-id/6f
/usr/lib/.build-id/6f/df9bb76ce06cf7a93ffdc2166931af5d46681e
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/6a20f1a63484528422ba4a178b4cbe9fa0da0d
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/d9311f9ae5088493b13688fa57798689c5d78e
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/7d97d077570a7db3601009a2c9a3fd9c268881
/usr/lib64/libautohbw.so.0
/usr/lib64/libautohbw.so.0.0.0
/usr/lib64/libmemkind.so.0
/usr/lib64/libmemkind.so.0.0.1
/usr/share/doc/memkind
/usr/share/doc/memkind/COPYING
/usr/share/doc/memkind/README
/usr/share/man/man1/memkind-auto-dax-kmem-nodes.1.gz
/usr/share/man/man1/memkind-hbw-nodes.1.gz
/usr/share/man/man7/autohbw.7.gz
References
Summary
In this tutorial we learn how to install memkind
on Fedora 34 using yum and dnf.