[https][tls][crypto][性能优化] Intel QAT卡初涉
硬件加密卡,硬件加解密卡。
用于把加密解密,数据压缩等,从CPU卸载到加速卡上。
所有文档汇总:https://01.org/intel-quickassist-technology
性能调优手册:https://01.org/sites/default/files/downloads//330687qatperformanceoptimizationguiderev007us.pdf
三种编程模型:interrupt mode, polling mode,epoll mode
intel推荐polling mode
简单的一些管理方法,备忘
[root@tong ~]# lspci |grep QAT 05:00.0 Co-processor: Intel Corporation DH895XCC Series QAT [root@tong ~]# ls /sys/kernel/debug/qat_dh895xcc_0000\:05\:00.0/ cnv_errors dev_cfg fw_counters heartbeat heartbeat_failed heartbeat_sent transport version [root@tong ~]# cat /sys/kernel/debug/qat_dh895xcc_0000\:05\:00.0/fw_counters +------------------------------------------------+ | FW Statistics for Qat Device | +------------------------------------------------+ | Firmware Requests [AE 0]: 27465873 | | Firmware Responses[AE 0]: 27465873 | +------------------------------------------------+ ... ...
更多