intel / QAT-ZSTD-Plugin

Other
61 stars 12 forks source link

Benchmark tool fails when built with QATLib on AlmaLinux 8.8 VM with Intel Xeon Platinum 8481C #7

Closed ramkumarpvs closed 11 months ago

ramkumarpvs commented 1 year ago

Hi, We have built benchmark tool using QATLib(inTree) and we are seeing issue when we run benchmark tool. While using QATLib intree mode, do we need to install QAT driver , start service and update any config?

We have also attempted to compile with make benchmark ENABLE_USDM_DRV=1 and run the test. It still failed with same error.

Environment: QAT-ZSTD-Plugin latest master. QATLib latest master. Zstd 1.5.5 AlmaLinux 8.8 VM in GCP instance (Machine c3-standard-8, CPU: Intel Sapphire Rapids) Intel Xeon Platinum 8481C

Test: All default parameters. The testfile is ~42KB ./benchmark testfile

Error: Compress failed ZSTDErrorString(res): Block-level external sequence producer returned an error code

ramkumarpvs commented 1 year ago

Any inputs here ?

GarenJian-Intel commented 1 year ago

Hi, you can "make benchmark ENABLE_USDM_DRV=1 DEBUGLEVEL=2" to get more error info.

ramkumarpvs commented 1 year ago

This is with Debug enabled.

qatseqprod.c: There is no QAT device available, please check QAT device status
qatseqprod.c: InitStatus: -1
.Compress Chunk size 32768
.qatseqprod.c: The hardware was not successfully started
.Compress failed
ZSTDErrorString(res): Block-level external sequence producer returned an error code
GarenJian-Intel commented 1 year ago

If your machine has QAT device, it must be driver issue. Please check the installation of the driver, and make sure their sample-code can run.

GarenJian-Intel commented 11 months ago

Close it since no new reply.