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 A8ED3A0352; Wed, 6 May 2020 05:14:31 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9F1A51D5EB; Wed, 6 May 2020 05:14:31 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id F34B01D5E5 for ; Wed, 6 May 2020 05:14:29 +0200 (CEST) IronPort-SDR: CfsitCmuf2gQYr4/b0+/jQ5ObXQl2jdjl4uHGSCRXX4p8ftefV1WdhF10fIm98OX3nr+5Lf4B8 Q5XQjFkt8nxg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 May 2020 20:14:26 -0700 IronPort-SDR: /SIytWcvQlgeIM3BIYw4Xi6JIieL6wV83US4lcTk0jWfpCNUz82PnD7QtLHczuRVsvzDrWl0fB x7H+ZatTqrzg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,357,1583222400"; d="scan'208";a="434727793" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga005.jf.intel.com with ESMTP; 05 May 2020 20:14:25 -0700 Received: from fmsmsx115.amr.corp.intel.com (10.18.116.19) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 5 May 2020 20:14:25 -0700 Received: from shsmsx107.ccr.corp.intel.com (10.239.4.96) by fmsmsx115.amr.corp.intel.com (10.18.116.19) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 5 May 2020 20:14:24 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.225]) by SHSMSX107.ccr.corp.intel.com ([169.254.9.200]) with mapi id 14.03.0439.000; Wed, 6 May 2020 11:14:22 +0800 From: "Tu, Lijuan" To: "Xiao, QimaiX" , "dts@dpdk.org" CC: "Xiao, QimaiX" Thread-Topic: [dts] [PATCH V1]pvp_vhost_user_reconnect: two vms throughput lower than one vm Thread-Index: AQHWHV+G9cfhEC8cwUi/E31kB97hlqiabh7Q Date: Wed, 6 May 2020 03:14:22 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC21D7F@SHSMSX101.ccr.corp.intel.com> References: <1588079478-239398-1-git-send-email-qimaix.xiao@intel.com> In-Reply-To: <1588079478-239398-1-git-send-email-qimaix.xiao@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [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" Applied, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Xiao Qimai > Sent: Tuesday, April 28, 2020 9:11 PM > To: dts@dpdk.org > Cc: Xiao, QimaiX > Subject: [dts] [PATCH V1]pvp_vhost_user_reconnect: two vms throughput > lower than one vm >=20 > Signed-off-by: Xiao Qimai > --- > tests/TestSuite_pvp_vhost_user_reconnect.py | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) >=20 > 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 =3D {'delay': 30, } > _, pps =3D self.tester.pktgen.measure_throughput(stream_ids= =3Dstreams, > options=3Dtraffic_opt) > Mpps =3D pps / 1000000.0 > - check_speed =3D 5 if frame_size =3D=3D 64 else 1 > + if self.running_case in ["test_perf_packed_ring_reconnet_two= _vms", > "test_perf_split_ring_reconnet_two_vms"]: > + check_speed =3D 2 if frame_size =3D=3D 64 else 0.5 > + else: > + check_speed =3D 5 if frame_size =3D=3D 64 else 1 > self.verify(Mpps > check_speed, "can not receive packets of = frame > size %d" % (frame_size)) > pct =3D Mpps * 100 / \ > float(self.wirespeed(self.nic, frame_size, 1)) > -- > 1.8.3.1