QAT acceleration for encryption and compression
Intel QuickAssist Technology (QAT) can provide extended accelerated encryption and compression services by offloading the actual encryption and compression requests to the hardware QuickAssist accelerators, which are more efficient in terms of cost and power than general purpose CPUs for those specific compute-intensive workloads.
Before you begin
- A running IBM Storage Ceph cluster.
- Ceph Object gateway installed.
- Grub is configured to pass the intel_iommu parameter.
grubby --update-kernel=ALL --args="intel_iommu=on"
About this task
Setting up the QAT service
You can set up the QAT service to encrypt and compress the Ceph Object Gateway objects.
Procedure
What to do next
compression: hw), verify that the QAT compressor is enabled in the /etc/sysconfig/qat file.
[root@host01 sysconfig]# cat qat ServicesEnabled=dc POLICY=8 QAT_USER=ceph
Enabling QAT-based encryption
Encrypt objects in Ceph Object Gateway by using the QAT-based encryption for OpenSSL.
Procedure
plugin crypto accelerator = crypto_qat
Enabling QAT-based compression
Compress objects in Ceph Object Gateway by using the tool class for QAT acceleration.
About this task
Compression is enabled when creating the QAT specification file. For more information, see Setting up the QAT service.
If needed, use this procedure to enable compression manually.
Procedure
qat compressor enabled=true