* [dts] [PATCH V1] tests/perf_virtio_user_pvp:add create_eal_parameters function.
@ 2020-02-26 9:18 zhu,shuai
2020-02-26 9:18 ` [dts] [PATCH V1] tests/pvp_diff_qemu_version:add " zhu,shuai
` (8 more replies)
0 siblings, 9 replies; 19+ messages in thread
From: zhu,shuai @ 2020-02-26 9:18 UTC (permalink / raw)
To: dts; +Cc: yinan.wang, zhu,shuai
Remove parameters:"--socket-mem 1024,1024"
Signed-off-by: zhu,shuai <shuaix.zhu@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
^ permalink raw reply [flat|nested] 19+ messages in thread
* [dts] [PATCH V1] tests/pvp_diff_qemu_version:add create_eal_parameters function.
2020-02-26 9:18 [dts] [PATCH V1] tests/perf_virtio_user_pvp:add create_eal_parameters function zhu,shuai
@ 2020-02-26 9:18 ` zhu,shuai
2020-02-26 9:18 ` [dts] [PATCH V1] tests/pvp_qemu_multi_paths_port_restart:add " zhu,shuai
` (7 subsequent siblings)
8 siblings, 0 replies; 19+ messages in thread
From: zhu,shuai @ 2020-02-26 9:18 UTC (permalink / raw)
To: dts; +Cc: yinan.wang, zhu,shuai
Signed-off-by: zhu,shuai <shuaix.zhu@intel.com>
---
tests/TestSuite_pvp_diff_qemu_version.py | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/tests/TestSuite_pvp_diff_qemu_version.py b/tests/TestSuite_pvp_diff_qemu_version.py
index 226693f..77db6ce 100644
--- a/tests/TestSuite_pvp_diff_qemu_version.py
+++ b/tests/TestSuite_pvp_diff_qemu_version.py
@@ -63,8 +63,6 @@ class TestVhostPVPDiffQemuVersion(TestCase):
self.verify(self.cores_num >= 3,
"There has not enought cores to test this suite")
self.cores = self.dut.get_core_list("1S/3C/1T", socket=self.socket)
- self.coremask = utils.create_mask(self.cores)
- self.memory_channel = 4
self.vm_dut = None
self.packet_params_set()
@@ -82,6 +80,7 @@ class TestVhostPVPDiffQemuVersion(TestCase):
# create an instance to set stream field setting
self.pktgen_helper = PacketGeneratorHelper()
self.base_dir = self.dut.base_dir.replace('~', '/root')
+ self.pci_info = self.dut.ports_info[0]['pci']
def set_up(self):
"""
@@ -201,12 +200,11 @@ class TestVhostPVPDiffQemuVersion(TestCase):
"""
Launch the vhost testpmd
"""
- command_line_client = self.dut.target + "/app/testpmd -n %d -c %s \
- --socket-mem 1024,1024 --file-prefix=vhost \
- --vdev 'eth_vhost0,iface=%s/vhost-net,queues=1' -- \
- -i --nb-cores=1 --txd=1024 --rxd=1024"
- command_line_client = command_line_client % (
- self.memory_channel, self.coremask, self.base_dir)
+ testcmd = self.dut.target + "/app/testpmd "
+ vdev = [r"--vdev 'eth_vhost0,iface=%s/vhost-net,queues=1'" % self.base_dir]
+ eal_params = self.dut.create_eal_parameters(cores=self.cores, prefix='vhost', ports=[self.pci_info], vdevs=vdev)
+ para = " -- -i --nb-cores=1 --txd=1024 --rxd=1024"
+ command_line_client = testcmd + eal_params + para
self.vhost.send_expect(command_line_client, "testpmd> ", 30)
self.vhost.send_expect("set fwd mac", "testpmd> ", 30)
self.vhost.send_expect("start", "testpmd> ", 30)
--
2.17.2
^ permalink raw reply [flat|nested] 19+ messages in thread
* [dts] [PATCH V1] tests/pvp_qemu_multi_paths_port_restart:add create_eal_parameters function.
2020-02-26 9:18 [dts] [PATCH V1] tests/perf_virtio_user_pvp:add create_eal_parameters function zhu,shuai
2020-02-26 9:18 ` [dts] [PATCH V1] tests/pvp_diff_qemu_version:add " zhu,shuai
@ 2020-02-26 9:18 ` zhu,shuai
2020-02-26 9:18 ` [dts] [PATCH V1] tests/pvp_vhost_user_reconnect:add " zhu,shuai
` (6 subsequent siblings)
8 siblings, 0 replies; 19+ messages in thread
From: zhu,shuai @ 2020-02-26 9:18 UTC (permalink / raw)
To: dts; +Cc: yinan.wang, zhu,shuai
Signed-off-by: zhu,shuai <shuaix.zhu@intel.com>
---
.../TestSuite_pvp_qemu_multi_paths_port_restart.py | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/tests/TestSuite_pvp_qemu_multi_paths_port_restart.py b/tests/TestSuite_pvp_qemu_multi_paths_port_restart.py
index ea2e1cd..f10e2a6 100644
--- a/tests/TestSuite_pvp_qemu_multi_paths_port_restart.py
+++ b/tests/TestSuite_pvp_qemu_multi_paths_port_restart.py
@@ -61,7 +61,6 @@ class TestPVPQemuMultiPathPortRestart(TestCase):
self.ports_socket = self.dut.get_numa_id(self.dut_ports[0])
self.core_list = self.dut.get_core_list(
self.core_config, socket=self.ports_socket)
- self.core_mask = utils.create_mask(self.core_list)
self.dst_mac = self.dut.get_mac_address(self.dut_ports[0])
self.vm_dut = None
self.virtio1_mac = "52:54:00:00:00:01"
@@ -72,6 +71,7 @@ class TestPVPQemuMultiPathPortRestart(TestCase):
self.tester.send_expect('mkdir -p %s' % self.out_path, '# ')
# create an instance to set stream field setting
self.pktgen_helper = PacketGeneratorHelper()
+ self.pci_info = self.dut.ports_info[0]['pci']
def set_up(self):
"""
@@ -94,13 +94,11 @@ class TestPVPQemuMultiPathPortRestart(TestCase):
"""
self.dut.send_expect("killall -s INT testpmd", "#")
self.dut.send_expect("rm -rf ./vhost-net*", "#")
- command_client = self.dut.target + "/app/testpmd " + \
- " -n %d -c %s --socket-mem 1024,1024 " + \
- " --legacy-mem --file-prefix=vhost " + \
- " --vdev 'net_vhost0,iface=vhost-net,queues=1' " + \
- " -- -i --nb-cores=1 --txd=1024 --rxd=1024"
- command_line_client = command_client % (
- self.dut.get_memory_channels(), self.core_mask)
+ testcmd = self.dut.target + "/app/testpmd "
+ vdev = [r"--vdev 'net_vhost0,iface=vhost-net,queues=1'"]
+ eal_params = self.dut.create_eal_parameters(cores=self.core_list, prefix='vhost', ports=[self.pci_info], vdevs=vdev)
+ para = " -- -i --nb-cores=1 --txd=1024 --rxd=1024"
+ command_line_client = testcmd + eal_params + para
self.vhost.send_expect(command_line_client, "testpmd> ", 120)
self.vhost.send_expect("set fwd mac", "testpmd> ", 120)
self.vhost.send_expect("start", "testpmd> ", 120)
--
2.17.2
^ permalink raw reply [flat|nested] 19+ messages in thread
* [dts] [PATCH V1] tests/pvp_vhost_user_reconnect:add create_eal_parameters function.
2020-02-26 9:18 [dts] [PATCH V1] tests/perf_virtio_user_pvp:add create_eal_parameters function zhu,shuai
2020-02-26 9:18 ` [dts] [PATCH V1] tests/pvp_diff_qemu_version:add " zhu,shuai
2020-02-26 9:18 ` [dts] [PATCH V1] tests/pvp_qemu_multi_paths_port_restart:add " zhu,shuai
@ 2020-02-26 9:18 ` zhu,shuai
2020-02-27 9:52 ` Zhu, ShuaiX
2020-03-03 5:41 ` Tu, Lijuan
2020-02-26 9:18 ` [dts] [PATCH V1] tests/pvp_virtio_bonding:add " zhu,shuai
` (5 subsequent siblings)
8 siblings, 2 replies; 19+ messages in thread
From: zhu,shuai @ 2020-02-26 9:18 UTC (permalink / raw)
To: dts; +Cc: yinan.wang, zhu,shuai
Signed-off-by: zhu,shuai <shuaix.zhu@intel.com>
---
tests/TestSuite_pvp_vhost_user_reconnect.py | 26 +++++++--------------
1 file changed, 9 insertions(+), 17 deletions(-)
diff --git a/tests/TestSuite_pvp_vhost_user_reconnect.py b/tests/TestSuite_pvp_vhost_user_reconnect.py
index 7b201a0..f361373 100644
--- a/tests/TestSuite_pvp_vhost_user_reconnect.py
+++ b/tests/TestSuite_pvp_vhost_user_reconnect.py
@@ -56,10 +56,9 @@ class TestPVPVhostUserReconnect(TestCase):
# Get the port's socket
self.pf = self.dut_ports[0]
netdev = self.dut.ports_info[self.pf]['port']
+ self.pci_info = self.dut.ports_info[0]['pci']
self.socket = netdev.get_nic_socket()
self.cores = self.dut.get_core_list("1S/2C/1T", socket=self.socket)
- self.coremask = utils.create_mask(self.cores)
- self.memory_channel = self.dut.get_memory_channels()
self.dst_mac = self.dut.get_mac_address(self.dut_ports[0])
# set diff arg about mem_socket base on socket number
if len(set([int(core['socket']) for core in self.dut.cores])) == 1:
@@ -101,14 +100,10 @@ class TestPVPVhostUserReconnect(TestCase):
vdev_info = ""
for i in range(self.vm_num):
vdev_info += "--vdev 'net_vhost%d,iface=vhost-net%d,client=1,queues=1' " % (i, i)
- self.vhostapp_testcmd = self.dut.base_dir + \
- "/%s/app/testpmd -c %s -n %d --socket-mem %s --legacy-mem" + \
- " --file-prefix=vhost %s" + \
- " -- -i --port-topology=chained --nb-cores=1" + \
- " --txd=1024 --rxd=1024"
- self.vhostapp_testcmd = self.vhostapp_testcmd % (self.target,
- self.coremask, self.memory_channel,
- self.socket_mem, vdev_info)
+ testcmd = self.dut.base_dir + "/%s/app/testpmd " % self.target
+ eal_params = self.dut.create_eal_parameters(cores=self.cores, prefix='vhost', ports=[self.pci_info])
+ para = " -- -i --port-topology=chained --nb-cores=1 --txd=1024 --rxd=1024"
+ self.vhostapp_testcmd = testcmd + eal_params + vdev_info + para
self.vhost_user.send_expect(self.vhostapp_testcmd, "testpmd> ", 40)
self.vhost_user.send_expect("set fwd mac", "testpmd> ", 40)
self.vhost_user.send_expect("start", "testpmd> ", 40)
@@ -120,13 +115,10 @@ class TestPVPVhostUserReconnect(TestCase):
vdev_info = ""
for i in range(self.vm_num):
vdev_info += "--vdev 'net_vhost%d,iface=vhost-net%d,client=1,queues=1' " % (i, i)
- self.vhostapp_testcmd = self.dut.base_dir + \
- "/%s/app/testpmd -c %s -n %d --socket-mem %s --legacy-mem" + \
- " --no-pci --file-prefix=vhost %s" + \
- " -- -i --nb-cores=1 --txd=1024 --rxd=1024"
- self.vhostapp_testcmd = self.vhostapp_testcmd % (self.target,
- self.coremask, self.memory_channel,
- self.socket_mem, vdev_info)
+ testcmd = self.dut.base_dir + "/%s/app/testpmd " % self.target
+ eal_params = self.dut.create_eal_parameters(cores=self.cores, no_pci=True, prefix='vhost', ports=[self.pci_info])
+ para = " -- -i --nb-cores=1 --txd=1024 --rxd=1024"
+ self.vhostapp_testcmd = testcmd + eal_params + vdev_info + para
self.vhost_user.send_expect(self.vhostapp_testcmd, "testpmd> ", 40)
self.vhost_user.send_expect("start", "testpmd> ", 40)
--
2.17.2
^ permalink raw reply [flat|nested] 19+ messages in thread
* [dts] [PATCH V1] tests/pvp_virtio_bonding:add create_eal_parameters function.
2020-02-26 9:18 [dts] [PATCH V1] tests/perf_virtio_user_pvp:add create_eal_parameters function zhu,shuai
` (2 preceding siblings ...)
2020-02-26 9:18 ` [dts] [PATCH V1] tests/pvp_vhost_user_reconnect:add " zhu,shuai
@ 2020-02-26 9:18 ` zhu,shuai
2020-02-27 9:52 ` Zhu, ShuaiX
2020-03-03 5:41 ` Tu, Lijuan
2020-02-26 9:18 ` [dts] [PATCH V1] tests/pvp_virtio_user_2M_hugepages:add " zhu,shuai
` (4 subsequent siblings)
8 siblings, 2 replies; 19+ messages in thread
From: zhu,shuai @ 2020-02-26 9:18 UTC (permalink / raw)
To: dts; +Cc: yinan.wang, zhu,shuai
Remove parameters:"--socket-mem 2048,2048 --legacy-mem"
Signed-off-by: zhu,shuai <shuaix.zhu@intel.com>
---
tests/TestSuite_pvp_virtio_bonding.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/TestSuite_pvp_virtio_bonding.py b/tests/TestSuite_pvp_virtio_bonding.py
index 1405b0b..b551487 100644
--- a/tests/TestSuite_pvp_virtio_bonding.py
+++ b/tests/TestSuite_pvp_virtio_bonding.py
@@ -88,7 +88,7 @@ class TestPVPVirtIOBonding(TestCase):
for i in range(self.queues):
vdev_info += "--vdev 'net_vhost%d,iface=vhost-net%d,client=1,queues=1' " % (i, i)
params = "--port-topology=chained --nb-cores=4 --txd=1024 --rxd=1024"
- eal_param = "--socket-mem 2048,2048 --legacy-mem --file-prefix=vhost %s " % vdev_info
+ eal_param = "--file-prefix=vhost %s " % vdev_info
self.vhost_testpmd = PmdOutput(self.dut)
self.vhost_testpmd.start_testpmd(self.core_config, params, eal_param=eal_param)
self.vhost_testpmd.execute_cmd('set fwd mac')
--
2.17.2
^ permalink raw reply [flat|nested] 19+ messages in thread
* [dts] [PATCH V1] tests/pvp_virtio_user_2M_hugepages:add create_eal_parameters function.
2020-02-26 9:18 [dts] [PATCH V1] tests/perf_virtio_user_pvp:add create_eal_parameters function zhu,shuai
` (3 preceding siblings ...)
2020-02-26 9:18 ` [dts] [PATCH V1] tests/pvp_virtio_bonding:add " zhu,shuai
@ 2020-02-26 9:18 ` zhu,shuai
2020-02-26 9:18 ` [dts] [PATCH V1] tests/pvp_virtio_user_4k_pages:add " zhu,shuai
` (3 subsequent siblings)
8 siblings, 0 replies; 19+ messages in thread
From: zhu,shuai @ 2020-02-26 9:18 UTC (permalink / raw)
To: dts; +Cc: yinan.wang, zhu,shuai
Signed-off-by: zhu,shuai <shuaix.zhu@intel.com>
---
.../TestSuite_pvp_virtio_user_2M_hugepages.py | 23 ++++++++-----------
1 file changed, 9 insertions(+), 14 deletions(-)
diff --git a/tests/TestSuite_pvp_virtio_user_2M_hugepages.py b/tests/TestSuite_pvp_virtio_user_2M_hugepages.py
index 5531e0b..35572d8 100644
--- a/tests/TestSuite_pvp_virtio_user_2M_hugepages.py
+++ b/tests/TestSuite_pvp_virtio_user_2M_hugepages.py
@@ -61,9 +61,6 @@ class TestPVPVirtioWith2Mhuge(TestCase):
self.core_list_virtio_user = self.core_list[0:2]
self.core_list_vhost_user = self.core_list[2:4]
- self.core_mask_virtio_user = utils.create_mask(self.core_list_virtio_user)
- self.core_mask_vhost_user = utils.create_mask(self.core_list_vhost_user)
- self.mem_channels = self.dut.get_memory_channels()
self.dst_mac = self.dut.get_mac_address(self.dut_ports[0])
self.header_size = HEADER_SIZE['eth'] + HEADER_SIZE['ip'] + HEADER_SIZE['tcp']
self.frame_sizes = [64, 128, 256, 512, 1024, 1518]
@@ -77,6 +74,7 @@ class TestPVPVirtioWith2Mhuge(TestCase):
self.tester.send_expect('mkdir -p %s' % self.out_path, '# ')
# create an instance to set stream field setting
self.pktgen_helper = PacketGeneratorHelper()
+ self.pci_info = self.dut.ports_info[0]['pci']
def set_up(self):
"""
@@ -129,11 +127,10 @@ class TestPVPVirtioWith2Mhuge(TestCase):
"""
start testpmd on vhost
"""
- command_line_client = "%s/app/testpmd -c %s -n %d " + \
- "--socket-mem 1024,1024 --file-prefix=vhost " + \
- "--vdev 'net_vhost0,iface=vhost-net,queues=1' -- -i"
- command_line_client = command_line_client % (self.target,
- self.core_mask_vhost_user, self.mem_channels)
+ testcmd = self.dut.target + "/app/testpmd "
+ vdev = [r"--vdev 'net_vhost0,iface=vhost-net,queues=1'"]
+ eal_params = self.dut.create_eal_parameters(cores=self.core_list_vhost_user, prefix='vhost', ports=[self.pci_info], vdevs=vdev)
+ command_line_client = testcmd + eal_params + " -- -i"
self.vhost_user.send_expect(command_line_client, "testpmd> ", 120)
self.vhost_user.send_expect("start", "testpmd> ", 120)
@@ -141,12 +138,10 @@ class TestPVPVirtioWith2Mhuge(TestCase):
"""
start testpmd on virtio
"""
- command_line_user = "./%s/app/testpmd -n %d -c %s " + \
- "--no-pci --socket-mem 1024,1024 " + \
- "--file-prefix=virtio-user --single-file-segments " + \
- "--vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net,queues=1 -- -i"
- command_line_user = command_line_user % (self.target,
- self.mem_channels, self.core_mask_virtio_user)
+ testcmd = self.dut.target + "/app/testpmd "
+ vdev = " --single-file-segments --vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net,queues=1 -- -i"
+ eal_params = self.dut.create_eal_parameters(cores=self.core_list_virtio_user, no_pci=True, prefix='virtio-user', ports=[self.pci_info])
+ command_line_user = testcmd + eal_params + vdev
self.virtio_user.send_expect(command_line_user, "testpmd> ", 120)
self.virtio_user.send_expect("start", "testpmd> ", 120)
--
2.17.2
^ permalink raw reply [flat|nested] 19+ messages in thread
* [dts] [PATCH V1] tests/pvp_virtio_user_4k_pages:add create_eal_parameters function.
2020-02-26 9:18 [dts] [PATCH V1] tests/perf_virtio_user_pvp:add create_eal_parameters function zhu,shuai
` (4 preceding siblings ...)
2020-02-26 9:18 ` [dts] [PATCH V1] tests/pvp_virtio_user_2M_hugepages:add " zhu,shuai
@ 2020-02-26 9:18 ` zhu,shuai
2020-02-27 9:54 ` Zhu, ShuaiX
2020-03-03 5:41 ` Tu, Lijuan
2020-02-26 9:18 ` [dts] [PATCH V1] tests/virtio_pvp_regression:add " zhu,shuai
` (2 subsequent siblings)
8 siblings, 2 replies; 19+ messages in thread
From: zhu,shuai @ 2020-02-26 9:18 UTC (permalink / raw)
To: dts; +Cc: yinan.wang, zhu,shuai
Signed-off-by: zhu,shuai <shuaix.zhu@intel.com>
---
tests/TestSuite_pvp_virtio_user_4k_pages.py | 24 +++++++++------------
1 file changed, 10 insertions(+), 14 deletions(-)
diff --git a/tests/TestSuite_pvp_virtio_user_4k_pages.py b/tests/TestSuite_pvp_virtio_user_4k_pages.py
index 95b5494..5e6f657 100644
--- a/tests/TestSuite_pvp_virtio_user_4k_pages.py
+++ b/tests/TestSuite_pvp_virtio_user_4k_pages.py
@@ -65,9 +65,7 @@ class TestPvpVirtioUser4kPages(TestCase):
self.core_config, socket=self.ports_socket)
self.core_list_virtio_user = self.core_list[0:2]
self.core_list_vhost_user = self.core_list[2:4]
- self.core_mask_virtio_user = utils.create_mask(self.core_list_virtio_user)
- self.core_mask_vhost_user = utils.create_mask(self.core_list_vhost_user)
- self.mem_channels = self.dut.get_memory_channels()
+ self.pci_info = self.dut.ports_info[0]['pci']
self.dst_mac = self.dut.get_mac_address(self.dut_ports[0])
self.frame_sizes = [64, 128, 256, 512, 1024, 1518]
self.logger.info("You can config packet_size in file %s.cfg," % self.suite_name + \
@@ -131,12 +129,11 @@ class TestPvpVirtioUser4kPages(TestCase):
"""
Start testpmd on vhost
"""
- command_line_client = "%s/app/testpmd -c %s -n %d " + \
- "--file-prefix=vhost -m 1024 --no-huge " + \
- "--vdev 'net_vhost0,iface=vhost-net,queues=1' -- -i " + \
- "--no-numa --socket-num=%d"
- command_line_client = command_line_client % (self.target,
- self.core_mask_vhost_user, self.mem_channels, self.ports_socket)
+ testcmd = self.dut.target + "/app/testpmd "
+ vdev = " -m 1024 --no-huge --vdev 'net_vhost0,iface=vhost-net,queues=1'"
+ para = " -- -i --no-numa --socket-num=%d" % self.ports_socket
+ eal_params = self.dut.create_eal_parameters(cores=self.core_list_vhost_user, prefix='vhost', ports=[self.pci_info])
+ command_line_client = testcmd + eal_params + vdev + para
self.vhost_user.send_expect(command_line_client, "testpmd> ", 120)
self.vhost_user.send_expect("start", "testpmd> ", 120)
@@ -144,11 +141,10 @@ class TestPvpVirtioUser4kPages(TestCase):
"""
Start testpmd on virtio
"""
- command_line_user = "./%s/app/testpmd -n %d -c %s " + \
- "--no-huge -m 1024 --file-prefix=virtio-user " + \
- "--vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net,queues=1 -- -i"
- command_line_user = command_line_user % (self.target,
- self.mem_channels, self.core_mask_virtio_user)
+ testcmd = self.dut.target + "/app/testpmd "
+ vdev = " --no-huge -m 1024 --vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net,queues=1 -- -i"
+ eal_params = self.dut.create_eal_parameters(cores=self.core_list_virtio_user, prefix='virtio-user', ports=[self.pci_info])
+ command_line_user = testcmd + eal_params + vdev
self.virtio_user.send_expect(command_line_user, "testpmd> ", 120)
self.virtio_user.send_expect("set fwd mac", "testpmd> ", 120)
self.virtio_user.send_expect("start", "testpmd> ", 120)
--
2.17.2
^ permalink raw reply [flat|nested] 19+ messages in thread
* [dts] [PATCH V1] tests/virtio_pvp_regression:add create_eal_parameters function.
2020-02-26 9:18 [dts] [PATCH V1] tests/perf_virtio_user_pvp:add create_eal_parameters function zhu,shuai
` (5 preceding siblings ...)
2020-02-26 9:18 ` [dts] [PATCH V1] tests/pvp_virtio_user_4k_pages:add " zhu,shuai
@ 2020-02-26 9:18 ` zhu,shuai
2020-02-27 9:51 ` [dts] [PATCH V1] tests/perf_virtio_user_pvp:add " Zhu, ShuaiX
2020-03-03 5:29 ` Tu, Lijuan
8 siblings, 0 replies; 19+ messages in thread
From: zhu,shuai @ 2020-02-26 9:18 UTC (permalink / raw)
To: dts; +Cc: yinan.wang, zhu,shuai
Signed-off-by: zhu,shuai <shuaix.zhu@intel.com>
---
tests/TestSuite_virtio_pvp_regression.py | 17 ++++++-----------
1 file changed, 6 insertions(+), 11 deletions(-)
diff --git a/tests/TestSuite_virtio_pvp_regression.py b/tests/TestSuite_virtio_pvp_regression.py
index e03048e..90836e3 100644
--- a/tests/TestSuite_virtio_pvp_regression.py
+++ b/tests/TestSuite_virtio_pvp_regression.py
@@ -57,14 +57,13 @@ class TestVirtioPVPRegression(TestCase):
self.pf = self.dut_ports[0]
# Get the port's socket
netdev = self.dut.ports_info[self.pf]['port']
+ self.pci_info = self.dut.ports_info[self.pf]['pci']
self.socket = netdev.get_nic_socket()
self.cores = self.dut.get_core_list("1S/3C/1T", socket=self.socket)
self.verify(len(self.dut_ports) >= 1, "Insufficient ports for testing")
self.verify(len(self.cores) >= 3,
"There has not enought cores to test this suite")
- self.coremask = utils.create_mask(self.cores)
- self.memory_channel = self.dut.get_memory_channels()
self.port_number = 2
self.queues_number = 2
self.dst_mac = self.dut.get_mac_address(self.dut_ports[0])
@@ -248,15 +247,11 @@ class TestVirtioPVPRegression(TestCase):
"""
Launch the vhost testpmd
"""
- command_line_client = self.dut.target + "/app/testpmd -n %d -c %s \
- --socket-mem %s --file-prefix=vhost -w %s \
- --vdev 'eth_vhost0,iface=%s/vhost-net,queues=%d,client=1' -- \
- -i --nb-cores=%d --rxq=%d --txq=%d --txd=1024 --rxd=1024"
- command_line_client = command_line_client % (
- self.memory_channel, self.coremask, self.socket_mem,
- self.dut.ports_info[self.pf]['pci'], self.base_dir,
- self.queues_number, self.queues_number, self.queues_number,
- self.queues_number)
+ testcmd = self.dut.target + "/app/testpmd "
+ vdev = [r"--vdev 'eth_vhost0,iface=%s/vhost-net,queues=%d,client=1'" % (self.base_dir, self.queues_number)]
+ eal_params = self.dut.create_eal_parameters(cores=self.cores, prefix='vhost', ports=[self.pci_info], vdevs=vdev)
+ para = " -- -i --nb-cores=%d --rxq=%d --txq=%d --txd=1024 --rxd=1024" % (self.queues_number, self.queues_number, self.queues_number)
+ command_line_client = testcmd + eal_params + para
self.vhost.send_expect(command_line_client, "testpmd> ", 30)
self.vhost.send_expect("set fwd mac", "testpmd> ", 30)
self.vhost.send_expect("start", "testpmd> ", 30)
--
2.17.2
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [dts] [PATCH V1] tests/perf_virtio_user_pvp:add create_eal_parameters function.
2020-02-26 9:18 [dts] [PATCH V1] tests/perf_virtio_user_pvp:add create_eal_parameters function zhu,shuai
` (6 preceding siblings ...)
2020-02-26 9:18 ` [dts] [PATCH V1] tests/virtio_pvp_regression:add " zhu,shuai
@ 2020-02-27 9:51 ` Zhu, ShuaiX
2020-03-03 5:29 ` Tu, Lijuan
8 siblings, 0 replies; 19+ messages in thread
From: Zhu, ShuaiX @ 2020-02-27 9:51 UTC (permalink / raw)
To: dts; +Cc: Zhu, ShuaiX
Tested-by: Zhu, ShuaiX <shuaix.zhu@intel.com>
> -----Original Message-----
> From: Zhu, ShuaiX
> Sent: Wednesday, February 26, 2020 5:19 PM
> To: dts@dpdk.org
> Cc: Wang, Yinan <yinan.wang@intel.com>; Zhu, ShuaiX <shuaix.zhu@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@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
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [dts] [PATCH V1] tests/pvp_vhost_user_reconnect:add create_eal_parameters function.
2020-02-26 9:18 ` [dts] [PATCH V1] tests/pvp_vhost_user_reconnect:add " zhu,shuai
@ 2020-02-27 9:52 ` Zhu, ShuaiX
2020-03-03 5:41 ` Tu, Lijuan
1 sibling, 0 replies; 19+ messages in thread
From: Zhu, ShuaiX @ 2020-02-27 9:52 UTC (permalink / raw)
To: dts; +Cc: Zhu, ShuaiX
[-- Attachment #1: Type: text/plain, Size: 4109 bytes --]
Tested-by: Zhu, ShuaiX <shuaix.zhu@intel.com>
> -----Original Message-----
> From: Zhu, ShuaiX
> Sent: Wednesday, February 26, 2020 5:19 PM
> To: dts@dpdk.org
> Cc: Wang, Yinan <yinan.wang@intel.com>; Zhu, ShuaiX <shuaix.zhu@intel.com>
> Subject: [dts][PATCH V1] tests/pvp_vhost_user_reconnect:add
> create_eal_parameters function.
>
>
>
> Signed-off-by: zhu,shuai <shuaix.zhu@intel.com>
> ---
> tests/TestSuite_pvp_vhost_user_reconnect.py | 26 +++++++--------------
> 1 file changed, 9 insertions(+), 17 deletions(-)
>
> diff --git a/tests/TestSuite_pvp_vhost_user_reconnect.py
> b/tests/TestSuite_pvp_vhost_user_reconnect.py
> index 7b201a0..f361373 100644
> --- a/tests/TestSuite_pvp_vhost_user_reconnect.py
> +++ b/tests/TestSuite_pvp_vhost_user_reconnect.py
> @@ -56,10 +56,9 @@ class TestPVPVhostUserReconnect(TestCase):
> # Get the port's socket
> self.pf = self.dut_ports[0]
> netdev = self.dut.ports_info[self.pf]['port']
> + self.pci_info = self.dut.ports_info[0]['pci']
> self.socket = netdev.get_nic_socket()
> self.cores = self.dut.get_core_list("1S/2C/1T", socket=self.socket)
> - self.coremask = utils.create_mask(self.cores)
> - self.memory_channel = self.dut.get_memory_channels()
> self.dst_mac = self.dut.get_mac_address(self.dut_ports[0])
> # set diff arg about mem_socket base on socket number
> if len(set([int(core['socket']) for core in self.dut.cores])) == 1:
> @@ -101,14 +100,10 @@ class TestPVPVhostUserReconnect(TestCase):
> vdev_info = ""
> for i in range(self.vm_num):
> vdev_info += "--vdev
> 'net_vhost%d,iface=vhost-net%d,client=1,queues=1' " % (i, i)
> - self.vhostapp_testcmd = self.dut.base_dir + \
> - "/%s/app/testpmd -c %s -n %d --socket-mem %s
> --legacy-mem" + \
> - " --file-prefix=vhost %s" + \
> - " -- -i --port-topology=chained --nb-cores=1" + \
> - " --txd=1024 --rxd=1024"
> - self.vhostapp_testcmd = self.vhostapp_testcmd % (self.target,
> - self.coremask, self.memory_channel,
> - self.socket_mem, vdev_info)
> + testcmd = self.dut.base_dir + "/%s/app/testpmd " % self.target
> + eal_params = self.dut.create_eal_parameters(cores=self.cores,
> prefix='vhost', ports=[self.pci_info])
> + para = " -- -i --port-topology=chained --nb-cores=1 --txd=1024
> --rxd=1024"
> + self.vhostapp_testcmd = testcmd + eal_params + vdev_info + para
> self.vhost_user.send_expect(self.vhostapp_testcmd, "testpmd> ",
> 40)
> self.vhost_user.send_expect("set fwd mac", "testpmd> ", 40)
> self.vhost_user.send_expect("start", "testpmd> ", 40) @@ -120,13
> +115,10 @@ class TestPVPVhostUserReconnect(TestCase):
> vdev_info = ""
> for i in range(self.vm_num):
> vdev_info += "--vdev
> 'net_vhost%d,iface=vhost-net%d,client=1,queues=1' " % (i, i)
> - self.vhostapp_testcmd = self.dut.base_dir + \
> - "/%s/app/testpmd -c %s -n %d --socket-mem %s
> --legacy-mem" + \
> - " --no-pci --file-prefix=vhost %s" + \
> - " -- -i --nb-cores=1 --txd=1024 --rxd=1024"
> - self.vhostapp_testcmd = self.vhostapp_testcmd % (self.target,
> - self.coremask, self.memory_channel,
> - self.socket_mem, vdev_info)
> + testcmd = self.dut.base_dir + "/%s/app/testpmd " % self.target
> + eal_params = self.dut.create_eal_parameters(cores=self.cores,
> no_pci=True, prefix='vhost', ports=[self.pci_info])
> + para = " -- -i --nb-cores=1 --txd=1024 --rxd=1024"
> + self.vhostapp_testcmd = testcmd + eal_params + vdev_info + para
> self.vhost_user.send_expect(self.vhostapp_testcmd, "testpmd> ",
> 40)
> self.vhost_user.send_expect("start", "testpmd> ", 40)
>
> --
> 2.17.2
[-- Attachment #2: TestPVPVhostUserReconnect.log --]
[-- Type: application/octet-stream, Size: 1018091 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [dts] [PATCH V1] tests/pvp_virtio_bonding:add create_eal_parameters function.
2020-02-26 9:18 ` [dts] [PATCH V1] tests/pvp_virtio_bonding:add " zhu,shuai
@ 2020-02-27 9:52 ` Zhu, ShuaiX
2020-03-03 5:41 ` Tu, Lijuan
1 sibling, 0 replies; 19+ messages in thread
From: Zhu, ShuaiX @ 2020-02-27 9:52 UTC (permalink / raw)
To: dts; +Cc: Zhu, ShuaiX
Tested-by: Zhu, ShuaiX <shuaix.zhu@intel.com>
> -----Original Message-----
> From: Zhu, ShuaiX
> Sent: Wednesday, February 26, 2020 5:19 PM
> To: dts@dpdk.org
> Cc: Wang, Yinan <yinan.wang@intel.com>; Zhu, ShuaiX <shuaix.zhu@intel.com>
> Subject: [dts][PATCH V1] tests/pvp_virtio_bonding:add create_eal_parameters
> function.
>
> Remove parameters:"--socket-mem 2048,2048 --legacy-mem"
>
> Signed-off-by: zhu,shuai <shuaix.zhu@intel.com>
> ---
> tests/TestSuite_pvp_virtio_bonding.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/TestSuite_pvp_virtio_bonding.py
> b/tests/TestSuite_pvp_virtio_bonding.py
> index 1405b0b..b551487 100644
> --- a/tests/TestSuite_pvp_virtio_bonding.py
> +++ b/tests/TestSuite_pvp_virtio_bonding.py
> @@ -88,7 +88,7 @@ class TestPVPVirtIOBonding(TestCase):
> for i in range(self.queues):
> vdev_info += "--vdev
> 'net_vhost%d,iface=vhost-net%d,client=1,queues=1' " % (i, i)
> params = "--port-topology=chained --nb-cores=4 --txd=1024
> --rxd=1024"
> - eal_param = "--socket-mem 2048,2048 --legacy-mem
> --file-prefix=vhost %s " % vdev_info
> + eal_param = "--file-prefix=vhost %s " % vdev_info
> self.vhost_testpmd = PmdOutput(self.dut)
> self.vhost_testpmd.start_testpmd(self.core_config, params,
> eal_param=eal_param)
> self.vhost_testpmd.execute_cmd('set fwd mac')
> --
> 2.17.2
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [dts] [PATCH V1] tests/pvp_virtio_user_4k_pages:add create_eal_parameters function.
2020-02-26 9:18 ` [dts] [PATCH V1] tests/pvp_virtio_user_4k_pages:add " zhu,shuai
@ 2020-02-27 9:54 ` Zhu, ShuaiX
2020-03-03 5:41 ` Tu, Lijuan
1 sibling, 0 replies; 19+ messages in thread
From: Zhu, ShuaiX @ 2020-02-27 9:54 UTC (permalink / raw)
To: dts; +Cc: Zhu, ShuaiX
[-- Attachment #1: Type: text/plain, Size: 3878 bytes --]
Tested-by: Zhu, ShuaiX <shuaix.zhu@intel.com>
> -----Original Message-----
> From: Zhu, ShuaiX
> Sent: Wednesday, February 26, 2020 5:19 PM
> To: dts@dpdk.org
> Cc: Wang, Yinan <yinan.wang@intel.com>; Zhu, ShuaiX <shuaix.zhu@intel.com>
> Subject: [dts][PATCH V1] tests/pvp_virtio_user_4k_pages:add
> create_eal_parameters function.
>
>
>
> Signed-off-by: zhu,shuai <shuaix.zhu@intel.com>
> ---
> tests/TestSuite_pvp_virtio_user_4k_pages.py | 24 +++++++++------------
> 1 file changed, 10 insertions(+), 14 deletions(-)
>
> diff --git a/tests/TestSuite_pvp_virtio_user_4k_pages.py
> b/tests/TestSuite_pvp_virtio_user_4k_pages.py
> index 95b5494..5e6f657 100644
> --- a/tests/TestSuite_pvp_virtio_user_4k_pages.py
> +++ b/tests/TestSuite_pvp_virtio_user_4k_pages.py
> @@ -65,9 +65,7 @@ class TestPvpVirtioUser4kPages(TestCase):
> self.core_config, socket=self.ports_socket)
> self.core_list_virtio_user = self.core_list[0:2]
> self.core_list_vhost_user = self.core_list[2:4]
> - self.core_mask_virtio_user =
> utils.create_mask(self.core_list_virtio_user)
> - self.core_mask_vhost_user =
> utils.create_mask(self.core_list_vhost_user)
> - self.mem_channels = self.dut.get_memory_channels()
> + self.pci_info = self.dut.ports_info[0]['pci']
> self.dst_mac = self.dut.get_mac_address(self.dut_ports[0])
> self.frame_sizes = [64, 128, 256, 512, 1024, 1518]
> self.logger.info("You can config packet_size in file %s.cfg," %
> self.suite_name + \ @@ -131,12 +129,11 @@ class
> TestPvpVirtioUser4kPages(TestCase):
> """
> Start testpmd on vhost
> """
> - command_line_client = "%s/app/testpmd -c %s -n %d " + \
> - "--file-prefix=vhost -m 1024 --no-huge " + \
> - "--vdev
> 'net_vhost0,iface=vhost-net,queues=1' -- -i " + \
> - "--no-numa --socket-num=%d"
> - command_line_client = command_line_client % (self.target,
> - self.core_mask_vhost_user,
> self.mem_channels, self.ports_socket)
> + testcmd = self.dut.target + "/app/testpmd "
> + vdev = " -m 1024 --no-huge --vdev
> 'net_vhost0,iface=vhost-net,queues=1'"
> + para = " -- -i --no-numa --socket-num=%d" % self.ports_socket
> + eal_params =
> self.dut.create_eal_parameters(cores=self.core_list_vhost_user, prefix='vhost',
> ports=[self.pci_info])
> + command_line_client = testcmd + eal_params + vdev + para
> self.vhost_user.send_expect(command_line_client, "testpmd> ", 120)
> self.vhost_user.send_expect("start", "testpmd> ", 120)
>
> @@ -144,11 +141,10 @@ class TestPvpVirtioUser4kPages(TestCase):
> """
> Start testpmd on virtio
> """
> - command_line_user = "./%s/app/testpmd -n %d -c %s " + \
> - "--no-huge -m 1024 --file-prefix=virtio-user " + \
> -
> "--vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net,queues=1 --
> -i"
> - command_line_user = command_line_user % (self.target,
> - self.mem_channels, self.core_mask_virtio_user)
> + testcmd = self.dut.target + "/app/testpmd "
> + vdev = " --no-huge -m 1024
> --vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net,queues=1 --
> -i"
> + eal_params =
> self.dut.create_eal_parameters(cores=self.core_list_virtio_user,
> prefix='virtio-user', ports=[self.pci_info])
> + command_line_user = testcmd + eal_params + vdev
> self.virtio_user.send_expect(command_line_user, "testpmd> ", 120)
> self.virtio_user.send_expect("set fwd mac", "testpmd> ", 120)
> self.virtio_user.send_expect("start", "testpmd> ", 120)
> --
> 2.17.2
[-- Attachment #2: TestPvpVirtioUser4kPages.log --]
[-- Type: application/octet-stream, Size: 31989 bytes --]
26/02/2020 11:25:46 dts:
TEST SUITE : TestPvpVirtioUser4kPages
26/02/2020 11:25:46 dts: NIC : niantic
26/02/2020 11:25:46 dut.10.238.54.213:
26/02/2020 11:25:46 tester:
26/02/2020 11:25:46 dut.10.238.54.213: modprobe vfio-pci
26/02/2020 11:25:46 dut.10.238.54.213:
26/02/2020 11:25:47 TestPvpVirtioUser4kPages: You can config packet_size in file pvp_virtio_user_4k_pages.cfg, in region 'suite' like packet_sizes=[64, 128, 256]
26/02/2020 11:25:47 tester: ls -d /tmp/pvp_virtio_user_4k_pages
26/02/2020 11:25:48 tester: /tmp/pvp_virtio_user_4k_pages
26/02/2020 11:25:48 TestPvpVirtioUser4kPages: Test Case test_perf_pvp_virtio_user_with_4K_pages Begin
26/02/2020 11:25:48 dut.10.238.54.213:
26/02/2020 11:25:48 tester:
26/02/2020 11:25:48 dut.10.238.54.213: rm -rf ./vhost-net*
26/02/2020 11:25:48 dut.10.238.54.213:
26/02/2020 11:25:48 dut.10.238.54.213: killall -s INT testpmd
26/02/2020 11:25:48 dut.10.238.54.213: testpmd: no process found
26/02/2020 11:25:54 dut.10.238.54.213: mkdir -p /mnt/tmpfs_nohuge
26/02/2020 11:25:54 dut.10.238.54.213:
26/02/2020 11:25:54 dut.10.238.54.213: mount tmpfs /mnt/tmpfs_nohuge -t tmpfs -o size=4G
26/02/2020 11:25:54 dut.10.238.54.213:
26/02/2020 11:25:57 tester: ls -d /tmp/pvp_virtio_user_4k_pages
26/02/2020 11:25:57 tester: /tmp/pvp_virtio_user_4k_pages
26/02/2020 11:25:57 tester: scp -v /home/autoregression/dts/output/tmp/pcap/vhost.pcap root@10.238.54.214:/tmp/pvp_virtio_user_4k_pages/vhost.pcap
26/02/2020 11:25:59 pktgen: test port 0 map gen port 0
26/02/2020 11:25:59 pktgen: test port 0 map gen port 0
26/02/2020 11:25:59 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': '82599ES 10-Gigabit SFI/SFP+ Network Connection',
'dest': 'f8:f2:1e:5c:e8:90',
'driver': 'net_ixgbe',
'fc': 'none',
'fc_supported': 'yes',
'grat_arp': 'off',
'hw_mac': 'f8:f2:1e:5c:e6:d4',
'index': 0,
'ipv6': 'off',
'is_fc_supported': True,
'is_led_supported': True,
'is_link_supported': False,
'is_prom_supported': True,
'is_virtual': 'no',
'is_vxlan_supported': 'no',
'layer_mode': 'Ethernet',
'led_change_supported': 'yes',
'link': 'UP',
'link_change_supported': 'no',
'mult': 'off',
'numa': 0,
'pci_addr': '0000:18:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency', 'rx_bytes'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 10.0,
'src_ipv4': '-',
'src_mac': 'f8:f2:1e:5c:e6:d4',
'status': 'IDLE',
'supp_speeds': [1000, 10000],
'vlan': '-',
'vxlan_fs': '-'}
26/02/2020 11:25:59 pktgen: begin traffic ......
26/02/2020 11:25:59 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
26/02/2020 11:26:09 pktgen: begin get port statistic ...
26/02/2020 11:26:09 pktgen: {'options': {'pcap': '/tmp/pvp_virtio_user_4k_pages/vhost.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/pvp_virtio_user_4k_pages/vhost.pcap',
'rx_port': 0,
'tx_port': 0}
26/02/2020 11:26:09 pktgen: {0: {'ibytes': 3483571072,
'ierrors': 0,
'ipackets': 54430792,
'obytes': 9531821568,
'oerrors': 0,
'opackets': 148934705,
'rx_bps': 2777483520.0,
'rx_bps_L1': 3645446560.0,
'rx_pps': 5424769.0,
'rx_util': 36.4544656,
'tx_bps': 7599767552.0,
'tx_bps_L1': 9974694912.0,
'tx_pps': 14843296.0,
'tx_util': 99.74694912},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 41.83195114135742,
'cpu_util': 9.083687782287598,
'queue_full': 0,
'rx_bps': 2777483520.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 4822284288.0,
'rx_pps': 5424769.0,
'tx_bps': 7599767552.0,
'tx_pps': 14843296.0},
'latency': {},
'total': {'ibytes': 3483571072,
'ierrors': 0,
'ipackets': 54430792,
'obytes': 9531821568,
'oerrors': 0,
'opackets': 148934705,
'rx_bps': 2777483520.0,
'rx_bps_L1': 3645446560.0,
'rx_pps': 5424769.0,
'rx_util': 36.4544656,
'tx_bps': 7599767552.0,
'tx_bps_L1': 9974694912.0,
'tx_pps': 14843296.0,
'tx_util': 99.74694912}}
26/02/2020 11:26:09 pktgen: {'ibytes': 3483571072,
'ierrors': 0,
'ipackets': 54430792,
'obytes': 9531821568,
'oerrors': 0,
'opackets': 148934705,
'rx_bps': 2777483520.0,
'rx_bps_L1': 3645446560.0,
'rx_pps': 5424769.0,
'rx_util': 36.4544656,
'tx_bps': 7599767552.0,
'tx_bps_L1': 9974694912.0,
'tx_pps': 14843296.0,
'tx_util': 99.74694912}
26/02/2020 11:26:09 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 7599767552.000000, tx_pps: 14843296.000000
26/02/2020 11:26:09 pktgen: {'ibytes': 3483571072,
'ierrors': 0,
'ipackets': 54430792,
'obytes': 9531821568,
'oerrors': 0,
'opackets': 148934705,
'rx_bps': 2777483520.0,
'rx_bps_L1': 3645446560.0,
'rx_pps': 5424769.0,
'rx_util': 36.4544656,
'tx_bps': 7599767552.0,
'tx_bps_L1': 9974694912.0,
'tx_pps': 14843296.0,
'tx_util': 99.74694912}
26/02/2020 11:26:09 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 2777483520.000000, rx_pps: 5424769.000000
26/02/2020 11:26:09 pktgen: throughput: pps_rx 5424769.000000, bps_rx 2777483520.000000
26/02/2020 11:26:09 pktgen: traffic completed.
26/02/2020 11:26:09 tester: ls -d /tmp/pvp_virtio_user_4k_pages
26/02/2020 11:26:09 tester: /tmp/pvp_virtio_user_4k_pages
26/02/2020 11:26:09 tester: scp -v /home/autoregression/dts/output/tmp/pcap/vhost.pcap root@10.238.54.214:/tmp/pvp_virtio_user_4k_pages/vhost.pcap
26/02/2020 11:26:11 pktgen: test port 0 map gen port 0
26/02/2020 11:26:11 pktgen: test port 0 map gen port 0
26/02/2020 11:26:11 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': '82599ES 10-Gigabit SFI/SFP+ Network Connection',
'dest': 'f8:f2:1e:5c:e8:90',
'driver': 'net_ixgbe',
'fc': 'none',
'fc_supported': 'yes',
'grat_arp': 'off',
'hw_mac': 'f8:f2:1e:5c:e6:d4',
'index': 0,
'ipv6': 'off',
'is_fc_supported': True,
'is_led_supported': True,
'is_link_supported': False,
'is_prom_supported': True,
'is_virtual': 'no',
'is_vxlan_supported': 'no',
'layer_mode': 'Ethernet',
'led_change_supported': 'yes',
'link': 'UP',
'link_change_supported': 'no',
'mult': 'off',
'numa': 0,
'pci_addr': '0000:18:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency', 'rx_bytes'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 10.0,
'src_ipv4': '-',
'src_mac': 'f8:f2:1e:5c:e6:d4',
'status': 'IDLE',
'supp_speeds': [1000, 10000],
'vlan': '-',
'vxlan_fs': '-'}
26/02/2020 11:26:11 pktgen: begin traffic ......
26/02/2020 11:26:11 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
26/02/2020 11:26:21 pktgen: begin get port statistic ...
26/02/2020 11:26:21 pktgen: {'options': {'pcap': '/tmp/pvp_virtio_user_4k_pages/vhost.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/pvp_virtio_user_4k_pages/vhost.pcap',
'rx_port': 0,
'tx_port': 0}
26/02/2020 11:26:21 pktgen: {0: {'ibytes': 6363361280,
'ierrors': 0,
'ipackets': 49713760,
'obytes': 10819567872,
'oerrors': 0,
'opackets': 84527870,
'rx_bps': 5088796160.0,
'rx_bps_L1': 5884097600.0,
'rx_pps': 4970634.0,
'rx_util': 58.840976,
'tx_bps': 8652316672.0,
'tx_bps_L1': 10004724992.0,
'tx_pps': 8452552.0,
'tx_util': 100.04724992},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 78.27294158935547,
'cpu_util': 5.527016639709473,
'queue_full': 0,
'rx_bps': 5088796160.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 3563520000.0,
'rx_pps': 4970634.0,
'tx_bps': 8652316672.0,
'tx_pps': 8452552.0},
'latency': {},
'total': {'ibytes': 6363361280,
'ierrors': 0,
'ipackets': 49713760,
'obytes': 10819567872,
'oerrors': 0,
'opackets': 84527870,
'rx_bps': 5088796160.0,
'rx_bps_L1': 5884097600.0,
'rx_pps': 4970634.0,
'rx_util': 58.840976,
'tx_bps': 8652316672.0,
'tx_bps_L1': 10004724992.0,
'tx_pps': 8452552.0,
'tx_util': 100.04724992}}
26/02/2020 11:26:21 pktgen: {'ibytes': 6363361280,
'ierrors': 0,
'ipackets': 49713760,
'obytes': 10819567872,
'oerrors': 0,
'opackets': 84527870,
'rx_bps': 5088796160.0,
'rx_bps_L1': 5884097600.0,
'rx_pps': 4970634.0,
'rx_util': 58.840976,
'tx_bps': 8652316672.0,
'tx_bps_L1': 10004724992.0,
'tx_pps': 8452552.0,
'tx_util': 100.04724992}
26/02/2020 11:26:21 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 8652316672.000000, tx_pps: 8452552.000000
26/02/2020 11:26:21 pktgen: {'ibytes': 6363361280,
'ierrors': 0,
'ipackets': 49713760,
'obytes': 10819567872,
'oerrors': 0,
'opackets': 84527870,
'rx_bps': 5088796160.0,
'rx_bps_L1': 5884097600.0,
'rx_pps': 4970634.0,
'rx_util': 58.840976,
'tx_bps': 8652316672.0,
'tx_bps_L1': 10004724992.0,
'tx_pps': 8452552.0,
'tx_util': 100.04724992}
26/02/2020 11:26:21 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 5088796160.000000, rx_pps: 4970634.000000
26/02/2020 11:26:21 pktgen: throughput: pps_rx 4970634.000000, bps_rx 5088796160.000000
26/02/2020 11:26:21 pktgen: traffic completed.
26/02/2020 11:26:21 tester: ls -d /tmp/pvp_virtio_user_4k_pages
26/02/2020 11:26:21 tester: /tmp/pvp_virtio_user_4k_pages
26/02/2020 11:26:21 tester: scp -v /home/autoregression/dts/output/tmp/pcap/vhost.pcap root@10.238.54.214:/tmp/pvp_virtio_user_4k_pages/vhost.pcap
26/02/2020 11:26:23 pktgen: test port 0 map gen port 0
26/02/2020 11:26:23 pktgen: test port 0 map gen port 0
26/02/2020 11:26:23 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': '82599ES 10-Gigabit SFI/SFP+ Network Connection',
'dest': 'f8:f2:1e:5c:e8:90',
'driver': 'net_ixgbe',
'fc': 'none',
'fc_supported': 'yes',
'grat_arp': 'off',
'hw_mac': 'f8:f2:1e:5c:e6:d4',
'index': 0,
'ipv6': 'off',
'is_fc_supported': True,
'is_led_supported': True,
'is_link_supported': False,
'is_prom_supported': True,
'is_virtual': 'no',
'is_vxlan_supported': 'no',
'layer_mode': 'Ethernet',
'led_change_supported': 'yes',
'link': 'UP',
'link_change_supported': 'no',
'mult': 'off',
'numa': 0,
'pci_addr': '0000:18:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency', 'rx_bytes'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 10.0,
'src_ipv4': '-',
'src_mac': 'f8:f2:1e:5c:e6:d4',
'status': 'IDLE',
'supp_speeds': [1000, 10000],
'vlan': '-',
'vxlan_fs': '-'}
26/02/2020 11:26:23 pktgen: begin traffic ......
26/02/2020 11:26:23 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
26/02/2020 11:26:33 pktgen: begin get port statistic ...
26/02/2020 11:26:33 pktgen: {'options': {'pcap': '/tmp/pvp_virtio_user_4k_pages/vhost.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/pvp_virtio_user_4k_pages/vhost.pcap',
'rx_port': 0,
'tx_port': 0}
26/02/2020 11:26:33 pktgen: {0: {'ibytes': 11486199040,
'ierrors': 0,
'ipackets': 44867963,
'obytes': 11603910144,
'oerrors': 0,
'opackets': 45327772,
'rx_bps': 9161732096.0,
'rx_bps_L1': 9877646336.0,
'rx_pps': 4474464.0,
'rx_util': 98.77646336,
'tx_bps': 9256160256.0,
'tx_bps_L1': 9979559216.0,
'tx_pps': 4521243.5,
'tx_util': 99.79559216},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 210.847900390625,
'cpu_util': 2.1949851512908936,
'queue_full': 0,
'rx_bps': 9161732096.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 0.0,
'rx_pps': 4474464.0,
'tx_bps': 9256160256.0,
'tx_pps': 4521243.5},
'latency': {},
'total': {'ibytes': 11486199040,
'ierrors': 0,
'ipackets': 44867963,
'obytes': 11603910144,
'oerrors': 0,
'opackets': 45327772,
'rx_bps': 9161732096.0,
'rx_bps_L1': 9877646336.0,
'rx_pps': 4474464.0,
'rx_util': 98.77646336,
'tx_bps': 9256160256.0,
'tx_bps_L1': 9979559216.0,
'tx_pps': 4521243.5,
'tx_util': 99.79559216}}
26/02/2020 11:26:33 pktgen: {'ibytes': 11486199040,
'ierrors': 0,
'ipackets': 44867963,
'obytes': 11603910144,
'oerrors': 0,
'opackets': 45327772,
'rx_bps': 9161732096.0,
'rx_bps_L1': 9877646336.0,
'rx_pps': 4474464.0,
'rx_util': 98.77646336,
'tx_bps': 9256160256.0,
'tx_bps_L1': 9979559216.0,
'tx_pps': 4521243.5,
'tx_util': 99.79559216}
26/02/2020 11:26:33 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 9256160256.000000, tx_pps: 4521243.500000
26/02/2020 11:26:33 pktgen: {'ibytes': 11486199040,
'ierrors': 0,
'ipackets': 44867963,
'obytes': 11603910144,
'oerrors': 0,
'opackets': 45327772,
'rx_bps': 9161732096.0,
'rx_bps_L1': 9877646336.0,
'rx_pps': 4474464.0,
'rx_util': 98.77646336,
'tx_bps': 9256160256.0,
'tx_bps_L1': 9979559216.0,
'tx_pps': 4521243.5,
'tx_util': 99.79559216}
26/02/2020 11:26:33 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 9161732096.000000, rx_pps: 4474464.000000
26/02/2020 11:26:33 pktgen: throughput: pps_rx 4474464.000000, bps_rx 9161732096.000000
26/02/2020 11:26:33 pktgen: traffic completed.
26/02/2020 11:26:33 tester: ls -d /tmp/pvp_virtio_user_4k_pages
26/02/2020 11:26:33 tester: /tmp/pvp_virtio_user_4k_pages
26/02/2020 11:26:33 tester: scp -v /home/autoregression/dts/output/tmp/pcap/vhost.pcap root@10.238.54.214:/tmp/pvp_virtio_user_4k_pages/vhost.pcap
26/02/2020 11:26:35 pktgen: test port 0 map gen port 0
26/02/2020 11:26:35 pktgen: test port 0 map gen port 0
26/02/2020 11:26:35 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': '82599ES 10-Gigabit SFI/SFP+ Network Connection',
'dest': 'f8:f2:1e:5c:e8:90',
'driver': 'net_ixgbe',
'fc': 'none',
'fc_supported': 'yes',
'grat_arp': 'off',
'hw_mac': 'f8:f2:1e:5c:e6:d4',
'index': 0,
'ipv6': 'off',
'is_fc_supported': True,
'is_led_supported': True,
'is_link_supported': False,
'is_prom_supported': True,
'is_virtual': 'no',
'is_vxlan_supported': 'no',
'layer_mode': 'Ethernet',
'led_change_supported': 'yes',
'link': 'UP',
'link_change_supported': 'no',
'mult': 'off',
'numa': 0,
'pci_addr': '0000:18:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency', 'rx_bytes'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 10.0,
'src_ipv4': '-',
'src_mac': 'f8:f2:1e:5c:e6:d4',
'status': 'IDLE',
'supp_speeds': [1000, 10000],
'vlan': '-',
'vxlan_fs': '-'}
26/02/2020 11:26:35 pktgen: begin traffic ......
26/02/2020 11:26:35 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
26/02/2020 11:26:45 pktgen: begin get port statistic ...
26/02/2020 11:26:45 pktgen: {'options': {'pcap': '/tmp/pvp_virtio_user_4k_pages/vhost.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/pvp_virtio_user_4k_pages/vhost.pcap',
'rx_port': 0,
'tx_port': 0}
26/02/2020 11:26:45 pktgen: {0: {'ibytes': 12040869376,
'ierrors': 0,
'ipackets': 23517322,
'obytes': 12040888320,
'oerrors': 0,
'opackets': 23517359,
'rx_bps': 9603980288.0,
'rx_bps_L1': 9979267768.0,
'rx_pps': 2345546.75,
'rx_util': 99.79267768,
'tx_bps': 9604014080.0,
'tx_bps_L1': 9979304320.0,
'tx_pps': 2345564.0,
'tx_util': 99.7930432},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 345.4259033203125,
'cpu_util': 1.3901699781417847,
'queue_full': 0,
'rx_bps': 9603980288.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 0.0,
'rx_pps': 2345546.75,
'tx_bps': 9604014080.0,
'tx_pps': 2345564.0},
'latency': {},
'total': {'ibytes': 12040869376,
'ierrors': 0,
'ipackets': 23517322,
'obytes': 12040888320,
'oerrors': 0,
'opackets': 23517359,
'rx_bps': 9603980288.0,
'rx_bps_L1': 9979267768.0,
'rx_pps': 2345546.75,
'rx_util': 99.79267768,
'tx_bps': 9604014080.0,
'tx_bps_L1': 9979304320.0,
'tx_pps': 2345564.0,
'tx_util': 99.7930432}}
26/02/2020 11:26:45 pktgen: {'ibytes': 12040869376,
'ierrors': 0,
'ipackets': 23517322,
'obytes': 12040888320,
'oerrors': 0,
'opackets': 23517359,
'rx_bps': 9603980288.0,
'rx_bps_L1': 9979267768.0,
'rx_pps': 2345546.75,
'rx_util': 99.79267768,
'tx_bps': 9604014080.0,
'tx_bps_L1': 9979304320.0,
'tx_pps': 2345564.0,
'tx_util': 99.7930432}
26/02/2020 11:26:45 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 9604014080.000000, tx_pps: 2345564.000000
26/02/2020 11:26:45 pktgen: {'ibytes': 12040869376,
'ierrors': 0,
'ipackets': 23517322,
'obytes': 12040888320,
'oerrors': 0,
'opackets': 23517359,
'rx_bps': 9603980288.0,
'rx_bps_L1': 9979267768.0,
'rx_pps': 2345546.75,
'rx_util': 99.79267768,
'tx_bps': 9604014080.0,
'tx_bps_L1': 9979304320.0,
'tx_pps': 2345564.0,
'tx_util': 99.7930432}
26/02/2020 11:26:45 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 9603980288.000000, rx_pps: 2345546.750000
26/02/2020 11:26:45 pktgen: throughput: pps_rx 2345546.750000, bps_rx 9603980288.000000
26/02/2020 11:26:45 pktgen: traffic completed.
26/02/2020 11:26:45 tester: ls -d /tmp/pvp_virtio_user_4k_pages
26/02/2020 11:26:45 tester: /tmp/pvp_virtio_user_4k_pages
26/02/2020 11:26:45 tester: scp -v /home/autoregression/dts/output/tmp/pcap/vhost.pcap root@10.238.54.214:/tmp/pvp_virtio_user_4k_pages/vhost.pcap
26/02/2020 11:26:47 pktgen: test port 0 map gen port 0
26/02/2020 11:26:47 pktgen: test port 0 map gen port 0
26/02/2020 11:26:47 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': '82599ES 10-Gigabit SFI/SFP+ Network Connection',
'dest': 'f8:f2:1e:5c:e8:90',
'driver': 'net_ixgbe',
'fc': 'none',
'fc_supported': 'yes',
'grat_arp': 'off',
'hw_mac': 'f8:f2:1e:5c:e6:d4',
'index': 0,
'ipv6': 'off',
'is_fc_supported': True,
'is_led_supported': True,
'is_link_supported': False,
'is_prom_supported': True,
'is_virtual': 'no',
'is_vxlan_supported': 'no',
'layer_mode': 'Ethernet',
'led_change_supported': 'yes',
'link': 'UP',
'link_change_supported': 'no',
'mult': 'off',
'numa': 0,
'pci_addr': '0000:18:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency', 'rx_bytes'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 10.0,
'src_ipv4': '-',
'src_mac': 'f8:f2:1e:5c:e6:d4',
'status': 'IDLE',
'supp_speeds': [1000, 10000],
'vlan': '-',
'vxlan_fs': '-'}
26/02/2020 11:26:47 pktgen: begin traffic ......
26/02/2020 11:26:47 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
26/02/2020 11:26:57 pktgen: begin get port statistic ...
26/02/2020 11:26:57 pktgen: {'options': {'pcap': '/tmp/pvp_virtio_user_4k_pages/vhost.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/pvp_virtio_user_4k_pages/vhost.pcap',
'rx_port': 0,
'tx_port': 0}
26/02/2020 11:26:57 pktgen: {0: {'ibytes': 12271302656,
'ierrors': 0,
'ipackets': 11983693,
'obytes': 12271321088,
'oerrors': 0,
'opackets': 11983711,
'rx_bps': 9786414080.0,
'rx_bps_L1': 9977620480.0,
'rx_pps': 1195040.0,
'rx_util': 99.7762048,
'tx_bps': 9786409984.0,
'tx_bps_L1': 9977616363.999998,
'tx_pps': 1195039.875,
'tx_util': 99.77616363999998},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 860.0567016601562,
'cpu_util': 0.5689398050308228,
'queue_full': 0,
'rx_bps': 9786414080.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 0.0,
'rx_pps': 1195040.0,
'tx_bps': 9786409984.0,
'tx_pps': 1195039.875},
'latency': {},
'total': {'ibytes': 12271302656,
'ierrors': 0,
'ipackets': 11983693,
'obytes': 12271321088,
'oerrors': 0,
'opackets': 11983711,
'rx_bps': 9786414080.0,
'rx_bps_L1': 9977620480.0,
'rx_pps': 1195040.0,
'rx_util': 99.7762048,
'tx_bps': 9786409984.0,
'tx_bps_L1': 9977616363.999998,
'tx_pps': 1195039.875,
'tx_util': 99.77616363999998}}
26/02/2020 11:26:57 pktgen: {'ibytes': 12271302656,
'ierrors': 0,
'ipackets': 11983693,
'obytes': 12271321088,
'oerrors': 0,
'opackets': 11983711,
'rx_bps': 9786414080.0,
'rx_bps_L1': 9977620480.0,
'rx_pps': 1195040.0,
'rx_util': 99.7762048,
'tx_bps': 9786409984.0,
'tx_bps_L1': 9977616363.999998,
'tx_pps': 1195039.875,
'tx_util': 99.77616363999998}
26/02/2020 11:26:57 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 9786409984.000000, tx_pps: 1195039.875000
26/02/2020 11:26:57 pktgen: {'ibytes': 12271302656,
'ierrors': 0,
'ipackets': 11983693,
'obytes': 12271321088,
'oerrors': 0,
'opackets': 11983711,
'rx_bps': 9786414080.0,
'rx_bps_L1': 9977620480.0,
'rx_pps': 1195040.0,
'rx_util': 99.7762048,
'tx_bps': 9786409984.0,
'tx_bps_L1': 9977616363.999998,
'tx_pps': 1195039.875,
'tx_util': 99.77616363999998}
26/02/2020 11:26:57 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 9786414080.000000, rx_pps: 1195040.000000
26/02/2020 11:26:57 pktgen: throughput: pps_rx 1195040.000000, bps_rx 9786414080.000000
26/02/2020 11:26:57 pktgen: traffic completed.
26/02/2020 11:26:57 tester: ls -d /tmp/pvp_virtio_user_4k_pages
26/02/2020 11:26:57 tester: /tmp/pvp_virtio_user_4k_pages
26/02/2020 11:26:57 tester: scp -v /home/autoregression/dts/output/tmp/pcap/vhost.pcap root@10.238.54.214:/tmp/pvp_virtio_user_4k_pages/vhost.pcap
26/02/2020 11:26:59 pktgen: test port 0 map gen port 0
26/02/2020 11:26:59 pktgen: test port 0 map gen port 0
26/02/2020 11:26:59 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': '82599ES 10-Gigabit SFI/SFP+ Network Connection',
'dest': 'f8:f2:1e:5c:e8:90',
'driver': 'net_ixgbe',
'fc': 'none',
'fc_supported': 'yes',
'grat_arp': 'off',
'hw_mac': 'f8:f2:1e:5c:e6:d4',
'index': 0,
'ipv6': 'off',
'is_fc_supported': True,
'is_led_supported': True,
'is_link_supported': False,
'is_prom_supported': True,
'is_virtual': 'no',
'is_vxlan_supported': 'no',
'layer_mode': 'Ethernet',
'led_change_supported': 'yes',
'link': 'UP',
'link_change_supported': 'no',
'mult': 'off',
'numa': 0,
'pci_addr': '0000:18:00.0',
'prom': 'off',
'prom_supported': 'yes',
'rx': {'caps': ['flow_stats', 'latency', 'rx_bytes'], 'counters': 127},
'rx_filter_mode': 'hardware match',
'rx_queue': 'off',
'speed': 10.0,
'src_ipv4': '-',
'src_mac': 'f8:f2:1e:5c:e6:d4',
'status': 'IDLE',
'supp_speeds': [1000, 10000],
'vlan': '-',
'vxlan_fs': '-'}
26/02/2020 11:26:59 pktgen: begin traffic ......
26/02/2020 11:26:59 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
26/02/2020 11:27:09 pktgen: begin get port statistic ...
26/02/2020 11:27:09 pktgen: {'options': {'pcap': '/tmp/pvp_virtio_user_4k_pages/vhost.pcap',
'stream_config': {'rate': 100,
'transmit_mode': 'continuous',
'txmode': {}}},
'pcap_file': '/tmp/pvp_virtio_user_4k_pages/vhost.pcap',
'rx_port': 0,
'tx_port': 0}
26/02/2020 11:27:09 pktgen: {0: {'ibytes': 12348246900,
'ierrors': 0,
'ipackets': 8134550,
'obytes': 12348266634,
'oerrors': 0,
'opackets': 8134563,
'rx_bps': 9882714112.0,
'rx_bps_L1': 10012941742.0,
'rx_pps': 813922.6875,
'rx_util': 100.12941742000001,
'tx_bps': 9882704896.0,
'tx_bps_L1': 10012932496.0,
'tx_pps': 813922.5,
'tx_util': 100.12932496},
1: {'ibytes': 0,
'ierrors': 0,
'ipackets': 0,
'obytes': 0,
'oerrors': 0,
'opackets': 0,
'rx_bps': 0.0,
'rx_bps_L1': 0,
'rx_pps': 0.0,
'rx_util': 0.0,
'tx_bps': 0.0,
'tx_bps_L1': 0,
'tx_pps': 0.0,
'tx_util': 0.0},
'flow_stats': {},
'global': {'bw_per_core': 1099.9423828125,
'cpu_util': 0.4492373764514923,
'queue_full': 0,
'rx_bps': 9882714112.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 0.0,
'rx_pps': 813922.6875,
'tx_bps': 9882704896.0,
'tx_pps': 813922.5},
'latency': {},
'total': {'ibytes': 12348246900,
'ierrors': 0,
'ipackets': 8134550,
'obytes': 12348266634,
'oerrors': 0,
'opackets': 8134563,
'rx_bps': 9882714112.0,
'rx_bps_L1': 10012941742.0,
'rx_pps': 813922.6875,
'rx_util': 100.12941742000001,
'tx_bps': 9882704896.0,
'tx_bps_L1': 10012932496.0,
'tx_pps': 813922.5,
'tx_util': 100.12932496}}
26/02/2020 11:27:09 pktgen: {'ibytes': 12348246900,
'ierrors': 0,
'ipackets': 8134550,
'obytes': 12348266634,
'oerrors': 0,
'opackets': 8134563,
'rx_bps': 9882714112.0,
'rx_bps_L1': 10012941742.0,
'rx_pps': 813922.6875,
'rx_util': 100.12941742000001,
'tx_bps': 9882704896.0,
'tx_bps_L1': 10012932496.0,
'tx_pps': 813922.5,
'tx_util': 100.12932496}
26/02/2020 11:27:09 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 9882704896.000000, tx_pps: 813922.500000
26/02/2020 11:27:09 pktgen: {'ibytes': 12348246900,
'ierrors': 0,
'ipackets': 8134550,
'obytes': 12348266634,
'oerrors': 0,
'opackets': 8134563,
'rx_bps': 9882714112.0,
'rx_bps_L1': 10012941742.0,
'rx_pps': 813922.6875,
'rx_util': 100.12941742000001,
'tx_bps': 9882704896.0,
'tx_bps_L1': 10012932496.0,
'tx_pps': 813922.5,
'tx_util': 100.12932496}
26/02/2020 11:27:09 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 9882714112.000000, rx_pps: 813922.687500
26/02/2020 11:27:09 pktgen: throughput: pps_rx 813922.687500, bps_rx 9882714112.000000
26/02/2020 11:27:09 pktgen: traffic completed.
26/02/2020 11:27:09 TestPvpVirtioUser4kPages:
+-------+----------+-------+-----------+------------+
| Frame | Mode | Mpps | Queue Num | % linerate |
+=======+==========+=======+===========+============+
| 64 | 4K pages | 5.425 | 1 | 36.454 |
+-------+----------+-------+-----------+------------+
| 128 | 4K pages | 4.971 | 1 | 33.403 |
+-------+----------+-------+-----------+------------+
| 256 | 4K pages | 4.474 | 1 | 30.068 |
+-------+----------+-------+-----------+------------+
| 512 | 4K pages | 2.346 | 1 | 15.762 |
+-------+----------+-------+-----------+------------+
| 1024 | 4K pages | 1.195 | 1 | 8.031 |
+-------+----------+-------+-----------+------------+
| 1518 | 4K pages | 0.814 | 1 | 5.470 |
+-------+----------+-------+-----------+------------+
26/02/2020 11:27:11 TestPvpVirtioUser4kPages: Test Case test_perf_pvp_virtio_user_with_4K_pages Result PASSED:
26/02/2020 11:27:11 dut.10.238.54.213: killall -s INT testpmd
26/02/2020 11:27:11 dut.10.238.54.213: testpmd: no process found
26/02/2020 11:27:11 dut.10.238.54.213: umount /mnt/tmpfs_nohuge
26/02/2020 11:27:11 dut.10.238.54.213:
26/02/2020 11:27:11 dts:
TEST SUITE ENDED: TestPvpVirtioUser4kPages
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [dts] [PATCH V1] tests/perf_virtio_user_pvp:add create_eal_parameters function.
2020-02-26 9:18 [dts] [PATCH V1] tests/perf_virtio_user_pvp:add create_eal_parameters function zhu,shuai
` (7 preceding siblings ...)
2020-02-27 9:51 ` [dts] [PATCH V1] tests/perf_virtio_user_pvp:add " Zhu, ShuaiX
@ 2020-03-03 5:29 ` Tu, Lijuan
2020-03-03 5:50 ` Zhu, ShuaiX
8 siblings, 1 reply; 19+ messages in thread
From: Tu, Lijuan @ 2020-03-03 5:29 UTC (permalink / raw)
To: Zhu, ShuaiX, dts; +Cc: Wang, Yinan, Zhu, ShuaiX
Why remove it , can you add some explanation?
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhu,shuai
> Sent: Wednesday, February 26, 2020 5:19 PM
> To: dts@dpdk.org
> Cc: Wang, Yinan <yinan.wang@intel.com>; Zhu, ShuaiX
> <shuaix.zhu@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@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
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [dts] [PATCH V1] tests/pvp_vhost_user_reconnect:add create_eal_parameters function.
2020-02-26 9:18 ` [dts] [PATCH V1] tests/pvp_vhost_user_reconnect:add " zhu,shuai
2020-02-27 9:52 ` Zhu, ShuaiX
@ 2020-03-03 5:41 ` Tu, Lijuan
1 sibling, 0 replies; 19+ messages in thread
From: Tu, Lijuan @ 2020-03-03 5:41 UTC (permalink / raw)
To: Zhu, ShuaiX, dts; +Cc: Wang, Yinan, Zhu, ShuaiX
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhu,shuai
> Sent: Wednesday, February 26, 2020 5:19 PM
> To: dts@dpdk.org
> Cc: Wang, Yinan <yinan.wang@intel.com>; Zhu, ShuaiX
> <shuaix.zhu@intel.com>
> Subject: [dts] [PATCH V1] tests/pvp_vhost_user_reconnect:add
> create_eal_parameters function.
>
>
>
> Signed-off-by: zhu,shuai <shuaix.zhu@intel.com>
> ---
> tests/TestSuite_pvp_vhost_user_reconnect.py | 26 +++++++--------------
> 1 file changed, 9 insertions(+), 17 deletions(-)
>
> diff --git a/tests/TestSuite_pvp_vhost_user_reconnect.py
> b/tests/TestSuite_pvp_vhost_user_reconnect.py
> index 7b201a0..f361373 100644
> --- a/tests/TestSuite_pvp_vhost_user_reconnect.py
> +++ b/tests/TestSuite_pvp_vhost_user_reconnect.py
> @@ -56,10 +56,9 @@ class TestPVPVhostUserReconnect(TestCase):
> # Get the port's socket
> self.pf = self.dut_ports[0]
> netdev = self.dut.ports_info[self.pf]['port']
> + self.pci_info = self.dut.ports_info[0]['pci']
> self.socket = netdev.get_nic_socket()
> self.cores = self.dut.get_core_list("1S/2C/1T", socket=self.socket)
> - self.coremask = utils.create_mask(self.cores)
> - self.memory_channel = self.dut.get_memory_channels()
> self.dst_mac = self.dut.get_mac_address(self.dut_ports[0])
> # set diff arg about mem_socket base on socket number
> if len(set([int(core['socket']) for core in self.dut.cores])) == 1:
> @@ -101,14 +100,10 @@ class TestPVPVhostUserReconnect(TestCase):
> vdev_info = ""
> for i in range(self.vm_num):
> vdev_info += "--vdev 'net_vhost%d,iface=vhost-
> net%d,client=1,queues=1' " % (i, i)
> - self.vhostapp_testcmd = self.dut.base_dir + \
> - "/%s/app/testpmd -c %s -n %d --socket-mem %s --legacy-mem" +
> \
> - " --file-prefix=vhost %s" + \
> - " -- -i --port-topology=chained --nb-cores=1" + \
> - " --txd=1024 --rxd=1024"
> - self.vhostapp_testcmd = self.vhostapp_testcmd % (self.target,
> - self.coremask, self.memory_channel,
> - self.socket_mem, vdev_info)
> + testcmd = self.dut.base_dir + "/%s/app/testpmd " % self.target
> + eal_params = self.dut.create_eal_parameters(cores=self.cores,
> prefix='vhost', ports=[self.pci_info])
> + para = " -- -i --port-topology=chained --nb-cores=1 --txd=1024 --
> rxd=1024"
> + self.vhostapp_testcmd = testcmd + eal_params + vdev_info + para
> self.vhost_user.send_expect(self.vhostapp_testcmd, "testpmd> ", 40)
> self.vhost_user.send_expect("set fwd mac", "testpmd> ", 40)
> self.vhost_user.send_expect("start", "testpmd> ", 40) @@ -120,13
> +115,10 @@ class TestPVPVhostUserReconnect(TestCase):
> vdev_info = ""
> for i in range(self.vm_num):
> vdev_info += "--vdev 'net_vhost%d,iface=vhost-
> net%d,client=1,queues=1' " % (i, i)
> - self.vhostapp_testcmd = self.dut.base_dir + \
> - "/%s/app/testpmd -c %s -n %d --socket-mem %s --legacy-mem" +
> \
> - " --no-pci --file-prefix=vhost %s" + \
> - " -- -i --nb-cores=1 --txd=1024 --rxd=1024"
> - self.vhostapp_testcmd = self.vhostapp_testcmd % (self.target,
> - self.coremask, self.memory_channel,
> - self.socket_mem, vdev_info)
> + testcmd = self.dut.base_dir + "/%s/app/testpmd " % self.target
> + eal_params = self.dut.create_eal_parameters(cores=self.cores,
> no_pci=True, prefix='vhost', ports=[self.pci_info])
> + para = " -- -i --nb-cores=1 --txd=1024 --rxd=1024"
> + self.vhostapp_testcmd = testcmd + eal_params + vdev_info + para
> self.vhost_user.send_expect(self.vhostapp_testcmd, "testpmd> ", 40)
> self.vhost_user.send_expect("start", "testpmd> ", 40)
>
> --
> 2.17.2
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [dts] [PATCH V1] tests/pvp_virtio_bonding:add create_eal_parameters function.
2020-02-26 9:18 ` [dts] [PATCH V1] tests/pvp_virtio_bonding:add " zhu,shuai
2020-02-27 9:52 ` Zhu, ShuaiX
@ 2020-03-03 5:41 ` Tu, Lijuan
1 sibling, 0 replies; 19+ messages in thread
From: Tu, Lijuan @ 2020-03-03 5:41 UTC (permalink / raw)
To: Zhu, ShuaiX, dts; +Cc: Wang, Yinan, Zhu, ShuaiX
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhu,shuai
> Sent: Wednesday, February 26, 2020 5:19 PM
> To: dts@dpdk.org
> Cc: Wang, Yinan <yinan.wang@intel.com>; Zhu, ShuaiX
> <shuaix.zhu@intel.com>
> Subject: [dts] [PATCH V1] tests/pvp_virtio_bonding:add
> create_eal_parameters function.
>
> Remove parameters:"--socket-mem 2048,2048 --legacy-mem"
>
> Signed-off-by: zhu,shuai <shuaix.zhu@intel.com>
> ---
> tests/TestSuite_pvp_virtio_bonding.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/TestSuite_pvp_virtio_bonding.py
> b/tests/TestSuite_pvp_virtio_bonding.py
> index 1405b0b..b551487 100644
> --- a/tests/TestSuite_pvp_virtio_bonding.py
> +++ b/tests/TestSuite_pvp_virtio_bonding.py
> @@ -88,7 +88,7 @@ class TestPVPVirtIOBonding(TestCase):
> for i in range(self.queues):
> vdev_info += "--vdev 'net_vhost%d,iface=vhost-
> net%d,client=1,queues=1' " % (i, i)
> params = "--port-topology=chained --nb-cores=4 --txd=1024 --rxd=1024"
> - eal_param = "--socket-mem 2048,2048 --legacy-mem --file-
> prefix=vhost %s " % vdev_info
> + eal_param = "--file-prefix=vhost %s " % vdev_info
> self.vhost_testpmd = PmdOutput(self.dut)
> self.vhost_testpmd.start_testpmd(self.core_config, params,
> eal_param=eal_param)
> self.vhost_testpmd.execute_cmd('set fwd mac')
> --
> 2.17.2
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [dts] [PATCH V1] tests/pvp_virtio_user_4k_pages:add create_eal_parameters function.
2020-02-26 9:18 ` [dts] [PATCH V1] tests/pvp_virtio_user_4k_pages:add " zhu,shuai
2020-02-27 9:54 ` Zhu, ShuaiX
@ 2020-03-03 5:41 ` Tu, Lijuan
1 sibling, 0 replies; 19+ messages in thread
From: Tu, Lijuan @ 2020-03-03 5:41 UTC (permalink / raw)
To: Zhu, ShuaiX, dts; +Cc: Wang, Yinan, Zhu, ShuaiX
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhu,shuai
> Sent: Wednesday, February 26, 2020 5:19 PM
> To: dts@dpdk.org
> Cc: Wang, Yinan <yinan.wang@intel.com>; Zhu, ShuaiX
> <shuaix.zhu@intel.com>
> Subject: [dts] [PATCH V1] tests/pvp_virtio_user_4k_pages:add
> create_eal_parameters function.
>
>
>
> Signed-off-by: zhu,shuai <shuaix.zhu@intel.com>
> ---
> tests/TestSuite_pvp_virtio_user_4k_pages.py | 24 +++++++++------------
> 1 file changed, 10 insertions(+), 14 deletions(-)
>
> diff --git a/tests/TestSuite_pvp_virtio_user_4k_pages.py
> b/tests/TestSuite_pvp_virtio_user_4k_pages.py
> index 95b5494..5e6f657 100644
> --- a/tests/TestSuite_pvp_virtio_user_4k_pages.py
> +++ b/tests/TestSuite_pvp_virtio_user_4k_pages.py
> @@ -65,9 +65,7 @@ class TestPvpVirtioUser4kPages(TestCase):
> self.core_config, socket=self.ports_socket)
> self.core_list_virtio_user = self.core_list[0:2]
> self.core_list_vhost_user = self.core_list[2:4]
> - self.core_mask_virtio_user = utils.create_mask(self.core_list_virtio_user)
> - self.core_mask_vhost_user =
> utils.create_mask(self.core_list_vhost_user)
> - self.mem_channels = self.dut.get_memory_channels()
> + self.pci_info = self.dut.ports_info[0]['pci']
> self.dst_mac = self.dut.get_mac_address(self.dut_ports[0])
> self.frame_sizes = [64, 128, 256, 512, 1024, 1518]
> self.logger.info("You can config packet_size in file %s.cfg," %
> self.suite_name + \ @@ -131,12 +129,11 @@ class
> TestPvpVirtioUser4kPages(TestCase):
> """
> Start testpmd on vhost
> """
> - command_line_client = "%s/app/testpmd -c %s -n %d " + \
> - "--file-prefix=vhost -m 1024 --no-huge " + \
> - "--vdev 'net_vhost0,iface=vhost-net,queues=1' -- -i " + \
> - "--no-numa --socket-num=%d"
> - command_line_client = command_line_client % (self.target,
> - self.core_mask_vhost_user, self.mem_channels,
> self.ports_socket)
> + testcmd = self.dut.target + "/app/testpmd "
> + vdev = " -m 1024 --no-huge --vdev 'net_vhost0,iface=vhost-
> net,queues=1'"
> + para = " -- -i --no-numa --socket-num=%d" % self.ports_socket
> + eal_params =
> self.dut.create_eal_parameters(cores=self.core_list_vhost_user,
> prefix='vhost', ports=[self.pci_info])
> + command_line_client = testcmd + eal_params + vdev + para
> self.vhost_user.send_expect(command_line_client, "testpmd> ", 120)
> self.vhost_user.send_expect("start", "testpmd> ", 120)
>
> @@ -144,11 +141,10 @@ class TestPvpVirtioUser4kPages(TestCase):
> """
> Start testpmd on virtio
> """
> - command_line_user = "./%s/app/testpmd -n %d -c %s " + \
> - "--no-huge -m 1024 --file-prefix=virtio-user " + \
> - "--
> vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net,queues=1 --
> -i"
> - command_line_user = command_line_user % (self.target,
> - self.mem_channels, self.core_mask_virtio_user)
> + testcmd = self.dut.target + "/app/testpmd "
> + vdev = " --no-huge -m 1024 --
> vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=./vhost-net,queues=1 --
> -i"
> + eal_params =
> self.dut.create_eal_parameters(cores=self.core_list_virtio_user,
> prefix='virtio-user', ports=[self.pci_info])
> + command_line_user = testcmd + eal_params + vdev
> self.virtio_user.send_expect(command_line_user, "testpmd> ", 120)
> self.virtio_user.send_expect("set fwd mac", "testpmd> ", 120)
> self.virtio_user.send_expect("start", "testpmd> ", 120)
> --
> 2.17.2
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [dts] [PATCH V1] tests/perf_virtio_user_pvp:add create_eal_parameters function.
2020-03-03 5:29 ` Tu, Lijuan
@ 2020-03-03 5:50 ` Zhu, ShuaiX
2020-03-03 7:42 ` Tu, Lijuan
0 siblings, 1 reply; 19+ messages in thread
From: Zhu, ShuaiX @ 2020-03-03 5:50 UTC (permalink / raw)
To: Tu, Lijuan, dts; +Cc: Wang, Yinan
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@intel.com>; dts@dpdk.org
> Cc: Wang, Yinan <yinan.wang@intel.com>; Zhu, ShuaiX <shuaix.zhu@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@dpdk.org] On Behalf Of zhu,shuai
> > Sent: Wednesday, February 26, 2020 5:19 PM
> > To: dts@dpdk.org
> > Cc: Wang, Yinan <yinan.wang@intel.com>; Zhu, ShuaiX
> > <shuaix.zhu@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@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
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [dts] [PATCH V1] tests/perf_virtio_user_pvp:add create_eal_parameters function.
2020-03-03 5:50 ` Zhu, ShuaiX
@ 2020-03-03 7:42 ` Tu, Lijuan
2020-03-16 3:36 ` Wang, Yinan
0 siblings, 1 reply; 19+ messages in thread
From: Tu, Lijuan @ 2020-03-03 7:42 UTC (permalink / raw)
To: Zhu, ShuaiX, dts; +Cc: Wang, Yinan
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@intel.com>; dts@dpdk.org
> Cc: Wang, Yinan <yinan.wang@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@intel.com>; dts@dpdk.org
> > Cc: Wang, Yinan <yinan.wang@intel.com>; Zhu, ShuaiX
> > <shuaix.zhu@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@dpdk.org] On Behalf Of zhu,shuai
> > > Sent: Wednesday, February 26, 2020 5:19 PM
> > > To: dts@dpdk.org
> > > Cc: Wang, Yinan <yinan.wang@intel.com>; Zhu, ShuaiX
> > > <shuaix.zhu@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@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
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [dts] [PATCH V1] tests/perf_virtio_user_pvp:add create_eal_parameters function.
2020-03-03 7:42 ` Tu, Lijuan
@ 2020-03-16 3:36 ` Wang, Yinan
0 siblings, 0 replies; 19+ messages in thread
From: Wang, Yinan @ 2020-03-16 3:36 UTC (permalink / raw)
To: Tu, Lijuan, Zhu, ShuaiX, dts
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@intel.com>
> Sent: 2020年3月3日 15:42
> To: Zhu, ShuaiX <shuaix.zhu@intel.com>; dts@dpdk.org
> Cc: Wang, Yinan <yinan.wang@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@intel.com>; dts@dpdk.org
> > Cc: Wang, Yinan <yinan.wang@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@intel.com>; dts@dpdk.org
> > > Cc: Wang, Yinan <yinan.wang@intel.com>; Zhu, ShuaiX
> > > <shuaix.zhu@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@dpdk.org] On Behalf Of zhu,shuai
> > > > Sent: Wednesday, February 26, 2020 5:19 PM
> > > > To: dts@dpdk.org
> > > > Cc: Wang, Yinan <yinan.wang@intel.com>; Zhu, ShuaiX
> > > > <shuaix.zhu@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@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
^ permalink raw reply [flat|nested] 19+ messages in thread
end of thread, other threads:[~2020-03-16 3:36 UTC | newest]
Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-26 9:18 [dts] [PATCH V1] tests/perf_virtio_user_pvp:add create_eal_parameters function zhu,shuai
2020-02-26 9:18 ` [dts] [PATCH V1] tests/pvp_diff_qemu_version:add " zhu,shuai
2020-02-26 9:18 ` [dts] [PATCH V1] tests/pvp_qemu_multi_paths_port_restart:add " zhu,shuai
2020-02-26 9:18 ` [dts] [PATCH V1] tests/pvp_vhost_user_reconnect:add " zhu,shuai
2020-02-27 9:52 ` Zhu, ShuaiX
2020-03-03 5:41 ` Tu, Lijuan
2020-02-26 9:18 ` [dts] [PATCH V1] tests/pvp_virtio_bonding:add " zhu,shuai
2020-02-27 9:52 ` Zhu, ShuaiX
2020-03-03 5:41 ` Tu, Lijuan
2020-02-26 9:18 ` [dts] [PATCH V1] tests/pvp_virtio_user_2M_hugepages:add " zhu,shuai
2020-02-26 9:18 ` [dts] [PATCH V1] tests/pvp_virtio_user_4k_pages:add " zhu,shuai
2020-02-27 9:54 ` Zhu, ShuaiX
2020-03-03 5:41 ` Tu, Lijuan
2020-02-26 9:18 ` [dts] [PATCH V1] tests/virtio_pvp_regression:add " zhu,shuai
2020-02-27 9:51 ` [dts] [PATCH V1] tests/perf_virtio_user_pvp:add " Zhu, ShuaiX
2020-03-03 5:29 ` Tu, Lijuan
2020-03-03 5:50 ` Zhu, ShuaiX
2020-03-03 7:42 ` Tu, Lijuan
2020-03-16 3:36 ` Wang, Yinan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).