05/09/2019 14:49:23 dts: TEST SUITE : TestPvpVirtioUser4kPages 05/09/2019 14:49:23 dts: NIC : niantic 05/09/2019 14:49:23 dut.10.238.54.211: 05/09/2019 14:49:23 tester: 05/09/2019 14:49:23 dut.10.238.54.211: modprobe vfio-pci 05/09/2019 14:49:23 dut.10.238.54.211: 05/09/2019 14:49:25 TestPvpVirtioUser4kPages: You can config packet_size in file pvp_virtio_user_4k_pages.cfg, in region 'suite' like packet_sizes=[64, 128, 256] 05/09/2019 14:49:25 tester: ls -d /tmp/pvp_virtio_user_4k_pages 05/09/2019 14:49:25 tester: /tmp/pvp_virtio_user_4k_pages 05/09/2019 14:49:25 TestPvpVirtioUser4kPages: Test Case test_perf_pvp_virtio_user_with_4K_pages Begin 05/09/2019 14:49:25 dut.10.238.54.211: 05/09/2019 14:49:25 tester: 05/09/2019 14:49:25 dut.10.238.54.211: rm -rf ./vhost-net* 05/09/2019 14:49:25 dut.10.238.54.211: 05/09/2019 14:49:25 dut.10.238.54.211: killall -s INT testpmd 05/09/2019 14:49:25 dut.10.238.54.211: testpmd: no process found 05/09/2019 14:49:31 dut.10.238.54.211: mkdir -p /mnt/tmpfs_nohuge 05/09/2019 14:49:31 dut.10.238.54.211: 05/09/2019 14:49:31 dut.10.238.54.211: mount tmpfs /mnt/tmpfs_nohuge -t tmpfs -o size=4G 05/09/2019 14:49:31 dut.10.238.54.211: 05/09/2019 14:49:33 pktgen: test port 0 map gen port -1 05/09/2019 14:49:33 pktgen: test port 0 map gen port -1 05/09/2019 14:49:33 TestPvpVirtioUser4kPages: Test Case test_perf_pvp_virtio_user_with_4K_pages Result ERROR: Traceback (most recent call last): File "/home/autoregression/zhushuai/framework/test_case.py", line 316, in _execute_test_case case_obj() File "/home/autoregression/zhushuai/tests/TestSuite_pvp_virtio_user_4k_pages.py", line 181, in test_perf_pvp_virtio_user_with_4K_pages self.send_and_verify() File "/home/autoregression/zhushuai/tests/TestSuite_pvp_virtio_user_4k_pages.py", line 117, in send_and_verify _, pps = self.tester.pktgen.measure_throughput(stream_ids=streams) File "/home/autoregression/zhushuai/framework/pktgen_base.py", line 172, in measure_throughput self._prepare_transmission(stream_ids=stream_ids) File "/home/autoregression/zhushuai/framework/pktgen_trex.py", line 769, in _prepare_transmission latency=latency) File "/home/autoregression/zhushuai/framework/pktgen_trex.py", line 397, in add_streams conn.add_streams(streams, ports=ports) File "/opt/trex-core-2.32/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py", line 1199, in wrap2 ret = f(*args, **kwargs) File "/opt/trex-core-2.32/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py", line 2460, in add_streams ports = self._validate_port_list(ports) File "/opt/trex-core-2.32/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py", line 1096, in _validate_port_list raise STLError("Port ID '{0}' is not a valid port ID - valid values: {1}".format(port_id, valid_ports)) STLError: ****** Exception stack (most recent call last): #8 test_case.py:316 - 'case_obj()' #7 TestSuite_pvp_virtio_user_4k_pages.py:181 - 'self.send_and_verify()' #6 TestSuite_pvp_virtio_user_4k_pages.py:117 - '_, pps = self.tester.pktgen.measure_throughput(stream_ids=streams)' #5 pktgen_base.py:172 - 'self._prepare_transmission(stream_ids=stream_ids)' #4 pktgen_trex.py:769 - 'latency=latency)' #3 pktgen_trex.py:397 - 'conn.add_streams(streams, ports=ports)' #2 trex_stl_client.py:1199 - 'ret = f(*args, **kwargs)' #1 trex_stl_client.py:2460 - 'ports = self._validate_port_list(ports)' #0 trex_stl_client.py:1096 - 'raise STLError("Port ID '{0}' is not a valid port ID - valid values: {1}".format(port_id, valid_ports))' Summary error message: Port ID '-1' is not a valid port ID - valid values: [0, 1] 05/09/2019 14:49:33 dut.10.238.54.211: killall -s INT testpmd 05/09/2019 14:49:33 dut.10.238.54.211: 05/09/2019 14:49:33 dut.10.238.54.211: umount /mnt/tmpfs_nohuge 05/09/2019 14:49:33 dut.10.238.54.211: 05/09/2019 14:49:34 dts: TEST SUITE ENDED: TestPvpVirtioUser4kPages 05/09/2019 14:52:38 dts: TEST SUITE : TestPvpVirtioUser4kPages 05/09/2019 14:52:38 dts: NIC : niantic 05/09/2019 14:52:38 dut.10.238.54.211: 05/09/2019 14:52:38 tester: 05/09/2019 14:52:38 dut.10.238.54.211: modprobe vfio-pci 05/09/2019 14:52:38 dut.10.238.54.211: 05/09/2019 14:52:39 TestPvpVirtioUser4kPages: You can config packet_size in file pvp_virtio_user_4k_pages.cfg, in region 'suite' like packet_sizes=[64, 128, 256] 05/09/2019 14:52:39 tester: ls -d /tmp/pvp_virtio_user_4k_pages 05/09/2019 14:52:39 tester: /tmp/pvp_virtio_user_4k_pages 05/09/2019 14:52:39 TestPvpVirtioUser4kPages: Test Case test_perf_pvp_virtio_user_with_4K_pages Begin 05/09/2019 14:52:39 dut.10.238.54.211: 05/09/2019 14:52:40 tester: 05/09/2019 14:52:40 dut.10.238.54.211: rm -rf ./vhost-net* 05/09/2019 14:52:40 dut.10.238.54.211: 05/09/2019 14:52:40 dut.10.238.54.211: killall -s INT testpmd 05/09/2019 14:52:40 dut.10.238.54.211: testpmd: no process found 05/09/2019 14:52:46 dut.10.238.54.211: mkdir -p /mnt/tmpfs_nohuge 05/09/2019 14:52:46 dut.10.238.54.211: 05/09/2019 14:52:46 dut.10.238.54.211: mount tmpfs /mnt/tmpfs_nohuge -t tmpfs -o size=4G 05/09/2019 14:52:46 dut.10.238.54.211: 05/09/2019 14:52:48 pktgen: test port 0 map gen port 0 05/09/2019 14:52:48 pktgen: test port 0 map gen port 0 05/09/2019 14:52:48 pktgen: {'arp': '-', u'description': u'82599ES 10-Gigabit SFI/SFP+ Network Connection', 'dest': u'90:e2:ba:d2:d0:b8', u'driver': u'net_ixgbe', 'fc': 'none', 'fc_supported': 'yes', 'grat_arp': 'off', u'hw_mac': u'90:e2:ba:d2:41:3c', u'index': 0, u'is_fc_supported': True, u'is_led_supported': True, u'is_link_supported': False, u'is_virtual': 'no', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'no', 'mult': 'off', u'numa': 0, u'pci_addr': u'0000:18:00.0', 'prom': 'off', u'rx': {u'caps': [u'flow_stats', u'latency', u'rx_bytes'], u'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 10, 'src_ipv4': '-', 'src_mac': u'90:e2:ba:d2:41:3c', 'status': 'IDLE', u'supp_speeds': [1000, 10000], 'vlan': '-'} 05/09/2019 14:52:48 pktgen: begin traffic ...... 05/09/2019 14:52:58 pktgen: {0: {'ibytes': 4587208704, 'ierrors': 0, 'ipackets': 71675136, 'obytes': 9531807808, 'oerrors': 0, 'opackets': 148934490, 'rx_bps': 3665553920.0, 'rx_bps_L1': 4811039920.0, 'rx_pps': 7159287.5, 'rx_util': 48.110399199999996, 'tx_bps': 7614935040.0, 'tx_bps_L1': 9994602080.0, 'tx_pps': 14872919.0, 'tx_util': 99.9460208}, 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': 31.8, 'cpu_util': 12.0, 'queue_full': 0, 'rx_bps': 3665553920.0, 'rx_cpu_util': 0.0, 'rx_drop_bps': 3949381120.0, 'rx_pps': 7159287.5, 'tx_bps': 7614935040.0, 'tx_pps': 14872919.0}, 'latency': {}, 'total': {'ibytes': 4587208704, 'ierrors': 0, 'ipackets': 71675136, 'obytes': 9531807808, 'oerrors': 0, 'opackets': 148934490, 'rx_bps': 3665553920.0, 'rx_bps_L1': 4811039920.0, 'rx_pps': 7159287.5, 'rx_util': 48.110399199999996, 'tx_bps': 7614935040.0, 'tx_bps_L1': 9994602080.0, 'tx_pps': 14872919.0, 'tx_util': 99.9460208}} 05/09/2019 14:53: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} 05/09/2019 14:53:33 pktgen: {0: {'ibytes': 9168223424, 'ierrors': 0, 'ipackets': 143253491, 'obytes': 19047617024, 'oerrors': 0, 'opackets': 297619016, 'rx_bps': 257.2, 'rx_bps_L1': 337.5679999999999, 'rx_pps': 0.5023, 'rx_util': 3.375679999999999e-06, 'tx_bps': 533.9, 'tx_bps_L1': 700.78, 'tx_pps': 1.043, 'tx_util': 7.0078e-06}, 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': 0.001961, 'cpu_util': 0.01361, 'queue_full': 0, 'rx_bps': 257.2, 'rx_cpu_util': 0.0, 'rx_drop_bps': 276.7, 'rx_pps': 0.5023, 'tx_bps': 533.9, 'tx_pps': 1.043}, 'latency': {}, 'total': {'ibytes': 9168223424, 'ierrors': 0, 'ipackets': 143253491, 'obytes': 19047617024, 'oerrors': 0, 'opackets': 297619016, 'rx_bps': 257.2, 'rx_bps_L1': 337.5679999999999, 'rx_pps': 0.5023, 'rx_util': 3.375679999999999e-06, 'tx_bps': 533.9, 'tx_bps_L1': 700.78, 'tx_pps': 1.043, 'tx_util': 7.0078e-06}} 05/09/2019 14:53:33 pktgen: {'ibytes': 4587208704, 'ierrors': 0, 'ipackets': 71675136, 'obytes': 9531807808, 'oerrors': 0, 'opackets': 148934490, 'rx_bps': 3665553920.0, 'rx_bps_L1': 4811039920.0, 'rx_pps': 7159287.5, 'rx_util': 48.110399199999996, 'tx_bps': 7614935040.0, 'tx_bps_L1': 9994602080.0, 'tx_pps': 14872919.0, 'tx_util': 99.9460208} 05/09/2019 14:53:33 pktgen: Tx Port 0 stats: tx_port: 0, tx_bps: 7614935040.000000, tx_pps: 14872919.000000 05/09/2019 14:53:33 pktgen: {'ibytes': 4587208704, 'ierrors': 0, 'ipackets': 71675136, 'obytes': 9531807808, 'oerrors': 0, 'opackets': 148934490, 'rx_bps': 3665553920.0, 'rx_bps_L1': 4811039920.0, 'rx_pps': 7159287.5, 'rx_util': 48.110399199999996, 'tx_bps': 7614935040.0, 'tx_bps_L1': 9994602080.0, 'tx_pps': 14872919.0, 'tx_util': 99.9460208} 05/09/2019 14:53:33 pktgen: Rx Port 0 stats: rx_port: 0, rx_bps: 3665553920.000000, rx_pps: 7159287.500000 05/09/2019 14:53:33 pktgen: throughput: pps_rx 7159287.500000, bps_rx 3665553920.000000 05/09/2019 14:53:33 pktgen: test port 0 map gen port 0 05/09/2019 14:53:33 pktgen: test port 0 map gen port 0 05/09/2019 14:53:33 pktgen: {'arp': '-', u'description': u'82599ES 10-Gigabit SFI/SFP+ Network Connection', 'dest': u'90:e2:ba:d2:d0:b8', u'driver': u'net_ixgbe', 'fc': 'none', 'fc_supported': 'yes', 'grat_arp': 'off', u'hw_mac': u'90:e2:ba:d2:41:3c', u'index': 0, u'is_fc_supported': True, u'is_led_supported': True, u'is_link_supported': False, u'is_virtual': 'no', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'no', 'mult': 'off', u'numa': 0, u'pci_addr': u'0000:18:00.0', 'prom': 'off', u'rx': {u'caps': [u'flow_stats', u'latency', u'rx_bytes'], u'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 10, 'src_ipv4': '-', 'src_mac': u'90:e2:ba:d2:41:3c', 'status': 'IDLE', u'supp_speeds': [1000, 10000], 'vlan': '-'} 05/09/2019 14:53:33 pktgen: begin traffic ...... 05/09/2019 14:53:43 pktgen: {0: {'ibytes': 8247118720, 'ierrors': 0, 'ipackets': 64430611, 'obytes': 10820007168, 'oerrors': 0, 'opackets': 84531301, 'rx_bps': 6576318976.0, 'rx_bps_L1': 7603868816.0, 'rx_pps': 6422186.5, 'rx_util': 76.03868816, 'tx_bps': 8628055040.0, 'tx_bps_L1': 9976188640.0, 'tx_pps': 8425835.0, 'tx_util': 99.7618864}, 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': 63.5, 'cpu_util': 6.793, 'queue_full': 0, 'rx_bps': 6576318976.0, 'rx_cpu_util': 0.0, 'rx_drop_bps': 2051735808.0, 'rx_pps': 6422186.5, 'tx_bps': 8628055040.0, 'tx_pps': 8425835.0}, 'latency': {}, 'total': {'ibytes': 8247118720, 'ierrors': 0, 'ipackets': 64430611, 'obytes': 10820007168, 'oerrors': 0, 'opackets': 84531301, 'rx_bps': 6576318976.0, 'rx_bps_L1': 7603868816.0, 'rx_pps': 6422186.5, 'rx_util': 76.03868816, 'tx_bps': 8628055040.0, 'tx_bps_L1': 9976188640.0, 'tx_pps': 8425835.0, 'tx_util': 99.7618864}} 05/09/2019 14:54:18 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} 05/09/2019 14:54:18 pktgen: {0: {'ibytes': 16480370560, 'ierrors': 0, 'ipackets': 128752895, 'obytes': 21621619328, 'oerrors': 0, 'opackets': 168918901, 'rx_bps': 446.7, 'rx_bps_L1': 516.508, 'rx_pps': 0.4363, 'rx_util': 5.165080000000001e-06, 'tx_bps': 585.8, 'tx_bps_L1': 677.3199999999999, 'tx_pps': 0.572, 'tx_util': 6.773199999999999e-06}, 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': 0.003837, 'cpu_util': 0.007634, 'queue_full': 0, 'rx_bps': 446.7, 'rx_cpu_util': 0.0, 'rx_drop_bps': 139.0, 'rx_pps': 0.4363, 'tx_bps': 585.8, 'tx_pps': 0.572}, 'latency': {}, 'total': {'ibytes': 16480370560, 'ierrors': 0, 'ipackets': 128752895, 'obytes': 21621619328, 'oerrors': 0, 'opackets': 168918901, 'rx_bps': 446.7, 'rx_bps_L1': 516.508, 'rx_pps': 0.4363, 'rx_util': 5.165080000000001e-06, 'tx_bps': 585.8, 'tx_bps_L1': 677.3199999999999, 'tx_pps': 0.572, 'tx_util': 6.773199999999999e-06}} 05/09/2019 14:54:18 pktgen: {'ibytes': 8247118720, 'ierrors': 0, 'ipackets': 64430611, 'obytes': 10820007168, 'oerrors': 0, 'opackets': 84531301, 'rx_bps': 6576318976.0, 'rx_bps_L1': 7603868816.0, 'rx_pps': 6422186.5, 'rx_util': 76.03868816, 'tx_bps': 8628055040.0, 'tx_bps_L1': 9976188640.0, 'tx_pps': 8425835.0, 'tx_util': 99.7618864} 05/09/2019 14:54:18 pktgen: Tx Port 0 stats: tx_port: 0, tx_bps: 8628055040.000000, tx_pps: 8425835.000000 05/09/2019 14:54:18 pktgen: {'ibytes': 8247118720, 'ierrors': 0, 'ipackets': 64430611, 'obytes': 10820007168, 'oerrors': 0, 'opackets': 84531301, 'rx_bps': 6576318976.0, 'rx_bps_L1': 7603868816.0, 'rx_pps': 6422186.5, 'rx_util': 76.03868816, 'tx_bps': 8628055040.0, 'tx_bps_L1': 9976188640.0, 'tx_pps': 8425835.0, 'tx_util': 99.7618864} 05/09/2019 14:54:18 pktgen: Rx Port 0 stats: rx_port: 0, rx_bps: 6576318976.000000, rx_pps: 6422186.500000 05/09/2019 14:54:18 pktgen: throughput: pps_rx 6422186.500000, bps_rx 6576318976.000000 05/09/2019 14:54:18 pktgen: test port 0 map gen port 0 05/09/2019 14:54:18 pktgen: test port 0 map gen port 0 05/09/2019 14:54:18 pktgen: {'arp': '-', u'description': u'82599ES 10-Gigabit SFI/SFP+ Network Connection', 'dest': u'90:e2:ba:d2:d0:b8', u'driver': u'net_ixgbe', 'fc': 'none', 'fc_supported': 'yes', 'grat_arp': 'off', u'hw_mac': u'90:e2:ba:d2:41:3c', u'index': 0, u'is_fc_supported': True, u'is_led_supported': True, u'is_link_supported': False, u'is_virtual': 'no', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'no', 'mult': 'off', u'numa': 0, u'pci_addr': u'0000:18:00.0', 'prom': 'off', u'rx': {u'caps': [u'flow_stats', u'latency', u'rx_bytes'], u'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 10, 'src_ipv4': '-', 'src_mac': u'90:e2:ba:d2:41:3c', 'status': 'IDLE', u'supp_speeds': [1000, 10000], 'vlan': '-'} 05/09/2019 14:54:18 pktgen: begin traffic ...... 05/09/2019 14:54:28 pktgen: {0: {'ibytes': 11603143936, 'ierrors': 0, 'ipackets': 45324779, 'obytes': 11603971328, 'oerrors': 0, 'opackets': 45328011, 'rx_bps': 9253048320.0, 'rx_bps_L1': 9975942640.0, 'rx_pps': 4518089.5, 'rx_util': 99.7594264, 'tx_bps': 9253788672.0, 'tx_bps_L1': 9976740912.0, 'tx_pps': 4518451.5, 'tx_util': 99.76740912}, 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': 128.6, 'cpu_util': 3.598, 'queue_full': 0, 'rx_bps': 9253048320.0, 'rx_cpu_util': 0.0, 'rx_drop_bps': 0.0, 'rx_pps': 4518089.5, 'tx_bps': 9253788672.0, 'tx_pps': 4518451.5}, 'latency': {}, 'total': {'ibytes': 11603143936, 'ierrors': 0, 'ipackets': 45324779, 'obytes': 11603971328, 'oerrors': 0, 'opackets': 45328011, 'rx_bps': 9253048320.0, 'rx_bps_L1': 9975942640.0, 'rx_pps': 4518089.5, 'rx_util': 99.7594264, 'tx_bps': 9253788672.0, 'tx_bps_L1': 9976740912.0, 'tx_pps': 4518451.5, 'tx_util': 99.76740912}} 05/09/2019 14:55:03 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} 05/09/2019 14:55:03 pktgen: {0: {'ibytes': 23186705152, 'ierrors': 0, 'ipackets': 90573067, 'obytes': 23188406528, 'oerrors': 0, 'opackets': 90579713, 'rx_bps': 611.0, 'rx_bps_L1': 658.7280000000001, 'rx_pps': 0.2983, 'rx_util': 6.587280000000002e-06, 'tx_bps': 611.0, 'tx_bps_L1': 658.7280000000001, 'tx_pps': 0.2983, 'tx_util': 6.587280000000002e-06}, 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': 0.007651, 'cpu_util': 0.003993, 'queue_full': 0, 'rx_bps': 611.0, 'rx_cpu_util': 0.0, 'rx_drop_bps': 0.0, 'rx_pps': 0.2983, 'tx_bps': 611.0, 'tx_pps': 0.2983}, 'latency': {}, 'total': {'ibytes': 23186705152, 'ierrors': 0, 'ipackets': 90573067, 'obytes': 23188406528, 'oerrors': 0, 'opackets': 90579713, 'rx_bps': 611.0, 'rx_bps_L1': 658.7280000000001, 'rx_pps': 0.2983, 'rx_util': 6.587280000000002e-06, 'tx_bps': 611.0, 'tx_bps_L1': 658.7280000000001, 'tx_pps': 0.2983, 'tx_util': 6.587280000000002e-06}} 05/09/2019 14:55:03 pktgen: {'ibytes': 11603143936, 'ierrors': 0, 'ipackets': 45324779, 'obytes': 11603971328, 'oerrors': 0, 'opackets': 45328011, 'rx_bps': 9253048320.0, 'rx_bps_L1': 9975942640.0, 'rx_pps': 4518089.5, 'rx_util': 99.7594264, 'tx_bps': 9253788672.0, 'tx_bps_L1': 9976740912.0, 'tx_pps': 4518451.5, 'tx_util': 99.76740912} 05/09/2019 14:55:03 pktgen: Tx Port 0 stats: tx_port: 0, tx_bps: 9253788672.000000, tx_pps: 4518451.500000 05/09/2019 14:55:03 pktgen: {'ibytes': 11603143936, 'ierrors': 0, 'ipackets': 45324779, 'obytes': 11603971328, 'oerrors': 0, 'opackets': 45328011, 'rx_bps': 9253048320.0, 'rx_bps_L1': 9975942640.0, 'rx_pps': 4518089.5, 'rx_util': 99.7594264, 'tx_bps': 9253788672.0, 'tx_bps_L1': 9976740912.0, 'tx_pps': 4518451.5, 'tx_util': 99.76740912} 05/09/2019 14:55:03 pktgen: Rx Port 0 stats: rx_port: 0, rx_bps: 9253048320.000000, rx_pps: 4518089.500000 05/09/2019 14:55:03 pktgen: throughput: pps_rx 4518089.500000, bps_rx 9253048320.000000 05/09/2019 14:55:03 pktgen: test port 0 map gen port 0 05/09/2019 14:55:03 pktgen: test port 0 map gen port 0 05/09/2019 14:55:03 pktgen: {'arp': '-', u'description': u'82599ES 10-Gigabit SFI/SFP+ Network Connection', 'dest': u'90:e2:ba:d2:d0:b8', u'driver': u'net_ixgbe', 'fc': 'none', 'fc_supported': 'yes', 'grat_arp': 'off', u'hw_mac': u'90:e2:ba:d2:41:3c', u'index': 0, u'is_fc_supported': True, u'is_led_supported': True, u'is_link_supported': False, u'is_virtual': 'no', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'no', 'mult': 'off', u'numa': 0, u'pci_addr': u'0000:18:00.0', 'prom': 'off', u'rx': {u'caps': [u'flow_stats', u'latency', u'rx_bytes'], u'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 10, 'src_ipv4': '-', 'src_mac': u'90:e2:ba:d2:41:3c', 'status': 'IDLE', u'supp_speeds': [1000, 10000], 'vlan': '-'} 05/09/2019 14:55:04 pktgen: begin traffic ...... 05/09/2019 14:55:14 pktgen: {0: {'ibytes': 12042333696, 'ierrors': 0, 'ipackets': 23520182, 'obytes': 12042354688, 'oerrors': 0, 'opackets': 23520223, 'rx_bps': 9596096512.0, 'rx_bps_L1': 9970944032.0, 'rx_pps': 2342797.0, 'rx_util': 99.70944032, 'tx_bps': 9596091392.0, 'tx_bps_L1': 9970938720.0, 'tx_pps': 2342795.8, 'tx_util': 99.7093872}, 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': 261.4, 'cpu_util': 1.835, 'queue_full': 0, 'rx_bps': 9596096512.0, 'rx_cpu_util': 0.0, 'rx_drop_bps': 0.0, 'rx_pps': 2342797.0, 'tx_bps': 9596091392.0, 'tx_pps': 2342795.8}, 'latency': {}, 'total': {'ibytes': 12042333696, 'ierrors': 0, 'ipackets': 23520182, 'obytes': 12042354688, 'oerrors': 0, 'opackets': 23520223, 'rx_bps': 9596096512.0, 'rx_bps_L1': 9970944032.0, 'rx_pps': 2342797.0, 'rx_util': 99.70944032, 'tx_bps': 9596091392.0, 'tx_bps_L1': 9970938720.0, 'tx_pps': 2342795.8, 'tx_util': 99.7093872}} 05/09/2019 14:55:49 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} 05/09/2019 14:55:49 pktgen: {0: {'ibytes': 24060151296, 'ierrors': 0, 'ipackets': 46992483, 'obytes': 24060151296, 'oerrors': 0, 'opackets': 46992483, 'rx_bps': 597.9, 'rx_bps_L1': 621.26, 'rx_pps': 0.146, 'rx_util': 6.2126e-06, 'tx_bps': 597.9, 'tx_bps_L1': 621.26, 'tx_pps': 0.146, 'tx_util': 6.2126e-06}, 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': 0.01491, 'cpu_util': 0.002005, 'queue_full': 0, 'rx_bps': 597.9, 'rx_cpu_util': 0.0, 'rx_drop_bps': 0.0, 'rx_pps': 0.146, 'tx_bps': 597.9, 'tx_pps': 0.146}, 'latency': {}, 'total': {'ibytes': 24060151296, 'ierrors': 0, 'ipackets': 46992483, 'obytes': 24060151296, 'oerrors': 0, 'opackets': 46992483, 'rx_bps': 597.9, 'rx_bps_L1': 621.26, 'rx_pps': 0.146, 'rx_util': 6.2126e-06, 'tx_bps': 597.9, 'tx_bps_L1': 621.26, 'tx_pps': 0.146, 'tx_util': 6.2126e-06}} 05/09/2019 14:55:49 pktgen: {'ibytes': 12042333696, 'ierrors': 0, 'ipackets': 23520182, 'obytes': 12042354688, 'oerrors': 0, 'opackets': 23520223, 'rx_bps': 9596096512.0, 'rx_bps_L1': 9970944032.0, 'rx_pps': 2342797.0, 'rx_util': 99.70944032, 'tx_bps': 9596091392.0, 'tx_bps_L1': 9970938720.0, 'tx_pps': 2342795.8, 'tx_util': 99.7093872} 05/09/2019 14:55:49 pktgen: Tx Port 0 stats: tx_port: 0, tx_bps: 9596091392.000000, tx_pps: 2342795.800000 05/09/2019 14:55:49 pktgen: {'ibytes': 12042333696, 'ierrors': 0, 'ipackets': 23520182, 'obytes': 12042354688, 'oerrors': 0, 'opackets': 23520223, 'rx_bps': 9596096512.0, 'rx_bps_L1': 9970944032.0, 'rx_pps': 2342797.0, 'rx_util': 99.70944032, 'tx_bps': 9596091392.0, 'tx_bps_L1': 9970938720.0, 'tx_pps': 2342795.8, 'tx_util': 99.7093872} 05/09/2019 14:55:49 pktgen: Rx Port 0 stats: rx_port: 0, rx_bps: 9596096512.000000, rx_pps: 2342797.000000 05/09/2019 14:55:49 pktgen: throughput: pps_rx 2342797.000000, bps_rx 9596096512.000000 05/09/2019 14:55:49 pktgen: test port 0 map gen port 0 05/09/2019 14:55:49 pktgen: test port 0 map gen port 0 05/09/2019 14:55:49 pktgen: {'arp': '-', u'description': u'82599ES 10-Gigabit SFI/SFP+ Network Connection', 'dest': u'90:e2:ba:d2:d0:b8', u'driver': u'net_ixgbe', 'fc': 'none', 'fc_supported': 'yes', 'grat_arp': 'off', u'hw_mac': u'90:e2:ba:d2:41:3c', u'index': 0, u'is_fc_supported': True, u'is_led_supported': True, u'is_link_supported': False, u'is_virtual': 'no', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'no', 'mult': 'off', u'numa': 0, u'pci_addr': u'0000:18:00.0', 'prom': 'off', u'rx': {u'caps': [u'flow_stats', u'latency', u'rx_bytes'], u'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 10, 'src_ipv4': '-', 'src_mac': u'90:e2:ba:d2:41:3c', 'status': 'IDLE', u'supp_speeds': [1000, 10000], 'vlan': '-'} 05/09/2019 14:55:49 pktgen: begin traffic ...... 05/09/2019 14:55:59 pktgen: {0: {'ibytes': 12271754240, 'ierrors': 0, 'ipackets': 11984134, 'obytes': 12271775744, 'oerrors': 0, 'opackets': 11984156, 'rx_bps': 9764388864.0, 'rx_bps_L1': 9955099584.0, 'rx_pps': 1191942.0, 'rx_util': 99.55099584, 'tx_bps': 9764385792.0, 'tx_bps_L1': 9955096432.0, 'tx_pps': 1191941.5, 'tx_util': 99.55096432}, 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': 535.8, 'cpu_util': 0.9112, 'queue_full': 0, 'rx_bps': 9764388864.0, 'rx_cpu_util': 0.0, 'rx_drop_bps': 0.0, 'rx_pps': 1191942.0, 'tx_bps': 9764385792.0, 'tx_pps': 1191941.5}, 'latency': {}, 'total': {'ibytes': 12271754240, 'ierrors': 0, 'ipackets': 11984134, 'obytes': 12271775744, 'oerrors': 0, 'opackets': 11984156, 'rx_bps': 9764388864.0, 'rx_bps_L1': 9955099584.0, 'rx_pps': 1191942.0, 'rx_util': 99.55099584, 'tx_bps': 9764385792.0, 'tx_bps_L1': 9955096432.0, 'tx_pps': 1191941.5, 'tx_util': 99.55096432}} 05/09/2019 14:56:34 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} 05/09/2019 14:56:34 pktgen: {0: {'ibytes': 24521072640, 'ierrors': 0, 'ipackets': 23946360, 'obytes': 24521072640, 'oerrors': 0, 'opackets': 23946360, 'rx_bps': 592.5, 'rx_bps_L1': 604.0728, 'rx_pps': 0.07233, 'rx_util': 6.040728e-06, 'tx_bps': 592.5, 'tx_bps_L1': 604.0728, 'tx_pps': 0.07233, 'tx_util': 6.040728e-06}, 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': 0.03003, 'cpu_util': 0.0009866, 'queue_full': 0, 'rx_bps': 592.5, 'rx_cpu_util': 0.0, 'rx_drop_bps': 0.0, 'rx_pps': 0.07233, 'tx_bps': 592.5, 'tx_pps': 0.07233}, 'latency': {}, 'total': {'ibytes': 24521072640, 'ierrors': 0, 'ipackets': 23946360, 'obytes': 24521072640, 'oerrors': 0, 'opackets': 23946360, 'rx_bps': 592.5, 'rx_bps_L1': 604.0728, 'rx_pps': 0.07233, 'rx_util': 6.040728e-06, 'tx_bps': 592.5, 'tx_bps_L1': 604.0728, 'tx_pps': 0.07233, 'tx_util': 6.040728e-06}} 05/09/2019 14:56:34 pktgen: {'ibytes': 12271754240, 'ierrors': 0, 'ipackets': 11984134, 'obytes': 12271775744, 'oerrors': 0, 'opackets': 11984156, 'rx_bps': 9764388864.0, 'rx_bps_L1': 9955099584.0, 'rx_pps': 1191942.0, 'rx_util': 99.55099584, 'tx_bps': 9764385792.0, 'tx_bps_L1': 9955096432.0, 'tx_pps': 1191941.5, 'tx_util': 99.55096432} 05/09/2019 14:56:34 pktgen: Tx Port 0 stats: tx_port: 0, tx_bps: 9764385792.000000, tx_pps: 1191941.500000 05/09/2019 14:56:34 pktgen: {'ibytes': 12271754240, 'ierrors': 0, 'ipackets': 11984134, 'obytes': 12271775744, 'oerrors': 0, 'opackets': 11984156, 'rx_bps': 9764388864.0, 'rx_bps_L1': 9955099584.0, 'rx_pps': 1191942.0, 'rx_util': 99.55099584, 'tx_bps': 9764385792.0, 'tx_bps_L1': 9955096432.0, 'tx_pps': 1191941.5, 'tx_util': 99.55096432} 05/09/2019 14:56:34 pktgen: Rx Port 0 stats: rx_port: 0, rx_bps: 9764388864.000000, rx_pps: 1191942.000000 05/09/2019 14:56:34 pktgen: throughput: pps_rx 1191942.000000, bps_rx 9764388864.000000 05/09/2019 14:56:34 pktgen: test port 0 map gen port 0 05/09/2019 14:56:34 pktgen: test port 0 map gen port 0 05/09/2019 14:56:34 pktgen: {'arp': '-', u'description': u'82599ES 10-Gigabit SFI/SFP+ Network Connection', 'dest': u'90:e2:ba:d2:d0:b8', u'driver': u'net_ixgbe', 'fc': 'none', 'fc_supported': 'yes', 'grat_arp': 'off', u'hw_mac': u'90:e2:ba:d2:41:3c', u'index': 0, u'is_fc_supported': True, u'is_led_supported': True, u'is_link_supported': False, u'is_virtual': 'no', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'no', 'mult': 'off', u'numa': 0, u'pci_addr': u'0000:18:00.0', 'prom': 'off', u'rx': {u'caps': [u'flow_stats', u'latency', u'rx_bytes'], u'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 10, 'src_ipv4': '-', 'src_mac': u'90:e2:ba:d2:41:3c', 'status': 'IDLE', u'supp_speeds': [1000, 10000], 'vlan': '-'} 05/09/2019 14:56:34 pktgen: begin traffic ...... 05/09/2019 14:56:44 pktgen: {0: {'ibytes': 12348316728, 'ierrors': 0, 'ipackets': 8134596, 'obytes': 12348337980, 'oerrors': 0, 'opackets': 8134610, 'rx_bps': 9874457600.0, 'rx_bps_L1': 10004555872.0, 'rx_pps': 813114.2, 'rx_util': 100.04555872, 'tx_bps': 9874453504.0, 'tx_bps_L1': 10004551664.0, 'tx_pps': 813113.5, 'tx_util': 100.04551664000002}, 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': 816.8, 'cpu_util': 0.6045, 'queue_full': 0, 'rx_bps': 9874457600.0, 'rx_cpu_util': 0.0, 'rx_drop_bps': 0.0, 'rx_pps': 813114.2, 'tx_bps': 9874453504.0, 'tx_pps': 813113.5}, 'latency': {}, 'total': {'ibytes': 12348316728, 'ierrors': 0, 'ipackets': 8134596, 'obytes': 12348337980, 'oerrors': 0, 'opackets': 8134610, 'rx_bps': 9874457600.0, 'rx_bps_L1': 10004555872.0, 'rx_pps': 813114.2, 'rx_util': 100.04555872, 'tx_bps': 9874453504.0, 'tx_bps_L1': 10004551664.0, 'tx_pps': 813113.5, 'tx_util': 100.04551664000002}} 05/09/2019 14:57:19 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} 05/09/2019 14:57:19 pktgen: {0: {'ibytes': 24674901768, 'ierrors': 0, 'ipackets': 16254876, 'obytes': 24674901768, 'oerrors': 0, 'opackets': 16254876, 'rx_bps': 576.9, 'rx_bps_L1': 584.5016, 'rx_pps': 0.04751, 'rx_util': 5.845016000000001e-06, 'tx_bps': 576.9, 'tx_bps_L1': 584.5016, 'tx_pps': 0.04751, 'tx_util': 5.845016000000001e-06}, 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': 0.04549, 'cpu_util': 0.0006341, 'queue_full': 0, 'rx_bps': 576.9, 'rx_cpu_util': 0.0, 'rx_drop_bps': 0.0, 'rx_pps': 0.04751, 'tx_bps': 576.9, 'tx_pps': 0.04751}, 'latency': {}, 'total': {'ibytes': 24674901768, 'ierrors': 0, 'ipackets': 16254876, 'obytes': 24674901768, 'oerrors': 0, 'opackets': 16254876, 'rx_bps': 576.9, 'rx_bps_L1': 584.5016, 'rx_pps': 0.04751, 'rx_util': 5.845016000000001e-06, 'tx_bps': 576.9, 'tx_bps_L1': 584.5016, 'tx_pps': 0.04751, 'tx_util': 5.845016000000001e-06}} 05/09/2019 14:57:19 pktgen: {'ibytes': 12348316728, 'ierrors': 0, 'ipackets': 8134596, 'obytes': 12348337980, 'oerrors': 0, 'opackets': 8134610, 'rx_bps': 9874457600.0, 'rx_bps_L1': 10004555872.0, 'rx_pps': 813114.2, 'rx_util': 100.04555872, 'tx_bps': 9874453504.0, 'tx_bps_L1': 10004551664.0, 'tx_pps': 813113.5, 'tx_util': 100.04551664000002} 05/09/2019 14:57:19 pktgen: Tx Port 0 stats: tx_port: 0, tx_bps: 9874453504.000000, tx_pps: 813113.500000 05/09/2019 14:57:19 pktgen: {'ibytes': 12348316728, 'ierrors': 0, 'ipackets': 8134596, 'obytes': 12348337980, 'oerrors': 0, 'opackets': 8134610, 'rx_bps': 9874457600.0, 'rx_bps_L1': 10004555872.0, 'rx_pps': 813114.2, 'rx_util': 100.04555872, 'tx_bps': 9874453504.0, 'tx_bps_L1': 10004551664.0, 'tx_pps': 813113.5, 'tx_util': 100.04551664000002} 05/09/2019 14:57:19 pktgen: Rx Port 0 stats: rx_port: 0, rx_bps: 9874457600.000000, rx_pps: 813114.200000 05/09/2019 14:57:19 pktgen: throughput: pps_rx 813114.200000, bps_rx 9874457600.000000 05/09/2019 14:57:19 TestPvpVirtioUser4kPages: +-------+----------+-------+-----------+------------+ | Frame | Mode | Mpps | Queue Num | % linerate | +=======+==========+=======+===========+============+ | 64 | 4K pages | 7.159 | 1 | 48.110 | +-------+----------+-------+-----------+------------+ | 128 | 4K pages | 6.422 | 1 | 43.157 | +-------+----------+-------+-----------+------------+ | 256 | 4K pages | 4.518 | 1 | 30.362 | +-------+----------+-------+-----------+------------+ | 512 | 4K pages | 2.343 | 1 | 15.744 | +-------+----------+-------+-----------+------------+ | 1024 | 4K pages | 1.192 | 1 | 8.010 | +-------+----------+-------+-----------+------------+ | 1518 | 4K pages | 0.813 | 1 | 5.464 | +-------+----------+-------+-----------+------------+ 05/09/2019 14:57:21 TestPvpVirtioUser4kPages: Test Case test_perf_pvp_virtio_user_with_4K_pages Result PASSED: 05/09/2019 14:57:21 dut.10.238.54.211: killall -s INT testpmd 05/09/2019 14:57:21 dut.10.238.54.211: testpmd: no process found 05/09/2019 14:57:21 dut.10.238.54.211: umount /mnt/tmpfs_nohuge 05/09/2019 14:57:21 dut.10.238.54.211: 05/09/2019 14:57:21 dts: TEST SUITE ENDED: TestPvpVirtioUser4kPages