[V2,3/3] conf/pvp_diff_qemu_version: add expected value to verify

Message ID 20230424073340.2368259-4-weix.ling@intel.com (mailing list archive)
State Accepted
Headers
Series add case3 and optimize verify expected value |

Checks

Context Check Description
ci/Intel-dts-format-test success Testing OK
ci/Intel-dts-pylama-test success Testing OK
ci/Intel-dts-doc-test success Testing OK
ci/Intel-dts-suite-test warning SKIPPED

Commit Message

Ling, WeiX April 24, 2023, 7:33 a.m. UTC
  Add expected value to verify the running result. 

Signed-off-by: Wei Ling <weix.ling@intel.com>
---
 conf/pvp_diff_qemu_version.cfg | 41 ++++++++++++++++++++++++++--------
 1 file changed, 32 insertions(+), 9 deletions(-)
  

Comments

He, Xingguang April 26, 2023, 6:25 a.m. UTC | #1
> -----Original Message-----
> From: Wei Ling <weix.ling@intel.com>
> Sent: Monday, April 24, 2023 3:34 PM
> To: dts@dpdk.org
> Cc: Ling, WeiX <weix.ling@intel.com>
> Subject: [dts][PATCH V2 3/3] conf/pvp_diff_qemu_version: add expected
> value to verify
> 
> Add expected value to verify the running result.
> 
> Signed-off-by: Wei Ling <weix.ling@intel.com>
> ---
Acked-by: Xingguang He<xingguang.he@intel.com>
  
Tu, Lijuan April 27, 2023, 7:46 a.m. UTC | #2
On Mon, 24 Apr 2023 15:33:40 +0800, Wei Ling <weix.ling@intel.com> wrote:
> Add expected value to verify the running result. 
> 
> Signed-off-by: Wei Ling <weix.ling@intel.com>

Acked-by: Lijuan Tu <lijuan.tu@intel.com>
Series applied, thanks
  

Patch

diff --git a/conf/pvp_diff_qemu_version.cfg b/conf/pvp_diff_qemu_version.cfg
index 0353c246..e89f7b8e 100644
--- a/conf/pvp_diff_qemu_version.cfg
+++ b/conf/pvp_diff_qemu_version.cfg
@@ -1,20 +1,43 @@ 
-# Configuration sample: vhost_sample.cfg
 [vm0]
 cpu =
-    model=host,number=4,cpupin=4 5;
+    model=host,number=8,cpupin=20 21 22 23 24 25 26 27;
 mem =
-    size=4096,hugepage=yes;
+    size=8192,hugepage=yes;
 disk =
-    file=/home/img/vm.img;
+    file=/home/image/ubuntu2004.img;
 login =
     user=root,password=tester;
 vnc =
     displayNum=4;
 daemon =
     enable=yes;
-# config all the path of qemu version you want to tested
 qemu =
-    path=path/qemu-2.5/bin/qemu-system-x86_64;
-    path=path/qemu-2.6/bin/qemu-system-x86_64;
-    path=path/qemu-2.7/bin/qemu-system-x86_64;
-    path=path/qemu-2.8/bin/qemu-system-x86_64;
+    path=/home/QEMU/qemu-5.2.0/bin/qemu-system-x86_64;
+    path=/home/QEMU/qemu-6.2.0/bin/qemu-system-x86_64;
+    path=/home/QEMU/qemu-7.0.0/bin/qemu-system-x86_64;
+    path=/home/QEMU/qemu-7.1.0/bin/qemu-system-x86_64;
+    path=/home/QEMU/qemu-7.2.0/bin/qemu-system-x86_64;
+[suite]
+update_expected = True
+packet_sizes = [64, 128, 256, 512, 1024, 1280, 1518]
+test_duration = 30
+accepted_tolerance = 5
+expected_throughput = {
+    'test_perf_vhost_pvp_diff_qemu_version_virtio95_mergeable_path': {
+        'qemu-5.2': {64: 0.0, 128: 0.0, 256: 0.0, 512: 0.0, 1024: 0.0, 1280: 0.0, 1518: 0.0},
+        'qemu-6.2': {64: 0.0, 128: 0.0, 256: 0.0, 512: 0.0, 1024: 0.0, 1280: 0.0, 1518: 0.0},
+        'qemu-7.0': {64: 0.0, 128: 0.0, 256: 0.0, 512: 0.0, 1024: 0.0, 1280: 0.0, 1518: 0.0},
+        'qemu-7.1': {64: 0.0, 128: 0.0, 256: 0.0, 512: 0.0, 1024: 0.0, 1280: 0.0, 1518: 0.0},
+        'qemu-7.2': {64: 0.0, 128: 0.0, 256: 0.0, 512: 0.0, 1024: 0.0, 1280: 0.0, 1518: 0.0}},
+    'test_perf_vhost_pvp_diff_qemu_version_virtio10_mergeable_path': {
+        'qemu-5.2': {64: 0.0, 128: 0.0, 256: 0.0, 512: 0.0, 1024: 0.0, 1280: 0.0, 1518: 0.0},
+        'qemu-6.2': {64: 0.0, 128: 0.0, 256: 0.0, 512: 0.0, 1024: 0.0, 1280: 0.0, 1518: 0.0},
+        'qemu-7.0': {64: 0.0, 128: 0.0, 256: 0.0, 512: 0.0, 1024: 0.0, 1280: 0.0, 1518: 0.0},
+        'qemu-7.1': {64: 0.0, 128: 0.0, 256: 0.0, 512: 0.0, 1024: 0.0, 1280: 0.0, 1518: 0.0},
+        'qemu-7.2': {64: 0.0, 128: 0.0, 256: 0.0, 512: 0.0, 1024: 0.0, 1280: 0.0, 1518: 0.0}},
+    'test_perf_vhost_pvp_diff_qemu_version_virtio11_mergeable_path': {
+        'qemu-5.2': {64: 0.0, 128: 0.0, 256: 0.0, 512: 0.0, 1024: 0.0, 1280: 0.0, 1518: 0.0},
+        'qemu-6.2': {64: 0.0, 128: 0.0, 256: 0.0, 512: 0.0, 1024: 0.0, 1280: 0.0, 1518: 0.0},
+        'qemu-7.0': {64: 0.0, 128: 0.0, 256: 0.0, 512: 0.0, 1024: 0.0, 1280: 0.0, 1518: 0.0},
+        'qemu-7.1': {64: 0.0, 128: 0.0, 256: 0.0, 512: 0.0, 1024: 0.0, 1280: 0.0, 1518: 0.0},
+        'qemu-7.2': {64: 0.0, 128: 0.0, 256: 0.0, 512: 0.0, 1024: 0.0, 1280: 0.0, 1518: 0.0}}}