Hello StarlingX QAT team,
Today I have finished the QAT test execution. You can see the results here:
About the QATzip library, it has been done successfully. This test has taken specially some amount of time, because of a lot of steps that needs to be done: A customized CentOS image with the QAT driver and the QATZip
library inside).
Here some part of the output about such tests:
[root@host-192-168-101-176 multiple_process_opt]# adf_ctl qat_dev0 status
Checking status of device qat_dev0
qat_dev0 - type: c6xxvf, inst_id: 0, node_id: 0, bsf: 0000:00:05.0, #accel: 1 #engines: 1 state: up
Reading input file test.tmp (70 Bytes)
Compressing...
Time taken: 0.137 ms
Throughput: 4.088 Mbit/s
Space Savings: 20.000 %
Compression ratio: 1.250 : 1
Reading input file test_out.gz (56 Bytes)
Decompressing...
Time taken: 0.022 ms
Throughput: 25.455 Mbit/s
QAT file compression and decompression OK :)
Stopping all devices.
SW file compression and decompression OK :)
Starting all devices.
Processing /etc/c6xxvf_dev0.conf
Reading input file test.tmp.gz (6507054 Bytes)
Decompressing...
Time taken: 71.330 ms
Throughput: 1425.935 Mbit/s
Reading input file test.tmp (1 Bytes)
Compressing...
Time taken: 0.105 ms
Throughput: 0.076 Mbit/s
Space Savings: -3400.000 %
Compression ratio: 0.029 : 1
Reading input file test.tmp.gz (6507054 Bytes)
Decompressing...
Time taken: 71.330 ms
Throughput: 1425.935 Mbit/s
There is only 1 test Not Tested, because we are still waiting the definition of the proper steps to be executed.
Please let me know any comment that you might have.
Regards
-Ricardo
From: Perez, Ricardo O
Sent: Thursday, June 13, 2019 11:16 PM
To: Perez, Ricardo O <ricardo.o.perez@intel.com>; starlingx-discuss@lists.starlingx.io
Cc: Lin, Shuicheng <shuicheng.lin@intel.com>; Wang, Hai Tao <hai.tao.wang@intel.com>; fuyong@neusoft.com; lilong-neu@neusoft.com; zuoyl@neusoft.com; Zhao, ShuaiX <shuaix.zhao@intel.com>; Su Yang <sy@neusoft.com>; zhaos@neusoft.com; Cabrales, Ada <ada.cabrales@intel.com>;
Xie, Cindy <cindy.xie@intel.com>
Subject: RE: QAT Validation
Hello StarlingX guys,
Finally, with the help from Cindy’s Team and Neusoft Team, finally we are able to have the QAT (PCIe card version) up a and running.
Here you can see a quick console output where you can see the QAT device, seen in a VM launched in a guest with the described hardware passed to the VM via pci_passtrough
flavor property.
controller-0:~# sudo virsh list
Id Name State
-----------------------------------
5 instance-00000018 running
controller-0:~# sudo virsh console 5
Connected to domain instance-00000018
Escape character is ^]
login as 'cirros' user. default password: 'gocubsgo'. use 'sudo' for root.
qatricho2 login: cirros
Password:
$ lspci
00:00.0 Class 0600: 8086:1237
00:01.0 Class 0601: 8086:7000
00:01.1 Class 0101: 8086:7010
00:01.2 Class 0c03: 8086:7020
00:01.3 Class 0680: 8086:7113
00:02.0 Class 0300: 1013:00b8
00:03.0 Class 0200: 1af4:1000
00:04.0 Class 0100: 1af4:1001
00:05.0 Class 0b40: 8086:37c9 --- > This is the QAT device passed with pci_passthrough property inside a VM using CirrOS.
00:06.0 Class 0b40: 8086:37c9 --- > You can see 2 devices, because I have used 2 VFs in this case, but that is out of the scope of this e-mail.
00:07.0 Class 00ff: 1af4:1002
How do I know that
37c9 is the QAT device ? Using the following command:
controller-0:~$ sudo lspci | grep Co-processor
Password:
3d:00.0 Co-processor: Intel Corporation C62x Chipset QuickAssist Technology (rev 04)
3d:01.0 Co-processor: Intel Corporation Device 37c9 (rev 04)
So far, this is the current status for QAT Feature testing execution
Test Cases Total: 12
Passed: 9
Failed: 0
J
N/A: 1 --- > This doesn’t apply for Simplex configuration (where I’m actually running the tests)
Not Executed: 1 --- > Related to Rest API (we are still working on the steps for this one)
In Progress 1: Related to made use of the QATZlib library
So tomorrow I’ll continue working on the QATZlib, and the rest api, however this last one is marked as priority 2.
If you require further details about the QAT test progress, please go to:
Thanks in advance
-Ricardo
From: Perez, Ricardo O [mailto:ricardo.o.perez@intel.com]
Sent: Tuesday, June 11, 2019 4:32 PM
To: starlingx-discuss@lists.starlingx.io
Cc: Lin, Shuicheng <shuicheng.lin@intel.com>; Wang, Hai Tao <hai.tao.wang@intel.com>;
fuyong@neusoft.com;
lilong-neu@neusoft.com; zuoyl@neusoft.com; Zhao, ShuaiX <shuaix.zhao@intel.com>; Su Yang <sy@neusoft.com>;
zhaos@neusoft.com; Cabrales, Ada <ada.cabrales@intel.com>; Xie, Cindy <cindy.xie@intel.com>
Subject: Re: [Starlingx-discuss] QAT Validation
Hi Zhao,
I have tried both ISOs in the current WolfPass Server using the external PCIe QAT device.
However I’m still hitting the same error after setting up the pci_passthorugh property in the flavor and trying to launch a VM using such flavor.
I’m just finishing the installation of StarlingX in a server with an embedded QAT device. As soon as I finished I’ll let you know the results.
Thanks in advance
-Ricardo
From: Perez, Ricardo O
Sent: Thursday, June 6, 2019 11:00 PM
To: 'zhaos@neusoft.com' <zhaos@neusoft.com>
Cc: Lin, Shuicheng <shuicheng.lin@intel.com>; Wang, Hai Tao <hai.tao.wang@intel.com>;
fuyong@neusoft.com;
lilong-neu@neusoft.com; zuoyl@neusoft.com; Zhao, ShuaiX <shuaix.zhao@intel.com>; Su Yang <sy@neusoft.com>
Subject: RE: QAT Validation
Hi Zhao,
I have just read your ?Cemail. Thanks for letting me know that you guys are in a holiday (I didn’t knew)
J.
Let me check with the proposed image and see how it goes.
I’ll let you know the results by e-mail.
Thanks
-Ricardo
From:
zhaos@neusoft.com [mailto:zhaos@neusoft.com]
Sent: Thursday, June 6, 2019 6:55 PM
To: Perez, Ricardo O <ricardo.o.perez@intel.com>
Cc: Lin, Shuicheng <shuicheng.lin@intel.com>; Wang, Hai Tao <hai.tao.wang@intel.com>;
fuyong@neusoft.com;
lilong-neu@neusoft.com; zuoyl@neusoft.com; Zhao, ShuaiX <shuaix.zhao@intel.com>;
zhaos@neusoft.com; Su Yang <sy@neusoft.com>
Subject: 答复: QAT Validation
Hi Ricardo:
Because our colleagues are currently in China's Dragon Boat Festival holiday, we may not be able to participate in your meeting today. We expect to schedule an appointment next Tuesday (6/11).
we are very sorry that we cannot attend your today meeting.
To provide you with the operation guide, we have actually operated many times, please be sure to ensure the order of operation to perform.
Second, if there are still problems, we recommend using the version (http://mirror.starlingx.cengn.ca/mirror/starlingx/master/centos/20190530T152953Z/)
to try again.
Above, thank you!
Wish you happy everyday!
--------------------------------
From:zhao.shuai
Tel: 13704099430
Co.:Neusoft
-----原始约会-----
发件人: Perez, Ricardo O <ricardo.o.perez@intel.com>
发送时间: 2019年6月7日
5:05
收件人: Lin, Shuicheng; Wang, Hai Tao;
fuyong@neusoft.com;
lilong-neu@neusoft.com; zuoyl@neusoft.com;
zhaos@neusoft.com
主题: QAT Validation
时间: 2019年6月6日星期四
23:00 到 2019年6月7日星期五
0:00(UTC-06:00) 瓜达拉哈拉,墨西哥城,蒙特雷。
地点:
https://zoom.us/j/2962988538
重要性:
高
I’m following all your steps using the provided files and here is the status:
·
ISO installation + provided helm charts ?C success
·
Nova overrides using provided yaml file ?C failing
So I would like to have a live session to show you the errors and see what is still missing from my side.
P.S. You can forward this meeting to required people also.
Thanks
-Ricardo
Ricardo Perez is inviting you to a scheduled Zoom meeting.
Join Zoom Meeting
One tap mobile
+14086380968,,2962988538# US (San Jose)
+16465588656,,2962988538# US (New York)
Dial by your location
+1 408 638 0968 US (San Jose)
+1 646 558 8656 US (New York)
Meeting ID: 296 298 8538
Find your local number:
https://zoom.us/u/abJfeFY5aC