Ensuring that Intel® QuickAssist Technology stack is working correctly on RHEL
Environment
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Intel® QuickAssist Technology Library (QATlib) contains user space libraries that allow access for Intel® QAT devices. The libraries also expose Intel® QAT APIs and sample code. To get QATlib up and running:
-
Create the
qat
user group.$ sudo groupadd qat
-
Add your user to the
qat
group to use QATlib functionalities as non-root user.$ sudo usermod -a -G qat <YOUR_USER>
-
Set the maximum amount of locked memory for your user to 200MB.
# echo `whoami` - memlock 200000 >> /etc/security/limits.conf
-
Add the
intel_iommu=on
parameter to the kernel command-line.$ sudo grubby --update-kernel=ALL --args="intel_iommu=on"
-
Make sure you have the needed firmware files
qat_4xxx.bin
andqat_4xxx_mmp.bin
. We already ship these with thelinux-firmware
package since versions20230404-114.git2e92a49f.el8_8
or20230310-133.el9_2
. It is sufficient to just update this package and reboot if needed. -
If the driver did not load automatically after reboot, load it manually.
$ modprobe qat_4xxx
Verify that the
qat_4xxx
firmware was loaded correctly.$ dmesg -i -e | grep qat_4xxx
-
Enable and start the
qat
service and verify the service is running correctly.$ sudo systemctl enable --now qat $ systemctl is-enabled qat && systemctl is-active qat enabled active
Additional resources about utilities from the QAT ecosystem:
For more information about installing QATlib, see the GitHub qatlib/INSTALL page.
For more information about the QATlib technology in general, see Intel® QuickAssist Technology Library (QATlib).
For introduction and description of the QAT OpenSSL Engine, see Intel® QuickAssist Technology(QAT) OpenSSL* Engine.
For introduction and description of the QATzip library, see Intel® QuickAssist Technology (QAT) QATzip Library.
For list if supported devices, see Supported Devices
Comments