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 1EBC4A00BE; Tue, 28 Apr 2020 15:32:41 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0CE4D4C89; Tue, 28 Apr 2020 15:32:41 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 02DF82BF5 for ; Tue, 28 Apr 2020 15:32:38 +0200 (CEST) IronPort-SDR: nAQ5MIsR8GYCGTIHcSKFgQqNPzW39Mi0vr/lKnGrKfIqKxQMz2NKuK3e2hdoxzgVBCycYsOuId Ggh6dEJrKX2g== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Apr 2020 06:32:37 -0700 IronPort-SDR: UH//LDQrS5KByU7rP2udqR1tShHBPGdtuNjgHshnPaI/Ty7nEYxJxKxGejCXgQpLWp/pJD7qO2 H6HH9Tzs7Nag== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,327,1583222400"; d="scan'208";a="336628167" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga001.jf.intel.com with ESMTP; 28 Apr 2020 06:32:37 -0700 Received: from shsmsx603.ccr.corp.intel.com (10.109.6.143) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 28 Apr 2020 06:32:37 -0700 Received: from shsmsx604.ccr.corp.intel.com (10.109.6.214) by SHSMSX603.ccr.corp.intel.com (10.109.6.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 28 Apr 2020 21:32:35 +0800 Received: from shsmsx604.ccr.corp.intel.com ([10.109.6.214]) by SHSMSX604.ccr.corp.intel.com ([10.109.6.214]) with mapi id 15.01.1713.004; Tue, 28 Apr 2020 21:32:35 +0800 From: "Xiao, QimaiX" To: "dts@dpdk.org" Thread-Topic: [dts][PATCH V1]pvp_vhost_user_reconnect: two vms throughput lower than one vm Thread-Index: AQHWHV9sMX1tpDr+RUeYY3iluCidv6iOiCTg Date: Tue, 28 Apr 2020 13:32:35 +0000 Message-ID: <3e63c5a85e9147bab79b3163b5f80807@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: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.36] 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" Tested-by: Xiao Qimai Regards, Xiao Qimai > -----Original Message----- > From: Xiao, QimaiX > 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