- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
QAT设备诊断报告 1. 设备识别 root@szns-p-se201-2-n2:~# lspci -nn | grep -E '8086:37c8|8086:19e2|8086:0435|8086:6f54|8086:4940|8086:4942' f3:00.0 Co-processor [0b40]: Intel Corporation Device [8086:4942] (rev 40) f7:00.0 Co-processor [0b40]: Intel Corporation Device [8086:4942] (rev 40) 2. 设备节点检查 ls /dev/qat* /dev/qat_adf_ctl /dev/qat_dev_processes 缺失节点: /dev/qat_dev0, /dev/qat_dev1, /dev/usdm_drv 3. 设备状态 root@szns-p-se201-2-n2:~# adf_ctl status Checking status of all devices. There is 2 QAT acceleration device(s) in the system: qat_dev0 - type: 4xxx, inst_id: 0, node_id: 0, bsf: 0000:f3:00.0, #accel: 1 #engines: 9 state: up qat_dev1 - type: 4xxx, inst_id: 1, node_id: 0, bsf: 0000:f7:00.0, #accel: 1 #engines: 9 state: up 4. 容器测试执行 报错(QAT_HW device not available) root@szns-p-se201-2-n2:~# docker run -it --cap-add=IPC_LOCK --security-opt seccomp=unconfined --security-opt apparmor=unconfined $(for i in `ls /dev/vfio/*`; do echo --device $i; done) --device /dev/qat_adf_ctl --device /dev/qat_dev_processes --device /dev/usdm_drv --cpuset-cpus 2-3 --env QAT_POLICY=1 --ulimit memlock=524288000:524288000 qat_crypto_base openssl speed -engine qatengine -elapsed -async_jobs 72 -multi 2 rsa2048 Forked child 0 Forked child 1 QAT_HW device not available & QAT_SW not enabled. Using OpenSSL_SW! Engine "qatengine" set. QAT_HW device not available & QAT_SW not enabled. Using OpenSSL_SW! Engine "qatengine" set. +DTP:2048:private:rsa:10 +DTP:2048:private:rsa:10 +R1:21558:2048:10.00 +DTP:2048:public:rsa:10 +R1:21989:2048:10.00 +DTP:2048:public:rsa:10 +R2:458028:2048:10.00 +R2:458339:2048:10.00 Got: +F2:2:2048:2198.900000:45833.900000 from 0 Got: +F2:2:2048:2155.800000:45802.800000 from 1 version: 3.0.16 options: bn(64,64) compiler: gcc -fPIC -pthread -m64 -Wa,--noexecstack -Wall -O3 -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_BUILDING_OPENSSL -DNDEBUG CPUINFO: OPENSSL_ia32cap=0x7ffef3ffffebffff:0xfb417ffef3bfb7ef sign verify sign/s verify/s rsa 2048 bits 0.000230s 0.000011s 4354.7 91636.7
링크가 복사됨
1 응답
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hi,
It looks like this issue is related to your other thread: QAT 4942 Device Node Generation Failure After Driver Installation - /dev/qat_dev* Missing. If so, let's continue over that single thread to avoid confusion and having multiple threads opened for the same issue.
Regards,
Diego V.
