[dts] [PATCH V1] tests/perf_virtio_user_pvp:add create_eal_parameters function.

Wang, Yinan yinan.wang at intel.com
Mon Mar 16 04:36:23 CET 2020


Hi Lijuan,

Now virtio case migrate to using new memory system, so whether add "socket-mem "or not will not influence memory usage since new memory system can allocate memory when needed, this plan just to align with test plan.

BR,
Yinan

> -----Original Message-----
> From: Tu, Lijuan <lijuan.tu at intel.com>
> Sent: 2020年3月3日 15:42
> To: Zhu, ShuaiX <shuaix.zhu at intel.com>; dts at dpdk.org
> Cc: Wang, Yinan <yinan.wang at intel.com>
> Subject: RE: [dts] [PATCH V1] tests/perf_virtio_user_pvp:add
> create_eal_parameters function.
> 
> So please ask your "BB" to explain. thanks
> 
> > -----Original Message-----
> > From: Zhu, ShuaiX
> > Sent: Tuesday, March 3, 2020 1:51 PM
> > To: Tu, Lijuan <lijuan.tu at intel.com>; dts at dpdk.org
> > Cc: Wang, Yinan <yinan.wang at intel.com>
> > Subject: RE: [dts] [PATCH V1] tests/perf_virtio_user_pvp:add
> > create_eal_parameters function.
> >
> > This is the result given by BB, let delete this parameter.
> >
> > > -----Original Message-----
> > > From: Tu, Lijuan
> > > Sent: Tuesday, March 3, 2020 1:29 PM
> > > To: Zhu, ShuaiX <shuaix.zhu at intel.com>; dts at dpdk.org
> > > Cc: Wang, Yinan <yinan.wang at intel.com>; Zhu, ShuaiX
> > > <shuaix.zhu at intel.com>
> > > Subject: RE: [dts] [PATCH V1] tests/perf_virtio_user_pvp:add
> > > create_eal_parameters function.
> > >
> > > Why remove it , can you add some explanation?
> > >
> > > > -----Original Message-----
> > > > From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of zhu,shuai
> > > > Sent: Wednesday, February 26, 2020 5:19 PM
> > > > To: dts at dpdk.org
> > > > Cc: Wang, Yinan <yinan.wang at intel.com>; Zhu, ShuaiX
> > > > <shuaix.zhu at intel.com>
> > > > Subject: [dts] [PATCH V1] tests/perf_virtio_user_pvp:add
> > > > create_eal_parameters function.
> > > >
> > > > Remove parameters:"--socket-mem 1024,1024"
> > > >
> > > > Signed-off-by: zhu,shuai <shuaix.zhu at intel.com>
> > > > ---
> > > >  tests/TestSuite_perf_virtio_user_pvp.py | 1 -
> > > >  1 file changed, 1 deletion(-)
> > > >
> > > > diff --git a/tests/TestSuite_perf_virtio_user_pvp.py
> > > > b/tests/TestSuite_perf_virtio_user_pvp.py
> > > > index 2073426..12031c3 100644
> > > > --- a/tests/TestSuite_perf_virtio_user_pvp.py
> > > > +++ b/tests/TestSuite_perf_virtio_user_pvp.py
> > > > @@ -236,7 +236,6 @@ class TestVirtioSingleCorePerf(TestCase):
> > > >              eal_params =
> > > > self.dut.create_eal_parameters(cores=self.core_list_host,
> > > >                              ports=[0], prefix='vhost')
> > > >          command_line_client = self.target + "/app/testpmd %s " + \
> > > > -                        "--socket-mem 1024,1024 "  \
> > > >                          "--vdev
> 'net_vhost0,iface=vhost-net,queues=1' "
> > > + \
> > > >                          "-- -i --nb-cores=%d  --txd=%d --rxd=%d"
> > > >          command_line_client = command_line_client % (eal_params,
> > > > len(self.core_list_host)-1,
> > > > --
> > > > 2.17.2



More information about the dts mailing list