From patchwork Mon Apr 24 07:33:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 126442 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D5A0E429D2; Mon, 24 Apr 2023 09:35:32 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CF6BB42BC9; Mon, 24 Apr 2023 09:35:32 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 7F7D9410DE for ; Mon, 24 Apr 2023 09:35:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1682321731; x=1713857731; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Q37+C6u+H0tnmzfvQt2ySXrKnF1cGy7l6262JURjfAs=; b=nzsdir5dC2+tM8y7UUHhYODhQGFiLq2nqcpt013R0kNzIl2LdWnioIRx u/Wr8nCL499ir8S4WBWc6iozavEDV5Tx+Lk5V/h/r1WqoPt5xanFdzBIh BrmzMRoHV9W+aGQoS+h+pUB2u5/N2f7uq5jt8N089d7P4nRprhxGBiVqc doeewnW9rob/VJJRr8F1gTMh1yiyjdV32Xamf33AIFkProeRM1ARucAF/ JOosBRh8NUGjbzw5a+cONKQIwkCodKRxZOUVpPMoCm3IJybPno6l0eL5k 3BUAv5Th+jl5XLkbDRrRrl+P6ZRAQKH2KCb3GQPI3PlYuyEYtjVu9WAKQ Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10689"; a="346409598" X-IronPort-AV: E=Sophos;i="5.99,222,1677571200"; d="scan'208";a="346409598" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2023 00:35:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10689"; a="1022604387" X-IronPort-AV: E=Sophos;i="5.99,222,1677571200"; d="scan'208";a="1022604387" Received: from unknown (HELO localhost.localdomain) ([10.239.252.222]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2023 00:35:29 -0700 From: Wei Ling To: dts@dpdk.org Cc: Wei Ling Subject: [dts][PATCH V2 3/3] conf/pvp_diff_qemu_version: add expected value to verify Date: Mon, 24 Apr 2023 15:33:40 +0800 Message-Id: <20230424073340.2368259-4-weix.ling@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230424073340.2368259-1-weix.ling@intel.com> References: <20230424073340.2368259-1-weix.ling@intel.com> MIME-Version: 1.0 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 Acked-by: Xingguang He Acked-by: Lijuan Tu --- conf/pvp_diff_qemu_version.cfg | 41 ++++++++++++++++++++++++++-------- 1 file changed, 32 insertions(+), 9 deletions(-) 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}}}