From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2881342993; Thu, 20 Apr 2023 09:21:47 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 234DD40EE3; Thu, 20 Apr 2023 09:21:47 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 2826940687 for ; Thu, 20 Apr 2023 09:21:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1681975305; x=1713511305; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Kpy21i120uMpiKRJs6GJ+wCR/dParnkfRODivedMEyE=; b=ZIBwd3ozxAWLqFmC0lKgqY/Pt16Xjx/uSv9/seZkmu38Q3pEkDF9oF91 nEemAUGBcOGmSSlrjJaMwkdVn9kT7jaaP5JQ5NIZ7qeBcMFJ5jY5hmbZZ dhnSNN5kPcrBb+l2/1qRCmAvCgerQvOQoACDp0elkphbzITxBzaRovbps /yQVC/R9S60Knx6keAE4RFp4GVeJBcJQlWSTGei7E4GxPcfPBA9hg62Ph SXP2JoQP6YLCyiM+zNTdt8NTFEO5xHHbDZ/QZP+CmApjFAyvowqlnEZ7Y 9yn+a8cLLCtamJuGMn4CD0+6Sl8NLOoDke7OmmPaNtnewzJofCi/moxqA w==; X-IronPort-AV: E=McAfee;i="6600,9927,10685"; a="325985679" X-IronPort-AV: E=Sophos;i="5.99,211,1677571200"; d="scan'208";a="325985679" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Apr 2023 00:21:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10685"; a="756394722" X-IronPort-AV: E=Sophos;i="5.99,211,1677571200"; d="scan'208";a="756394722" Received: from unknown (HELO localhost.localdomain) ([10.239.252.222]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Apr 2023 00:21:42 -0700 From: Wei Ling To: dts@dpdk.org Cc: Wei Ling Subject: [dts][PATCH V1 3/3] conf/pvp_diff_qemu_version: add expected value to verify Date: Thu, 20 Apr 2023 15:20:26 +0800 Message-Id: <20230420072026.10999-4-weix.ling@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230420072026.10999-1-weix.ling@intel.com> References: <20230420072026.10999-1-weix.ling@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Add expected value to verify the running result. Signed-off-by: Wei Ling --- conf/pvp_diff_qemu_version.cfg | 44 +++++++++++++++++++++++++++------- 1 file changed, 35 insertions(+), 9 deletions(-) diff --git a/conf/pvp_diff_qemu_version.cfg b/conf/pvp_diff_qemu_version.cfg index 0353c246..1e09731b 100644 --- a/conf/pvp_diff_qemu_version.cfg +++ b/conf/pvp_diff_qemu_version.cfg @@ -1,20 +1,46 @@ -# 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; +net = + type=user,opt_vlan=2; + type=nic,opt_vlan=2; 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 = 60 +accepted_tolerance = 0.05 +expected_throughput = { + 'test_perf_vhost_pvp_diffrent_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_diffrent_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_diffrent_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}}} -- 2.25.1