From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id CA5D7A00BE; Tue, 28 Apr 2020 15:17:47 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9BB2D1D5CA; Tue, 28 Apr 2020 15:17:47 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id D423F1D5C5 for ; Tue, 28 Apr 2020 15:17:45 +0200 (CEST) IronPort-SDR: LXM27C/8fXtOhrgwG8xkzS2mtfg6NKpw0SxMKScs5xbfQJaa0kFeqlMXNLnPIDvMdfNzrOiKSQ 47HnE97+qKhQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Apr 2020 06:17:44 -0700 IronPort-SDR: tcO7HGleAzeZd8+XYm7tcd915fxP/E+3dyHOlvD4M7mLNXzq0unYTGpqKlfnBvqj+QNTfjgMB8 5RzNsGZh9ZOA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,327,1583222400"; d="scan'208";a="275836515" Received: from unknown (HELO xqm-virtio_tester.sh.intel.com) ([10.240.183.52]) by orsmga002.jf.intel.com with ESMTP; 28 Apr 2020 06:17:43 -0700 From: Xiao Qimai To: dts@dpdk.org Cc: Xiao Qimai Date: Tue, 28 Apr 2020 21:11:18 +0800 Message-Id: <1588079478-239398-1-git-send-email-qimaix.xiao@intel.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dts] [PATCH V1]pvp_vhost_user_reconnect: two vms throughput lower than one vm X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 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 Sender: "dts" Signed-off-by: Xiao Qimai --- tests/TestSuite_pvp_vhost_user_reconnect.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/TestSuite_pvp_vhost_user_reconnect.py b/tests/TestSuite_pvp_vhost_user_reconnect.py index 0dc2327..2ddc454 100644 --- a/tests/TestSuite_pvp_vhost_user_reconnect.py +++ b/tests/TestSuite_pvp_vhost_user_reconnect.py @@ -279,7 +279,10 @@ class TestPVPVhostUserReconnect(TestCase): traffic_opt = {'delay': 30, } _, pps = self.tester.pktgen.measure_throughput(stream_ids=streams, options=traffic_opt) Mpps = pps / 1000000.0 - check_speed = 5 if frame_size == 64 else 1 + if self.running_case in ["test_perf_packed_ring_reconnet_two_vms", "test_perf_split_ring_reconnet_two_vms"]: + check_speed = 2 if frame_size == 64 else 0.5 + else: + check_speed = 5 if frame_size == 64 else 1 self.verify(Mpps > check_speed, "can not receive packets of frame size %d" % (frame_size)) pct = Mpps * 100 / \ float(self.wirespeed(self.nic, frame_size, 1)) -- 1.8.3.1