Table of Contents
Goal
Intel® QuickAssist Technology offered with Intel processor-based platforms supports application developer to accelerate workloads such as cryptography and data compression, etc.
This Wiki describes the steps on how to deploy QAT device plugin in edge location node and how to use QAT device in ICN.
...
Implement details
Intel QAT device plugin is Kubernetes device plugin for discovering and advertising QAT virtual functions (VFs) in a Kubernetes host. it supports a platform that pairs the Intel®
C62x Chipset (also known as Platform Controller Hub, or PCH) with Intel® Xeon®Processor D Family System-on-a Chip (SoC) or Intel Atom® C3000 Processor Product
Family SoC.
Precondition:
(1) QAT devices installed in the system
(2) Enable grub with parameter "intel_iommu=on iommu=pt"
To automatically deploy QAT device plugin in ICN, KuD addon QAT device plugin includes:
Installation script:
(1) Install and probe QAT kernel driver (e.g. intel_qat.ko, qat_c62x.ko, qat_d15xx.ko, qat_c3xxx.ko etc.)
...
(1) Create docker image crypto-perf:devel based on the instructions in https://github.com/intel/intel-device-plugins-for-kubernetes/blob/master/cmd/qat_plugin/README.md
...
kubectl exec -it qat_pod bash ./dpdk-test-crypto-perf -l 6-7 -w $QAT1 -- --ptest throughput --devtype crypto_qat --optype cipher-only --cipher-algo aes-cbc --cipher-op encrypt --cipher-key-sz 16 --total-ops 10000000 --burst-sz 32 --buffer-sz 64 |
---|
The output is will be similar as below:
EAL: Detected 72 lcore(s) # segments per buffer: 1 plaintext = cipher_key = cipher_iv = ciphertext = 7 64 32 10000000 10000000 11076837 9786964 6.2719 3.2112 365.86 |
---|
ReferenceReferences:
https://github.com/intel/intel-device-plugins-for-kubernetes
...