22/09/2020 15:16:14 dts: TEST SUITE : TestPVPVirtioUserMultiQueuesPortRestart 22/09/2020 15:16:14 dts: NIC : fortville_spirit 22/09/2020 15:16:14 dut.10.240.183.220: 22/09/2020 15:16:14 tester: 22/09/2020 15:16:14 tester: ls -d /tmp 22/09/2020 15:16:14 tester: /tmp 22/09/2020 15:16:15 dut.10.240.183.220: kill_all: called by dut and has no prefix list. 22/09/2020 15:16:16 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}' 22/09/2020 15:16:16 dut.10.240.183.220: 1048576 22/09/2020 15:16:16 TestPVPVirtioUserMultiQueuesPortRestart: Test Case test_perf_pvp_2queues_test_with_packed_ring_inorder_mergeable_path Begin 22/09/2020 15:16:16 dut.10.240.183.220: 22/09/2020 15:16:16 tester: 22/09/2020 15:16:16 dut.10.240.183.220: rm -rf ./vhost.out 22/09/2020 15:16:16 dut.10.240.183.220: 22/09/2020 15:16:16 dut.10.240.183.220: killall -s INT dpdk-testpmd 22/09/2020 15:16:17 dut.10.240.183.220: dpdk-testpmd: no process found 22/09/2020 15:16:17 dut.10.240.183.220: rm -rf ./vhost-net* 22/09/2020 15:16:17 dut.10.240.183.220: 22/09/2020 15:16:18 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}' 22/09/2020 15:16:18 dut.10.240.183.220: 1048576 22/09/2020 15:16:18 dut.10.240.183.220: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 33,34,35 -n 4 --file-prefix=virtio_24554_20200922140317 --no-pci --vdev net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=2,packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1,queue_size=255 -- -i --tx-offloads=0x0 --rss-ip --nb-cores=2 --rxq=2 --txq=2 --rss-ip 22/09/2020 15:16:18 dut.10.240.183.220: EAL: Detected 112 lcore(s) EAL: Detected 2 NUMA nodes EAL: Multi-process socket /var/run/dpdk/virtio_24554_20200922140317/mp_socket EAL: Selected IOVA mode 'VA' EAL: Probing VFIO support... EAL: VFIO support initialized Interactive-mode selected Warning: NUMA should be configured manually by using --port-numa-config and --ring-numa-config parameters along with --numa. testpmd: create a new mbuf pool : n=163456, size=2176, socket=1 testpmd: preferred mempool ops selected: ring_mp_mc Warning! port-topology=paired and odd forward ports number, the last port will pair with itself. Configuring Port 0 (socket 1) Port 0: 00:01:02:03:04:05 Checking link statuses... Done 22/09/2020 15:16:18 dut.10.240.183.220: set fwd mac 22/09/2020 15:16:18 dut.10.240.183.220: Set mac packet forwarding mode 22/09/2020 15:16:18 dut.10.240.183.220: start 22/09/2020 15:16:19 dut.10.240.183.220: mac packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native Logical Core 34 (socket 1) forwards packets on 1 streams: RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00 Logical Core 35 (socket 1) forwards packets on 1 streams: RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00 mac packet forwarding packets/burst=32 nb forwarding cores=2 - nb forwarding ports=1 port 0: RX queue number: 2 Tx queue number: 2 Rx offloads=0x0 Tx offloads=0x0 RX queue: 0 RX desc=0 - RX free threshold=0 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 RX Offloads=0x0 TX queue: 0 TX desc=0 - TX free threshold=0 TX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX offloads=0x0 - TX RS bit threshold=0 22/09/2020 15:16:19 TestPVPVirtioUserMultiQueuesPortRestart: Running test test_perf_pvp_2queues_test_with_packed_ring_inorder_mergeable_path, and 64 frame size. 22/09/2020 15:16:19 tester: ls -d /tmp 22/09/2020 15:16:19 tester: /tmp 22/09/2020 15:16:19 tester: scp -v /home/autoregression/jiangyu/dts-cbdma/output/tmp/pcap/pvp_multipath.pcap root@10.240.183.217:/tmp/pvp_multipath.pcap 22/09/2020 15:16:21 pktgen: test port 0 map gen port 0 22/09/2020 15:16:21 pktgen: test port 0 map gen port 0 22/09/2020 15:16:21 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'off', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:16:21 pktgen: trex port <0> not support flow control 22/09/2020 15:16:21 pktgen: trex packet generator: run traffic 5s to warm up ... 22/09/2020 15:16:21 pktgen: check the trex port link status 22/09/2020 15:16:21 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:16:21 pktgen: begin traffic ...... 22/09/2020 15:16:21 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True} 22/09/2020 15:16:26 pktgen: traffic completed. 22/09/2020 15:16:26 pktgen: check the trex port link status 22/09/2020 15:16:26 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:16:26 pktgen: begin traffic ...... 22/09/2020 15:16:26 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True} 22/09/2020 15:16:36 pktgen: begin get port statistic ... 22/09/2020 15:16:36 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random', 'end': '48.0.0.64', 'start': '48.0.0.1', 'step': 1}}}, 'pcap': '/tmp/pvp_multipath.pcap', 'stream_config': {'rate': 100, 'transmit_mode': 'continuous', 'txmode': {}}}, 'pcap_file': '/tmp/pvp_multipath.pcap', 'rx_port': 0, 'tx_port': 0} 22/09/2020 15:16:36 pktgen: {0: {'ibytes': 11996087040, 'ierrors': 0, 'ipackets': 187438871, 'obytes': 22713459712, 'oerrors': 0, 'opackets': 354897840, 'rx_bps': 9621976064.0, 'rx_bps_L1': 12628842304.0, 'rx_pps': 18792914.0, 'rx_util': 31.572105760000003, 'tx_bps': 18159347712.0, 'tx_bps_L1': 23834143872.0, 'tx_pps': 35467476.0, 'tx_util': 59.58535968}, 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': {'active_flows': 0.0, 'active_sockets': 0, 'bw_per_core': 9.226605415344238, 'cpu_util': 98.40752410888672, 'cpu_util_raw': 100.0, 'open_flows': 0.0, 'platform_factor': 1.0, 'queue_full': 0, 'rx_bps': 9621976064.0, 'rx_core_pps': 0.0, 'rx_cpu_util': 0.0, 'rx_drop_bps': 8537371136.0, 'rx_pps': 18792914.0, 'socket_util': 0.0, 'total_alloc_error': 0, 'total_clients': 0, 'total_servers': 0, 'tx_bps': 18159347712.0, 'tx_cps': 0.0, 'tx_expected_bps': 0.0, 'tx_expected_cps': 0.0, 'tx_expected_pps': 0.0, 'tx_pps': 35467476.0}, 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}}, 'total': {'ibytes': 11996087040, 'ierrors': 0, 'ipackets': 187438871, 'obytes': 22713459712, 'oerrors': 0, 'opackets': 354897840, 'rx_bps': 9621976064.0, 'rx_bps_L1': 12628842304.0, 'rx_pps': 18792914.0, 'rx_util': 31.572105760000003, 'tx_bps': 18159347712.0, 'tx_bps_L1': 23834143872.0, 'tx_pps': 35467476.0, 'tx_util': 59.58535968}} 22/09/2020 15:16:36 pktgen: {'ibytes': 11996087040, 'ierrors': 0, 'ipackets': 187438871, 'obytes': 22713459712, 'oerrors': 0, 'opackets': 354897840, 'rx_bps': 9621976064.0, 'rx_bps_L1': 12628842304.0, 'rx_pps': 18792914.0, 'rx_util': 31.572105760000003, 'tx_bps': 18159347712.0, 'tx_bps_L1': 23834143872.0, 'tx_pps': 35467476.0, 'tx_util': 59.58535968} 22/09/2020 15:16:36 pktgen: Tx Port 0 stats: tx_port: 0, tx_bps: 18159347712.000000, tx_pps: 35467476.000000 22/09/2020 15:16:36 pktgen: {'ibytes': 11996087040, 'ierrors': 0, 'ipackets': 187438871, 'obytes': 22713459712, 'oerrors': 0, 'opackets': 354897840, 'rx_bps': 9621976064.0, 'rx_bps_L1': 12628842304.0, 'rx_pps': 18792914.0, 'rx_util': 31.572105760000003, 'tx_bps': 18159347712.0, 'tx_bps_L1': 23834143872.0, 'tx_pps': 35467476.0, 'tx_util': 59.58535968} 22/09/2020 15:16:36 pktgen: Rx Port 0 stats: rx_port: 0, rx_bps: 9621976064.000000, rx_pps: 18792914.000000 22/09/2020 15:16:36 pktgen: throughput: pps_rx 18792914.000000, bps_rx 9621976064.000000 22/09/2020 15:16:36 pktgen: traffic completed. 22/09/2020 15:16:36 dut.10.240.183.220: stop 22/09/2020 15:16:36 dut.10.240.183.220: Telling cores to ... Waiting for lcores to finish... ------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 ------- RX-packets: 140595064 TX-packets: 140595064 TX-dropped: 0 ------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 ------- RX-packets: 140488340 TX-packets: 140488340 TX-dropped: 0 ---------------------- Forward statistics for port 0 ---------------------- RX-packets: 281083404 RX-dropped: 0 RX-total: 281083404 TX-packets: 281083404 TX-dropped: 0 TX-total: 281083404 ---------------------------------------------------------------------------- +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 281083404 RX-dropped: 0 RX-total: 281083404 TX-packets: 281083404 TX-dropped: 0 TX-total: 281083404 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Done. 22/09/2020 15:16:36 dut.10.240.183.220: start 22/09/2020 15:16:36 dut.10.240.183.220: mac packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native Logical Core 34 (socket 1) forwards packets on 1 streams: RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00 Logical Core 35 (socket 1) forwards packets on 1 streams: RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00 mac packet forwarding packets/burst=32 nb forwarding cores=2 - nb forwarding ports=1 port 0: RX queue number: 2 Tx queue number: 2 Rx offloads=0x0 Tx offloads=0x0 RX queue: 0 RX desc=0 - RX free threshold=0 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 RX Offloads=0x0 TX queue: 0 TX desc=0 - TX free threshold=0 TX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX offloads=0x0 - TX RS bit threshold=0 22/09/2020 15:16:39 tester: ls -d /tmp 22/09/2020 15:16:39 tester: /tmp 22/09/2020 15:16:39 tester: scp -v /home/autoregression/jiangyu/dts-cbdma/output/tmp/pcap/pvp_multipath.pcap root@10.240.183.217:/tmp/pvp_multipath.pcap 22/09/2020 15:16:41 pktgen: test port 0 map gen port 0 22/09/2020 15:16:41 pktgen: test port 0 map gen port 0 22/09/2020 15:16:41 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'off', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:16:41 pktgen: trex port <0> not support flow control 22/09/2020 15:16:41 pktgen: trex packet generator: run traffic 5s to warm up ... 22/09/2020 15:16:41 pktgen: check the trex port link status 22/09/2020 15:16:41 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:16:41 pktgen: begin traffic ...... 22/09/2020 15:16:41 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True} 22/09/2020 15:16:46 pktgen: traffic completed. 22/09/2020 15:16:46 pktgen: check the trex port link status 22/09/2020 15:16:46 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:16:46 pktgen: begin traffic ...... 22/09/2020 15:16:46 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True} 22/09/2020 15:16:56 pktgen: begin get port statistic ... 22/09/2020 15:16:56 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random', 'end': '48.0.0.64', 'start': '48.0.0.1', 'step': 1}}}, 'pcap': '/tmp/pvp_multipath.pcap', 'stream_config': {'rate': 100, 'transmit_mode': 'continuous', 'txmode': {}}}, 'pcap_file': '/tmp/pvp_multipath.pcap', 'rx_port': 0, 'tx_port': 0} 22/09/2020 15:16:56 pktgen: {0: {'ibytes': 11991339072, 'ierrors': 0, 'ipackets': 187364697, 'obytes': 21722639552, 'oerrors': 0, 'opackets': 339416258, 'rx_bps': 9585252352.0, 'rx_bps_L1': 12580643712.0, 'rx_pps': 18721196.0, 'rx_util': 31.45160928, 'tx_bps': 17315751936.0, 'tx_bps_L1': 22726925695.999996, 'tx_pps': 33819836.0, 'tx_util': 56.817314239999995}, 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': {'active_flows': 0.0, 'active_sockets': 0, 'bw_per_core': 8.76351547241211, 'cpu_util': 98.7945556640625, 'cpu_util_raw': 100.0, 'open_flows': 0.0, 'platform_factor': 1.0, 'queue_full': 0, 'rx_bps': 9585252352.0, 'rx_core_pps': 0.0, 'rx_cpu_util': 0.0, 'rx_drop_bps': 7730500096.0, 'rx_pps': 18721196.0, 'socket_util': 0.0, 'total_alloc_error': 0, 'total_clients': 0, 'total_servers': 0, 'tx_bps': 17315751936.0, 'tx_cps': 0.0, 'tx_expected_bps': 0.0, 'tx_expected_cps': 0.0, 'tx_expected_pps': 0.0, 'tx_pps': 33819836.0}, 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}}, 'total': {'ibytes': 11991339072, 'ierrors': 0, 'ipackets': 187364697, 'obytes': 21722639552, 'oerrors': 0, 'opackets': 339416258, 'rx_bps': 9585252352.0, 'rx_bps_L1': 12580643712.0, 'rx_pps': 18721196.0, 'rx_util': 31.45160928, 'tx_bps': 17315751936.0, 'tx_bps_L1': 22726925695.999996, 'tx_pps': 33819836.0, 'tx_util': 56.817314239999995}} 22/09/2020 15:16:56 pktgen: {'ibytes': 11991339072, 'ierrors': 0, 'ipackets': 187364697, 'obytes': 21722639552, 'oerrors': 0, 'opackets': 339416258, 'rx_bps': 9585252352.0, 'rx_bps_L1': 12580643712.0, 'rx_pps': 18721196.0, 'rx_util': 31.45160928, 'tx_bps': 17315751936.0, 'tx_bps_L1': 22726925695.999996, 'tx_pps': 33819836.0, 'tx_util': 56.817314239999995} 22/09/2020 15:16:56 pktgen: Tx Port 0 stats: tx_port: 0, tx_bps: 17315751936.000000, tx_pps: 33819836.000000 22/09/2020 15:16:56 pktgen: {'ibytes': 11991339072, 'ierrors': 0, 'ipackets': 187364697, 'obytes': 21722639552, 'oerrors': 0, 'opackets': 339416258, 'rx_bps': 9585252352.0, 'rx_bps_L1': 12580643712.0, 'rx_pps': 18721196.0, 'rx_util': 31.45160928, 'tx_bps': 17315751936.0, 'tx_bps_L1': 22726925695.999996, 'tx_pps': 33819836.0, 'tx_util': 56.817314239999995} 22/09/2020 15:16:56 pktgen: Rx Port 0 stats: rx_port: 0, rx_bps: 9585252352.000000, rx_pps: 18721196.000000 22/09/2020 15:16:56 pktgen: throughput: pps_rx 18721196.000000, bps_rx 9585252352.000000 22/09/2020 15:16:56 pktgen: traffic completed. 22/09/2020 15:16:56 dut.10.240.183.220: stop 22/09/2020 15:16:56 dut.10.240.183.220: Telling cores to ... Waiting for lcores to finish... ------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 ------- RX-packets: 140217813 TX-packets: 140217813 TX-dropped: 0 ------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 ------- RX-packets: 140576994 TX-packets: 140576994 TX-dropped: 0 ---------------------- Forward statistics for port 0 ---------------------- RX-packets: 280794807 RX-dropped: 0 RX-total: 280794807 TX-packets: 280794807 TX-dropped: 0 TX-total: 280794807 ---------------------------------------------------------------------------- +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 280794807 RX-dropped: 0 RX-total: 280794807 TX-packets: 280794807 TX-dropped: 0 TX-total: 280794807 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Done. 22/09/2020 15:16:56 dut.10.240.183.220: start 22/09/2020 15:16:56 dut.10.240.183.220: mac packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native Logical Core 34 (socket 1) forwards packets on 1 streams: RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00 Logical Core 35 (socket 1) forwards packets on 1 streams: RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00 mac packet forwarding packets/burst=32 nb forwarding cores=2 - nb forwarding ports=1 port 0: RX queue number: 2 Tx queue number: 2 Rx offloads=0x0 Tx offloads=0x0 RX queue: 0 RX desc=0 - RX free threshold=0 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 RX Offloads=0x0 TX queue: 0 TX desc=0 - TX free threshold=0 TX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX offloads=0x0 - TX RS bit threshold=0 22/09/2020 15:16:57 dut.10.240.183.220: quit 22/09/2020 15:16:58 dut.10.240.183.220: Telling cores to stop... Waiting for lcores to finish... ---------------------- Forward statistics for port 0 ---------------------- RX-packets: 0 RX-dropped: 0 RX-total: 0 TX-packets: 0 TX-dropped: 0 TX-total: 0 ---------------------------------------------------------------------------- +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 0 RX-dropped: 0 RX-total: 0 TX-packets: 0 TX-dropped: 0 TX-total: 0 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Done. Stopping port 0... Stopping ports... Done Shutting down port 0... Closing ports... 22/09/2020 15:16:58 TestPVPVirtioUserMultiQueuesPortRestart: +--------------+-------------------------------+------------------+------------+----------------+ | FrameSize(B) | Mode | Throughput(Mpps) | % linerate | Cycle | +==============+===============================+==================+============+================+ | 64 | packed_ring_inorder_mergeable | 18.793 | 31.572 | Before Restart | +--------------+-------------------------------+------------------+------------+----------------+ | 64 | packed_ring_inorder_mergeable | 18.721 | 31.452 | After Restart | +--------------+-------------------------------+------------------+------------+----------------+ 22/09/2020 15:16:58 TestPVPVirtioUserMultiQueuesPortRestart: Test Case test_perf_pvp_2queues_test_with_packed_ring_inorder_mergeable_path Result PASSED: 22/09/2020 15:16:58 dut.10.240.183.220: kill_all: called by dut and prefix list has value. 22/09/2020 15:17:01 TestPVPVirtioUserMultiQueuesPortRestart: Test Case test_perf_pvp_2queues_test_with_packed_ring_inorder_nonmergeable_path Begin 22/09/2020 15:17:01 dut.10.240.183.220: 22/09/2020 15:17:01 tester: 22/09/2020 15:17:01 dut.10.240.183.220: rm -rf ./vhost.out 22/09/2020 15:17:01 dut.10.240.183.220: 22/09/2020 15:17:01 dut.10.240.183.220: killall -s INT dpdk-testpmd 22/09/2020 15:17:01 dut.10.240.183.220: dpdk-testpmd: no process found 22/09/2020 15:17:01 dut.10.240.183.220: rm -rf ./vhost-net* 22/09/2020 15:17:01 dut.10.240.183.220: 22/09/2020 15:17:02 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}' 22/09/2020 15:17:02 dut.10.240.183.220: 1048576 22/09/2020 15:17:02 dut.10.240.183.220: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 33,34,35 -n 4 --file-prefix=virtio_24554_20200922140317 --no-pci --vdev net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=2,packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1,queue_size=255 -- -i --tx-offloads=0x0 --rss-ip --nb-cores=2 --rxq=2 --txq=2 --rss-ip 22/09/2020 15:17:03 dut.10.240.183.220: EAL: Detected 112 lcore(s) EAL: Detected 2 NUMA nodes EAL: Multi-process socket /var/run/dpdk/virtio_24554_20200922140317/mp_socket EAL: Selected IOVA mode 'VA' EAL: Probing VFIO support... EAL: VFIO support initialized Interactive-mode selected Warning: NUMA should be configured manually by using --port-numa-config and --ring-numa-config parameters along with --numa. testpmd: create a new mbuf pool : n=163456, size=2176, socket=1 testpmd: preferred mempool ops selected: ring_mp_mc Warning! port-topology=paired and odd forward ports number, the last port will pair with itself. Configuring Port 0 (socket 1) Port 0: 00:01:02:03:04:05 Checking link statuses... Done 22/09/2020 15:17:03 dut.10.240.183.220: set fwd mac 22/09/2020 15:17:03 dut.10.240.183.220: Set mac packet forwarding mode 22/09/2020 15:17:03 dut.10.240.183.220: start 22/09/2020 15:17:03 dut.10.240.183.220: mac packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native Logical Core 34 (socket 1) forwards packets on 1 streams: RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00 Logical Core 35 (socket 1) forwards packets on 1 streams: RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00 mac packet forwarding packets/burst=32 nb forwarding cores=2 - nb forwarding ports=1 port 0: RX queue number: 2 Tx queue number: 2 Rx offloads=0x0 Tx offloads=0x0 RX queue: 0 RX desc=0 - RX free threshold=0 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 RX Offloads=0x0 TX queue: 0 TX desc=0 - TX free threshold=0 TX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX offloads=0x0 - TX RS bit threshold=0 22/09/2020 15:17:03 TestPVPVirtioUserMultiQueuesPortRestart: Running test test_perf_pvp_2queues_test_with_packed_ring_inorder_nonmergeable_path, and 64 frame size. 22/09/2020 15:17:03 tester: ls -d /tmp 22/09/2020 15:17:03 tester: /tmp 22/09/2020 15:17:03 tester: scp -v /home/autoregression/jiangyu/dts-cbdma/output/tmp/pcap/pvp_multipath.pcap root@10.240.183.217:/tmp/pvp_multipath.pcap 22/09/2020 15:17:05 pktgen: test port 0 map gen port 0 22/09/2020 15:17:05 pktgen: test port 0 map gen port 0 22/09/2020 15:17:05 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'off', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:17:05 pktgen: trex port <0> not support flow control 22/09/2020 15:17:05 pktgen: trex packet generator: run traffic 5s to warm up ... 22/09/2020 15:17:05 pktgen: check the trex port link status 22/09/2020 15:17:05 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:17:05 pktgen: begin traffic ...... 22/09/2020 15:17:05 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True} 22/09/2020 15:17:10 pktgen: traffic completed. 22/09/2020 15:17:10 pktgen: check the trex port link status 22/09/2020 15:17:10 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:17:10 pktgen: begin traffic ...... 22/09/2020 15:17:10 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True} 22/09/2020 15:17:20 pktgen: begin get port statistic ... 22/09/2020 15:17:20 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random', 'end': '48.0.0.64', 'start': '48.0.0.1', 'step': 1}}}, 'pcap': '/tmp/pvp_multipath.pcap', 'stream_config': {'rate': 100, 'transmit_mode': 'continuous', 'txmode': {}}}, 'pcap_file': '/tmp/pvp_multipath.pcap', 'rx_port': 0, 'tx_port': 0} 22/09/2020 15:17:20 pktgen: {0: {'ibytes': 12035734592, 'ierrors': 0, 'ipackets': 188058378, 'obytes': 22783654464, 'oerrors': 0, 'opackets': 355994652, 'rx_bps': 9629693952.0, 'rx_bps_L1': 12638974912.0, 'rx_pps': 18808006.0, 'rx_util': 31.59743728, 'tx_bps': 18105767936.0, 'tx_bps_L1': 23763821056.0, 'tx_pps': 35362832.0, 'tx_util': 59.409552639999994}, 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': {'active_flows': 0.0, 'active_sockets': 0, 'bw_per_core': 9.185247421264648, 'cpu_util': 98.55895233154297, 'cpu_util_raw': 100.0, 'open_flows': 0.0, 'platform_factor': 1.0, 'queue_full': 0, 'rx_bps': 9629693952.0, 'rx_core_pps': 0.0, 'rx_cpu_util': 0.0, 'rx_drop_bps': 8476073472.0, 'rx_pps': 18808006.0, 'socket_util': 0.0, 'total_alloc_error': 0, 'total_clients': 0, 'total_servers': 0, 'tx_bps': 18105767936.0, 'tx_cps': 0.0, 'tx_expected_bps': 0.0, 'tx_expected_cps': 0.0, 'tx_expected_pps': 0.0, 'tx_pps': 35362832.0}, 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}}, 'total': {'ibytes': 12035734592, 'ierrors': 0, 'ipackets': 188058378, 'obytes': 22783654464, 'oerrors': 0, 'opackets': 355994652, 'rx_bps': 9629693952.0, 'rx_bps_L1': 12638974912.0, 'rx_pps': 18808006.0, 'rx_util': 31.59743728, 'tx_bps': 18105767936.0, 'tx_bps_L1': 23763821056.0, 'tx_pps': 35362832.0, 'tx_util': 59.409552639999994}} 22/09/2020 15:17:20 pktgen: {'ibytes': 12035734592, 'ierrors': 0, 'ipackets': 188058378, 'obytes': 22783654464, 'oerrors': 0, 'opackets': 355994652, 'rx_bps': 9629693952.0, 'rx_bps_L1': 12638974912.0, 'rx_pps': 18808006.0, 'rx_util': 31.59743728, 'tx_bps': 18105767936.0, 'tx_bps_L1': 23763821056.0, 'tx_pps': 35362832.0, 'tx_util': 59.409552639999994} 22/09/2020 15:17:20 pktgen: Tx Port 0 stats: tx_port: 0, tx_bps: 18105767936.000000, tx_pps: 35362832.000000 22/09/2020 15:17:20 pktgen: {'ibytes': 12035734592, 'ierrors': 0, 'ipackets': 188058378, 'obytes': 22783654464, 'oerrors': 0, 'opackets': 355994652, 'rx_bps': 9629693952.0, 'rx_bps_L1': 12638974912.0, 'rx_pps': 18808006.0, 'rx_util': 31.59743728, 'tx_bps': 18105767936.0, 'tx_bps_L1': 23763821056.0, 'tx_pps': 35362832.0, 'tx_util': 59.409552639999994} 22/09/2020 15:17:20 pktgen: Rx Port 0 stats: rx_port: 0, rx_bps: 9629693952.000000, rx_pps: 18808006.000000 22/09/2020 15:17:20 pktgen: throughput: pps_rx 18808006.000000, bps_rx 9629693952.000000 22/09/2020 15:17:20 pktgen: traffic completed. 22/09/2020 15:17:20 dut.10.240.183.220: stop 22/09/2020 15:17:20 dut.10.240.183.220: Telling cores to ... Waiting for lcores to finish... ------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 ------- RX-packets: 141660530 TX-packets: 141660506 TX-dropped: 24 ------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 ------- RX-packets: 141105466 TX-packets: 141105466 TX-dropped: 0 ---------------------- Forward statistics for port 0 ---------------------- RX-packets: 282765996 RX-dropped: 0 RX-total: 282765996 TX-packets: 282765972 TX-dropped: 24 TX-total: 282765996 ---------------------------------------------------------------------------- +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 282765996 RX-dropped: 0 RX-total: 282765996 TX-packets: 282765972 TX-dropped: 24 TX-total: 282765996 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Done. 22/09/2020 15:17:20 dut.10.240.183.220: start 22/09/2020 15:17:20 dut.10.240.183.220: mac packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native Logical Core 34 (socket 1) forwards packets on 1 streams: RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00 Logical Core 35 (socket 1) forwards packets on 1 streams: RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00 mac packet forwarding packets/burst=32 nb forwarding cores=2 - nb forwarding ports=1 port 0: RX queue number: 2 Tx queue number: 2 Rx offloads=0x0 Tx offloads=0x0 RX queue: 0 RX desc=0 - RX free threshold=0 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 RX Offloads=0x0 TX queue: 0 TX desc=0 - TX free threshold=0 TX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX offloads=0x0 - TX RS bit threshold=0 22/09/2020 15:17:23 tester: ls -d /tmp 22/09/2020 15:17:23 tester: /tmp 22/09/2020 15:17:23 tester: scp -v /home/autoregression/jiangyu/dts-cbdma/output/tmp/pcap/pvp_multipath.pcap root@10.240.183.217:/tmp/pvp_multipath.pcap 22/09/2020 15:17:25 pktgen: test port 0 map gen port 0 22/09/2020 15:17:25 pktgen: test port 0 map gen port 0 22/09/2020 15:17:25 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'off', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:17:25 pktgen: trex port <0> not support flow control 22/09/2020 15:17:25 pktgen: trex packet generator: run traffic 5s to warm up ... 22/09/2020 15:17:25 pktgen: check the trex port link status 22/09/2020 15:17:25 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:17:25 pktgen: begin traffic ...... 22/09/2020 15:17:25 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True} 22/09/2020 15:17:30 pktgen: traffic completed. 22/09/2020 15:17:30 pktgen: check the trex port link status 22/09/2020 15:17:30 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:17:30 pktgen: begin traffic ...... 22/09/2020 15:17:30 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True} 22/09/2020 15:17:40 pktgen: begin get port statistic ... 22/09/2020 15:17:40 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random', 'end': '48.0.0.64', 'start': '48.0.0.1', 'step': 1}}}, 'pcap': '/tmp/pvp_multipath.pcap', 'stream_config': {'rate': 100, 'transmit_mode': 'continuous', 'txmode': {}}}, 'pcap_file': '/tmp/pvp_multipath.pcap', 'rx_port': 0, 'tx_port': 0} 22/09/2020 15:17:40 pktgen: {0: {'ibytes': 12056248448, 'ierrors': 0, 'ipackets': 188378903, 'obytes': 21594583040, 'oerrors': 0, 'opackets': 337415393, 'rx_bps': 9667263488.0, 'rx_bps_L1': 12688283328.0, 'rx_pps': 18881374.0, 'rx_util': 31.72070832, 'tx_bps': 17277849600.0, 'tx_bps_L1': 22677177600.0, 'tx_pps': 33745800.0, 'tx_util': 56.692944}, 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': {'active_flows': 0.0, 'active_sockets': 0, 'bw_per_core': 8.739398956298828, 'cpu_util': 98.85032653808594, 'cpu_util_raw': 100.0, 'open_flows': 0.0, 'platform_factor': 1.0, 'queue_full': 0, 'rx_bps': 9667263488.0, 'rx_core_pps': 0.0, 'rx_cpu_util': 0.0, 'rx_drop_bps': 7610586112.0, 'rx_pps': 18881374.0, 'socket_util': 0.0, 'total_alloc_error': 0, 'total_clients': 0, 'total_servers': 0, 'tx_bps': 17277849600.0, 'tx_cps': 0.0, 'tx_expected_bps': 0.0, 'tx_expected_cps': 0.0, 'tx_expected_pps': 0.0, 'tx_pps': 33745800.0}, 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}}, 'total': {'ibytes': 12056248448, 'ierrors': 0, 'ipackets': 188378903, 'obytes': 21594583040, 'oerrors': 0, 'opackets': 337415393, 'rx_bps': 9667263488.0, 'rx_bps_L1': 12688283328.0, 'rx_pps': 18881374.0, 'rx_util': 31.72070832, 'tx_bps': 17277849600.0, 'tx_bps_L1': 22677177600.0, 'tx_pps': 33745800.0, 'tx_util': 56.692944}} 22/09/2020 15:17:40 pktgen: {'ibytes': 12056248448, 'ierrors': 0, 'ipackets': 188378903, 'obytes': 21594583040, 'oerrors': 0, 'opackets': 337415393, 'rx_bps': 9667263488.0, 'rx_bps_L1': 12688283328.0, 'rx_pps': 18881374.0, 'rx_util': 31.72070832, 'tx_bps': 17277849600.0, 'tx_bps_L1': 22677177600.0, 'tx_pps': 33745800.0, 'tx_util': 56.692944} 22/09/2020 15:17:40 pktgen: Tx Port 0 stats: tx_port: 0, tx_bps: 17277849600.000000, tx_pps: 33745800.000000 22/09/2020 15:17:40 pktgen: {'ibytes': 12056248448, 'ierrors': 0, 'ipackets': 188378903, 'obytes': 21594583040, 'oerrors': 0, 'opackets': 337415393, 'rx_bps': 9667263488.0, 'rx_bps_L1': 12688283328.0, 'rx_pps': 18881374.0, 'rx_util': 31.72070832, 'tx_bps': 17277849600.0, 'tx_bps_L1': 22677177600.0, 'tx_pps': 33745800.0, 'tx_util': 56.692944} 22/09/2020 15:17:40 pktgen: Rx Port 0 stats: rx_port: 0, rx_bps: 9667263488.000000, rx_pps: 18881374.000000 22/09/2020 15:17:40 pktgen: throughput: pps_rx 18881374.000000, bps_rx 9667263488.000000 22/09/2020 15:17:40 pktgen: traffic completed. 22/09/2020 15:17:40 dut.10.240.183.220: stop 22/09/2020 15:17:41 dut.10.240.183.220: Telling cores to ... Waiting for lcores to finish... ------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 ------- RX-packets: 141244428 TX-packets: 141244428 TX-dropped: 0 ------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 ------- RX-packets: 141758735 TX-packets: 141758735 TX-dropped: 0 ---------------------- Forward statistics for port 0 ---------------------- RX-packets: 283003163 RX-dropped: 0 RX-total: 283003163 TX-packets: 283003163 TX-dropped: 0 TX-total: 283003163 ---------------------------------------------------------------------------- +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 283003163 RX-dropped: 0 RX-total: 283003163 TX-packets: 283003163 TX-dropped: 0 TX-total: 283003163 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Done. 22/09/2020 15:17:41 dut.10.240.183.220: start 22/09/2020 15:17:41 dut.10.240.183.220: mac packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native Logical Core 34 (socket 1) forwards packets on 1 streams: RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00 Logical Core 35 (socket 1) forwards packets on 1 streams: RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00 mac packet forwarding packets/burst=32 nb forwarding cores=2 - nb forwarding ports=1 port 0: RX queue number: 2 Tx queue number: 2 Rx offloads=0x0 Tx offloads=0x0 RX queue: 0 RX desc=0 - RX free threshold=0 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 RX Offloads=0x0 TX queue: 0 TX desc=0 - TX free threshold=0 TX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX offloads=0x0 - TX RS bit threshold=0 22/09/2020 15:17:42 dut.10.240.183.220: quit 22/09/2020 15:17:42 dut.10.240.183.220: Telling cores to stop... Waiting for lcores to finish... ---------------------- Forward statistics for port 0 ---------------------- RX-packets: 0 RX-dropped: 0 RX-total: 0 TX-packets: 0 TX-dropped: 0 TX-total: 0 ---------------------------------------------------------------------------- +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 0 RX-dropped: 0 RX-total: 0 TX-packets: 0 TX-dropped: 0 TX-total: 0 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Done. Stopping port 0... Stopping ports... Done Shutting down port 0... Closing ports... 22/09/2020 15:17:42 TestPVPVirtioUserMultiQueuesPortRestart: +--------------+----------------------------------+------------------+------------+----------------+ | FrameSize(B) | Mode | Throughput(Mpps) | % linerate | Cycle | +==============+==================================+==================+============+================+ | 64 | packed_ring_inorder_nonmergeable | 18.808 | 31.597 | Before Restart | +--------------+----------------------------------+------------------+------------+----------------+ | 64 | packed_ring_inorder_nonmergeable | 18.881 | 31.721 | After Restart | +--------------+----------------------------------+------------------+------------+----------------+ 22/09/2020 15:17:42 TestPVPVirtioUserMultiQueuesPortRestart: Test Case test_perf_pvp_2queues_test_with_packed_ring_inorder_nonmergeable_path Result PASSED: 22/09/2020 15:17:42 dut.10.240.183.220: kill_all: called by dut and prefix list has value. 22/09/2020 15:17:45 TestPVPVirtioUserMultiQueuesPortRestart: Test Case test_perf_pvp_2queues_test_with_packed_ring_mergeable_path Begin 22/09/2020 15:17:45 dut.10.240.183.220: 22/09/2020 15:17:45 tester: 22/09/2020 15:17:45 dut.10.240.183.220: rm -rf ./vhost.out 22/09/2020 15:17:45 dut.10.240.183.220: 22/09/2020 15:17:45 dut.10.240.183.220: killall -s INT dpdk-testpmd 22/09/2020 15:17:46 dut.10.240.183.220: dpdk-testpmd: no process found 22/09/2020 15:17:46 dut.10.240.183.220: rm -rf ./vhost-net* 22/09/2020 15:17:46 dut.10.240.183.220: 22/09/2020 15:17:47 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}' 22/09/2020 15:17:47 dut.10.240.183.220: 1048576 22/09/2020 15:17:47 dut.10.240.183.220: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 33,34,35 -n 4 --file-prefix=virtio_24554_20200922140317 --no-pci --vdev net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=2,packed_vq=1,mrg_rxbuf=1,in_order=0,queue_size=255 -- -i --tx-offloads=0x0 --rss-ip --nb-cores=2 --rxq=2 --txq=2 --rss-ip 22/09/2020 15:17:47 dut.10.240.183.220: EAL: Detected 112 lcore(s) EAL: Detected 2 NUMA nodes EAL: Multi-process socket /var/run/dpdk/virtio_24554_20200922140317/mp_socket EAL: Selected IOVA mode 'VA' EAL: Probing VFIO support... EAL: VFIO support initialized Interactive-mode selected Warning: NUMA should be configured manually by using --port-numa-config and --ring-numa-config parameters along with --numa. testpmd: create a new mbuf pool : n=163456, size=2176, socket=1 testpmd: preferred mempool ops selected: ring_mp_mc Warning! port-topology=paired and odd forward ports number, the last port will pair with itself. Configuring Port 0 (socket 1) Port 0: 00:01:02:03:04:05 Checking link statuses... Done 22/09/2020 15:17:47 dut.10.240.183.220: set fwd mac 22/09/2020 15:17:47 dut.10.240.183.220: Set mac packet forwarding mode 22/09/2020 15:17:47 dut.10.240.183.220: start 22/09/2020 15:17:48 dut.10.240.183.220: mac packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native Logical Core 34 (socket 1) forwards packets on 1 streams: RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00 Logical Core 35 (socket 1) forwards packets on 1 streams: RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00 mac packet forwarding packets/burst=32 nb forwarding cores=2 - nb forwarding ports=1 port 0: RX queue number: 2 Tx queue number: 2 Rx offloads=0x0 Tx offloads=0x0 RX queue: 0 RX desc=0 - RX free threshold=0 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 RX Offloads=0x0 TX queue: 0 TX desc=0 - TX free threshold=0 TX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX offloads=0x0 - TX RS bit threshold=0 22/09/2020 15:17:48 TestPVPVirtioUserMultiQueuesPortRestart: Running test test_perf_pvp_2queues_test_with_packed_ring_mergeable_path, and 64 frame size. 22/09/2020 15:17:48 tester: ls -d /tmp 22/09/2020 15:17:48 tester: /tmp 22/09/2020 15:17:48 tester: scp -v /home/autoregression/jiangyu/dts-cbdma/output/tmp/pcap/pvp_multipath.pcap root@10.240.183.217:/tmp/pvp_multipath.pcap 22/09/2020 15:17:50 pktgen: test port 0 map gen port 0 22/09/2020 15:17:50 pktgen: test port 0 map gen port 0 22/09/2020 15:17:50 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'off', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:17:50 pktgen: trex port <0> not support flow control 22/09/2020 15:17:50 pktgen: trex packet generator: run traffic 5s to warm up ... 22/09/2020 15:17:50 pktgen: check the trex port link status 22/09/2020 15:17:50 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:17:50 pktgen: begin traffic ...... 22/09/2020 15:17:50 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True} 22/09/2020 15:17:55 pktgen: traffic completed. 22/09/2020 15:17:55 pktgen: check the trex port link status 22/09/2020 15:17:55 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:17:55 pktgen: begin traffic ...... 22/09/2020 15:17:55 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True} 22/09/2020 15:18:05 pktgen: begin get port statistic ... 22/09/2020 15:18:05 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random', 'end': '48.0.0.64', 'start': '48.0.0.1', 'step': 1}}}, 'pcap': '/tmp/pvp_multipath.pcap', 'stream_config': {'rate': 100, 'transmit_mode': 'continuous', 'txmode': {}}}, 'pcap_file': '/tmp/pvp_multipath.pcap', 'rx_port': 0, 'tx_port': 0} 22/09/2020 15:18:05 pktgen: {0: {'ibytes': 11591516416, 'ierrors': 0, 'ipackets': 181117482, 'obytes': 22799274496, 'oerrors': 0, 'opackets': 356238701, 'rx_bps': 9294851072.0, 'rx_bps_L1': 12199491712.0, 'rx_pps': 18154004.0, 'rx_util': 30.49872928, 'tx_bps': 18167732224.0, 'tx_bps_L1': 23845147904.0, 'tx_pps': 35483848.0, 'tx_util': 59.612869759999995}, 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': {'active_flows': 0.0, 'active_sockets': 0, 'bw_per_core': 9.212095260620117, 'cpu_util': 98.60803985595703, 'cpu_util_raw': 100.0, 'open_flows': 0.0, 'platform_factor': 1.0, 'queue_full': 0, 'rx_bps': 9294851072.0, 'rx_core_pps': 0.0, 'rx_cpu_util': 0.0, 'rx_drop_bps': 8872882176.0, 'rx_pps': 18154004.0, 'socket_util': 0.0, 'total_alloc_error': 0, 'total_clients': 0, 'total_servers': 0, 'tx_bps': 18167732224.0, 'tx_cps': 0.0, 'tx_expected_bps': 0.0, 'tx_expected_cps': 0.0, 'tx_expected_pps': 0.0, 'tx_pps': 35483848.0}, 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}}, 'total': {'ibytes': 11591516416, 'ierrors': 0, 'ipackets': 181117482, 'obytes': 22799274496, 'oerrors': 0, 'opackets': 356238701, 'rx_bps': 9294851072.0, 'rx_bps_L1': 12199491712.0, 'rx_pps': 18154004.0, 'rx_util': 30.49872928, 'tx_bps': 18167732224.0, 'tx_bps_L1': 23845147904.0, 'tx_pps': 35483848.0, 'tx_util': 59.612869759999995}} 22/09/2020 15:18:05 pktgen: {'ibytes': 11591516416, 'ierrors': 0, 'ipackets': 181117482, 'obytes': 22799274496, 'oerrors': 0, 'opackets': 356238701, 'rx_bps': 9294851072.0, 'rx_bps_L1': 12199491712.0, 'rx_pps': 18154004.0, 'rx_util': 30.49872928, 'tx_bps': 18167732224.0, 'tx_bps_L1': 23845147904.0, 'tx_pps': 35483848.0, 'tx_util': 59.612869759999995} 22/09/2020 15:18:05 pktgen: Tx Port 0 stats: tx_port: 0, tx_bps: 18167732224.000000, tx_pps: 35483848.000000 22/09/2020 15:18:05 pktgen: {'ibytes': 11591516416, 'ierrors': 0, 'ipackets': 181117482, 'obytes': 22799274496, 'oerrors': 0, 'opackets': 356238701, 'rx_bps': 9294851072.0, 'rx_bps_L1': 12199491712.0, 'rx_pps': 18154004.0, 'rx_util': 30.49872928, 'tx_bps': 18167732224.0, 'tx_bps_L1': 23845147904.0, 'tx_pps': 35483848.0, 'tx_util': 59.612869759999995} 22/09/2020 15:18:05 pktgen: Rx Port 0 stats: rx_port: 0, rx_bps: 9294851072.000000, rx_pps: 18154004.000000 22/09/2020 15:18:05 pktgen: throughput: pps_rx 18154004.000000, bps_rx 9294851072.000000 22/09/2020 15:18:05 pktgen: traffic completed. 22/09/2020 15:18:05 dut.10.240.183.220: stop 22/09/2020 15:18:05 dut.10.240.183.220: Telling cores to ... Waiting for lcores to finish... ------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 ------- RX-packets: 136070887 TX-packets: 136070887 TX-dropped: 0 ------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 ------- RX-packets: 136030180 TX-packets: 136030180 TX-dropped: 0 ---------------------- Forward statistics for port 0 ---------------------- RX-packets: 272101067 RX-dropped: 0 RX-total: 272101067 TX-packets: 272101067 TX-dropped: 0 TX-total: 272101067 ---------------------------------------------------------------------------- +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 272101067 RX-dropped: 0 RX-total: 272101067 TX-packets: 272101067 TX-dropped: 0 TX-total: 272101067 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Done. 22/09/2020 15:18:05 dut.10.240.183.220: start 22/09/2020 15:18:05 dut.10.240.183.220: mac packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native Logical Core 34 (socket 1) forwards packets on 1 streams: RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00 Logical Core 35 (socket 1) forwards packets on 1 streams: RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00 mac packet forwarding packets/burst=32 nb forwarding cores=2 - nb forwarding ports=1 port 0: RX queue number: 2 Tx queue number: 2 Rx offloads=0x0 Tx offloads=0x0 RX queue: 0 RX desc=0 - RX free threshold=0 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 RX Offloads=0x0 TX queue: 0 TX desc=0 - TX free threshold=0 TX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX offloads=0x0 - TX RS bit threshold=0 22/09/2020 15:22:35 tester: ls -d /tmp 22/09/2020 15:22:35 tester: /tmp 22/09/2020 15:22:35 tester: scp -v /home/autoregression/jiangyu/dts-cbdma/output/tmp/pcap/pvp_multipath.pcap root@10.240.183.217:/tmp/pvp_multipath.pcap 22/09/2020 15:22:37 pktgen: test port 0 map gen port 0 22/09/2020 15:22:37 pktgen: test port 0 map gen port 0 22/09/2020 15:22:37 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'off', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:22:37 pktgen: trex port <0> not support flow control 22/09/2020 15:22:37 pktgen: trex packet generator: run traffic 5s to warm up ... 22/09/2020 15:22:37 pktgen: check the trex port link status 22/09/2020 15:22:37 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:22:37 pktgen: begin traffic ...... 22/09/2020 15:22:37 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True} 22/09/2020 15:22:42 pktgen: traffic completed. 22/09/2020 15:22:42 pktgen: check the trex port link status 22/09/2020 15:22:42 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:22:42 pktgen: begin traffic ...... 22/09/2020 15:22:42 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True} 22/09/2020 15:22:52 pktgen: begin get port statistic ... 22/09/2020 15:22:52 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random', 'end': '48.0.0.64', 'start': '48.0.0.1', 'step': 1}}}, 'pcap': '/tmp/pvp_multipath.pcap', 'stream_config': {'rate': 100, 'transmit_mode': 'continuous', 'txmode': {}}}, 'pcap_file': '/tmp/pvp_multipath.pcap', 'rx_port': 0, 'tx_port': 0} 22/09/2020 15:22:52 pktgen: {0: {'ibytes': 11641343296, 'ierrors': 0, 'ipackets': 181896023, 'obytes': 22753137664, 'oerrors': 0, 'opackets': 355517817, 'rx_bps': 9336324096.0, 'rx_bps_L1': 12253926015.999998, 'rx_pps': 18235012.0, 'rx_util': 30.634815039999996, 'tx_bps': 18210605056.0, 'tx_bps_L1': 23901418496.0, 'tx_pps': 35567584.0, 'tx_util': 59.75354624}, 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': {'active_flows': 0.0, 'active_sockets': 0, 'bw_per_core': 9.262472152709961, 'cpu_util': 98.30316162109375, 'cpu_util_raw': 100.0, 'open_flows': 0.0, 'platform_factor': 1.0, 'queue_full': 0, 'rx_bps': 9336324096.0, 'rx_core_pps': 0.0, 'rx_cpu_util': 0.0, 'rx_drop_bps': 8874280960.0, 'rx_pps': 18235012.0, 'socket_util': 0.0, 'total_alloc_error': 0, 'total_clients': 0, 'total_servers': 0, 'tx_bps': 18210605056.0, 'tx_cps': 0.0, 'tx_expected_bps': 0.0, 'tx_expected_cps': 0.0, 'tx_expected_pps': 0.0, 'tx_pps': 35567584.0}, 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}}, 'total': {'ibytes': 11641343296, 'ierrors': 0, 'ipackets': 181896023, 'obytes': 22753137664, 'oerrors': 0, 'opackets': 355517817, 'rx_bps': 9336324096.0, 'rx_bps_L1': 12253926015.999998, 'rx_pps': 18235012.0, 'rx_util': 30.634815039999996, 'tx_bps': 18210605056.0, 'tx_bps_L1': 23901418496.0, 'tx_pps': 35567584.0, 'tx_util': 59.75354624}} 22/09/2020 15:22:52 pktgen: {'ibytes': 11641343296, 'ierrors': 0, 'ipackets': 181896023, 'obytes': 22753137664, 'oerrors': 0, 'opackets': 355517817, 'rx_bps': 9336324096.0, 'rx_bps_L1': 12253926015.999998, 'rx_pps': 18235012.0, 'rx_util': 30.634815039999996, 'tx_bps': 18210605056.0, 'tx_bps_L1': 23901418496.0, 'tx_pps': 35567584.0, 'tx_util': 59.75354624} 22/09/2020 15:22:52 pktgen: Tx Port 0 stats: tx_port: 0, tx_bps: 18210605056.000000, tx_pps: 35567584.000000 22/09/2020 15:22:52 pktgen: {'ibytes': 11641343296, 'ierrors': 0, 'ipackets': 181896023, 'obytes': 22753137664, 'oerrors': 0, 'opackets': 355517817, 'rx_bps': 9336324096.0, 'rx_bps_L1': 12253926015.999998, 'rx_pps': 18235012.0, 'rx_util': 30.634815039999996, 'tx_bps': 18210605056.0, 'tx_bps_L1': 23901418496.0, 'tx_pps': 35567584.0, 'tx_util': 59.75354624} 22/09/2020 15:22:52 pktgen: Rx Port 0 stats: rx_port: 0, rx_bps: 9336324096.000000, rx_pps: 18235012.000000 22/09/2020 15:22:52 pktgen: throughput: pps_rx 18235012.000000, bps_rx 9336324096.000000 22/09/2020 15:22:52 pktgen: traffic completed. 22/09/2020 15:22:52 dut.10.240.183.220: stop 22/09/2020 15:22:52 dut.10.240.183.220: Telling cores to ... Waiting for lcores to finish... ------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 ------- RX-packets: 135561527 TX-packets: 135561527 TX-dropped: 0 ------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 ------- RX-packets: 136432638 TX-packets: 136432638 TX-dropped: 0 ---------------------- Forward statistics for port 0 ---------------------- RX-packets: 271994165 RX-dropped: 0 RX-total: 271994165 TX-packets: 271994165 TX-dropped: 0 TX-total: 271994165 ---------------------------------------------------------------------------- +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 271994165 RX-dropped: 0 RX-total: 271994165 TX-packets: 271994165 TX-dropped: 0 TX-total: 271994165 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Done. 22/09/2020 15:22:52 dut.10.240.183.220: start 22/09/2020 15:22:52 dut.10.240.183.220: mac packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native Logical Core 34 (socket 1) forwards packets on 1 streams: RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00 Logical Core 35 (socket 1) forwards packets on 1 streams: RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00 mac packet forwarding packets/burst=32 nb forwarding cores=2 - nb forwarding ports=1 port 0: RX queue number: 2 Tx queue number: 2 Rx offloads=0x0 Tx offloads=0x0 RX queue: 0 RX desc=0 - RX free threshold=0 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 RX Offloads=0x0 TX queue: 0 TX desc=0 - TX free threshold=0 TX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX offloads=0x0 - TX RS bit threshold=0 22/09/2020 15:22:54 dut.10.240.183.220: quit 22/09/2020 15:22:54 dut.10.240.183.220: Telling cores to stop... Waiting for lcores to finish... ---------------------- Forward statistics for port 0 ---------------------- RX-packets: 0 RX-dropped: 0 RX-total: 0 TX-packets: 0 TX-dropped: 0 TX-total: 0 ---------------------------------------------------------------------------- +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 0 RX-dropped: 0 RX-total: 0 TX-packets: 0 TX-dropped: 0 TX-total: 0 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Done. Stopping port 0... Stopping ports... Done Shutting down port 0... Closing ports... 22/09/2020 15:22:54 TestPVPVirtioUserMultiQueuesPortRestart: +--------------+-----------------------+------------------+------------+----------------+ | FrameSize(B) | Mode | Throughput(Mpps) | % linerate | Cycle | +==============+=======================+==================+============+================+ | 64 | packed_ring_mergeable | 18.154 | 30.499 | Before Restart | +--------------+-----------------------+------------------+------------+----------------+ | 64 | packed_ring_mergeable | 18.235 | 30.635 | After Restart | +--------------+-----------------------+------------------+------------+----------------+ 22/09/2020 15:22:54 TestPVPVirtioUserMultiQueuesPortRestart: Test Case test_perf_pvp_2queues_test_with_packed_ring_mergeable_path Result PASSED: 22/09/2020 15:22:54 dut.10.240.183.220: kill_all: called by dut and prefix list has value. 22/09/2020 15:22:57 TestPVPVirtioUserMultiQueuesPortRestart: Test Case test_perf_pvp_2queues_test_with_packed_ring_nonmergeable_path Begin 22/09/2020 15:22:57 dut.10.240.183.220: 22/09/2020 15:22:57 tester: 22/09/2020 15:22:57 dut.10.240.183.220: rm -rf ./vhost.out 22/09/2020 15:22:57 dut.10.240.183.220: 22/09/2020 15:22:57 dut.10.240.183.220: killall -s INT dpdk-testpmd 22/09/2020 15:22:57 dut.10.240.183.220: dpdk-testpmd: no process found 22/09/2020 15:22:57 dut.10.240.183.220: rm -rf ./vhost-net* 22/09/2020 15:22:57 dut.10.240.183.220: 22/09/2020 15:22:59 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}' 22/09/2020 15:22:59 dut.10.240.183.220: 1048576 22/09/2020 15:22:59 dut.10.240.183.220: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 33,34,35 -n 4 --file-prefix=virtio_24554_20200922140317 --no-pci --vdev net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=2,packed_vq=1,mrg_rxbuf=0,in_order=0,queue_size=255 -- -i --tx-offloads=0x0 --rss-ip --nb-cores=2 --rxq=2 --txq=2 --rss-ip 22/09/2020 15:22:59 dut.10.240.183.220: EAL: Detected 112 lcore(s) EAL: Detected 2 NUMA nodes EAL: Multi-process socket /var/run/dpdk/virtio_24554_20200922140317/mp_socket EAL: Selected IOVA mode 'VA' EAL: Probing VFIO support... EAL: VFIO support initialized Interactive-mode selected Warning: NUMA should be configured manually by using --port-numa-config and --ring-numa-config parameters along with --numa. testpmd: create a new mbuf pool : n=163456, size=2176, socket=1 testpmd: preferred mempool ops selected: ring_mp_mc Warning! port-topology=paired and odd forward ports number, the last port will pair with itself. Configuring Port 0 (socket 1) Port 0: 00:01:02:03:04:05 Checking link statuses... Done 22/09/2020 15:22:59 dut.10.240.183.220: set fwd mac 22/09/2020 15:22:59 dut.10.240.183.220: Set mac packet forwarding mode 22/09/2020 15:22:59 dut.10.240.183.220: start 22/09/2020 15:22:59 dut.10.240.183.220: mac packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native Logical Core 34 (socket 1) forwards packets on 1 streams: RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00 Logical Core 35 (socket 1) forwards packets on 1 streams: RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00 mac packet forwarding packets/burst=32 nb forwarding cores=2 - nb forwarding ports=1 port 0: RX queue number: 2 Tx queue number: 2 Rx offloads=0x0 Tx offloads=0x0 RX queue: 0 RX desc=0 - RX free threshold=0 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 RX Offloads=0x0 TX queue: 0 TX desc=0 - TX free threshold=0 TX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX offloads=0x0 - TX RS bit threshold=0 22/09/2020 15:22:59 TestPVPVirtioUserMultiQueuesPortRestart: Running test test_perf_pvp_2queues_test_with_packed_ring_nonmergeable_path, and 64 frame size. 22/09/2020 15:22:59 tester: ls -d /tmp 22/09/2020 15:23:00 tester: /tmp 22/09/2020 15:23:00 tester: scp -v /home/autoregression/jiangyu/dts-cbdma/output/tmp/pcap/pvp_multipath.pcap root@10.240.183.217:/tmp/pvp_multipath.pcap 22/09/2020 15:23:02 pktgen: test port 0 map gen port 0 22/09/2020 15:23:02 pktgen: test port 0 map gen port 0 22/09/2020 15:23:02 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'off', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:23:02 pktgen: trex port <0> not support flow control 22/09/2020 15:23:02 pktgen: trex packet generator: run traffic 5s to warm up ... 22/09/2020 15:23:02 pktgen: check the trex port link status 22/09/2020 15:23:02 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:23:02 pktgen: begin traffic ...... 22/09/2020 15:23:02 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True} 22/09/2020 15:23:07 pktgen: traffic completed. 22/09/2020 15:23:07 pktgen: check the trex port link status 22/09/2020 15:23:07 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:23:07 pktgen: begin traffic ...... 22/09/2020 15:23:07 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True} 22/09/2020 15:23:17 pktgen: begin get port statistic ... 22/09/2020 15:23:17 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random', 'end': '48.0.0.64', 'start': '48.0.0.1', 'step': 1}}}, 'pcap': '/tmp/pvp_multipath.pcap', 'stream_config': {'rate': 100, 'transmit_mode': 'continuous', 'txmode': {}}}, 'pcap_file': '/tmp/pvp_multipath.pcap', 'rx_port': 0, 'tx_port': 0} 22/09/2020 15:23:17 pktgen: {0: {'ibytes': 11660334080, 'ierrors': 0, 'ipackets': 182192720, 'obytes': 22728964864, 'oerrors': 0, 'opackets': 355140106, 'rx_bps': 9323461632.0, 'rx_bps_L1': 12237044672.0, 'rx_pps': 18209894.0, 'rx_util': 30.592611679999997, 'tx_bps': 18125981696.0, 'tx_bps_L1': 23790352896.000004, 'tx_pps': 35402320.0, 'tx_util': 59.47588224000001}, 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': {'active_flows': 0.0, 'active_sockets': 0, 'bw_per_core': 9.209790229797363, 'cpu_util': 98.40605163574219, 'cpu_util_raw': 100.0, 'open_flows': 0.0, 'platform_factor': 1.0, 'queue_full': 0, 'rx_bps': 9323461632.0, 'rx_core_pps': 0.0, 'rx_cpu_util': 0.0, 'rx_drop_bps': 8802520064.0, 'rx_pps': 18209894.0, 'socket_util': 0.0, 'total_alloc_error': 0, 'total_clients': 0, 'total_servers': 0, 'tx_bps': 18125981696.0, 'tx_cps': 0.0, 'tx_expected_bps': 0.0, 'tx_expected_cps': 0.0, 'tx_expected_pps': 0.0, 'tx_pps': 35402320.0}, 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}}, 'total': {'ibytes': 11660334080, 'ierrors': 0, 'ipackets': 182192720, 'obytes': 22728964864, 'oerrors': 0, 'opackets': 355140106, 'rx_bps': 9323461632.0, 'rx_bps_L1': 12237044672.0, 'rx_pps': 18209894.0, 'rx_util': 30.592611679999997, 'tx_bps': 18125981696.0, 'tx_bps_L1': 23790352896.000004, 'tx_pps': 35402320.0, 'tx_util': 59.47588224000001}} 22/09/2020 15:23:17 pktgen: {'ibytes': 11660334080, 'ierrors': 0, 'ipackets': 182192720, 'obytes': 22728964864, 'oerrors': 0, 'opackets': 355140106, 'rx_bps': 9323461632.0, 'rx_bps_L1': 12237044672.0, 'rx_pps': 18209894.0, 'rx_util': 30.592611679999997, 'tx_bps': 18125981696.0, 'tx_bps_L1': 23790352896.000004, 'tx_pps': 35402320.0, 'tx_util': 59.47588224000001} 22/09/2020 15:23:17 pktgen: Tx Port 0 stats: tx_port: 0, tx_bps: 18125981696.000000, tx_pps: 35402320.000000 22/09/2020 15:23:17 pktgen: {'ibytes': 11660334080, 'ierrors': 0, 'ipackets': 182192720, 'obytes': 22728964864, 'oerrors': 0, 'opackets': 355140106, 'rx_bps': 9323461632.0, 'rx_bps_L1': 12237044672.0, 'rx_pps': 18209894.0, 'rx_util': 30.592611679999997, 'tx_bps': 18125981696.0, 'tx_bps_L1': 23790352896.000004, 'tx_pps': 35402320.0, 'tx_util': 59.47588224000001} 22/09/2020 15:23:17 pktgen: Rx Port 0 stats: rx_port: 0, rx_bps: 9323461632.000000, rx_pps: 18209894.000000 22/09/2020 15:23:17 pktgen: throughput: pps_rx 18209894.000000, bps_rx 9323461632.000000 22/09/2020 15:23:17 pktgen: traffic completed. 22/09/2020 15:23:17 dut.10.240.183.220: stop 22/09/2020 15:23:17 dut.10.240.183.220: Telling cores to ... Waiting for lcores to finish... ------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 ------- RX-packets: 136906059 TX-packets: 136906059 TX-dropped: 0 ------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 ------- RX-packets: 136014421 TX-packets: 136014421 TX-dropped: 0 ---------------------- Forward statistics for port 0 ---------------------- RX-packets: 272920480 RX-dropped: 0 RX-total: 272920480 TX-packets: 272920480 TX-dropped: 0 TX-total: 272920480 ---------------------------------------------------------------------------- +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 272920480 RX-dropped: 0 RX-total: 272920480 TX-packets: 272920480 TX-dropped: 0 TX-total: 272920480 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Done. 22/09/2020 15:23:17 dut.10.240.183.220: start 22/09/2020 15:23:17 dut.10.240.183.220: mac packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native Logical Core 34 (socket 1) forwards packets on 1 streams: RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00 Logical Core 35 (socket 1) forwards packets on 1 streams: RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00 mac packet forwarding packets/burst=32 nb forwarding cores=2 - nb forwarding ports=1 port 0: RX queue number: 2 Tx queue number: 2 Rx offloads=0x0 Tx offloads=0x0 RX queue: 0 RX desc=0 - RX free threshold=0 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 RX Offloads=0x0 TX queue: 0 TX desc=0 - TX free threshold=0 TX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX offloads=0x0 - TX RS bit threshold=0 22/09/2020 15:23:20 tester: ls -d /tmp 22/09/2020 15:23:20 tester: /tmp 22/09/2020 15:23:20 tester: scp -v /home/autoregression/jiangyu/dts-cbdma/output/tmp/pcap/pvp_multipath.pcap root@10.240.183.217:/tmp/pvp_multipath.pcap 22/09/2020 15:23:22 pktgen: test port 0 map gen port 0 22/09/2020 15:23:22 pktgen: test port 0 map gen port 0 22/09/2020 15:23:22 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'off', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:23:22 pktgen: trex port <0> not support flow control 22/09/2020 15:23:22 pktgen: trex packet generator: run traffic 5s to warm up ... 22/09/2020 15:23:22 pktgen: check the trex port link status 22/09/2020 15:23:22 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:23:22 pktgen: begin traffic ...... 22/09/2020 15:23:22 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True} 22/09/2020 15:23:27 pktgen: traffic completed. 22/09/2020 15:23:27 pktgen: check the trex port link status 22/09/2020 15:23:27 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:23:27 pktgen: begin traffic ...... 22/09/2020 15:23:27 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True} 22/09/2020 15:23:37 pktgen: begin get port statistic ... 22/09/2020 15:23:37 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random', 'end': '48.0.0.64', 'start': '48.0.0.1', 'step': 1}}}, 'pcap': '/tmp/pvp_multipath.pcap', 'stream_config': {'rate': 100, 'transmit_mode': 'continuous', 'txmode': {}}}, 'pcap_file': '/tmp/pvp_multipath.pcap', 'rx_port': 0, 'tx_port': 0} 22/09/2020 15:23:37 pktgen: {0: {'ibytes': 11639887040, 'ierrors': 0, 'ipackets': 181873244, 'obytes': 22731705664, 'oerrors': 0, 'opackets': 355182953, 'rx_bps': 9327918080.0, 'rx_bps_L1': 12242891519.999998, 'rx_pps': 18218584.0, 'rx_util': 30.607228799999998, 'tx_bps': 18176047104.0, 'tx_bps_L1': 23856061184.000004, 'tx_pps': 35500088.0, 'tx_util': 59.640152960000016}, 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': {'active_flows': 0.0, 'active_sockets': 0, 'bw_per_core': 9.20133113861084, 'cpu_util': 98.76856994628906, 'cpu_util_raw': 100.0, 'open_flows': 0.0, 'platform_factor': 1.0, 'queue_full': 0, 'rx_bps': 9327918080.0, 'rx_core_pps': 0.0, 'rx_cpu_util': 0.0, 'rx_drop_bps': 8848129024.0, 'rx_pps': 18218584.0, 'socket_util': 0.0, 'total_alloc_error': 0, 'total_clients': 0, 'total_servers': 0, 'tx_bps': 18176047104.0, 'tx_cps': 0.0, 'tx_expected_bps': 0.0, 'tx_expected_cps': 0.0, 'tx_expected_pps': 0.0, 'tx_pps': 35500088.0}, 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}}, 'total': {'ibytes': 11639887040, 'ierrors': 0, 'ipackets': 181873244, 'obytes': 22731705664, 'oerrors': 0, 'opackets': 355182953, 'rx_bps': 9327918080.0, 'rx_bps_L1': 12242891519.999998, 'rx_pps': 18218584.0, 'rx_util': 30.607228799999998, 'tx_bps': 18176047104.0, 'tx_bps_L1': 23856061184.000004, 'tx_pps': 35500088.0, 'tx_util': 59.640152960000016}} 22/09/2020 15:23:37 pktgen: {'ibytes': 11639887040, 'ierrors': 0, 'ipackets': 181873244, 'obytes': 22731705664, 'oerrors': 0, 'opackets': 355182953, 'rx_bps': 9327918080.0, 'rx_bps_L1': 12242891519.999998, 'rx_pps': 18218584.0, 'rx_util': 30.607228799999998, 'tx_bps': 18176047104.0, 'tx_bps_L1': 23856061184.000004, 'tx_pps': 35500088.0, 'tx_util': 59.640152960000016} 22/09/2020 15:23:37 pktgen: Tx Port 0 stats: tx_port: 0, tx_bps: 18176047104.000000, tx_pps: 35500088.000000 22/09/2020 15:23:37 pktgen: {'ibytes': 11639887040, 'ierrors': 0, 'ipackets': 181873244, 'obytes': 22731705664, 'oerrors': 0, 'opackets': 355182953, 'rx_bps': 9327918080.0, 'rx_bps_L1': 12242891519.999998, 'rx_pps': 18218584.0, 'rx_util': 30.607228799999998, 'tx_bps': 18176047104.0, 'tx_bps_L1': 23856061184.000004, 'tx_pps': 35500088.0, 'tx_util': 59.640152960000016} 22/09/2020 15:23:37 pktgen: Rx Port 0 stats: rx_port: 0, rx_bps: 9327918080.000000, rx_pps: 18218584.000000 22/09/2020 15:23:37 pktgen: throughput: pps_rx 18218584.000000, bps_rx 9327918080.000000 22/09/2020 15:23:37 pktgen: traffic completed. 22/09/2020 15:23:37 dut.10.240.183.220: stop 22/09/2020 15:23:37 dut.10.240.183.220: Telling cores to ... Waiting for lcores to finish... ------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 ------- RX-packets: 135903786 TX-packets: 135903786 TX-dropped: 0 ------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 ------- RX-packets: 136392925 TX-packets: 136392925 TX-dropped: 0 ---------------------- Forward statistics for port 0 ---------------------- RX-packets: 272296711 RX-dropped: 0 RX-total: 272296711 TX-packets: 272296711 TX-dropped: 0 TX-total: 272296711 ---------------------------------------------------------------------------- +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 272296711 RX-dropped: 0 RX-total: 272296711 TX-packets: 272296711 TX-dropped: 0 TX-total: 272296711 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Done. 22/09/2020 15:23:37 dut.10.240.183.220: start 22/09/2020 15:23:37 dut.10.240.183.220: mac packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native Logical Core 34 (socket 1) forwards packets on 1 streams: RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00 Logical Core 35 (socket 1) forwards packets on 1 streams: RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00 mac packet forwarding packets/burst=32 nb forwarding cores=2 - nb forwarding ports=1 port 0: RX queue number: 2 Tx queue number: 2 Rx offloads=0x0 Tx offloads=0x0 RX queue: 0 RX desc=0 - RX free threshold=0 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 RX Offloads=0x0 TX queue: 0 TX desc=0 - TX free threshold=0 TX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX offloads=0x0 - TX RS bit threshold=0 22/09/2020 15:23:38 dut.10.240.183.220: quit 22/09/2020 15:23:39 dut.10.240.183.220: Telling cores to stop... Waiting for lcores to finish... ---------------------- Forward statistics for port 0 ---------------------- RX-packets: 0 RX-dropped: 0 RX-total: 0 TX-packets: 0 TX-dropped: 0 TX-total: 0 ---------------------------------------------------------------------------- +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 0 RX-dropped: 0 RX-total: 0 TX-packets: 0 TX-dropped: 0 TX-total: 0 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Done. Stopping port 0... Stopping ports... Done Shutting down port 0... Closing ports... 22/09/2020 15:23:39 TestPVPVirtioUserMultiQueuesPortRestart: +--------------+--------------------------+------------------+------------+----------------+ | FrameSize(B) | Mode | Throughput(Mpps) | % linerate | Cycle | +==============+==========================+==================+============+================+ | 64 | packed_ring_nonmergeable | 18.210 | 30.593 | Before Restart | +--------------+--------------------------+------------------+------------+----------------+ | 64 | packed_ring_nonmergeable | 18.219 | 30.607 | After Restart | +--------------+--------------------------+------------------+------------+----------------+ 22/09/2020 15:23:39 TestPVPVirtioUserMultiQueuesPortRestart: Test Case test_perf_pvp_2queues_test_with_packed_ring_nonmergeable_path Result PASSED: 22/09/2020 15:23:39 dut.10.240.183.220: kill_all: called by dut and prefix list has value. 22/09/2020 15:23:42 TestPVPVirtioUserMultiQueuesPortRestart: Test Case test_perf_pvp_2queues_test_with_split_ring_inorder_mergeable_path Begin 22/09/2020 15:23:42 dut.10.240.183.220: 22/09/2020 15:23:42 tester: 22/09/2020 15:23:42 dut.10.240.183.220: rm -rf ./vhost.out 22/09/2020 15:23:42 dut.10.240.183.220: 22/09/2020 15:23:42 dut.10.240.183.220: killall -s INT dpdk-testpmd 22/09/2020 15:23:42 dut.10.240.183.220: dpdk-testpmd: no process found 22/09/2020 15:23:42 dut.10.240.183.220: rm -rf ./vhost-net* 22/09/2020 15:23:42 dut.10.240.183.220: 22/09/2020 15:23:43 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}' 22/09/2020 15:23:43 dut.10.240.183.220: 1048576 22/09/2020 15:23:43 dut.10.240.183.220: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 33,34,35 -n 4 --file-prefix=virtio_24554_20200922140317 --no-pci --vdev net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=2,in_order=1,mrg_rxbuf=1 -- -i --tx-offloads=0x0 --rss-ip --nb-cores=2 --rxq=2 --txq=2 --rss-ip 22/09/2020 15:23:44 dut.10.240.183.220: EAL: Detected 112 lcore(s) EAL: Detected 2 NUMA nodes EAL: Multi-process socket /var/run/dpdk/virtio_24554_20200922140317/mp_socket EAL: Selected IOVA mode 'VA' EAL: Probing VFIO support... EAL: VFIO support initialized Interactive-mode selected Warning: NUMA should be configured manually by using --port-numa-config and --ring-numa-config parameters along with --numa. testpmd: create a new mbuf pool : n=163456, size=2176, socket=1 testpmd: preferred mempool ops selected: ring_mp_mc Warning! port-topology=paired and odd forward ports number, the last port will pair with itself. Configuring Port 0 (socket 1) Port 0: 00:01:02:03:04:05 Checking link statuses... Done 22/09/2020 15:23:44 dut.10.240.183.220: set fwd mac 22/09/2020 15:23:44 dut.10.240.183.220: Set mac packet forwarding mode 22/09/2020 15:23:44 dut.10.240.183.220: start 22/09/2020 15:23:44 dut.10.240.183.220: mac packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native Logical Core 34 (socket 1) forwards packets on 1 streams: RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00 Logical Core 35 (socket 1) forwards packets on 1 streams: RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00 mac packet forwarding packets/burst=32 nb forwarding cores=2 - nb forwarding ports=1 port 0: RX queue number: 2 Tx queue number: 2 Rx offloads=0x0 Tx offloads=0x0 RX queue: 0 RX desc=0 - RX free threshold=0 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 RX Offloads=0x0 TX queue: 0 TX desc=0 - TX free threshold=0 TX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX offloads=0x0 - TX RS bit threshold=0 22/09/2020 15:23:44 TestPVPVirtioUserMultiQueuesPortRestart: Running test test_perf_pvp_2queues_test_with_split_ring_inorder_mergeable_path, and 64 frame size. 22/09/2020 15:23:44 tester: ls -d /tmp 22/09/2020 15:23:44 tester: /tmp 22/09/2020 15:23:44 tester: scp -v /home/autoregression/jiangyu/dts-cbdma/output/tmp/pcap/pvp_multipath.pcap root@10.240.183.217:/tmp/pvp_multipath.pcap 22/09/2020 15:23:46 pktgen: test port 0 map gen port 0 22/09/2020 15:23:46 pktgen: test port 0 map gen port 0 22/09/2020 15:23:46 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'off', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:23:46 pktgen: trex port <0> not support flow control 22/09/2020 15:23:46 pktgen: trex packet generator: run traffic 5s to warm up ... 22/09/2020 15:23:46 pktgen: check the trex port link status 22/09/2020 15:23:46 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:23:46 pktgen: begin traffic ...... 22/09/2020 15:23:46 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True} 22/09/2020 15:23:51 pktgen: traffic completed. 22/09/2020 15:23:51 pktgen: check the trex port link status 22/09/2020 15:23:51 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:23:51 pktgen: begin traffic ...... 22/09/2020 15:23:51 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True} 22/09/2020 15:24:01 pktgen: begin get port statistic ... 22/09/2020 15:24:01 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random', 'end': '48.0.0.64', 'start': '48.0.0.1', 'step': 1}}}, 'pcap': '/tmp/pvp_multipath.pcap', 'stream_config': {'rate': 100, 'transmit_mode': 'continuous', 'txmode': {}}}, 'pcap_file': '/tmp/pvp_multipath.pcap', 'rx_port': 0, 'tx_port': 0} 22/09/2020 15:24:01 pktgen: {0: {'ibytes': 10608407936, 'ierrors': 0, 'ipackets': 165756395, 'obytes': 22728690432, 'oerrors': 0, 'opackets': 355135816, 'rx_bps': 8453714944.0, 'rx_bps_L1': 11095499264.0, 'rx_pps': 16511152.0, 'rx_util': 27.73874816, 'tx_bps': 18122496000.0, 'tx_bps_L1': 23785776640.0, 'tx_pps': 35395504.0, 'tx_util': 59.464441599999994}, 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': {'active_flows': 0.0, 'active_sockets': 0, 'bw_per_core': 9.198988914489746, 'cpu_util': 98.50264739990234, 'cpu_util_raw': 100.0, 'open_flows': 0.0, 'platform_factor': 1.0, 'queue_full': 0, 'rx_bps': 8453714944.0, 'rx_core_pps': 0.0, 'rx_cpu_util': 0.0, 'rx_drop_bps': 9668781056.0, 'rx_pps': 16511152.0, 'socket_util': 0.0, 'total_alloc_error': 0, 'total_clients': 0, 'total_servers': 0, 'tx_bps': 18122496000.0, 'tx_cps': 0.0, 'tx_expected_bps': 0.0, 'tx_expected_cps': 0.0, 'tx_expected_pps': 0.0, 'tx_pps': 35395504.0}, 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}}, 'total': {'ibytes': 10608407936, 'ierrors': 0, 'ipackets': 165756395, 'obytes': 22728690432, 'oerrors': 0, 'opackets': 355135816, 'rx_bps': 8453714944.0, 'rx_bps_L1': 11095499264.0, 'rx_pps': 16511152.0, 'rx_util': 27.73874816, 'tx_bps': 18122496000.0, 'tx_bps_L1': 23785776640.0, 'tx_pps': 35395504.0, 'tx_util': 59.464441599999994}} 22/09/2020 15:24:01 pktgen: {'ibytes': 10608407936, 'ierrors': 0, 'ipackets': 165756395, 'obytes': 22728690432, 'oerrors': 0, 'opackets': 355135816, 'rx_bps': 8453714944.0, 'rx_bps_L1': 11095499264.0, 'rx_pps': 16511152.0, 'rx_util': 27.73874816, 'tx_bps': 18122496000.0, 'tx_bps_L1': 23785776640.0, 'tx_pps': 35395504.0, 'tx_util': 59.464441599999994} 22/09/2020 15:24:01 pktgen: Tx Port 0 stats: tx_port: 0, tx_bps: 18122496000.000000, tx_pps: 35395504.000000 22/09/2020 15:24:01 pktgen: {'ibytes': 10608407936, 'ierrors': 0, 'ipackets': 165756395, 'obytes': 22728690432, 'oerrors': 0, 'opackets': 355135816, 'rx_bps': 8453714944.0, 'rx_bps_L1': 11095499264.0, 'rx_pps': 16511152.0, 'rx_util': 27.73874816, 'tx_bps': 18122496000.0, 'tx_bps_L1': 23785776640.0, 'tx_pps': 35395504.0, 'tx_util': 59.464441599999994} 22/09/2020 15:24:01 pktgen: Rx Port 0 stats: rx_port: 0, rx_bps: 8453714944.000000, rx_pps: 16511152.000000 22/09/2020 15:24:01 pktgen: throughput: pps_rx 16511152.000000, bps_rx 8453714944.000000 22/09/2020 15:24:01 pktgen: traffic completed. 22/09/2020 15:24:01 dut.10.240.183.220: stop 22/09/2020 15:24:01 dut.10.240.183.220: Telling cores to ... Waiting for lcores to finish... ------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 ------- RX-packets: 124289900 TX-packets: 124289900 TX-dropped: 0 ------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 ------- RX-packets: 124296256 TX-packets: 124296256 TX-dropped: 0 ---------------------- Forward statistics for port 0 ---------------------- RX-packets: 248586156 RX-dropped: 0 RX-total: 248586156 TX-packets: 248586156 TX-dropped: 0 TX-total: 248586156 ---------------------------------------------------------------------------- +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 248586156 RX-dropped: 0 RX-total: 248586156 TX-packets: 248586156 TX-dropped: 0 TX-total: 248586156 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Done. 22/09/2020 15:24:01 dut.10.240.183.220: start 22/09/2020 15:24:01 dut.10.240.183.220: mac packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native Logical Core 34 (socket 1) forwards packets on 1 streams: RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00 Logical Core 35 (socket 1) forwards packets on 1 streams: RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00 mac packet forwarding packets/burst=32 nb forwarding cores=2 - nb forwarding ports=1 port 0: RX queue number: 2 Tx queue number: 2 Rx offloads=0x0 Tx offloads=0x0 RX queue: 0 RX desc=0 - RX free threshold=0 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 RX Offloads=0x0 TX queue: 0 TX desc=0 - TX free threshold=0 TX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX offloads=0x0 - TX RS bit threshold=0 22/09/2020 15:24:04 tester: ls -d /tmp 22/09/2020 15:24:04 tester: /tmp 22/09/2020 15:24:04 tester: scp -v /home/autoregression/jiangyu/dts-cbdma/output/tmp/pcap/pvp_multipath.pcap root@10.240.183.217:/tmp/pvp_multipath.pcap 22/09/2020 15:24:06 pktgen: test port 0 map gen port 0 22/09/2020 15:24:06 pktgen: test port 0 map gen port 0 22/09/2020 15:24:06 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'off', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:24:06 pktgen: trex port <0> not support flow control 22/09/2020 15:24:06 pktgen: trex packet generator: run traffic 5s to warm up ... 22/09/2020 15:24:06 pktgen: check the trex port link status 22/09/2020 15:24:06 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:24:06 pktgen: begin traffic ...... 22/09/2020 15:24:06 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True} 22/09/2020 15:24:11 pktgen: traffic completed. 22/09/2020 15:24:11 pktgen: check the trex port link status 22/09/2020 15:24:11 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:24:11 pktgen: begin traffic ...... 22/09/2020 15:24:11 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True} 22/09/2020 15:24:21 pktgen: begin get port statistic ... 22/09/2020 15:24:21 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random', 'end': '48.0.0.64', 'start': '48.0.0.1', 'step': 1}}}, 'pcap': '/tmp/pvp_multipath.pcap', 'stream_config': {'rate': 100, 'transmit_mode': 'continuous', 'txmode': {}}}, 'pcap_file': '/tmp/pvp_multipath.pcap', 'rx_port': 0, 'tx_port': 0} 22/09/2020 15:24:21 pktgen: {0: {'ibytes': 10599859904, 'ierrors': 0, 'ipackets': 165622836, 'obytes': 22742804736, 'oerrors': 0, 'opackets': 355356358, 'rx_bps': 8479607296.0, 'rx_bps_L1': 11129484896.0, 'rx_pps': 16561735.0, 'rx_util': 27.82371224, 'tx_bps': 18180501504.0, 'tx_bps_L1': 23861908224.0, 'tx_pps': 35508792.0, 'tx_util': 59.65477056}, 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': {'active_flows': 0.0, 'active_sockets': 0, 'bw_per_core': 9.199997901916504, 'cpu_util': 98.80709838867188, 'cpu_util_raw': 100.0, 'open_flows': 0.0, 'platform_factor': 1.0, 'queue_full': 0, 'rx_bps': 8479607296.0, 'rx_core_pps': 0.0, 'rx_cpu_util': 0.0, 'rx_drop_bps': 9700894720.0, 'rx_pps': 16561735.0, 'socket_util': 0.0, 'total_alloc_error': 0, 'total_clients': 0, 'total_servers': 0, 'tx_bps': 18180501504.0, 'tx_cps': 0.0, 'tx_expected_bps': 0.0, 'tx_expected_cps': 0.0, 'tx_expected_pps': 0.0, 'tx_pps': 35508792.0}, 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}}, 'total': {'ibytes': 10599859904, 'ierrors': 0, 'ipackets': 165622836, 'obytes': 22742804736, 'oerrors': 0, 'opackets': 355356358, 'rx_bps': 8479607296.0, 'rx_bps_L1': 11129484896.0, 'rx_pps': 16561735.0, 'rx_util': 27.82371224, 'tx_bps': 18180501504.0, 'tx_bps_L1': 23861908224.0, 'tx_pps': 35508792.0, 'tx_util': 59.65477056}} 22/09/2020 15:24:21 pktgen: {'ibytes': 10599859904, 'ierrors': 0, 'ipackets': 165622836, 'obytes': 22742804736, 'oerrors': 0, 'opackets': 355356358, 'rx_bps': 8479607296.0, 'rx_bps_L1': 11129484896.0, 'rx_pps': 16561735.0, 'rx_util': 27.82371224, 'tx_bps': 18180501504.0, 'tx_bps_L1': 23861908224.0, 'tx_pps': 35508792.0, 'tx_util': 59.65477056} 22/09/2020 15:24:21 pktgen: Tx Port 0 stats: tx_port: 0, tx_bps: 18180501504.000000, tx_pps: 35508792.000000 22/09/2020 15:24:21 pktgen: {'ibytes': 10599859904, 'ierrors': 0, 'ipackets': 165622836, 'obytes': 22742804736, 'oerrors': 0, 'opackets': 355356358, 'rx_bps': 8479607296.0, 'rx_bps_L1': 11129484896.0, 'rx_pps': 16561735.0, 'rx_util': 27.82371224, 'tx_bps': 18180501504.0, 'tx_bps_L1': 23861908224.0, 'tx_pps': 35508792.0, 'tx_util': 59.65477056} 22/09/2020 15:24:21 pktgen: Rx Port 0 stats: rx_port: 0, rx_bps: 8479607296.000000, rx_pps: 16561735.000000 22/09/2020 15:24:21 pktgen: throughput: pps_rx 16561735.000000, bps_rx 8479607296.000000 22/09/2020 15:24:21 pktgen: traffic completed. 22/09/2020 15:24:21 dut.10.240.183.220: stop 22/09/2020 15:24:21 dut.10.240.183.220: Telling cores to ... Waiting for lcores to finish... ------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 ------- RX-packets: 124137037 TX-packets: 124137037 TX-dropped: 0 ------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 ------- RX-packets: 124503127 TX-packets: 124503127 TX-dropped: 0 ---------------------- Forward statistics for port 0 ---------------------- RX-packets: 248640164 RX-dropped: 0 RX-total: 248640164 TX-packets: 248640164 TX-dropped: 0 TX-total: 248640164 ---------------------------------------------------------------------------- +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 248640164 RX-dropped: 0 RX-total: 248640164 TX-packets: 248640164 TX-dropped: 0 TX-total: 248640164 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Done. 22/09/2020 15:24:21 dut.10.240.183.220: start 22/09/2020 15:24:21 dut.10.240.183.220: mac packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native Logical Core 34 (socket 1) forwards packets on 1 streams: RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00 Logical Core 35 (socket 1) forwards packets on 1 streams: RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00 mac packet forwarding packets/burst=32 nb forwarding cores=2 - nb forwarding ports=1 port 0: RX queue number: 2 Tx queue number: 2 Rx offloads=0x0 Tx offloads=0x0 RX queue: 0 RX desc=0 - RX free threshold=0 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 RX Offloads=0x0 TX queue: 0 TX desc=0 - TX free threshold=0 TX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX offloads=0x0 - TX RS bit threshold=0 22/09/2020 15:24:23 dut.10.240.183.220: quit 22/09/2020 15:24:23 dut.10.240.183.220: Telling cores to stop... Waiting for lcores to finish... ---------------------- Forward statistics for port 0 ---------------------- RX-packets: 0 RX-dropped: 0 RX-total: 0 TX-packets: 0 TX-dropped: 0 TX-total: 0 ---------------------------------------------------------------------------- +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 0 RX-dropped: 0 RX-total: 0 TX-packets: 0 TX-dropped: 0 TX-total: 0 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Done. Stopping port 0... Stopping ports... Done Shutting down port 0... Closing ports... 22/09/2020 15:24:23 TestPVPVirtioUserMultiQueuesPortRestart: +--------------+------------------------------+------------------+------------+----------------+ | FrameSize(B) | Mode | Throughput(Mpps) | % linerate | Cycle | +==============+==============================+==================+============+================+ | 64 | split_ring_inorder_mergeable | 16.511 | 27.739 | Before Restart | +--------------+------------------------------+------------------+------------+----------------+ | 64 | split_ring_inorder_mergeable | 16.562 | 27.824 | After Restart | +--------------+------------------------------+------------------+------------+----------------+ 22/09/2020 15:24:23 TestPVPVirtioUserMultiQueuesPortRestart: Test Case test_perf_pvp_2queues_test_with_split_ring_inorder_mergeable_path Result PASSED: 22/09/2020 15:24:23 dut.10.240.183.220: kill_all: called by dut and prefix list has value. 22/09/2020 15:24:26 TestPVPVirtioUserMultiQueuesPortRestart: Test Case test_perf_pvp_2queues_test_with_split_ring_inorder_nonmergeable_path Begin 22/09/2020 15:24:26 dut.10.240.183.220: 22/09/2020 15:24:26 tester: 22/09/2020 15:24:26 dut.10.240.183.220: rm -rf ./vhost.out 22/09/2020 15:24:26 dut.10.240.183.220: 22/09/2020 15:24:26 dut.10.240.183.220: killall -s INT dpdk-testpmd 22/09/2020 15:24:26 dut.10.240.183.220: dpdk-testpmd: no process found 22/09/2020 15:24:26 dut.10.240.183.220: rm -rf ./vhost-net* 22/09/2020 15:24:26 dut.10.240.183.220: 22/09/2020 15:24:28 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}' 22/09/2020 15:24:28 dut.10.240.183.220: 1048576 22/09/2020 15:24:28 dut.10.240.183.220: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 33,34,35 -n 4 --file-prefix=virtio_24554_20200922140317 --no-pci --vdev net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=2,in_order=1,mrg_rxbuf=0,vectorized=1 -- -i --tx-offloads=0x0 --rss-ip --nb-cores=2 --rxq=2 --txq=2 --rss-ip 22/09/2020 15:24:28 dut.10.240.183.220: EAL: Detected 112 lcore(s) EAL: Detected 2 NUMA nodes EAL: Multi-process socket /var/run/dpdk/virtio_24554_20200922140317/mp_socket EAL: Selected IOVA mode 'VA' EAL: Probing VFIO support... EAL: VFIO support initialized Interactive-mode selected Warning: NUMA should be configured manually by using --port-numa-config and --ring-numa-config parameters along with --numa. testpmd: create a new mbuf pool : n=163456, size=2176, socket=1 testpmd: preferred mempool ops selected: ring_mp_mc Warning! port-topology=paired and odd forward ports number, the last port will pair with itself. Configuring Port 0 (socket 1) Port 0: 00:01:02:03:04:05 Checking link statuses... Done 22/09/2020 15:24:28 dut.10.240.183.220: set fwd mac 22/09/2020 15:24:28 dut.10.240.183.220: Set mac packet forwarding mode 22/09/2020 15:24:28 dut.10.240.183.220: start 22/09/2020 15:24:28 dut.10.240.183.220: mac packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native Logical Core 34 (socket 1) forwards packets on 1 streams: RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00 Logical Core 35 (socket 1) forwards packets on 1 streams: RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00 mac packet forwarding packets/burst=32 nb forwarding cores=2 - nb forwarding ports=1 port 0: RX queue number: 2 Tx queue number: 2 Rx offloads=0x0 Tx offloads=0x0 RX queue: 0 RX desc=0 - RX free threshold=0 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 RX Offloads=0x0 TX queue: 0 TX desc=0 - TX free threshold=0 TX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX offloads=0x0 - TX RS bit threshold=0 22/09/2020 15:24:28 TestPVPVirtioUserMultiQueuesPortRestart: Running test test_perf_pvp_2queues_test_with_split_ring_inorder_nonmergeable_path, and 64 frame size. 22/09/2020 15:24:28 tester: ls -d /tmp 22/09/2020 15:24:29 tester: /tmp 22/09/2020 15:24:29 tester: scp -v /home/autoregression/jiangyu/dts-cbdma/output/tmp/pcap/pvp_multipath.pcap root@10.240.183.217:/tmp/pvp_multipath.pcap 22/09/2020 15:24:31 pktgen: test port 0 map gen port 0 22/09/2020 15:24:31 pktgen: test port 0 map gen port 0 22/09/2020 15:24:31 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'off', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:24:31 pktgen: trex port <0> not support flow control 22/09/2020 15:24:31 pktgen: trex packet generator: run traffic 5s to warm up ... 22/09/2020 15:24:31 pktgen: check the trex port link status 22/09/2020 15:24:31 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:24:31 pktgen: begin traffic ...... 22/09/2020 15:24:31 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True} 22/09/2020 15:24:36 pktgen: traffic completed. 22/09/2020 15:24:36 pktgen: check the trex port link status 22/09/2020 15:24:36 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:24:36 pktgen: begin traffic ...... 22/09/2020 15:24:36 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True} 22/09/2020 15:24:46 pktgen: begin get port statistic ... 22/09/2020 15:24:46 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random', 'end': '48.0.0.64', 'start': '48.0.0.1', 'step': 1}}}, 'pcap': '/tmp/pvp_multipath.pcap', 'stream_config': {'rate': 100, 'transmit_mode': 'continuous', 'txmode': {}}}, 'pcap_file': '/tmp/pvp_multipath.pcap', 'rx_port': 0, 'tx_port': 0} 22/09/2020 15:24:46 pktgen: {0: {'ibytes': 10573343424, 'ierrors': 0, 'ipackets': 165208507, 'obytes': 22720912448, 'oerrors': 0, 'opackets': 355014277, 'rx_bps': 8474934784.0, 'rx_bps_L1': 11123351104.0, 'rx_pps': 16552602.0, 'rx_util': 27.808377760000003, 'tx_bps': 18201851904.0, 'tx_bps_L1': 23889929984.0, 'tx_pps': 35550488.0, 'tx_util': 59.72482496}, 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': {'active_flows': 0.0, 'active_sockets': 0, 'bw_per_core': 9.233141899108887, 'cpu_util': 98.56803131103516, 'cpu_util_raw': 100.0, 'open_flows': 0.0, 'platform_factor': 1.0, 'queue_full': 0, 'rx_bps': 8474934784.0, 'rx_core_pps': 0.0, 'rx_cpu_util': 0.0, 'rx_drop_bps': 9726916608.0, 'rx_pps': 16552602.0, 'socket_util': 0.0, 'total_alloc_error': 0, 'total_clients': 0, 'total_servers': 0, 'tx_bps': 18201851904.0, 'tx_cps': 0.0, 'tx_expected_bps': 0.0, 'tx_expected_cps': 0.0, 'tx_expected_pps': 0.0, 'tx_pps': 35550488.0}, 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}}, 'total': {'ibytes': 10573343424, 'ierrors': 0, 'ipackets': 165208507, 'obytes': 22720912448, 'oerrors': 0, 'opackets': 355014277, 'rx_bps': 8474934784.0, 'rx_bps_L1': 11123351104.0, 'rx_pps': 16552602.0, 'rx_util': 27.808377760000003, 'tx_bps': 18201851904.0, 'tx_bps_L1': 23889929984.0, 'tx_pps': 35550488.0, 'tx_util': 59.72482496}} 22/09/2020 15:24:46 pktgen: {'ibytes': 10573343424, 'ierrors': 0, 'ipackets': 165208507, 'obytes': 22720912448, 'oerrors': 0, 'opackets': 355014277, 'rx_bps': 8474934784.0, 'rx_bps_L1': 11123351104.0, 'rx_pps': 16552602.0, 'rx_util': 27.808377760000003, 'tx_bps': 18201851904.0, 'tx_bps_L1': 23889929984.0, 'tx_pps': 35550488.0, 'tx_util': 59.72482496} 22/09/2020 15:24:46 pktgen: Tx Port 0 stats: tx_port: 0, tx_bps: 18201851904.000000, tx_pps: 35550488.000000 22/09/2020 15:24:46 pktgen: {'ibytes': 10573343424, 'ierrors': 0, 'ipackets': 165208507, 'obytes': 22720912448, 'oerrors': 0, 'opackets': 355014277, 'rx_bps': 8474934784.0, 'rx_bps_L1': 11123351104.0, 'rx_pps': 16552602.0, 'rx_util': 27.808377760000003, 'tx_bps': 18201851904.0, 'tx_bps_L1': 23889929984.0, 'tx_pps': 35550488.0, 'tx_util': 59.72482496} 22/09/2020 15:24:46 pktgen: Rx Port 0 stats: rx_port: 0, rx_bps: 8474934784.000000, rx_pps: 16552602.000000 22/09/2020 15:24:46 pktgen: throughput: pps_rx 16552602.000000, bps_rx 8474934784.000000 22/09/2020 15:24:46 pktgen: traffic completed. 22/09/2020 15:24:46 dut.10.240.183.220: stop 22/09/2020 15:24:46 dut.10.240.183.220: Telling cores to ... Waiting for lcores to finish... ------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 ------- RX-packets: 124288143 TX-packets: 124288143 TX-dropped: 0 ------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 ------- RX-packets: 123764184 TX-packets: 123764184 TX-dropped: 0 ---------------------- Forward statistics for port 0 ---------------------- RX-packets: 248052327 RX-dropped: 0 RX-total: 248052327 TX-packets: 248052327 TX-dropped: 0 TX-total: 248052327 ---------------------------------------------------------------------------- +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 248052327 RX-dropped: 0 RX-total: 248052327 TX-packets: 248052327 TX-dropped: 0 TX-total: 248052327 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Done. 22/09/2020 15:24:46 dut.10.240.183.220: start 22/09/2020 15:24:46 dut.10.240.183.220: mac packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native Logical Core 34 (socket 1) forwards packets on 1 streams: RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00 Logical Core 35 (socket 1) forwards packets on 1 streams: RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00 mac packet forwarding packets/burst=32 nb forwarding cores=2 - nb forwarding ports=1 port 0: RX queue number: 2 Tx queue number: 2 Rx offloads=0x0 Tx offloads=0x0 RX queue: 0 RX desc=0 - RX free threshold=0 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 RX Offloads=0x0 TX queue: 0 TX desc=0 - TX free threshold=0 TX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX offloads=0x0 - TX RS bit threshold=0 22/09/2020 15:24:49 tester: ls -d /tmp 22/09/2020 15:24:49 tester: /tmp 22/09/2020 15:24:49 tester: scp -v /home/autoregression/jiangyu/dts-cbdma/output/tmp/pcap/pvp_multipath.pcap root@10.240.183.217:/tmp/pvp_multipath.pcap 22/09/2020 15:24:51 pktgen: test port 0 map gen port 0 22/09/2020 15:24:51 pktgen: test port 0 map gen port 0 22/09/2020 15:24:51 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'off', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:24:51 pktgen: trex port <0> not support flow control 22/09/2020 15:24:51 pktgen: trex packet generator: run traffic 5s to warm up ... 22/09/2020 15:24:51 pktgen: check the trex port link status 22/09/2020 15:24:51 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:24:51 pktgen: begin traffic ...... 22/09/2020 15:24:51 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True} 22/09/2020 15:24:56 pktgen: traffic completed. 22/09/2020 15:24:56 pktgen: check the trex port link status 22/09/2020 15:24:56 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:24:56 pktgen: begin traffic ...... 22/09/2020 15:24:56 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True} 22/09/2020 15:25:06 pktgen: begin get port statistic ... 22/09/2020 15:25:06 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random', 'end': '48.0.0.64', 'start': '48.0.0.1', 'step': 1}}}, 'pcap': '/tmp/pvp_multipath.pcap', 'stream_config': {'rate': 100, 'transmit_mode': 'continuous', 'txmode': {}}}, 'pcap_file': '/tmp/pvp_multipath.pcap', 'rx_port': 0, 'tx_port': 0} 22/09/2020 15:25:06 pktgen: {0: {'ibytes': 10535007616, 'ierrors': 0, 'ipackets': 164609523, 'obytes': 22735553152, 'oerrors': 0, 'opackets': 355243044, 'rx_bps': 8404328960.0, 'rx_bps_L1': 11030683200.0, 'rx_pps': 16414714.0, 'rx_util': 27.576708, 'tx_bps': 18127872000.0, 'tx_bps_L1': 23792830719.999996, 'tx_pps': 35405992.0, 'tx_util': 59.482076799999994}, 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': {'active_flows': 0.0, 'active_sockets': 0, 'bw_per_core': 9.16767692565918, 'cpu_util': 98.86840057373047, 'cpu_util_raw': 100.0, 'open_flows': 0.0, 'platform_factor': 1.0, 'queue_full': 0, 'rx_bps': 8404328960.0, 'rx_core_pps': 0.0, 'rx_cpu_util': 0.0, 'rx_drop_bps': 9723541504.0, 'rx_pps': 16414714.0, 'socket_util': 0.0, 'total_alloc_error': 0, 'total_clients': 0, 'total_servers': 0, 'tx_bps': 18127872000.0, 'tx_cps': 0.0, 'tx_expected_bps': 0.0, 'tx_expected_cps': 0.0, 'tx_expected_pps': 0.0, 'tx_pps': 35405992.0}, 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}}, 'total': {'ibytes': 10535007616, 'ierrors': 0, 'ipackets': 164609523, 'obytes': 22735553152, 'oerrors': 0, 'opackets': 355243044, 'rx_bps': 8404328960.0, 'rx_bps_L1': 11030683200.0, 'rx_pps': 16414714.0, 'rx_util': 27.576708, 'tx_bps': 18127872000.0, 'tx_bps_L1': 23792830719.999996, 'tx_pps': 35405992.0, 'tx_util': 59.482076799999994}} 22/09/2020 15:25:06 pktgen: {'ibytes': 10535007616, 'ierrors': 0, 'ipackets': 164609523, 'obytes': 22735553152, 'oerrors': 0, 'opackets': 355243044, 'rx_bps': 8404328960.0, 'rx_bps_L1': 11030683200.0, 'rx_pps': 16414714.0, 'rx_util': 27.576708, 'tx_bps': 18127872000.0, 'tx_bps_L1': 23792830719.999996, 'tx_pps': 35405992.0, 'tx_util': 59.482076799999994} 22/09/2020 15:25:06 pktgen: Tx Port 0 stats: tx_port: 0, tx_bps: 18127872000.000000, tx_pps: 35405992.000000 22/09/2020 15:25:06 pktgen: {'ibytes': 10535007616, 'ierrors': 0, 'ipackets': 164609523, 'obytes': 22735553152, 'oerrors': 0, 'opackets': 355243044, 'rx_bps': 8404328960.0, 'rx_bps_L1': 11030683200.0, 'rx_pps': 16414714.0, 'rx_util': 27.576708, 'tx_bps': 18127872000.0, 'tx_bps_L1': 23792830719.999996, 'tx_pps': 35405992.0, 'tx_util': 59.482076799999994} 22/09/2020 15:25:06 pktgen: Rx Port 0 stats: rx_port: 0, rx_bps: 8404328960.000000, rx_pps: 16414714.000000 22/09/2020 15:25:06 pktgen: throughput: pps_rx 16414714.000000, bps_rx 8404328960.000000 22/09/2020 15:25:06 pktgen: traffic completed. 22/09/2020 15:25:06 dut.10.240.183.220: stop 22/09/2020 15:25:06 dut.10.240.183.220: Telling cores to ... Waiting for lcores to finish... ------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 ------- RX-packets: 123774959 TX-packets: 123774959 TX-dropped: 0 ------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 ------- RX-packets: 123260649 TX-packets: 123260649 TX-dropped: 0 ---------------------- Forward statistics for port 0 ---------------------- RX-packets: 247035608 RX-dropped: 0 RX-total: 247035608 TX-packets: 247035608 TX-dropped: 0 TX-total: 247035608 ---------------------------------------------------------------------------- +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 247035608 RX-dropped: 0 RX-total: 247035608 TX-packets: 247035608 TX-dropped: 0 TX-total: 247035608 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Done. 22/09/2020 15:25:06 dut.10.240.183.220: start 22/09/2020 15:25:06 dut.10.240.183.220: mac packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native Logical Core 34 (socket 1) forwards packets on 1 streams: RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00 Logical Core 35 (socket 1) forwards packets on 1 streams: RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00 mac packet forwarding packets/burst=32 nb forwarding cores=2 - nb forwarding ports=1 port 0: RX queue number: 2 Tx queue number: 2 Rx offloads=0x0 Tx offloads=0x0 RX queue: 0 RX desc=0 - RX free threshold=0 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 RX Offloads=0x0 TX queue: 0 TX desc=0 - TX free threshold=0 TX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX offloads=0x0 - TX RS bit threshold=0 22/09/2020 15:25:07 dut.10.240.183.220: quit 22/09/2020 15:25:07 dut.10.240.183.220: Telling cores to stop... Waiting for lcores to finish... ---------------------- Forward statistics for port 0 ---------------------- RX-packets: 0 RX-dropped: 0 RX-total: 0 TX-packets: 0 TX-dropped: 0 TX-total: 0 ---------------------------------------------------------------------------- +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 0 RX-dropped: 0 RX-total: 0 TX-packets: 0 TX-dropped: 0 TX-total: 0 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Done. Stopping port 0... Stopping ports... Done Shutting down port 0... Closing ports... 22/09/2020 15:25:07 TestPVPVirtioUserMultiQueuesPortRestart: +--------------+---------------------------------+------------------+------------+----------------+ | FrameSize(B) | Mode | Throughput(Mpps) | % linerate | Cycle | +==============+=================================+==================+============+================+ | 64 | split_ring_inorder_nonmergeable | 16.553 | 27.808 | Before Restart | +--------------+---------------------------------+------------------+------------+----------------+ | 64 | split_ring_inorder_nonmergeable | 16.415 | 27.577 | After Restart | +--------------+---------------------------------+------------------+------------+----------------+ 22/09/2020 15:25:07 TestPVPVirtioUserMultiQueuesPortRestart: Test Case test_perf_pvp_2queues_test_with_split_ring_inorder_nonmergeable_path Result PASSED: 22/09/2020 15:25:07 dut.10.240.183.220: kill_all: called by dut and prefix list has value. 22/09/2020 15:25:11 TestPVPVirtioUserMultiQueuesPortRestart: Test Case test_perf_pvp_2queues_test_with_split_ring_mergeable_path Begin 22/09/2020 15:25:11 dut.10.240.183.220: 22/09/2020 15:25:11 tester: 22/09/2020 15:25:11 dut.10.240.183.220: rm -rf ./vhost.out 22/09/2020 15:25:11 dut.10.240.183.220: 22/09/2020 15:25:11 dut.10.240.183.220: killall -s INT dpdk-testpmd 22/09/2020 15:25:11 dut.10.240.183.220: dpdk-testpmd: no process found 22/09/2020 15:25:11 dut.10.240.183.220: rm -rf ./vhost-net* 22/09/2020 15:25:11 dut.10.240.183.220: 22/09/2020 15:25:12 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}' 22/09/2020 15:25:12 dut.10.240.183.220: 1048576 22/09/2020 15:25:12 dut.10.240.183.220: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 33,34,35 -n 4 --file-prefix=virtio_24554_20200922140317 --no-pci --vdev net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=2,in_order=0,mrg_rxbuf=1 -- -i --tx-offloads=0x0 --rss-ip --nb-cores=2 --rxq=2 --txq=2 --rss-ip 22/09/2020 15:25:13 dut.10.240.183.220: EAL: Detected 112 lcore(s) EAL: Detected 2 NUMA nodes EAL: Multi-process socket /var/run/dpdk/virtio_24554_20200922140317/mp_socket EAL: Selected IOVA mode 'VA' EAL: Probing VFIO support... EAL: VFIO support initialized Interactive-mode selected Warning: NUMA should be configured manually by using --port-numa-config and --ring-numa-config parameters along with --numa. testpmd: create a new mbuf pool : n=163456, size=2176, socket=1 testpmd: preferred mempool ops selected: ring_mp_mc Warning! port-topology=paired and odd forward ports number, the last port will pair with itself. Configuring Port 0 (socket 1) Port 0: 00:01:02:03:04:05 Checking link statuses... Done 22/09/2020 15:25:13 dut.10.240.183.220: set fwd mac 22/09/2020 15:25:13 dut.10.240.183.220: Set mac packet forwarding mode 22/09/2020 15:25:13 dut.10.240.183.220: start 22/09/2020 15:25:13 dut.10.240.183.220: mac packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native Logical Core 34 (socket 1) forwards packets on 1 streams: RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00 Logical Core 35 (socket 1) forwards packets on 1 streams: RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00 mac packet forwarding packets/burst=32 nb forwarding cores=2 - nb forwarding ports=1 port 0: RX queue number: 2 Tx queue number: 2 Rx offloads=0x0 Tx offloads=0x0 RX queue: 0 RX desc=0 - RX free threshold=0 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 RX Offloads=0x0 TX queue: 0 TX desc=0 - TX free threshold=0 TX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX offloads=0x0 - TX RS bit threshold=0 22/09/2020 15:25:13 TestPVPVirtioUserMultiQueuesPortRestart: Running test test_perf_pvp_2queues_test_with_split_ring_mergeable_path, and 64 frame size. 22/09/2020 15:25:13 tester: ls -d /tmp 22/09/2020 15:25:13 tester: /tmp 22/09/2020 15:25:13 tester: scp -v /home/autoregression/jiangyu/dts-cbdma/output/tmp/pcap/pvp_multipath.pcap root@10.240.183.217:/tmp/pvp_multipath.pcap 22/09/2020 15:25:15 pktgen: test port 0 map gen port 0 22/09/2020 15:25:15 pktgen: test port 0 map gen port 0 22/09/2020 15:25:15 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'off', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:25:15 pktgen: trex port <0> not support flow control 22/09/2020 15:25:15 pktgen: trex packet generator: run traffic 5s to warm up ... 22/09/2020 15:25:15 pktgen: check the trex port link status 22/09/2020 15:25:15 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:25:15 pktgen: begin traffic ...... 22/09/2020 15:25:15 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True} 22/09/2020 15:25:20 pktgen: traffic completed. 22/09/2020 15:25:20 pktgen: check the trex port link status 22/09/2020 15:25:20 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:25:20 pktgen: begin traffic ...... 22/09/2020 15:25:20 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True} 22/09/2020 15:25:30 pktgen: begin get port statistic ... 22/09/2020 15:25:30 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random', 'end': '48.0.0.64', 'start': '48.0.0.1', 'step': 1}}}, 'pcap': '/tmp/pvp_multipath.pcap', 'stream_config': {'rate': 100, 'transmit_mode': 'continuous', 'txmode': {}}}, 'pcap_file': '/tmp/pvp_multipath.pcap', 'rx_port': 0, 'tx_port': 0} 22/09/2020 15:25:30 pktgen: {0: {'ibytes': 10456261504, 'ierrors': 0, 'ipackets': 163379119, 'obytes': 22700698496, 'oerrors': 0, 'opackets': 354698450, 'rx_bps': 8338697216.0, 'rx_bps_L1': 10944542175.999998, 'rx_pps': 16286531.0, 'rx_util': 27.361355439999997, 'tx_bps': 18114390016.0, 'tx_bps_L1': 23775136896.0, 'tx_pps': 35379668.0, 'tx_util': 59.43784224}, 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': {'active_flows': 0.0, 'active_sockets': 0, 'bw_per_core': 9.183127403259277, 'cpu_util': 98.62865447998047, 'cpu_util_raw': 100.0, 'open_flows': 0.0, 'platform_factor': 1.0, 'queue_full': 0, 'rx_bps': 8338697216.0, 'rx_core_pps': 0.0, 'rx_cpu_util': 0.0, 'rx_drop_bps': 9775693824.0, 'rx_pps': 16286531.0, 'socket_util': 0.0, 'total_alloc_error': 0, 'total_clients': 0, 'total_servers': 0, 'tx_bps': 18114390016.0, 'tx_cps': 0.0, 'tx_expected_bps': 0.0, 'tx_expected_cps': 0.0, 'tx_expected_pps': 0.0, 'tx_pps': 35379668.0}, 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}}, 'total': {'ibytes': 10456261504, 'ierrors': 0, 'ipackets': 163379119, 'obytes': 22700698496, 'oerrors': 0, 'opackets': 354698450, 'rx_bps': 8338697216.0, 'rx_bps_L1': 10944542175.999998, 'rx_pps': 16286531.0, 'rx_util': 27.361355439999997, 'tx_bps': 18114390016.0, 'tx_bps_L1': 23775136896.0, 'tx_pps': 35379668.0, 'tx_util': 59.43784224}} 22/09/2020 15:25:30 pktgen: {'ibytes': 10456261504, 'ierrors': 0, 'ipackets': 163379119, 'obytes': 22700698496, 'oerrors': 0, 'opackets': 354698450, 'rx_bps': 8338697216.0, 'rx_bps_L1': 10944542175.999998, 'rx_pps': 16286531.0, 'rx_util': 27.361355439999997, 'tx_bps': 18114390016.0, 'tx_bps_L1': 23775136896.0, 'tx_pps': 35379668.0, 'tx_util': 59.43784224} 22/09/2020 15:25:30 pktgen: Tx Port 0 stats: tx_port: 0, tx_bps: 18114390016.000000, tx_pps: 35379668.000000 22/09/2020 15:25:30 pktgen: {'ibytes': 10456261504, 'ierrors': 0, 'ipackets': 163379119, 'obytes': 22700698496, 'oerrors': 0, 'opackets': 354698450, 'rx_bps': 8338697216.0, 'rx_bps_L1': 10944542175.999998, 'rx_pps': 16286531.0, 'rx_util': 27.361355439999997, 'tx_bps': 18114390016.0, 'tx_bps_L1': 23775136896.0, 'tx_pps': 35379668.0, 'tx_util': 59.43784224} 22/09/2020 15:25:30 pktgen: Rx Port 0 stats: rx_port: 0, rx_bps: 8338697216.000000, rx_pps: 16286531.000000 22/09/2020 15:25:30 pktgen: throughput: pps_rx 16286531.000000, bps_rx 8338697216.000000 22/09/2020 15:25:30 pktgen: traffic completed. 22/09/2020 15:25:30 dut.10.240.183.220: stop 22/09/2020 15:25:30 dut.10.240.183.220: Telling cores to ... Waiting for lcores to finish... ------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 ------- RX-packets: 122600736 TX-packets: 122600736 TX-dropped: 0 ------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 ------- RX-packets: 122644672 TX-packets: 122644672 TX-dropped: 0 ---------------------- Forward statistics for port 0 ---------------------- RX-packets: 245245408 RX-dropped: 0 RX-total: 245245408 TX-packets: 245245408 TX-dropped: 0 TX-total: 245245408 ---------------------------------------------------------------------------- +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 245245408 RX-dropped: 0 RX-total: 245245408 TX-packets: 245245408 TX-dropped: 0 TX-total: 245245408 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Done. 22/09/2020 15:25:30 dut.10.240.183.220: start 22/09/2020 15:25:30 dut.10.240.183.220: mac packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native Logical Core 34 (socket 1) forwards packets on 1 streams: RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00 Logical Core 35 (socket 1) forwards packets on 1 streams: RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00 mac packet forwarding packets/burst=32 nb forwarding cores=2 - nb forwarding ports=1 port 0: RX queue number: 2 Tx queue number: 2 Rx offloads=0x0 Tx offloads=0x0 RX queue: 0 RX desc=0 - RX free threshold=0 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 RX Offloads=0x0 TX queue: 0 TX desc=0 - TX free threshold=0 TX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX offloads=0x0 - TX RS bit threshold=0 22/09/2020 15:25:33 tester: ls -d /tmp 22/09/2020 15:25:33 tester: /tmp 22/09/2020 15:25:33 tester: scp -v /home/autoregression/jiangyu/dts-cbdma/output/tmp/pcap/pvp_multipath.pcap root@10.240.183.217:/tmp/pvp_multipath.pcap 22/09/2020 15:25:35 pktgen: test port 0 map gen port 0 22/09/2020 15:25:35 pktgen: test port 0 map gen port 0 22/09/2020 15:25:35 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'off', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:25:35 pktgen: trex port <0> not support flow control 22/09/2020 15:25:35 pktgen: trex packet generator: run traffic 5s to warm up ... 22/09/2020 15:25:35 pktgen: check the trex port link status 22/09/2020 15:25:35 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:25:35 pktgen: begin traffic ...... 22/09/2020 15:25:35 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True} 22/09/2020 15:25:40 pktgen: traffic completed. 22/09/2020 15:25:40 pktgen: check the trex port link status 22/09/2020 15:25:40 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:25:40 pktgen: begin traffic ...... 22/09/2020 15:25:40 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True} 22/09/2020 15:25:50 pktgen: begin get port statistic ... 22/09/2020 15:25:50 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random', 'end': '48.0.0.64', 'start': '48.0.0.1', 'step': 1}}}, 'pcap': '/tmp/pvp_multipath.pcap', 'stream_config': {'rate': 100, 'transmit_mode': 'continuous', 'txmode': {}}}, 'pcap_file': '/tmp/pvp_multipath.pcap', 'rx_port': 0, 'tx_port': 0} 22/09/2020 15:25:50 pktgen: {0: {'ibytes': 10444098816, 'ierrors': 0, 'ipackets': 163189077, 'obytes': 22740552896, 'oerrors': 0, 'opackets': 355321172, 'rx_bps': 8360755712.0, 'rx_bps_L1': 10973491711.999998, 'rx_pps': 16329600.0, 'rx_util': 27.433729279999998, 'tx_bps': 18207477760.0, 'tx_bps_L1': 23897315200.0, 'tx_pps': 35561484.0, 'tx_util': 59.74328800000001}, 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': {'active_flows': 0.0, 'active_sockets': 0, 'bw_per_core': 9.23047161102295, 'cpu_util': 98.62701416015625, 'cpu_util_raw': 100.0, 'open_flows': 0.0, 'platform_factor': 1.0, 'queue_full': 0, 'rx_bps': 8360755712.0, 'rx_core_pps': 0.0, 'rx_cpu_util': 0.0, 'rx_drop_bps': 9846722560.0, 'rx_pps': 16329600.0, 'socket_util': 0.0, 'total_alloc_error': 0, 'total_clients': 0, 'total_servers': 0, 'tx_bps': 18207477760.0, 'tx_cps': 0.0, 'tx_expected_bps': 0.0, 'tx_expected_cps': 0.0, 'tx_expected_pps': 0.0, 'tx_pps': 35561484.0}, 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}}, 'total': {'ibytes': 10444098816, 'ierrors': 0, 'ipackets': 163189077, 'obytes': 22740552896, 'oerrors': 0, 'opackets': 355321172, 'rx_bps': 8360755712.0, 'rx_bps_L1': 10973491711.999998, 'rx_pps': 16329600.0, 'rx_util': 27.433729279999998, 'tx_bps': 18207477760.0, 'tx_bps_L1': 23897315200.0, 'tx_pps': 35561484.0, 'tx_util': 59.74328800000001}} 22/09/2020 15:25:50 pktgen: {'ibytes': 10444098816, 'ierrors': 0, 'ipackets': 163189077, 'obytes': 22740552896, 'oerrors': 0, 'opackets': 355321172, 'rx_bps': 8360755712.0, 'rx_bps_L1': 10973491711.999998, 'rx_pps': 16329600.0, 'rx_util': 27.433729279999998, 'tx_bps': 18207477760.0, 'tx_bps_L1': 23897315200.0, 'tx_pps': 35561484.0, 'tx_util': 59.74328800000001} 22/09/2020 15:25:50 pktgen: Tx Port 0 stats: tx_port: 0, tx_bps: 18207477760.000000, tx_pps: 35561484.000000 22/09/2020 15:25:50 pktgen: {'ibytes': 10444098816, 'ierrors': 0, 'ipackets': 163189077, 'obytes': 22740552896, 'oerrors': 0, 'opackets': 355321172, 'rx_bps': 8360755712.0, 'rx_bps_L1': 10973491711.999998, 'rx_pps': 16329600.0, 'rx_util': 27.433729279999998, 'tx_bps': 18207477760.0, 'tx_bps_L1': 23897315200.0, 'tx_pps': 35561484.0, 'tx_util': 59.74328800000001} 22/09/2020 15:25:50 pktgen: Rx Port 0 stats: rx_port: 0, rx_bps: 8360755712.000000, rx_pps: 16329600.000000 22/09/2020 15:25:50 pktgen: throughput: pps_rx 16329600.000000, bps_rx 8360755712.000000 22/09/2020 15:25:50 pktgen: traffic completed. 22/09/2020 15:25:50 dut.10.240.183.220: stop 22/09/2020 15:25:50 dut.10.240.183.220: Telling cores to ... Waiting for lcores to finish... ------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 ------- RX-packets: 122582364 TX-packets: 122582364 TX-dropped: 0 ------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 ------- RX-packets: 122521294 TX-packets: 122521294 TX-dropped: 0 ---------------------- Forward statistics for port 0 ---------------------- RX-packets: 245103658 RX-dropped: 0 RX-total: 245103658 TX-packets: 245103658 TX-dropped: 0 TX-total: 245103658 ---------------------------------------------------------------------------- +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 245103658 RX-dropped: 0 RX-total: 245103658 TX-packets: 245103658 TX-dropped: 0 TX-total: 245103658 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Done. 22/09/2020 15:25:50 dut.10.240.183.220: start 22/09/2020 15:25:50 dut.10.240.183.220: mac packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native Logical Core 34 (socket 1) forwards packets on 1 streams: RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00 Logical Core 35 (socket 1) forwards packets on 1 streams: RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00 mac packet forwarding packets/burst=32 nb forwarding cores=2 - nb forwarding ports=1 port 0: RX queue number: 2 Tx queue number: 2 Rx offloads=0x0 Tx offloads=0x0 RX queue: 0 RX desc=0 - RX free threshold=0 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 RX Offloads=0x0 TX queue: 0 TX desc=0 - TX free threshold=0 TX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX offloads=0x0 - TX RS bit threshold=0 22/09/2020 15:25:51 dut.10.240.183.220: quit 22/09/2020 15:25:52 dut.10.240.183.220: Telling cores to stop... Waiting for lcores to finish... ---------------------- Forward statistics for port 0 ---------------------- RX-packets: 0 RX-dropped: 0 RX-total: 0 TX-packets: 0 TX-dropped: 0 TX-total: 0 ---------------------------------------------------------------------------- +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 0 RX-dropped: 0 RX-total: 0 TX-packets: 0 TX-dropped: 0 TX-total: 0 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Done. Stopping port 0... Stopping ports... Done Shutting down port 0... Closing ports... 22/09/2020 15:25:52 TestPVPVirtioUserMultiQueuesPortRestart: +--------------+----------------------+------------------+------------+----------------+ | FrameSize(B) | Mode | Throughput(Mpps) | % linerate | Cycle | +==============+======================+==================+============+================+ | 64 | split_ring_mergeable | 16.287 | 27.361 | Before Restart | +--------------+----------------------+------------------+------------+----------------+ | 64 | split_ring_mergeable | 16.330 | 27.434 | After Restart | +--------------+----------------------+------------------+------------+----------------+ 22/09/2020 15:25:52 TestPVPVirtioUserMultiQueuesPortRestart: Test Case test_perf_pvp_2queues_test_with_split_ring_mergeable_path Result PASSED: 22/09/2020 15:25:52 dut.10.240.183.220: kill_all: called by dut and prefix list has value. 22/09/2020 15:25:55 TestPVPVirtioUserMultiQueuesPortRestart: Test Case test_perf_pvp_2queues_test_with_split_ring_nonmergeable_path Begin 22/09/2020 15:25:55 dut.10.240.183.220: 22/09/2020 15:25:55 tester: 22/09/2020 15:25:55 dut.10.240.183.220: rm -rf ./vhost.out 22/09/2020 15:25:55 dut.10.240.183.220: 22/09/2020 15:25:55 dut.10.240.183.220: killall -s INT dpdk-testpmd 22/09/2020 15:25:55 dut.10.240.183.220: dpdk-testpmd: no process found 22/09/2020 15:25:55 dut.10.240.183.220: rm -rf ./vhost-net* 22/09/2020 15:25:55 dut.10.240.183.220: 22/09/2020 15:25:56 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}' 22/09/2020 15:25:56 dut.10.240.183.220: 1048576 22/09/2020 15:25:56 dut.10.240.183.220: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 33,34,35 -n 4 --file-prefix=virtio_24554_20200922140317 --no-pci --vdev net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=2,in_order=0,mrg_rxbuf=0,vectorized=1 -- -i --tx-offloads=0x0 --rss-ip --nb-cores=2 --rxq=2 --txq=2 --rss-ip 22/09/2020 15:25:57 dut.10.240.183.220: EAL: Detected 112 lcore(s) EAL: Detected 2 NUMA nodes EAL: Multi-process socket /var/run/dpdk/virtio_24554_20200922140317/mp_socket EAL: Selected IOVA mode 'VA' EAL: Probing VFIO support... EAL: VFIO support initialized Interactive-mode selected Warning: NUMA should be configured manually by using --port-numa-config and --ring-numa-config parameters along with --numa. testpmd: create a new mbuf pool : n=163456, size=2176, socket=1 testpmd: preferred mempool ops selected: ring_mp_mc Warning! port-topology=paired and odd forward ports number, the last port will pair with itself. Configuring Port 0 (socket 1) Port 0: 00:01:02:03:04:05 Checking link statuses... Done 22/09/2020 15:25:57 dut.10.240.183.220: set fwd mac 22/09/2020 15:25:57 dut.10.240.183.220: Set mac packet forwarding mode 22/09/2020 15:25:57 dut.10.240.183.220: start 22/09/2020 15:25:57 dut.10.240.183.220: mac packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native Logical Core 34 (socket 1) forwards packets on 1 streams: RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00 Logical Core 35 (socket 1) forwards packets on 1 streams: RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00 mac packet forwarding packets/burst=32 nb forwarding cores=2 - nb forwarding ports=1 port 0: RX queue number: 2 Tx queue number: 2 Rx offloads=0x0 Tx offloads=0x0 RX queue: 0 RX desc=0 - RX free threshold=0 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 RX Offloads=0x0 TX queue: 0 TX desc=0 - TX free threshold=0 TX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX offloads=0x0 - TX RS bit threshold=0 22/09/2020 15:25:57 TestPVPVirtioUserMultiQueuesPortRestart: Running test test_perf_pvp_2queues_test_with_split_ring_nonmergeable_path, and 64 frame size. 22/09/2020 15:25:57 tester: ls -d /tmp 22/09/2020 15:25:57 tester: /tmp 22/09/2020 15:25:57 tester: scp -v /home/autoregression/jiangyu/dts-cbdma/output/tmp/pcap/pvp_multipath.pcap root@10.240.183.217:/tmp/pvp_multipath.pcap 22/09/2020 15:26:00 pktgen: test port 0 map gen port 0 22/09/2020 15:26:00 pktgen: test port 0 map gen port 0 22/09/2020 15:26:00 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'off', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:26:00 pktgen: trex port <0> not support flow control 22/09/2020 15:26:00 pktgen: trex packet generator: run traffic 5s to warm up ... 22/09/2020 15:26:00 pktgen: check the trex port link status 22/09/2020 15:26:00 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:26:00 pktgen: begin traffic ...... 22/09/2020 15:26:00 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True} 22/09/2020 15:26:05 pktgen: traffic completed. 22/09/2020 15:26:05 pktgen: check the trex port link status 22/09/2020 15:26:05 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:26:05 pktgen: begin traffic ...... 22/09/2020 15:26:05 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True} 22/09/2020 15:26:15 pktgen: begin get port statistic ... 22/09/2020 15:26:15 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random', 'end': '48.0.0.64', 'start': '48.0.0.1', 'step': 1}}}, 'pcap': '/tmp/pvp_multipath.pcap', 'stream_config': {'rate': 100, 'transmit_mode': 'continuous', 'txmode': {}}}, 'pcap_file': '/tmp/pvp_multipath.pcap', 'rx_port': 0, 'tx_port': 0} 22/09/2020 15:26:15 pktgen: {0: {'ibytes': 10408845696, 'ierrors': 0, 'ipackets': 162638249, 'obytes': 22715002176, 'oerrors': 0, 'opackets': 354921936, 'rx_bps': 8346984448.0, 'rx_bps_L1': 10955417568.0, 'rx_pps': 16302707.0, 'rx_util': 27.388543920000004, 'tx_bps': 18174365696.0, 'tx_bps_L1': 23853854976.0, 'tx_pps': 35496808.0, 'tx_util': 59.634637440000006}, 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': {'active_flows': 0.0, 'active_sockets': 0, 'bw_per_core': 9.244047164916992, 'cpu_util': 98.3030776977539, 'cpu_util_raw': 100.0, 'open_flows': 0.0, 'platform_factor': 1.0, 'queue_full': 0, 'rx_bps': 8346984448.0, 'rx_core_pps': 0.0, 'rx_cpu_util': 0.0, 'rx_drop_bps': 9827381248.0, 'rx_pps': 16302707.0, 'socket_util': 0.0, 'total_alloc_error': 0, 'total_clients': 0, 'total_servers': 0, 'tx_bps': 18174365696.0, 'tx_cps': 0.0, 'tx_expected_bps': 0.0, 'tx_expected_cps': 0.0, 'tx_expected_pps': 0.0, 'tx_pps': 35496808.0}, 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}}, 'total': {'ibytes': 10408845696, 'ierrors': 0, 'ipackets': 162638249, 'obytes': 22715002176, 'oerrors': 0, 'opackets': 354921936, 'rx_bps': 8346984448.0, 'rx_bps_L1': 10955417568.0, 'rx_pps': 16302707.0, 'rx_util': 27.388543920000004, 'tx_bps': 18174365696.0, 'tx_bps_L1': 23853854976.0, 'tx_pps': 35496808.0, 'tx_util': 59.634637440000006}} 22/09/2020 15:26:15 pktgen: {'ibytes': 10408845696, 'ierrors': 0, 'ipackets': 162638249, 'obytes': 22715002176, 'oerrors': 0, 'opackets': 354921936, 'rx_bps': 8346984448.0, 'rx_bps_L1': 10955417568.0, 'rx_pps': 16302707.0, 'rx_util': 27.388543920000004, 'tx_bps': 18174365696.0, 'tx_bps_L1': 23853854976.0, 'tx_pps': 35496808.0, 'tx_util': 59.634637440000006} 22/09/2020 15:26:15 pktgen: Tx Port 0 stats: tx_port: 0, tx_bps: 18174365696.000000, tx_pps: 35496808.000000 22/09/2020 15:26:15 pktgen: {'ibytes': 10408845696, 'ierrors': 0, 'ipackets': 162638249, 'obytes': 22715002176, 'oerrors': 0, 'opackets': 354921936, 'rx_bps': 8346984448.0, 'rx_bps_L1': 10955417568.0, 'rx_pps': 16302707.0, 'rx_util': 27.388543920000004, 'tx_bps': 18174365696.0, 'tx_bps_L1': 23853854976.0, 'tx_pps': 35496808.0, 'tx_util': 59.634637440000006} 22/09/2020 15:26:15 pktgen: Rx Port 0 stats: rx_port: 0, rx_bps: 8346984448.000000, rx_pps: 16302707.000000 22/09/2020 15:26:15 pktgen: throughput: pps_rx 16302707.000000, bps_rx 8346984448.000000 22/09/2020 15:26:15 pktgen: traffic completed. 22/09/2020 15:26:15 dut.10.240.183.220: stop 22/09/2020 15:26:15 dut.10.240.183.220: Telling cores to ... Waiting for lcores to finish... ------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 ------- RX-packets: 122555469 TX-packets: 122555469 TX-dropped: 0 ------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 ------- RX-packets: 121741899 TX-packets: 121741899 TX-dropped: 0 ---------------------- Forward statistics for port 0 ---------------------- RX-packets: 244297368 RX-dropped: 0 RX-total: 244297368 TX-packets: 244297368 TX-dropped: 0 TX-total: 244297368 ---------------------------------------------------------------------------- +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 244297368 RX-dropped: 0 RX-total: 244297368 TX-packets: 244297368 TX-dropped: 0 TX-total: 244297368 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Done. 22/09/2020 15:26:15 dut.10.240.183.220: start 22/09/2020 15:26:15 dut.10.240.183.220: mac packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native Logical Core 34 (socket 1) forwards packets on 1 streams: RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00 Logical Core 35 (socket 1) forwards packets on 1 streams: RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00 mac packet forwarding packets/burst=32 nb forwarding cores=2 - nb forwarding ports=1 port 0: RX queue number: 2 Tx queue number: 2 Rx offloads=0x0 Tx offloads=0x0 RX queue: 0 RX desc=0 - RX free threshold=0 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 RX Offloads=0x0 TX queue: 0 TX desc=0 - TX free threshold=0 TX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX offloads=0x0 - TX RS bit threshold=0 22/09/2020 15:26:17 tester: ls -d /tmp 22/09/2020 15:26:18 tester: /tmp 22/09/2020 15:26:18 tester: scp -v /home/autoregression/jiangyu/dts-cbdma/output/tmp/pcap/pvp_multipath.pcap root@10.240.183.217:/tmp/pvp_multipath.pcap 22/09/2020 15:26:20 pktgen: test port 0 map gen port 0 22/09/2020 15:26:20 pktgen: test port 0 map gen port 0 22/09/2020 15:26:20 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'off', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:26:20 pktgen: trex port <0> not support flow control 22/09/2020 15:26:20 pktgen: trex packet generator: run traffic 5s to warm up ... 22/09/2020 15:26:20 pktgen: check the trex port link status 22/09/2020 15:26:20 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:26:20 pktgen: begin traffic ...... 22/09/2020 15:26:20 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True} 22/09/2020 15:26:25 pktgen: traffic completed. 22/09/2020 15:26:25 pktgen: check the trex port link status 22/09/2020 15:26:25 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:26:25 pktgen: begin traffic ...... 22/09/2020 15:26:25 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True} 22/09/2020 15:26:35 pktgen: begin get port statistic ... 22/09/2020 15:26:35 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random', 'end': '48.0.0.64', 'start': '48.0.0.1', 'step': 1}}}, 'pcap': '/tmp/pvp_multipath.pcap', 'stream_config': {'rate': 100, 'transmit_mode': 'continuous', 'txmode': {}}}, 'pcap_file': '/tmp/pvp_multipath.pcap', 'rx_port': 0, 'tx_port': 0} 22/09/2020 15:26:35 pktgen: {0: {'ibytes': 10427841728, 'ierrors': 0, 'ipackets': 162935051, 'obytes': 22744028608, 'oerrors': 0, 'opackets': 355375483, 'rx_bps': 8339156480.0, 'rx_bps_L1': 10945143040.0, 'rx_pps': 16287416.0, 'rx_util': 27.3628576, 'tx_bps': 18214238208.0, 'tx_bps_L1': 23906186368.0, 'tx_pps': 35574676.0, 'tx_util': 59.765465920000004}, 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': {'active_flows': 0.0, 'active_sockets': 0, 'bw_per_core': 9.232246398925781, 'cpu_util': 98.6446762084961, 'cpu_util_raw': 100.0, 'open_flows': 0.0, 'platform_factor': 1.0, 'queue_full': 0, 'rx_bps': 8339156480.0, 'rx_core_pps': 0.0, 'rx_cpu_util': 0.0, 'rx_drop_bps': 9875082240.0, 'rx_pps': 16287416.0, 'socket_util': 0.0, 'total_alloc_error': 0, 'total_clients': 0, 'total_servers': 0, 'tx_bps': 18214238208.0, 'tx_cps': 0.0, 'tx_expected_bps': 0.0, 'tx_expected_cps': 0.0, 'tx_expected_pps': 0.0, 'tx_pps': 35574676.0}, 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}}, 'total': {'ibytes': 10427841728, 'ierrors': 0, 'ipackets': 162935051, 'obytes': 22744028608, 'oerrors': 0, 'opackets': 355375483, 'rx_bps': 8339156480.0, 'rx_bps_L1': 10945143040.0, 'rx_pps': 16287416.0, 'rx_util': 27.3628576, 'tx_bps': 18214238208.0, 'tx_bps_L1': 23906186368.0, 'tx_pps': 35574676.0, 'tx_util': 59.765465920000004}} 22/09/2020 15:26:35 pktgen: {'ibytes': 10427841728, 'ierrors': 0, 'ipackets': 162935051, 'obytes': 22744028608, 'oerrors': 0, 'opackets': 355375483, 'rx_bps': 8339156480.0, 'rx_bps_L1': 10945143040.0, 'rx_pps': 16287416.0, 'rx_util': 27.3628576, 'tx_bps': 18214238208.0, 'tx_bps_L1': 23906186368.0, 'tx_pps': 35574676.0, 'tx_util': 59.765465920000004} 22/09/2020 15:26:35 pktgen: Tx Port 0 stats: tx_port: 0, tx_bps: 18214238208.000000, tx_pps: 35574676.000000 22/09/2020 15:26:35 pktgen: {'ibytes': 10427841728, 'ierrors': 0, 'ipackets': 162935051, 'obytes': 22744028608, 'oerrors': 0, 'opackets': 355375483, 'rx_bps': 8339156480.0, 'rx_bps_L1': 10945143040.0, 'rx_pps': 16287416.0, 'rx_util': 27.3628576, 'tx_bps': 18214238208.0, 'tx_bps_L1': 23906186368.0, 'tx_pps': 35574676.0, 'tx_util': 59.765465920000004} 22/09/2020 15:26:35 pktgen: Rx Port 0 stats: rx_port: 0, rx_bps: 8339156480.000000, rx_pps: 16287416.000000 22/09/2020 15:26:35 pktgen: throughput: pps_rx 16287416.000000, bps_rx 8339156480.000000 22/09/2020 15:26:35 pktgen: traffic completed. 22/09/2020 15:26:35 dut.10.240.183.220: stop 22/09/2020 15:26:35 dut.10.240.183.220: Telling cores to ... Waiting for lcores to finish... ------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 ------- RX-packets: 122633847 TX-packets: 122633847 TX-dropped: 0 ------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 ------- RX-packets: 121903278 TX-packets: 121903278 TX-dropped: 0 ---------------------- Forward statistics for port 0 ---------------------- RX-packets: 244537125 RX-dropped: 0 RX-total: 244537125 TX-packets: 244537125 TX-dropped: 0 TX-total: 244537125 ---------------------------------------------------------------------------- +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 244537125 RX-dropped: 0 RX-total: 244537125 TX-packets: 244537125 TX-dropped: 0 TX-total: 244537125 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Done. 22/09/2020 15:26:35 dut.10.240.183.220: start 22/09/2020 15:26:35 dut.10.240.183.220: mac packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native Logical Core 34 (socket 1) forwards packets on 1 streams: RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00 Logical Core 35 (socket 1) forwards packets on 1 streams: RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00 mac packet forwarding packets/burst=32 nb forwarding cores=2 - nb forwarding ports=1 port 0: RX queue number: 2 Tx queue number: 2 Rx offloads=0x0 Tx offloads=0x0 RX queue: 0 RX desc=0 - RX free threshold=0 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 RX Offloads=0x0 TX queue: 0 TX desc=0 - TX free threshold=0 TX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX offloads=0x0 - TX RS bit threshold=0 22/09/2020 15:26:36 dut.10.240.183.220: quit 22/09/2020 15:26:36 dut.10.240.183.220: Telling cores to stop... Waiting for lcores to finish... ---------------------- Forward statistics for port 0 ---------------------- RX-packets: 0 RX-dropped: 0 RX-total: 0 TX-packets: 0 TX-dropped: 0 TX-total: 0 ---------------------------------------------------------------------------- +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 0 RX-dropped: 0 RX-total: 0 TX-packets: 0 TX-dropped: 0 TX-total: 0 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Done. Stopping port 0... Stopping ports... Done Shutting down port 0... Closing ports... 22/09/2020 15:26:36 TestPVPVirtioUserMultiQueuesPortRestart: +--------------+-------------------------+------------------+------------+----------------+ | FrameSize(B) | Mode | Throughput(Mpps) | % linerate | Cycle | +==============+=========================+==================+============+================+ | 64 | split_ring_nonmergeable | 16.303 | 27.389 | Before Restart | +--------------+-------------------------+------------------+------------+----------------+ | 64 | split_ring_nonmergeable | 16.287 | 27.363 | After Restart | +--------------+-------------------------+------------------+------------+----------------+ 22/09/2020 15:26:36 TestPVPVirtioUserMultiQueuesPortRestart: Test Case test_perf_pvp_2queues_test_with_split_ring_nonmergeable_path Result PASSED: 22/09/2020 15:26:36 dut.10.240.183.220: kill_all: called by dut and prefix list has value. 22/09/2020 15:26:40 TestPVPVirtioUserMultiQueuesPortRestart: Test Case test_perf_pvp_2queues_test_with_split_ring_vector_rx_path Begin 22/09/2020 15:26:40 dut.10.240.183.220: 22/09/2020 15:26:40 tester: 22/09/2020 15:26:40 dut.10.240.183.220: rm -rf ./vhost.out 22/09/2020 15:26:40 dut.10.240.183.220: 22/09/2020 15:26:40 dut.10.240.183.220: killall -s INT dpdk-testpmd 22/09/2020 15:26:40 dut.10.240.183.220: dpdk-testpmd: no process found 22/09/2020 15:26:40 dut.10.240.183.220: rm -rf ./vhost-net* 22/09/2020 15:26:40 dut.10.240.183.220: 22/09/2020 15:26:41 dut.10.240.183.220: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}' 22/09/2020 15:26:41 dut.10.240.183.220: 1048576 22/09/2020 15:26:41 dut.10.240.183.220: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 33,34,35 -n 4 --file-prefix=virtio_24554_20200922140317 --no-pci --vdev net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=2,packed_vq=1,mrg_rxbuf=1,in_order=1,queue_size=255 -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2 --rss-ip 22/09/2020 15:26:42 dut.10.240.183.220: EAL: Detected 112 lcore(s) EAL: Detected 2 NUMA nodes EAL: Multi-process socket /var/run/dpdk/virtio_24554_20200922140317/mp_socket EAL: Selected IOVA mode 'VA' EAL: Probing VFIO support... EAL: VFIO support initialized Interactive-mode selected Warning: NUMA should be configured manually by using --port-numa-config and --ring-numa-config parameters along with --numa. testpmd: create a new mbuf pool : n=163456, size=2176, socket=1 testpmd: preferred mempool ops selected: ring_mp_mc Warning! port-topology=paired and odd forward ports number, the last port will pair with itself. Configuring Port 0 (socket 1) Port 0: 00:01:02:03:04:05 Checking link statuses... Done 22/09/2020 15:26:42 dut.10.240.183.220: set fwd mac 22/09/2020 15:26:42 dut.10.240.183.220: Set mac packet forwarding mode 22/09/2020 15:26:42 dut.10.240.183.220: start 22/09/2020 15:26:42 dut.10.240.183.220: mac packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native Logical Core 34 (socket 1) forwards packets on 1 streams: RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00 Logical Core 35 (socket 1) forwards packets on 1 streams: RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00 mac packet forwarding packets/burst=32 nb forwarding cores=2 - nb forwarding ports=1 port 0: RX queue number: 2 Tx queue number: 2 Rx offloads=0x1 Tx offloads=0x0 RX queue: 0 RX desc=0 - RX free threshold=0 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 RX Offloads=0x1 TX queue: 0 TX desc=0 - TX free threshold=0 TX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX offloads=0x0 - TX RS bit threshold=0 22/09/2020 15:26:42 TestPVPVirtioUserMultiQueuesPortRestart: Running test test_perf_pvp_2queues_test_with_split_ring_vector_rx_path, and 64 frame size. 22/09/2020 15:26:42 tester: ls -d /tmp 22/09/2020 15:26:42 tester: /tmp 22/09/2020 15:26:42 tester: scp -v /home/autoregression/jiangyu/dts-cbdma/output/tmp/pcap/pvp_multipath.pcap root@10.240.183.217:/tmp/pvp_multipath.pcap 22/09/2020 15:26:44 pktgen: test port 0 map gen port 0 22/09/2020 15:26:44 pktgen: test port 0 map gen port 0 22/09/2020 15:26:44 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'off', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:26:44 pktgen: trex port <0> not support flow control 22/09/2020 15:26:44 pktgen: trex packet generator: run traffic 5s to warm up ... 22/09/2020 15:26:44 pktgen: check the trex port link status 22/09/2020 15:26:44 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:26:44 pktgen: begin traffic ...... 22/09/2020 15:26:44 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True} 22/09/2020 15:26:49 pktgen: traffic completed. 22/09/2020 15:26:49 pktgen: check the trex port link status 22/09/2020 15:26:49 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:26:49 pktgen: begin traffic ...... 22/09/2020 15:26:49 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True} 22/09/2020 15:26:59 pktgen: begin get port statistic ... 22/09/2020 15:26:59 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random', 'end': '48.0.0.64', 'start': '48.0.0.1', 'step': 1}}}, 'pcap': '/tmp/pvp_multipath.pcap', 'stream_config': {'rate': 100, 'transmit_mode': 'continuous', 'txmode': {}}}, 'pcap_file': '/tmp/pvp_multipath.pcap', 'rx_port': 0, 'tx_port': 0} 22/09/2020 15:26:59 pktgen: {0: {'ibytes': 11842477376, 'ierrors': 0, 'ipackets': 185038746, 'obytes': 22784342592, 'oerrors': 0, 'opackets': 356005387, 'rx_bps': 9511651328.0, 'rx_bps_L1': 12484042368.0, 'rx_pps': 18577444.0, 'rx_util': 31.210105919999997, 'tx_bps': 18128140288.0, 'tx_bps_L1': 23793184128.0, 'tx_pps': 35406524.0, 'tx_util': 59.482960320000004}, 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': {'active_flows': 0.0, 'active_sockets': 0, 'bw_per_core': 9.214337348937988, 'cpu_util': 98.36920166015625, 'cpu_util_raw': 100.0, 'open_flows': 0.0, 'platform_factor': 1.0, 'queue_full': 0, 'rx_bps': 9511651328.0, 'rx_core_pps': 0.0, 'rx_cpu_util': 0.0, 'rx_drop_bps': 8616488960.0, 'rx_pps': 18577444.0, 'socket_util': 0.0, 'total_alloc_error': 0, 'total_clients': 0, 'total_servers': 0, 'tx_bps': 18128140288.0, 'tx_cps': 0.0, 'tx_expected_bps': 0.0, 'tx_expected_cps': 0.0, 'tx_expected_pps': 0.0, 'tx_pps': 35406524.0}, 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}}, 'total': {'ibytes': 11842477376, 'ierrors': 0, 'ipackets': 185038746, 'obytes': 22784342592, 'oerrors': 0, 'opackets': 356005387, 'rx_bps': 9511651328.0, 'rx_bps_L1': 12484042368.0, 'rx_pps': 18577444.0, 'rx_util': 31.210105919999997, 'tx_bps': 18128140288.0, 'tx_bps_L1': 23793184128.0, 'tx_pps': 35406524.0, 'tx_util': 59.482960320000004}} 22/09/2020 15:26:59 pktgen: {'ibytes': 11842477376, 'ierrors': 0, 'ipackets': 185038746, 'obytes': 22784342592, 'oerrors': 0, 'opackets': 356005387, 'rx_bps': 9511651328.0, 'rx_bps_L1': 12484042368.0, 'rx_pps': 18577444.0, 'rx_util': 31.210105919999997, 'tx_bps': 18128140288.0, 'tx_bps_L1': 23793184128.0, 'tx_pps': 35406524.0, 'tx_util': 59.482960320000004} 22/09/2020 15:26:59 pktgen: Tx Port 0 stats: tx_port: 0, tx_bps: 18128140288.000000, tx_pps: 35406524.000000 22/09/2020 15:26:59 pktgen: {'ibytes': 11842477376, 'ierrors': 0, 'ipackets': 185038746, 'obytes': 22784342592, 'oerrors': 0, 'opackets': 356005387, 'rx_bps': 9511651328.0, 'rx_bps_L1': 12484042368.0, 'rx_pps': 18577444.0, 'rx_util': 31.210105919999997, 'tx_bps': 18128140288.0, 'tx_bps_L1': 23793184128.0, 'tx_pps': 35406524.0, 'tx_util': 59.482960320000004} 22/09/2020 15:26:59 pktgen: Rx Port 0 stats: rx_port: 0, rx_bps: 9511651328.000000, rx_pps: 18577444.000000 22/09/2020 15:26:59 pktgen: throughput: pps_rx 18577444.000000, bps_rx 9511651328.000000 22/09/2020 15:26:59 pktgen: traffic completed. 22/09/2020 15:26:59 dut.10.240.183.220: stop 22/09/2020 15:26:59 dut.10.240.183.220: Telling cores to ... Waiting for lcores to finish... ------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 ------- RX-packets: 138974603 TX-packets: 138974603 TX-dropped: 0 ------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 ------- RX-packets: 139926698 TX-packets: 139926698 TX-dropped: 0 ---------------------- Forward statistics for port 0 ---------------------- RX-packets: 278901301 RX-dropped: 0 RX-total: 278901301 TX-packets: 278901301 TX-dropped: 0 TX-total: 278901301 ---------------------------------------------------------------------------- +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 278901301 RX-dropped: 0 RX-total: 278901301 TX-packets: 278901301 TX-dropped: 0 TX-total: 278901301 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Done. 22/09/2020 15:26:59 dut.10.240.183.220: start 22/09/2020 15:26:59 dut.10.240.183.220: mac packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native Logical Core 34 (socket 1) forwards packets on 1 streams: RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00 Logical Core 35 (socket 1) forwards packets on 1 streams: RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00 mac packet forwarding packets/burst=32 nb forwarding cores=2 - nb forwarding ports=1 port 0: RX queue number: 2 Tx queue number: 2 Rx offloads=0x1 Tx offloads=0x0 RX queue: 0 RX desc=0 - RX free threshold=0 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 RX Offloads=0x1 TX queue: 0 TX desc=0 - TX free threshold=0 TX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX offloads=0x0 - TX RS bit threshold=0 22/09/2020 15:27:02 tester: ls -d /tmp 22/09/2020 15:27:02 tester: /tmp 22/09/2020 15:27:02 tester: scp -v /home/autoregression/jiangyu/dts-cbdma/output/tmp/pcap/pvp_multipath.pcap root@10.240.183.217:/tmp/pvp_multipath.pcap 22/09/2020 15:27:04 pktgen: test port 0 map gen port 0 22/09/2020 15:27:04 pktgen: test port 0 map gen port 0 22/09/2020 15:27:04 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'off', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:27:04 pktgen: trex port <0> not support flow control 22/09/2020 15:27:04 pktgen: trex packet generator: run traffic 5s to warm up ... 22/09/2020 15:27:04 pktgen: check the trex port link status 22/09/2020 15:27:04 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:27:04 pktgen: begin traffic ...... 22/09/2020 15:27:04 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True} 22/09/2020 15:27:09 pktgen: traffic completed. 22/09/2020 15:27:09 pktgen: check the trex port link status 22/09/2020 15:27:09 pktgen: {'arp': '-', 'cores': [0, 1, 2, 3], 'description': 'Ethernet Controller XL710 for 40GbE QSFP+', 'dest': '00:00:00:00:01:00', 'driver': 'net_i40e', 'fc': 'none', 'fc_supported': 'no', 'grat_arp': 'off', 'hw_mac': '3c:fd:fe:c8:17:d0', 'index': 0, 'ipv6': 'off', 'is_fc_supported': False, 'is_led_supported': True, 'is_link_supported': True, 'is_prom_supported': True, 'is_virtual': 'no', 'is_vxlan_supported': 'yes', 'layer_mode': 'Ethernet', 'led_change_supported': 'yes', 'link': 'UP', 'link_change_supported': 'yes', 'mult': 'off', 'numa': 1, 'pci_addr': '0000:82:00.0', 'prom': 'on', 'prom_supported': 'yes', 'rx': {'caps': ['flow_stats', 'latency'], 'counters': 127}, 'rx_filter_mode': 'hardware match', 'rx_queue': 'off', 'speed': 40.0, 'src_ipv4': '-', 'src_mac': '3c:fd:fe:c8:17:d0', 'stack': 'legacy', 'status': 'IDLE', 'supp_speeds': [40000], 'vlan': '-', 'vxlan_fs': '-'} 22/09/2020 15:27:09 pktgen: begin traffic ...... 22/09/2020 15:27:09 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True} 22/09/2020 15:27:19 pktgen: begin get port statistic ... 22/09/2020 15:27:19 pktgen: {'options': {'fields_config': {'ip': {'dst': {'action': 'random', 'end': '48.0.0.64', 'start': '48.0.0.1', 'step': 1}}}, 'pcap': '/tmp/pvp_multipath.pcap', 'stream_config': {'rate': 100, 'transmit_mode': 'continuous', 'txmode': {}}}, 'pcap_file': '/tmp/pvp_multipath.pcap', 'rx_port': 0, 'tx_port': 0} 22/09/2020 15:27:19 pktgen: {0: {'ibytes': 11915935360, 'ierrors': 0, 'ipackets': 186186524, 'obytes': 22788194560, 'oerrors': 0, 'opackets': 356065570, 'rx_bps': 9567026176.0, 'rx_bps_L1': 12556722496.0, 'rx_pps': 18685602.0, 'rx_util': 31.391806239999998, 'tx_bps': 18210170880.0, 'tx_bps_L1': 23900849920.000004, 'tx_pps': 35566744.0, 'tx_util': 59.752124800000004}, 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': {'active_flows': 0.0, 'active_sockets': 0, 'bw_per_core': 9.22518539428711, 'cpu_util': 98.69812774658203, 'cpu_util_raw': 100.0, 'open_flows': 0.0, 'platform_factor': 1.0, 'queue_full': 0, 'rx_bps': 9567026176.0, 'rx_core_pps': 0.0, 'rx_cpu_util': 0.0, 'rx_drop_bps': 8643143680.0, 'rx_pps': 18685602.0, 'socket_util': 0.0, 'total_alloc_error': 0, 'total_clients': 0, 'total_servers': 0, 'tx_bps': 18210170880.0, 'tx_cps': 0.0, 'tx_expected_bps': 0.0, 'tx_expected_cps': 0.0, 'tx_expected_pps': 0.0, 'tx_pps': 35566744.0}, 'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}}, 'total': {'ibytes': 11915935360, 'ierrors': 0, 'ipackets': 186186524, 'obytes': 22788194560, 'oerrors': 0, 'opackets': 356065570, 'rx_bps': 9567026176.0, 'rx_bps_L1': 12556722496.0, 'rx_pps': 18685602.0, 'rx_util': 31.391806239999998, 'tx_bps': 18210170880.0, 'tx_bps_L1': 23900849920.000004, 'tx_pps': 35566744.0, 'tx_util': 59.752124800000004}} 22/09/2020 15:27:19 pktgen: {'ibytes': 11915935360, 'ierrors': 0, 'ipackets': 186186524, 'obytes': 22788194560, 'oerrors': 0, 'opackets': 356065570, 'rx_bps': 9567026176.0, 'rx_bps_L1': 12556722496.0, 'rx_pps': 18685602.0, 'rx_util': 31.391806239999998, 'tx_bps': 18210170880.0, 'tx_bps_L1': 23900849920.000004, 'tx_pps': 35566744.0, 'tx_util': 59.752124800000004} 22/09/2020 15:27:19 pktgen: Tx Port 0 stats: tx_port: 0, tx_bps: 18210170880.000000, tx_pps: 35566744.000000 22/09/2020 15:27:19 pktgen: {'ibytes': 11915935360, 'ierrors': 0, 'ipackets': 186186524, 'obytes': 22788194560, 'oerrors': 0, 'opackets': 356065570, 'rx_bps': 9567026176.0, 'rx_bps_L1': 12556722496.0, 'rx_pps': 18685602.0, 'rx_util': 31.391806239999998, 'tx_bps': 18210170880.0, 'tx_bps_L1': 23900849920.000004, 'tx_pps': 35566744.0, 'tx_util': 59.752124800000004} 22/09/2020 15:27:19 pktgen: Rx Port 0 stats: rx_port: 0, rx_bps: 9567026176.000000, rx_pps: 18685602.000000 22/09/2020 15:27:19 pktgen: throughput: pps_rx 18685602.000000, bps_rx 9567026176.000000 22/09/2020 15:27:19 pktgen: traffic completed. 22/09/2020 15:27:19 dut.10.240.183.220: stop 22/09/2020 15:27:19 dut.10.240.183.220: Telling cores to ... Waiting for lcores to finish... ------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 ------- RX-packets: 138640437 TX-packets: 138640437 TX-dropped: 0 ------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 ------- RX-packets: 139597257 TX-packets: 139597257 TX-dropped: 0 ---------------------- Forward statistics for port 0 ---------------------- RX-packets: 278237694 RX-dropped: 0 RX-total: 278237694 TX-packets: 278237694 TX-dropped: 0 TX-total: 278237694 ---------------------------------------------------------------------------- +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 278237694 RX-dropped: 0 RX-total: 278237694 TX-packets: 278237694 TX-dropped: 0 TX-total: 278237694 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Done. 22/09/2020 15:27:19 dut.10.240.183.220: start 22/09/2020 15:27:19 dut.10.240.183.220: mac packet forwarding - ports=1 - cores=2 - streams=2 - NUMA support enabled, MP allocation mode: native Logical Core 34 (socket 1) forwards packets on 1 streams: RX P=0/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00 Logical Core 35 (socket 1) forwards packets on 1 streams: RX P=0/Q=1 (socket 1) -> TX P=0/Q=1 (socket 1) peer=02:00:00:00:00:00 mac packet forwarding packets/burst=32 nb forwarding cores=2 - nb forwarding ports=1 port 0: RX queue number: 2 Tx queue number: 2 Rx offloads=0x1 Tx offloads=0x0 RX queue: 0 RX desc=0 - RX free threshold=0 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 RX Offloads=0x1 TX queue: 0 TX desc=0 - TX free threshold=0 TX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX offloads=0x0 - TX RS bit threshold=0 22/09/2020 15:27:20 dut.10.240.183.220: quit 22/09/2020 15:27:21 dut.10.240.183.220: Telling cores to stop... Waiting for lcores to finish... ---------------------- Forward statistics for port 0 ---------------------- RX-packets: 0 RX-dropped: 0 RX-total: 0 TX-packets: 0 TX-dropped: 0 TX-total: 0 ---------------------------------------------------------------------------- +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 0 RX-dropped: 0 RX-total: 0 TX-packets: 0 TX-dropped: 0 TX-total: 0 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Done. Stopping port 0... Stopping ports... Done Shutting down port 0... Closing ports... 22/09/2020 15:27:21 TestPVPVirtioUserMultiQueuesPortRestart: +--------------+----------------------+------------------+------------+----------------+ | FrameSize(B) | Mode | Throughput(Mpps) | % linerate | Cycle | +==============+======================+==================+============+================+ | 64 | split_ring_vector_rx | 18.577 | 31.210 | Before Restart | +--------------+----------------------+------------------+------------+----------------+ | 64 | split_ring_vector_rx | 18.686 | 31.392 | After Restart | +--------------+----------------------+------------------+------------+----------------+ 22/09/2020 15:27:21 TestPVPVirtioUserMultiQueuesPortRestart: Test Case test_perf_pvp_2queues_test_with_split_ring_vector_rx_path Result PASSED: 22/09/2020 15:27:21 dut.10.240.183.220: kill_all: called by dut and prefix list has value. 22/09/2020 15:27:24 dts: TEST SUITE ENDED: TestPVPVirtioUserMultiQueuesPortRestart