test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Zhu, ShuaiX" <shuaix.zhu@intel.com>
To: "dts@dpdk.org" <dts@dpdk.org>
Cc: "Zhu, ShuaiX" <shuaix.zhu@intel.com>
Subject: Re: [dts] [PATCH V1] tests/pvp_virtio_user_4k_pages:add create_eal_parameters function.
Date: Thu, 27 Feb 2020 09:54:03 +0000	[thread overview]
Message-ID: <6e1367b1f66149a88cd9b9d6586da818@intel.com> (raw)
In-Reply-To: <1582708737-36706-7-git-send-email-shuaix.zhu@intel.com>

[-- 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

  reply	other threads:[~2020-02-27  9:54 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-26  9:18 [dts] [PATCH V1] tests/perf_virtio_user_pvp:add " 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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6e1367b1f66149a88cd9b9d6586da818@intel.com \
    --to=shuaix.zhu@intel.com \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).