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 V2] tests/pvp_virtio_user_2M_hugepages:add create_eal_parameters function.
Date: Fri, 28 Feb 2020 01:32:13 +0000	[thread overview]
Message-ID: <efd6cf8d9c594848bff0a1107c459d25@intel.com> (raw)
In-Reply-To: <1582853558-66855-3-git-send-email-shuaix.zhu@intel.com>

[-- Attachment #1: Type: text/plain, Size: 3947 bytes --]

Tested-by: Zhu, ShuaiX <shuaix.zhu@intel.com>

> -----Original Message-----
> From: Zhu, ShuaiX
> Sent: Friday, February 28, 2020 9:33 AM
> To: dts@dpdk.org
> Cc: Zhu, ShuaiX <shuaix.zhu@intel.com>
> Subject: [dts][PATCH V2] tests/pvp_virtio_user_2M_hugepages:add
> create_eal_parameters function.
> 
> 
> 
> 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..9d2eaed 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"'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


[-- Attachment #2: TestPVPVirtioWith2Mhuge.log --]
[-- Type: application/octet-stream, Size: 32893 bytes --]

26/02/2020 13:30:38                            dts: 
TEST SUITE : TestPVPVirtioWith2Mhuge
26/02/2020 13:30:38                            dts: NIC :        niantic
26/02/2020 13:30:38              dut.10.238.54.213: 
26/02/2020 13:30:38                         tester: 
26/02/2020 13:30:38              dut.10.238.54.213: awk '/Hugepagesize/ {print $2}' /proc/meminfo
26/02/2020 13:30:38              dut.10.238.54.213: 2048
26/02/2020 13:30:38        TestPVPVirtioWith2Mhuge: You can config packet_size in file pvp_virtio_user_2M_hugepages.cfg, in region 'suite' like packet_sizes=[64, 128, 256]
26/02/2020 13:30:38                         tester: ls -d /tmp
26/02/2020 13:30:38                         tester: /tmp
26/02/2020 13:30:38        TestPVPVirtioWith2Mhuge: Test Case test_perf_pvp_virtio_user_with_2M_hugepages Begin
26/02/2020 13:30:38              dut.10.238.54.213: 
26/02/2020 13:30:38                         tester: 
26/02/2020 13:30:38              dut.10.238.54.213: rm -rf ./vhost-net*
26/02/2020 13:30:38              dut.10.238.54.213: 
26/02/2020 13:30:38              dut.10.238.54.213: killall -s INT testpmd
26/02/2020 13:30:38              dut.10.238.54.213: testpmd: no process found
26/02/2020 13:31:01                         tester: scapy
26/02/2020 13:31:01                         tester: INFO: Can't import python gnuplot wrapper . Won't be able to plot.
INFO: Can't import PyX. Won't be able to use psdump() or pdfdump().
Welcome to Scapy (2.3.1)
26/02/2020 13:31:03                         tester: wrpcap("/tmp/vhost.pcap", [Ether(dst="f8:f2:1e:5c:e8:90")/IP()/TCP()/("X"*6)])
26/02/2020 13:31:03                         tester: 
26/02/2020 13:31:05                         tester: exit()
26/02/2020 13:31:05                         tester: 
26/02/2020 13:31:05                         pktgen: test port 0 map gen port 0
26/02/2020 13:31:05                         pktgen: test port 0 map gen port 0
26/02/2020 13:31:05                         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 13:31:05                         pktgen: begin traffic ......
26/02/2020 13:31:05                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
26/02/2020 13:31:15                         pktgen: begin get port statistic ...
26/02/2020 13:31:15                         pktgen: {'options': {'pcap': '/tmp/vhost.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost.pcap',
 'rx_port': 0,
 'tx_port': 0}
26/02/2020 13:31:15                         pktgen: {0: {'ibytes': 4679386048,
     'ierrors': 0,
     'ipackets': 73115400,
     'obytes': 9505874752,
     'oerrors': 0,
     'opackets': 148529286,
     'rx_bps': 3742303744.0,
     'rx_bps_L1': 4911773824.0,
     'rx_pps': 7309188.0,
     'rx_util': 49.117738239999994,
     'tx_bps': 7601808896.0,
     'tx_bps_L1': 9977374176.0,
     'tx_pps': 14847283.0,
     'tx_util': 99.77374176000001},
 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': 40.76540756225586,
            'cpu_util': 9.323847770690918,
            'queue_full': 0,
            'rx_bps': 3742303744.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 3859505408.0,
            'rx_pps': 7309188.0,
            'tx_bps': 7601808896.0,
            'tx_pps': 14847283.0},
 'latency': {},
 'total': {'ibytes': 4679386048,
           'ierrors': 0,
           'ipackets': 73115400,
           'obytes': 9505874752,
           'oerrors': 0,
           'opackets': 148529286,
           'rx_bps': 3742303744.0,
           'rx_bps_L1': 4911773824.0,
           'rx_pps': 7309188.0,
           'rx_util': 49.117738239999994,
           'tx_bps': 7601808896.0,
           'tx_bps_L1': 9977374176.0,
           'tx_pps': 14847283.0,
           'tx_util': 99.77374176000001}}
26/02/2020 13:31:15                         pktgen: {'ibytes': 4679386048,
 'ierrors': 0,
 'ipackets': 73115400,
 'obytes': 9505874752,
 'oerrors': 0,
 'opackets': 148529286,
 'rx_bps': 3742303744.0,
 'rx_bps_L1': 4911773824.0,
 'rx_pps': 7309188.0,
 'rx_util': 49.117738239999994,
 'tx_bps': 7601808896.0,
 'tx_bps_L1': 9977374176.0,
 'tx_pps': 14847283.0,
 'tx_util': 99.77374176000001}
26/02/2020 13:31:15                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 7601808896.000000, tx_pps: 14847283.000000 
26/02/2020 13:31:15                         pktgen: {'ibytes': 4679386048,
 'ierrors': 0,
 'ipackets': 73115400,
 'obytes': 9505874752,
 'oerrors': 0,
 'opackets': 148529286,
 'rx_bps': 3742303744.0,
 'rx_bps_L1': 4911773824.0,
 'rx_pps': 7309188.0,
 'rx_util': 49.117738239999994,
 'tx_bps': 7601808896.0,
 'tx_bps_L1': 9977374176.0,
 'tx_pps': 14847283.0,
 'tx_util': 99.77374176000001}
26/02/2020 13:31:15                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 3742303744.000000, rx_pps: 7309188.000000
26/02/2020 13:31:15                         pktgen: throughput: pps_rx 7309188.000000, bps_rx 3742303744.000000
26/02/2020 13:31:15                         pktgen: traffic completed. 
26/02/2020 13:31:15                         tester: scapy
26/02/2020 13:31:16                         tester: INFO: Can't import python gnuplot wrapper . Won't be able to plot.
INFO: Can't import PyX. Won't be able to use psdump() or pdfdump().
Welcome to Scapy (2.3.1)
26/02/2020 13:31:18                         tester: wrpcap("/tmp/vhost.pcap", [Ether(dst="f8:f2:1e:5c:e8:90")/IP()/TCP()/("X"*70)])
26/02/2020 13:31:18                         tester: 
26/02/2020 13:31:20                         tester: exit()
26/02/2020 13:31:20                         tester: 
26/02/2020 13:31:20                         pktgen: test port 0 map gen port 0
26/02/2020 13:31:20                         pktgen: test port 0 map gen port 0
26/02/2020 13:31:20                         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 13:31:20                         pktgen: begin traffic ......
26/02/2020 13:31:20                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
26/02/2020 13:31:30                         pktgen: begin get port statistic ...
26/02/2020 13:31:30                         pktgen: {'options': {'pcap': '/tmp/vhost.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost.pcap',
 'rx_port': 0,
 'tx_port': 0}
26/02/2020 13:31:30                         pktgen: {0: {'ibytes': 8509030144,
     'ierrors': 0,
     'ipackets': 66476794,
     'obytes': 10789481600,
     'oerrors': 0,
     'opackets': 84292821,
     'rx_bps': 6827789312.0,
     'rx_bps_L1': 7894668992.0,
     'rx_pps': 6667998.0,
     'rx_util': 78.94668992,
     'tx_bps': 8653405184.0,
     'tx_bps_L1': 10005576064.0,
     'tx_pps': 8451068.0,
     'tx_util': 100.05576063999999},
 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': 83.31649780273438,
            'cpu_util': 5.193092346191406,
            'queue_full': 0,
            'rx_bps': 6827789312.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 1825615744.0,
            'rx_pps': 6667998.0,
            'tx_bps': 8653405184.0,
            'tx_pps': 8451068.0},
 'latency': {},
 'total': {'ibytes': 8509030144,
           'ierrors': 0,
           'ipackets': 66476794,
           'obytes': 10789481600,
           'oerrors': 0,
           'opackets': 84292821,
           'rx_bps': 6827789312.0,
           'rx_bps_L1': 7894668992.0,
           'rx_pps': 6667998.0,
           'rx_util': 78.94668992,
           'tx_bps': 8653405184.0,
           'tx_bps_L1': 10005576064.0,
           'tx_pps': 8451068.0,
           'tx_util': 100.05576063999999}}
26/02/2020 13:31:30                         pktgen: {'ibytes': 8509030144,
 'ierrors': 0,
 'ipackets': 66476794,
 'obytes': 10789481600,
 'oerrors': 0,
 'opackets': 84292821,
 'rx_bps': 6827789312.0,
 'rx_bps_L1': 7894668992.0,
 'rx_pps': 6667998.0,
 'rx_util': 78.94668992,
 'tx_bps': 8653405184.0,
 'tx_bps_L1': 10005576064.0,
 'tx_pps': 8451068.0,
 'tx_util': 100.05576063999999}
26/02/2020 13:31:30                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 8653405184.000000, tx_pps: 8451068.000000 
26/02/2020 13:31:30                         pktgen: {'ibytes': 8509030144,
 'ierrors': 0,
 'ipackets': 66476794,
 'obytes': 10789481600,
 'oerrors': 0,
 'opackets': 84292821,
 'rx_bps': 6827789312.0,
 'rx_bps_L1': 7894668992.0,
 'rx_pps': 6667998.0,
 'rx_util': 78.94668992,
 'tx_bps': 8653405184.0,
 'tx_bps_L1': 10005576064.0,
 'tx_pps': 8451068.0,
 'tx_util': 100.05576063999999}
26/02/2020 13:31:30                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 6827789312.000000, rx_pps: 6667998.000000
26/02/2020 13:31:30                         pktgen: throughput: pps_rx 6667998.000000, bps_rx 6827789312.000000
26/02/2020 13:31:30                         pktgen: traffic completed. 
26/02/2020 13:31:30                         tester: scapy
26/02/2020 13:31:30                         tester: INFO: Can't import python gnuplot wrapper . Won't be able to plot.
INFO: Can't import PyX. Won't be able to use psdump() or pdfdump().
Welcome to Scapy (2.3.1)
26/02/2020 13:31:32                         tester: wrpcap("/tmp/vhost.pcap", [Ether(dst="f8:f2:1e:5c:e8:90")/IP()/TCP()/("X"*198)])
26/02/2020 13:31:32                         tester: 
26/02/2020 13:31:34                         tester: exit()
26/02/2020 13:31:34                         tester: 
26/02/2020 13:31:34                         pktgen: test port 0 map gen port 0
26/02/2020 13:31:34                         pktgen: test port 0 map gen port 0
26/02/2020 13:31:34                         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 13:31:34                         pktgen: begin traffic ......
26/02/2020 13:31:34                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
26/02/2020 13:31:44                         pktgen: begin get port statistic ...
26/02/2020 13:31:44                         pktgen: {'options': {'pcap': '/tmp/vhost.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost.pcap',
 'rx_port': 0,
 'tx_port': 0}
26/02/2020 13:31:44                         pktgen: {0: {'ibytes': 11589362688,
     'ierrors': 0,
     'ipackets': 45270945,
     'obytes': 11589385984,
     'oerrors': 0,
     'opackets': 45271037,
     'rx_bps': 9279671296.0,
     'rx_bps_L1': 10004682656.0,
     'rx_pps': 4531321.0,
     'rx_util': 100.04682655999999,
     'tx_bps': 9279807488.0,
     'tx_bps_L1': 10004839488.0,
     'tx_pps': 4531450.0,
     'tx_util': 100.04839487999999},
 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': 227.31268310546875,
            'cpu_util': 2.04119873046875,
            'queue_full': 0,
            'rx_bps': 9279671296.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 0.0,
            'rx_pps': 4531321.0,
            'tx_bps': 9279807488.0,
            'tx_pps': 4531450.0},
 'latency': {},
 'total': {'ibytes': 11589362688,
           'ierrors': 0,
           'ipackets': 45270945,
           'obytes': 11589385984,
           'oerrors': 0,
           'opackets': 45271037,
           'rx_bps': 9279671296.0,
           'rx_bps_L1': 10004682656.0,
           'rx_pps': 4531321.0,
           'rx_util': 100.04682655999999,
           'tx_bps': 9279807488.0,
           'tx_bps_L1': 10004839488.0,
           'tx_pps': 4531450.0,
           'tx_util': 100.04839487999999}}
26/02/2020 13:31:44                         pktgen: {'ibytes': 11589362688,
 'ierrors': 0,
 'ipackets': 45270945,
 'obytes': 11589385984,
 'oerrors': 0,
 'opackets': 45271037,
 'rx_bps': 9279671296.0,
 'rx_bps_L1': 10004682656.0,
 'rx_pps': 4531321.0,
 'rx_util': 100.04682655999999,
 'tx_bps': 9279807488.0,
 'tx_bps_L1': 10004839488.0,
 'tx_pps': 4531450.0,
 'tx_util': 100.04839487999999}
26/02/2020 13:31:44                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 9279807488.000000, tx_pps: 4531450.000000 
26/02/2020 13:31:44                         pktgen: {'ibytes': 11589362688,
 'ierrors': 0,
 'ipackets': 45270945,
 'obytes': 11589385984,
 'oerrors': 0,
 'opackets': 45271037,
 'rx_bps': 9279671296.0,
 'rx_bps_L1': 10004682656.0,
 'rx_pps': 4531321.0,
 'rx_util': 100.04682655999999,
 'tx_bps': 9279807488.0,
 'tx_bps_L1': 10004839488.0,
 'tx_pps': 4531450.0,
 'tx_util': 100.04839487999999}
26/02/2020 13:31:44                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 9279671296.000000, rx_pps: 4531321.000000
26/02/2020 13:31:44                         pktgen: throughput: pps_rx 4531321.000000, bps_rx 9279671296.000000
26/02/2020 13:31:44                         pktgen: traffic completed. 
26/02/2020 13:31:44                         tester: scapy
26/02/2020 13:31:44                         tester: INFO: Can't import python gnuplot wrapper . Won't be able to plot.
INFO: Can't import PyX. Won't be able to use psdump() or pdfdump().
Welcome to Scapy (2.3.1)
26/02/2020 13:31:46                         tester: wrpcap("/tmp/vhost.pcap", [Ether(dst="f8:f2:1e:5c:e8:90")/IP()/TCP()/("X"*454)])
26/02/2020 13:31:46                         tester: 
26/02/2020 13:31:48                         tester: exit()
26/02/2020 13:31:48                         tester: 
26/02/2020 13:31:48                         pktgen: test port 0 map gen port 0
26/02/2020 13:31:48                         pktgen: test port 0 map gen port 0
26/02/2020 13:31:48                         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 13:31:48                         pktgen: begin traffic ......
26/02/2020 13:31:48                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
26/02/2020 13:31:58                         pktgen: begin get port statistic ...
26/02/2020 13:31:58                         pktgen: {'options': {'pcap': '/tmp/vhost.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost.pcap',
 'rx_port': 0,
 'tx_port': 0}
26/02/2020 13:31:58                         pktgen: {0: {'ibytes': 12016543744,
     'ierrors': 0,
     'ipackets': 23469811,
     'obytes': 12016561152,
     'oerrors': 0,
     'opackets': 23469845,
     'rx_bps': 9627023360.0,
     'rx_bps_L1': 10003106519.999998,
     'rx_pps': 2350519.75,
     'rx_util': 100.03106519999999,
     'tx_bps': 9627025408.0,
     'tx_bps_L1': 10003108528.0,
     'tx_pps': 2350519.5,
     'tx_util': 100.03108528},
 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': 358.1401672363281,
            'cpu_util': 1.3440303802490234,
            'queue_full': 0,
            'rx_bps': 9627023360.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 0.0,
            'rx_pps': 2350519.75,
            'tx_bps': 9627025408.0,
            'tx_pps': 2350519.5},
 'latency': {},
 'total': {'ibytes': 12016543744,
           'ierrors': 0,
           'ipackets': 23469811,
           'obytes': 12016561152,
           'oerrors': 0,
           'opackets': 23469845,
           'rx_bps': 9627023360.0,
           'rx_bps_L1': 10003106519.999998,
           'rx_pps': 2350519.75,
           'rx_util': 100.03106519999999,
           'tx_bps': 9627025408.0,
           'tx_bps_L1': 10003108528.0,
           'tx_pps': 2350519.5,
           'tx_util': 100.03108528}}
26/02/2020 13:31:58                         pktgen: {'ibytes': 12016543744,
 'ierrors': 0,
 'ipackets': 23469811,
 'obytes': 12016561152,
 'oerrors': 0,
 'opackets': 23469845,
 'rx_bps': 9627023360.0,
 'rx_bps_L1': 10003106519.999998,
 'rx_pps': 2350519.75,
 'rx_util': 100.03106519999999,
 'tx_bps': 9627025408.0,
 'tx_bps_L1': 10003108528.0,
 'tx_pps': 2350519.5,
 'tx_util': 100.03108528}
26/02/2020 13:31:58                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 9627025408.000000, tx_pps: 2350519.500000 
26/02/2020 13:31:58                         pktgen: {'ibytes': 12016543744,
 'ierrors': 0,
 'ipackets': 23469811,
 'obytes': 12016561152,
 'oerrors': 0,
 'opackets': 23469845,
 'rx_bps': 9627023360.0,
 'rx_bps_L1': 10003106519.999998,
 'rx_pps': 2350519.75,
 'rx_util': 100.03106519999999,
 'tx_bps': 9627025408.0,
 'tx_bps_L1': 10003108528.0,
 'tx_pps': 2350519.5,
 'tx_util': 100.03108528}
26/02/2020 13:31:58                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 9627023360.000000, rx_pps: 2350519.750000
26/02/2020 13:31:58                         pktgen: throughput: pps_rx 2350519.750000, bps_rx 9627023360.000000
26/02/2020 13:31:58                         pktgen: traffic completed. 
26/02/2020 13:31:58                         tester: scapy
26/02/2020 13:31:59                         tester: INFO: Can't import python gnuplot wrapper . Won't be able to plot.
INFO: Can't import PyX. Won't be able to use psdump() or pdfdump().
Welcome to Scapy (2.3.1)
26/02/2020 13:32:01                         tester: wrpcap("/tmp/vhost.pcap", [Ether(dst="f8:f2:1e:5c:e8:90")/IP()/TCP()/("X"*966)])
26/02/2020 13:32:01                         tester: 
26/02/2020 13:32:03                         tester: exit()
26/02/2020 13:32:03                         tester: 
26/02/2020 13:32:03                         pktgen: test port 0 map gen port 0
26/02/2020 13:32:03                         pktgen: test port 0 map gen port 0
26/02/2020 13:32:03                         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 13:32:03                         pktgen: begin traffic ......
26/02/2020 13:32:03                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
26/02/2020 13:32:13                         pktgen: begin get port statistic ...
26/02/2020 13:32:13                         pktgen: {'options': {'pcap': '/tmp/vhost.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost.pcap',
 'rx_port': 0,
 'tx_port': 0}
26/02/2020 13:32:13                         pktgen: {0: {'ibytes': 12242290688,
     'ierrors': 0,
     'ipackets': 11955362,
     'obytes': 12242308096,
     'oerrors': 0,
     'opackets': 11955378,
     'rx_bps': 9782325248.0,
     'rx_bps_L1': 9973401728.0,
     'rx_pps': 1194228.0,
     'rx_util': 99.73401728,
     'tx_bps': 9782325248.0,
     'tx_bps_L1': 9973401688.0,
     'tx_pps': 1194227.75,
     'tx_util': 99.73401688},
 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': 864.5459594726562,
            'cpu_util': 0.5657492876052856,
            'queue_full': 0,
            'rx_bps': 9782325248.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 0.0,
            'rx_pps': 1194228.0,
            'tx_bps': 9782325248.0,
            'tx_pps': 1194227.75},
 'latency': {},
 'total': {'ibytes': 12242290688,
           'ierrors': 0,
           'ipackets': 11955362,
           'obytes': 12242308096,
           'oerrors': 0,
           'opackets': 11955378,
           'rx_bps': 9782325248.0,
           'rx_bps_L1': 9973401728.0,
           'rx_pps': 1194228.0,
           'rx_util': 99.73401728,
           'tx_bps': 9782325248.0,
           'tx_bps_L1': 9973401688.0,
           'tx_pps': 1194227.75,
           'tx_util': 99.73401688}}
26/02/2020 13:32:13                         pktgen: {'ibytes': 12242290688,
 'ierrors': 0,
 'ipackets': 11955362,
 'obytes': 12242308096,
 'oerrors': 0,
 'opackets': 11955378,
 'rx_bps': 9782325248.0,
 'rx_bps_L1': 9973401728.0,
 'rx_pps': 1194228.0,
 'rx_util': 99.73401728,
 'tx_bps': 9782325248.0,
 'tx_bps_L1': 9973401688.0,
 'tx_pps': 1194227.75,
 'tx_util': 99.73401688}
26/02/2020 13:32:13                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 9782325248.000000, tx_pps: 1194227.750000 
26/02/2020 13:32:13                         pktgen: {'ibytes': 12242290688,
 'ierrors': 0,
 'ipackets': 11955362,
 'obytes': 12242308096,
 'oerrors': 0,
 'opackets': 11955378,
 'rx_bps': 9782325248.0,
 'rx_bps_L1': 9973401728.0,
 'rx_pps': 1194228.0,
 'rx_util': 99.73401728,
 'tx_bps': 9782325248.0,
 'tx_bps_L1': 9973401688.0,
 'tx_pps': 1194227.75,
 'tx_util': 99.73401688}
26/02/2020 13:32:13                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 9782325248.000000, rx_pps: 1194228.000000
26/02/2020 13:32:13                         pktgen: throughput: pps_rx 1194228.000000, bps_rx 9782325248.000000
26/02/2020 13:32:13                         pktgen: traffic completed. 
26/02/2020 13:32:13                         tester: scapy
26/02/2020 13:32:13                         tester: INFO: Can't import python gnuplot wrapper . Won't be able to plot.
INFO: Can't import PyX. Won't be able to use psdump() or pdfdump().
Welcome to Scapy (2.3.1)
26/02/2020 13:32:15                         tester: wrpcap("/tmp/vhost.pcap", [Ether(dst="f8:f2:1e:5c:e8:90")/IP()/TCP()/("X"*1460)])
26/02/2020 13:32:15                         tester: 
26/02/2020 13:32:17                         tester: exit()
26/02/2020 13:32:17                         tester: 
26/02/2020 13:32:17                         pktgen: test port 0 map gen port 0
26/02/2020 13:32:17                         pktgen: test port 0 map gen port 0
26/02/2020 13:32:17                         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 13:32:17                         pktgen: begin traffic ......
26/02/2020 13:32:17                         pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
26/02/2020 13:32:27                         pktgen: begin get port statistic ...
26/02/2020 13:32:27                         pktgen: {'options': {'pcap': '/tmp/vhost.pcap',
             'stream_config': {'rate': 100,
                               'transmit_mode': 'continuous',
                               'txmode': {}}},
 'pcap_file': '/tmp/vhost.pcap',
 'rx_port': 0,
 'tx_port': 0}
26/02/2020 13:32:27                         pktgen: {0: {'ibytes': 12314850900,
     'ierrors': 0,
     'ipackets': 8112549,
     'obytes': 12314869116,
     'oerrors': 0,
     'opackets': 8112562,
     'rx_bps': 9870912512.0,
     'rx_bps_L1': 10000969552.0,
     'rx_pps': 812856.5,
     'rx_util': 100.00969552000001,
     'tx_bps': 9870912512.0,
     'tx_bps_L1': 10000969562.0,
     'tx_pps': 812856.5625,
     'tx_util': 100.00969561999999},
 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': 1171.834228515625,
            'cpu_util': 0.4211736023426056,
            'queue_full': 0,
            'rx_bps': 9870912512.0,
            'rx_cpu_util': 0.0,
            'rx_drop_bps': 0.0,
            'rx_pps': 812856.5,
            'tx_bps': 9870912512.0,
            'tx_pps': 812856.5625},
 'latency': {},
 'total': {'ibytes': 12314850900,
           'ierrors': 0,
           'ipackets': 8112549,
           'obytes': 12314869116,
           'oerrors': 0,
           'opackets': 8112562,
           'rx_bps': 9870912512.0,
           'rx_bps_L1': 10000969552.0,
           'rx_pps': 812856.5,
           'rx_util': 100.00969552000001,
           'tx_bps': 9870912512.0,
           'tx_bps_L1': 10000969562.0,
           'tx_pps': 812856.5625,
           'tx_util': 100.00969561999999}}
26/02/2020 13:32:27                         pktgen: {'ibytes': 12314850900,
 'ierrors': 0,
 'ipackets': 8112549,
 'obytes': 12314869116,
 'oerrors': 0,
 'opackets': 8112562,
 'rx_bps': 9870912512.0,
 'rx_bps_L1': 10000969552.0,
 'rx_pps': 812856.5,
 'rx_util': 100.00969552000001,
 'tx_bps': 9870912512.0,
 'tx_bps_L1': 10000969562.0,
 'tx_pps': 812856.5625,
 'tx_util': 100.00969561999999}
26/02/2020 13:32:27                         pktgen: Tx Port 0 stats: 
tx_port: 0,  tx_bps: 9870912512.000000, tx_pps: 812856.562500 
26/02/2020 13:32:27                         pktgen: {'ibytes': 12314850900,
 'ierrors': 0,
 'ipackets': 8112549,
 'obytes': 12314869116,
 'oerrors': 0,
 'opackets': 8112562,
 'rx_bps': 9870912512.0,
 'rx_bps_L1': 10000969552.0,
 'rx_pps': 812856.5,
 'rx_util': 100.00969552000001,
 'tx_bps': 9870912512.0,
 'tx_bps_L1': 10000969562.0,
 'tx_pps': 812856.5625,
 'tx_util': 100.00969561999999}
26/02/2020 13:32:27                         pktgen: Rx Port 0 stats: 
rx_port: 0,  rx_bps: 9870912512.000000, rx_pps: 812856.500000
26/02/2020 13:32:27                         pktgen: throughput: pps_rx 812856.500000, bps_rx 9870912512.000000
26/02/2020 13:32:27                         pktgen: traffic completed. 
26/02/2020 13:32:27        TestPVPVirtioWith2Mhuge: 
+-------+--------------+-------+-----------+------------+
| Frame |     Mode     | Mpps  | Queue Num | % linerate |
+=======+==============+=======+===========+============+
| 64    | 2M Hugepages | 7.309 | 1         | 49.118     |
+-------+--------------+-------+-----------+------------+
| 128   | 2M Hugepages | 6.668 | 1         | 44.809     |
+-------+--------------+-------+-----------+------------+
| 256   | 2M Hugepages | 4.531 | 1         | 30.450     |
+-------+--------------+-------+-----------+------------+
| 512   | 2M Hugepages | 2.351 | 1         | 15.795     |
+-------+--------------+-------+-----------+------------+
| 1024  | 2M Hugepages | 1.194 | 1         | 8.025      |
+-------+--------------+-------+-----------+------------+
| 1518  | 2M Hugepages | 0.813 | 1         | 5.462      |
+-------+--------------+-------+-----------+------------+
26/02/2020 13:32:33        TestPVPVirtioWith2Mhuge: Test Case test_perf_pvp_virtio_user_with_2M_hugepages Result PASSED:
26/02/2020 13:32:33              dut.10.238.54.213: killall -s INT testpmd
26/02/2020 13:32:33              dut.10.238.54.213: testpmd: no process found
26/02/2020 13:32:33                            dts: 
TEST SUITE ENDED: TestPVPVirtioWith2Mhuge

  reply	other threads:[~2020-02-28  1:32 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-28  1:32 [dts] [PATCH V2] tests/pvp_diff_qemu_version:add " zhu,shuai
2020-02-28  1:30 ` Zhu, ShuaiX
2020-02-28  1:32 ` [dts] [PATCH V2] tests/pvp_qemu_multi_paths_port_restart:add " zhu,shuai
2020-02-28  1:32   ` Zhu, ShuaiX
2020-03-03  7:24   ` Tu, Lijuan
2020-02-28  1:32 ` [dts] [PATCH V2] tests/pvp_virtio_user_2M_hugepages:add " zhu,shuai
2020-02-28  1:32   ` Zhu, ShuaiX [this message]
2020-03-03  7:24   ` Tu, Lijuan
2020-02-28  1:32 ` [dts] [PATCH V2] tests/virtio_pvp_regression:add " zhu,shuai
2020-02-28  1:31   ` Zhu, ShuaiX
2020-03-03  7:24   ` Tu, Lijuan
2020-02-28  1:32 ` [dts] [PATCH V2] tests/virtio_user_as_exceptional_path:add " zhu,shuai
2020-02-28  1:34   ` Zhu, ShuaiX
2020-03-03  7:24   ` Tu, Lijuan
2020-02-28  1:32 ` [dts] [PATCH V2] tests/vm2vm_virtio_pmd:add " zhu,shuai
2020-02-28  1:35   ` Zhu, ShuaiX
2020-03-03  7:24   ` Tu, Lijuan

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=efd6cf8d9c594848bff0a1107c459d25@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).