* Re: [dts] [PATCH V2] tests/pvp_virtio_user_multi_queues_port_restart: Add one new case and Optimize script
2020-11-19 10:39 [dts] [PATCH V2] tests/pvp_virtio_user_multi_queues_port_restart: Add one new case and Optimize script JiangYuX
@ 2020-11-19 2:41 ` Jiang, YuX
2020-11-19 8:44 ` Tu, Lijuan
1 sibling, 0 replies; 3+ messages in thread
From: Jiang, YuX @ 2020-11-19 2:41 UTC (permalink / raw)
To: Jiang, YuX, dts
[-- Attachment #1: Type: text/plain, Size: 379 bytes --]
Tested-by: JiangYuX <yux.jiang@intel.com>
Best Regards
Jiang yu
> -----Original Message-----
> From: JiangYuX [mailto:yux.jiang@intel.com]
> Sent: Thursday, November 19, 2020 6:39 PM
> To: dts@dpdk.org
> Cc: Jiang, YuX <yux.jiang@intel.com>
> Subject: [dts] [PATCH V2] tests/pvp_virtio_user_multi_queues_port_restart:
> Add one new case and Optimize script
[-- Attachment #2: TestPVPVirtioUserMultiQueuesPortRestart.log --]
[-- Type: application/octet-stream, Size: 257454 bytes --]
18/11/2020 22:22:04 dts:
TEST SUITE : TestPVPVirtioUserMultiQueuesPortRestart
18/11/2020 22:22:04 dts: NIC : fortville_spirit
18/11/2020 22:22:04 dut.10.240.183.214:
18/11/2020 22:22:04 tester:
18/11/2020 22:22:04 tester: ls -d /tmp
18/11/2020 22:22:05 tester: /tmp
18/11/2020 22:22:07 dut.10.240.183.214: kill_all: called by dut and has no prefix list.
18/11/2020 22:22:07 dut.10.240.183.214: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
18/11/2020 22:22:07 dut.10.240.183.214: 2048
18/11/2020 22:22:07 TestPVPVirtioUserMultiQueuesPortRestart: Test Case test_perf_pvp_2queues_test_with_packed_ring_inorder_mergeable_path Begin
18/11/2020 22:22:07 dut.10.240.183.214:
18/11/2020 22:22:08 tester:
18/11/2020 22:22:08 dut.10.240.183.214: rm -rf ./vhost.out
18/11/2020 22:22:08 dut.10.240.183.214:
18/11/2020 22:22:08 dut.10.240.183.214: killall -s INT dpdk-testpmd
18/11/2020 22:22:08 dut.10.240.183.214: dpdk-testpmd: no process found
18/11/2020 22:22:08 dut.10.240.183.214: rm -rf ./vhost-net*
18/11/2020 22:22:08 dut.10.240.183.214:
18/11/2020 22:22:19 dut.10.240.183.214: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
18/11/2020 22:22:19 dut.10.240.183.214: 2048
18/11/2020 22:22:19 dut.10.240.183.214: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 33,34,35 -n 4 --file-prefix=virtio --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 --single-file-segments -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2 --txd=255 --rxd=255
18/11/2020 22:22:19 dut.10.240.183.214: EAL: Detected 112 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/virtio/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: No available hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: No legacy callbacks, legacy socket not created
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 <mb_pool_1>: 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
18/11/2020 22:22:29 dut.10.240.183.214: set fwd mac
18/11/2020 22:22:29 dut.10.240.183.214:
Set mac packet forwarding mode
18/11/2020 22:22:29 dut.10.240.183.214: start
18/11/2020 22:22:29 dut.10.240.183.214:
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=255 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x1
TX queue: 0
TX desc=255 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
18/11/2020 22:22:29 TestPVPVirtioUserMultiQueuesPortRestart: Running test test_perf_pvp_2queues_test_with_packed_ring_inorder_mergeable_path, and 64 frame size.
18/11/2020 22:22:29 tester: ls -d /tmp
18/11/2020 22:22:29 tester: /tmp
18/11/2020 22:22:29 tester: scp -v /home/autoregression/dts/dts/output/tmp/pcap/pvp_multipath.pcap root@10.240.183.213:/tmp/pvp_multipath.pcap
18/11/2020 22:22:32 pktgen: test port 0 map gen port 0
18/11/2020 22:22:32 pktgen: test port 0 map gen port 0
18/11/2020 22:22:32 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:22:32 pktgen: trex port <0> not support flow control
18/11/2020 22:22:32 pktgen: trex packet generator: run traffic 5s to warm up ...
18/11/2020 22:22:32 pktgen: check the trex port link status
18/11/2020 22:22:32 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:22:32 pktgen: begin traffic ......
18/11/2020 22:22:32 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/11/2020 22:22:37 pktgen: traffic completed.
18/11/2020 22:22:37 pktgen: check the trex port link status
18/11/2020 22:22:37 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:22:37 pktgen: begin traffic ......
18/11/2020 22:22:37 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/11/2020 22:22:47 pktgen: begin get port statistic ...
18/11/2020 22:22:47 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}
18/11/2020 22:22:47 pktgen: {0: {'ibytes': 11940195392,
'ierrors': 0,
'ipackets': 186565592,
'obytes': 23121166144,
'oerrors': 0,
'opackets': 361268255,
'rx_bps': 9585181696.0,
'rx_bps_L1': 12580552576.0,
'rx_pps': 18721068.0,
'rx_util': 31.45138144,
'tx_bps': 18415747072.0,
'tx_bps_L1': 24170668032.0,
'tx_pps': 35968256.0,
'tx_util': 60.42667008},
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.376373291015625,
'cpu_util': 98.20293426513672,
'cpu_util_raw': 100.0,
'open_flows': 0.0,
'platform_factor': 1.0,
'queue_full': 0,
'rx_bps': 9585181696.0,
'rx_core_pps': 0.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 8830566400.0,
'rx_pps': 18721068.0,
'socket_util': 0.0,
'total_alloc_error': 0,
'total_clients': 0,
'total_servers': 0,
'tx_bps': 18415747072.0,
'tx_cps': 0.0,
'tx_expected_bps': 0.0,
'tx_expected_cps': 0.0,
'tx_expected_pps': 0.0,
'tx_pps': 35968256.0},
'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
'total': {'ibytes': 11940195392,
'ierrors': 0,
'ipackets': 186565592,
'obytes': 23121166144,
'oerrors': 0,
'opackets': 361268255,
'rx_bps': 9585181696.0,
'rx_bps_L1': 12580552576.0,
'rx_pps': 18721068.0,
'rx_util': 31.45138144,
'tx_bps': 18415747072.0,
'tx_bps_L1': 24170668032.0,
'tx_pps': 35968256.0,
'tx_util': 60.42667008}}
18/11/2020 22:22:47 pktgen: {'ibytes': 11940195392,
'ierrors': 0,
'ipackets': 186565592,
'obytes': 23121166144,
'oerrors': 0,
'opackets': 361268255,
'rx_bps': 9585181696.0,
'rx_bps_L1': 12580552576.0,
'rx_pps': 18721068.0,
'rx_util': 31.45138144,
'tx_bps': 18415747072.0,
'tx_bps_L1': 24170668032.0,
'tx_pps': 35968256.0,
'tx_util': 60.42667008}
18/11/2020 22:22:47 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 18415747072.000000, tx_pps: 35968256.000000
18/11/2020 22:22:47 pktgen: {'ibytes': 11940195392,
'ierrors': 0,
'ipackets': 186565592,
'obytes': 23121166144,
'oerrors': 0,
'opackets': 361268255,
'rx_bps': 9585181696.0,
'rx_bps_L1': 12580552576.0,
'rx_pps': 18721068.0,
'rx_util': 31.45138144,
'tx_bps': 18415747072.0,
'tx_bps_L1': 24170668032.0,
'tx_pps': 35968256.0,
'tx_util': 60.42667008}
18/11/2020 22:22:47 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 9585181696.000000, rx_pps: 18721068.000000
18/11/2020 22:22:47 pktgen: throughput: pps_rx 18721068.000000, bps_rx 9585181696.000000
18/11/2020 22:22:47 pktgen: traffic completed.
18/11/2020 22:22:47 dut.10.240.183.214: stop
18/11/2020 22:22:47 dut.10.240.183.214:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 139592169 TX-packets: 139592169 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
RX-packets: 138810813 TX-packets: 138810813 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 278402982 RX-dropped: 0 RX-total: 278402982
TX-packets: 278402982 TX-dropped: 0 TX-total: 278402982
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 278402982 RX-dropped: 0 RX-total: 278402982
TX-packets: 278402982 TX-dropped: 0 TX-total: 278402982
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
18/11/2020 22:22:47 dut.10.240.183.214: start
18/11/2020 22:22:47 dut.10.240.183.214:
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=255 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x1
TX queue: 0
TX desc=255 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
18/11/2020 22:22:50 tester: ls -d /tmp
18/11/2020 22:22:50 tester: /tmp
18/11/2020 22:22:50 tester: scp -v /home/autoregression/dts/dts/output/tmp/pcap/pvp_multipath.pcap root@10.240.183.213:/tmp/pvp_multipath.pcap
18/11/2020 22:22:52 pktgen: test port 0 map gen port 0
18/11/2020 22:22:52 pktgen: test port 0 map gen port 0
18/11/2020 22:22:52 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:22:52 pktgen: trex port <0> not support flow control
18/11/2020 22:22:52 pktgen: trex packet generator: run traffic 5s to warm up ...
18/11/2020 22:22:52 pktgen: check the trex port link status
18/11/2020 22:22:52 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:22:52 pktgen: begin traffic ......
18/11/2020 22:22:52 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/11/2020 22:22:57 pktgen: traffic completed.
18/11/2020 22:22:57 pktgen: check the trex port link status
18/11/2020 22:22:57 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:22:57 pktgen: begin traffic ......
18/11/2020 22:22:57 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/11/2020 22:23:07 pktgen: begin get port statistic ...
18/11/2020 22:23:07 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}
18/11/2020 22:23:07 pktgen: {0: {'ibytes': 11937868800,
'ierrors': 0,
'ipackets': 186529238,
'obytes': 23080487040,
'oerrors': 0,
'opackets': 360632656,
'rx_bps': 9595028480.0,
'rx_bps_L1': 12593474560.0,
'rx_pps': 18740288.0,
'rx_util': 31.4836864,
'tx_bps': 18494314496.0,
'tx_bps_L1': 24273787776.0,
'tx_pps': 36121708.0,
'tx_util': 60.68446944},
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.38073444366455,
'cpu_util': 98.5760498046875,
'cpu_util_raw': 100.0,
'open_flows': 0.0,
'platform_factor': 1.0,
'queue_full': 0,
'rx_bps': 9595028480.0,
'rx_core_pps': 0.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 8899286016.0,
'rx_pps': 18740288.0,
'socket_util': 0.0,
'total_alloc_error': 0,
'total_clients': 0,
'total_servers': 0,
'tx_bps': 18494314496.0,
'tx_cps': 0.0,
'tx_expected_bps': 0.0,
'tx_expected_cps': 0.0,
'tx_expected_pps': 0.0,
'tx_pps': 36121708.0},
'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
'total': {'ibytes': 11937868800,
'ierrors': 0,
'ipackets': 186529238,
'obytes': 23080487040,
'oerrors': 0,
'opackets': 360632656,
'rx_bps': 9595028480.0,
'rx_bps_L1': 12593474560.0,
'rx_pps': 18740288.0,
'rx_util': 31.4836864,
'tx_bps': 18494314496.0,
'tx_bps_L1': 24273787776.0,
'tx_pps': 36121708.0,
'tx_util': 60.68446944}}
18/11/2020 22:23:07 pktgen: {'ibytes': 11937868800,
'ierrors': 0,
'ipackets': 186529238,
'obytes': 23080487040,
'oerrors': 0,
'opackets': 360632656,
'rx_bps': 9595028480.0,
'rx_bps_L1': 12593474560.0,
'rx_pps': 18740288.0,
'rx_util': 31.4836864,
'tx_bps': 18494314496.0,
'tx_bps_L1': 24273787776.0,
'tx_pps': 36121708.0,
'tx_util': 60.68446944}
18/11/2020 22:23:07 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 18494314496.000000, tx_pps: 36121708.000000
18/11/2020 22:23:07 pktgen: {'ibytes': 11937868800,
'ierrors': 0,
'ipackets': 186529238,
'obytes': 23080487040,
'oerrors': 0,
'opackets': 360632656,
'rx_bps': 9595028480.0,
'rx_bps_L1': 12593474560.0,
'rx_pps': 18740288.0,
'rx_util': 31.4836864,
'tx_bps': 18494314496.0,
'tx_bps_L1': 24273787776.0,
'tx_pps': 36121708.0,
'tx_util': 60.68446944}
18/11/2020 22:23:07 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 9595028480.000000, rx_pps: 18740288.000000
18/11/2020 22:23:07 pktgen: throughput: pps_rx 18740288.000000, bps_rx 9595028480.000000
18/11/2020 22:23:07 pktgen: traffic completed.
18/11/2020 22:23:07 dut.10.240.183.214: stop
18/11/2020 22:23:07 dut.10.240.183.214:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 139680196 TX-packets: 139680196 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
RX-packets: 139412669 TX-packets: 139412669 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 279092865 RX-dropped: 0 RX-total: 279092865
TX-packets: 279092865 TX-dropped: 0 TX-total: 279092865
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 279092865 RX-dropped: 0 RX-total: 279092865
TX-packets: 279092865 TX-dropped: 0 TX-total: 279092865
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
18/11/2020 22:23:07 dut.10.240.183.214: start
18/11/2020 22:23:07 dut.10.240.183.214:
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=255 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x1
TX queue: 0
TX desc=255 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
18/11/2020 22:23:08 dut.10.240.183.214: quit
18/11/2020 22:23:09 dut.10.240.183.214:
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...
18/11/2020 22:23:09 TestPVPVirtioUserMultiQueuesPortRestart:
+--------------+-------------------------------+------------------+------------+----------------+
| FrameSize(B) | Mode | Throughput(Mpps) | % linerate | Cycle |
+==============+===============================+==================+============+================+
| 64 | packed_ring_inorder_mergeable | 18.721 | 31.451 | Before Restart |
+--------------+-------------------------------+------------------+------------+----------------+
| 64 | packed_ring_inorder_mergeable | 18.740 | 31.484 | After Restart |
+--------------+-------------------------------+------------------+------------+----------------+
18/11/2020 22:23:09 TestPVPVirtioUserMultiQueuesPortRestart: Test Case test_perf_pvp_2queues_test_with_packed_ring_inorder_mergeable_path Result PASSED:
18/11/2020 22:23:09 dut.10.240.183.214: kill_all: called by dut and prefix list has value.
18/11/2020 22:23:12 TestPVPVirtioUserMultiQueuesPortRestart: Test Case test_perf_pvp_2queues_test_with_packed_ring_inorder_nonmergeable_path Begin
18/11/2020 22:23:12 dut.10.240.183.214:
18/11/2020 22:23:12 tester:
18/11/2020 22:23:12 dut.10.240.183.214: rm -rf ./vhost.out
18/11/2020 22:23:12 dut.10.240.183.214:
18/11/2020 22:23:12 dut.10.240.183.214: killall -s INT dpdk-testpmd
18/11/2020 22:23:12 dut.10.240.183.214: dpdk-testpmd: no process found
18/11/2020 22:23:12 dut.10.240.183.214: rm -rf ./vhost-net*
18/11/2020 22:23:12 dut.10.240.183.214:
18/11/2020 22:23:23 dut.10.240.183.214: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
18/11/2020 22:23:23 dut.10.240.183.214: 2048
18/11/2020 22:23:23 dut.10.240.183.214: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 33,34,35 -n 4 --file-prefix=virtio --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 --single-file-segments -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2 --txd=255 --rxd=255
18/11/2020 22:23:24 dut.10.240.183.214: EAL: Detected 112 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/virtio/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: No available hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: No legacy callbacks, legacy socket not created
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 <mb_pool_1>: 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
18/11/2020 22:23:34 dut.10.240.183.214: set fwd mac
18/11/2020 22:23:34 dut.10.240.183.214:
Set mac packet forwarding mode
18/11/2020 22:23:34 dut.10.240.183.214: start
18/11/2020 22:23:34 dut.10.240.183.214:
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=255 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x1
TX queue: 0
TX desc=255 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
18/11/2020 22:23:34 TestPVPVirtioUserMultiQueuesPortRestart: Running test test_perf_pvp_2queues_test_with_packed_ring_inorder_nonmergeable_path, and 64 frame size.
18/11/2020 22:23:34 tester: ls -d /tmp
18/11/2020 22:23:34 tester: /tmp
18/11/2020 22:23:34 tester: scp -v /home/autoregression/dts/dts/output/tmp/pcap/pvp_multipath.pcap root@10.240.183.213:/tmp/pvp_multipath.pcap
18/11/2020 22:23:36 pktgen: test port 0 map gen port 0
18/11/2020 22:23:36 pktgen: test port 0 map gen port 0
18/11/2020 22:23:36 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:23:36 pktgen: trex port <0> not support flow control
18/11/2020 22:23:36 pktgen: trex packet generator: run traffic 5s to warm up ...
18/11/2020 22:23:36 pktgen: check the trex port link status
18/11/2020 22:23:36 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:23:36 pktgen: begin traffic ......
18/11/2020 22:23:36 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/11/2020 22:23:41 pktgen: traffic completed.
18/11/2020 22:23:41 pktgen: check the trex port link status
18/11/2020 22:23:41 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:23:41 pktgen: begin traffic ......
18/11/2020 22:23:41 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/11/2020 22:23:51 pktgen: begin get port statistic ...
18/11/2020 22:23:51 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}
18/11/2020 22:23:51 pktgen: {0: {'ibytes': 11871335424,
'ierrors': 0,
'ipackets': 185489659,
'obytes': 23040677632,
'oerrors': 0,
'opackets': 360010628,
'rx_bps': 9532595200.0,
'rx_bps_L1': 12511530880.0,
'rx_pps': 18618348.0,
'rx_util': 31.2788272,
'tx_bps': 18399981568.0,
'tx_bps_L1': 24149975168.000004,
'tx_pps': 35937460.0,
'tx_util': 60.37493792000001},
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.347932815551758,
'cpu_util': 98.4173812866211,
'cpu_util_raw': 100.0,
'open_flows': 0.0,
'platform_factor': 1.0,
'queue_full': 0,
'rx_bps': 9532595200.0,
'rx_core_pps': 0.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 8867387392.0,
'rx_pps': 18618348.0,
'socket_util': 0.0,
'total_alloc_error': 0,
'total_clients': 0,
'total_servers': 0,
'tx_bps': 18399981568.0,
'tx_cps': 0.0,
'tx_expected_bps': 0.0,
'tx_expected_cps': 0.0,
'tx_expected_pps': 0.0,
'tx_pps': 35937460.0},
'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
'total': {'ibytes': 11871335424,
'ierrors': 0,
'ipackets': 185489659,
'obytes': 23040677632,
'oerrors': 0,
'opackets': 360010628,
'rx_bps': 9532595200.0,
'rx_bps_L1': 12511530880.0,
'rx_pps': 18618348.0,
'rx_util': 31.2788272,
'tx_bps': 18399981568.0,
'tx_bps_L1': 24149975168.000004,
'tx_pps': 35937460.0,
'tx_util': 60.37493792000001}}
18/11/2020 22:23:51 pktgen: {'ibytes': 11871335424,
'ierrors': 0,
'ipackets': 185489659,
'obytes': 23040677632,
'oerrors': 0,
'opackets': 360010628,
'rx_bps': 9532595200.0,
'rx_bps_L1': 12511530880.0,
'rx_pps': 18618348.0,
'rx_util': 31.2788272,
'tx_bps': 18399981568.0,
'tx_bps_L1': 24149975168.000004,
'tx_pps': 35937460.0,
'tx_util': 60.37493792000001}
18/11/2020 22:23:51 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 18399981568.000000, tx_pps: 35937460.000000
18/11/2020 22:23:51 pktgen: {'ibytes': 11871335424,
'ierrors': 0,
'ipackets': 185489659,
'obytes': 23040677632,
'oerrors': 0,
'opackets': 360010628,
'rx_bps': 9532595200.0,
'rx_bps_L1': 12511530880.0,
'rx_pps': 18618348.0,
'rx_util': 31.2788272,
'tx_bps': 18399981568.0,
'tx_bps_L1': 24149975168.000004,
'tx_pps': 35937460.0,
'tx_util': 60.37493792000001}
18/11/2020 22:23:51 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 9532595200.000000, rx_pps: 18618348.000000
18/11/2020 22:23:51 pktgen: throughput: pps_rx 18618348.000000, bps_rx 9532595200.000000
18/11/2020 22:23:51 pktgen: traffic completed.
18/11/2020 22:23:51 dut.10.240.183.214: stop
18/11/2020 22:23:51 dut.10.240.183.214:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 138859215 TX-packets: 138859215 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
RX-packets: 138324213 TX-packets: 138324213 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 277183428 RX-dropped: 0 RX-total: 277183428
TX-packets: 277183428 TX-dropped: 0 TX-total: 277183428
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 277183428 RX-dropped: 0 RX-total: 277183428
TX-packets: 277183428 TX-dropped: 0 TX-total: 277183428
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
18/11/2020 22:23:51 dut.10.240.183.214: start
18/11/2020 22:23:52 dut.10.240.183.214:
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=255 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x1
TX queue: 0
TX desc=255 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
18/11/2020 22:23:54 tester: ls -d /tmp
18/11/2020 22:23:54 tester: /tmp
18/11/2020 22:23:54 tester: scp -v /home/autoregression/dts/dts/output/tmp/pcap/pvp_multipath.pcap root@10.240.183.213:/tmp/pvp_multipath.pcap
18/11/2020 22:23:57 pktgen: test port 0 map gen port 0
18/11/2020 22:23:57 pktgen: test port 0 map gen port 0
18/11/2020 22:23:57 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:23:57 pktgen: trex port <0> not support flow control
18/11/2020 22:23:57 pktgen: trex packet generator: run traffic 5s to warm up ...
18/11/2020 22:23:57 pktgen: check the trex port link status
18/11/2020 22:23:57 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:23:57 pktgen: begin traffic ......
18/11/2020 22:23:57 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/11/2020 22:24:02 pktgen: traffic completed.
18/11/2020 22:24:02 pktgen: check the trex port link status
18/11/2020 22:24:02 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:24:02 pktgen: begin traffic ......
18/11/2020 22:24:02 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/11/2020 22:24:12 pktgen: begin get port statistic ...
18/11/2020 22:24:12 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}
18/11/2020 22:24:12 pktgen: {0: {'ibytes': 11899391360,
'ierrors': 0,
'ipackets': 185928002,
'obytes': 22899990528,
'oerrors': 0,
'opackets': 357812376,
'rx_bps': 9530575872.0,
'rx_bps_L1': 12508881152.0,
'rx_pps': 18614408.0,
'rx_util': 31.27220288,
'tx_bps': 18259560448.0,
'tx_bps_L1': 23965672448.0,
'tx_pps': 35663200.0,
'tx_util': 59.914181119999995},
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.246499061584473,
'cpu_util': 98.73770141601562,
'cpu_util_raw': 100.0,
'open_flows': 0.0,
'platform_factor': 1.0,
'queue_full': 0,
'rx_bps': 9530575872.0,
'rx_core_pps': 0.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 8728984576.0,
'rx_pps': 18614408.0,
'socket_util': 0.0,
'total_alloc_error': 0,
'total_clients': 0,
'total_servers': 0,
'tx_bps': 18259560448.0,
'tx_cps': 0.0,
'tx_expected_bps': 0.0,
'tx_expected_cps': 0.0,
'tx_expected_pps': 0.0,
'tx_pps': 35663200.0},
'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
'total': {'ibytes': 11899391360,
'ierrors': 0,
'ipackets': 185928002,
'obytes': 22899990528,
'oerrors': 0,
'opackets': 357812376,
'rx_bps': 9530575872.0,
'rx_bps_L1': 12508881152.0,
'rx_pps': 18614408.0,
'rx_util': 31.27220288,
'tx_bps': 18259560448.0,
'tx_bps_L1': 23965672448.0,
'tx_pps': 35663200.0,
'tx_util': 59.914181119999995}}
18/11/2020 22:24:12 pktgen: {'ibytes': 11899391360,
'ierrors': 0,
'ipackets': 185928002,
'obytes': 22899990528,
'oerrors': 0,
'opackets': 357812376,
'rx_bps': 9530575872.0,
'rx_bps_L1': 12508881152.0,
'rx_pps': 18614408.0,
'rx_util': 31.27220288,
'tx_bps': 18259560448.0,
'tx_bps_L1': 23965672448.0,
'tx_pps': 35663200.0,
'tx_util': 59.914181119999995}
18/11/2020 22:24:12 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 18259560448.000000, tx_pps: 35663200.000000
18/11/2020 22:24:12 pktgen: {'ibytes': 11899391360,
'ierrors': 0,
'ipackets': 185928002,
'obytes': 22899990528,
'oerrors': 0,
'opackets': 357812376,
'rx_bps': 9530575872.0,
'rx_bps_L1': 12508881152.0,
'rx_pps': 18614408.0,
'rx_util': 31.27220288,
'tx_bps': 18259560448.0,
'tx_bps_L1': 23965672448.0,
'tx_pps': 35663200.0,
'tx_util': 59.914181119999995}
18/11/2020 22:24:12 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 9530575872.000000, rx_pps: 18614408.000000
18/11/2020 22:24:12 pktgen: throughput: pps_rx 18614408.000000, bps_rx 9530575872.000000
18/11/2020 22:24:12 pktgen: traffic completed.
18/11/2020 22:24:12 dut.10.240.183.214: stop
18/11/2020 22:24:12 dut.10.240.183.214:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 139822088 TX-packets: 139822088 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
RX-packets: 139318780 TX-packets: 139318780 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 279140868 RX-dropped: 0 RX-total: 279140868
TX-packets: 279140868 TX-dropped: 0 TX-total: 279140868
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 279140868 RX-dropped: 0 RX-total: 279140868
TX-packets: 279140868 TX-dropped: 0 TX-total: 279140868
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
18/11/2020 22:24:12 dut.10.240.183.214: start
18/11/2020 22:24:12 dut.10.240.183.214:
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=255 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x1
TX queue: 0
TX desc=255 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
18/11/2020 22:24:13 dut.10.240.183.214: quit
18/11/2020 22:24:13 dut.10.240.183.214:
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...
18/11/2020 22:24:13 TestPVPVirtioUserMultiQueuesPortRestart:
+--------------+----------------------------------+------------------+------------+----------------+
| FrameSize(B) | Mode | Throughput(Mpps) | % linerate | Cycle |
+==============+==================================+==================+============+================+
| 64 | packed_ring_inorder_nonmergeable | 18.618 | 31.279 | Before Restart |
+--------------+----------------------------------+------------------+------------+----------------+
| 64 | packed_ring_inorder_nonmergeable | 18.614 | 31.272 | After Restart |
+--------------+----------------------------------+------------------+------------+----------------+
18/11/2020 22:24:13 TestPVPVirtioUserMultiQueuesPortRestart: Test Case test_perf_pvp_2queues_test_with_packed_ring_inorder_nonmergeable_path Result PASSED:
18/11/2020 22:24:13 dut.10.240.183.214: kill_all: called by dut and prefix list has value.
18/11/2020 22:24:17 TestPVPVirtioUserMultiQueuesPortRestart: Test Case test_perf_pvp_2queues_test_with_packed_ring_mergeable_path Begin
18/11/2020 22:24:17 dut.10.240.183.214:
18/11/2020 22:24:17 tester:
18/11/2020 22:24:17 dut.10.240.183.214: rm -rf ./vhost.out
18/11/2020 22:24:17 dut.10.240.183.214:
18/11/2020 22:24:17 dut.10.240.183.214: killall -s INT dpdk-testpmd
18/11/2020 22:24:17 dut.10.240.183.214: dpdk-testpmd: no process found
18/11/2020 22:24:17 dut.10.240.183.214: rm -rf ./vhost-net*
18/11/2020 22:24:17 dut.10.240.183.214:
18/11/2020 22:24:28 dut.10.240.183.214: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
18/11/2020 22:24:28 dut.10.240.183.214: 2048
18/11/2020 22:24:28 dut.10.240.183.214: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 33,34,35 -n 4 --file-prefix=virtio --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 --single-file-segments -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2 --txd=255 --rxd=255
18/11/2020 22:24:28 dut.10.240.183.214: EAL: Detected 112 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/virtio/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: No available hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: No legacy callbacks, legacy socket not created
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 <mb_pool_1>: 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
18/11/2020 22:24:38 dut.10.240.183.214: set fwd mac
18/11/2020 22:24:38 dut.10.240.183.214:
Set mac packet forwarding mode
18/11/2020 22:24:38 dut.10.240.183.214: start
18/11/2020 22:24:39 dut.10.240.183.214:
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=255 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x1
TX queue: 0
TX desc=255 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
18/11/2020 22:24:39 TestPVPVirtioUserMultiQueuesPortRestart: Running test test_perf_pvp_2queues_test_with_packed_ring_mergeable_path, and 64 frame size.
18/11/2020 22:24:39 tester: ls -d /tmp
18/11/2020 22:24:39 tester: /tmp
18/11/2020 22:24:39 tester: scp -v /home/autoregression/dts/dts/output/tmp/pcap/pvp_multipath.pcap root@10.240.183.213:/tmp/pvp_multipath.pcap
18/11/2020 22:24:41 pktgen: test port 0 map gen port 0
18/11/2020 22:24:41 pktgen: test port 0 map gen port 0
18/11/2020 22:24:41 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:24:41 pktgen: trex port <0> not support flow control
18/11/2020 22:24:41 pktgen: trex packet generator: run traffic 5s to warm up ...
18/11/2020 22:24:41 pktgen: check the trex port link status
18/11/2020 22:24:41 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:24:41 pktgen: begin traffic ......
18/11/2020 22:24:41 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/11/2020 22:24:46 pktgen: traffic completed.
18/11/2020 22:24:46 pktgen: check the trex port link status
18/11/2020 22:24:46 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:24:46 pktgen: begin traffic ......
18/11/2020 22:24:46 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/11/2020 22:24:56 pktgen: begin get port statistic ...
18/11/2020 22:24: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}
18/11/2020 22:24:56 pktgen: {0: {'ibytes': 11618852544,
'ierrors': 0,
'ipackets': 181544594,
'obytes': 23062982848,
'oerrors': 0,
'opackets': 360359136,
'rx_bps': 9297830912.0,
'rx_bps_L1': 12203402752.0,
'rx_pps': 18159824.0,
'rx_util': 30.508506880000002,
'tx_bps': 18328862720.0,
'tx_bps_L1': 24056632320.0,
'tx_pps': 35798560.0,
'tx_util': 60.14158080000001},
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.334774017333984,
'cpu_util': 98.17518615722656,
'cpu_util_raw': 100.0,
'open_flows': 0.0,
'platform_factor': 1.0,
'queue_full': 0,
'rx_bps': 9297830912.0,
'rx_core_pps': 0.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 9031031808.0,
'rx_pps': 18159824.0,
'socket_util': 0.0,
'total_alloc_error': 0,
'total_clients': 0,
'total_servers': 0,
'tx_bps': 18328862720.0,
'tx_cps': 0.0,
'tx_expected_bps': 0.0,
'tx_expected_cps': 0.0,
'tx_expected_pps': 0.0,
'tx_pps': 35798560.0},
'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
'total': {'ibytes': 11618852544,
'ierrors': 0,
'ipackets': 181544594,
'obytes': 23062982848,
'oerrors': 0,
'opackets': 360359136,
'rx_bps': 9297830912.0,
'rx_bps_L1': 12203402752.0,
'rx_pps': 18159824.0,
'rx_util': 30.508506880000002,
'tx_bps': 18328862720.0,
'tx_bps_L1': 24056632320.0,
'tx_pps': 35798560.0,
'tx_util': 60.14158080000001}}
18/11/2020 22:24:56 pktgen: {'ibytes': 11618852544,
'ierrors': 0,
'ipackets': 181544594,
'obytes': 23062982848,
'oerrors': 0,
'opackets': 360359136,
'rx_bps': 9297830912.0,
'rx_bps_L1': 12203402752.0,
'rx_pps': 18159824.0,
'rx_util': 30.508506880000002,
'tx_bps': 18328862720.0,
'tx_bps_L1': 24056632320.0,
'tx_pps': 35798560.0,
'tx_util': 60.14158080000001}
18/11/2020 22:24:56 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 18328862720.000000, tx_pps: 35798560.000000
18/11/2020 22:24:56 pktgen: {'ibytes': 11618852544,
'ierrors': 0,
'ipackets': 181544594,
'obytes': 23062982848,
'oerrors': 0,
'opackets': 360359136,
'rx_bps': 9297830912.0,
'rx_bps_L1': 12203402752.0,
'rx_pps': 18159824.0,
'rx_util': 30.508506880000002,
'tx_bps': 18328862720.0,
'tx_bps_L1': 24056632320.0,
'tx_pps': 35798560.0,
'tx_util': 60.14158080000001}
18/11/2020 22:24:56 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 9297830912.000000, rx_pps: 18159824.000000
18/11/2020 22:24:56 pktgen: throughput: pps_rx 18159824.000000, bps_rx 9297830912.000000
18/11/2020 22:24:56 pktgen: traffic completed.
18/11/2020 22:24:56 dut.10.240.183.214: stop
18/11/2020 22:24:56 dut.10.240.183.214:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 136548332 TX-packets: 136548332 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
RX-packets: 136588324 TX-packets: 136588324 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 273136656 RX-dropped: 0 RX-total: 273136656
TX-packets: 273136656 TX-dropped: 0 TX-total: 273136656
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 273136656 RX-dropped: 0 RX-total: 273136656
TX-packets: 273136656 TX-dropped: 0 TX-total: 273136656
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
18/11/2020 22:24:56 dut.10.240.183.214: start
18/11/2020 22:24:56 dut.10.240.183.214:
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=255 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x1
TX queue: 0
TX desc=255 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
18/11/2020 22:29:26 tester: ls -d /tmp
18/11/2020 22:29:26 tester: /tmp
18/11/2020 22:29:26 tester: scp -v /home/autoregression/dts/dts/output/tmp/pcap/pvp_multipath.pcap root@10.240.183.213:/tmp/pvp_multipath.pcap
18/11/2020 22:29:29 pktgen: test port 0 map gen port 0
18/11/2020 22:29:29 pktgen: test port 0 map gen port 0
18/11/2020 22:29:29 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:29:29 pktgen: trex port <0> not support flow control
18/11/2020 22:29:29 pktgen: trex packet generator: run traffic 5s to warm up ...
18/11/2020 22:29:29 pktgen: check the trex port link status
18/11/2020 22:29:29 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:29:29 pktgen: begin traffic ......
18/11/2020 22:29:29 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/11/2020 22:29:34 pktgen: traffic completed.
18/11/2020 22:29:34 pktgen: check the trex port link status
18/11/2020 22:29:34 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:29:34 pktgen: begin traffic ......
18/11/2020 22:29:34 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/11/2020 22:29:44 pktgen: begin get port statistic ...
18/11/2020 22:29:44 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}
18/11/2020 22:29:44 pktgen: {0: {'ibytes': 11683209472,
'ierrors': 0,
'ipackets': 182550152,
'obytes': 23009772480,
'oerrors': 0,
'opackets': 359527747,
'rx_bps': 9360667648.0,
'rx_bps_L1': 12285875968.0,
'rx_pps': 18282552.0,
'rx_util': 30.714689919999998,
'tx_bps': 18347218944.0,
'tx_bps_L1': 24080722944.000004,
'tx_pps': 35834400.0,
'tx_util': 60.20180736000002},
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.356964111328125,
'cpu_util': 98.04045104980469,
'cpu_util_raw': 100.0,
'open_flows': 0.0,
'platform_factor': 1.0,
'queue_full': 0,
'rx_bps': 9360667648.0,
'rx_core_pps': 0.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 8986550272.0,
'rx_pps': 18282552.0,
'socket_util': 0.0,
'total_alloc_error': 0,
'total_clients': 0,
'total_servers': 0,
'tx_bps': 18347218944.0,
'tx_cps': 0.0,
'tx_expected_bps': 0.0,
'tx_expected_cps': 0.0,
'tx_expected_pps': 0.0,
'tx_pps': 35834400.0},
'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
'total': {'ibytes': 11683209472,
'ierrors': 0,
'ipackets': 182550152,
'obytes': 23009772480,
'oerrors': 0,
'opackets': 359527747,
'rx_bps': 9360667648.0,
'rx_bps_L1': 12285875968.0,
'rx_pps': 18282552.0,
'rx_util': 30.714689919999998,
'tx_bps': 18347218944.0,
'tx_bps_L1': 24080722944.000004,
'tx_pps': 35834400.0,
'tx_util': 60.20180736000002}}
18/11/2020 22:29:44 pktgen: {'ibytes': 11683209472,
'ierrors': 0,
'ipackets': 182550152,
'obytes': 23009772480,
'oerrors': 0,
'opackets': 359527747,
'rx_bps': 9360667648.0,
'rx_bps_L1': 12285875968.0,
'rx_pps': 18282552.0,
'rx_util': 30.714689919999998,
'tx_bps': 18347218944.0,
'tx_bps_L1': 24080722944.000004,
'tx_pps': 35834400.0,
'tx_util': 60.20180736000002}
18/11/2020 22:29:44 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 18347218944.000000, tx_pps: 35834400.000000
18/11/2020 22:29:44 pktgen: {'ibytes': 11683209472,
'ierrors': 0,
'ipackets': 182550152,
'obytes': 23009772480,
'oerrors': 0,
'opackets': 359527747,
'rx_bps': 9360667648.0,
'rx_bps_L1': 12285875968.0,
'rx_pps': 18282552.0,
'rx_util': 30.714689919999998,
'tx_bps': 18347218944.0,
'tx_bps_L1': 24080722944.000004,
'tx_pps': 35834400.0,
'tx_util': 60.20180736000002}
18/11/2020 22:29:44 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 9360667648.000000, rx_pps: 18282552.000000
18/11/2020 22:29:44 pktgen: throughput: pps_rx 18282552.000000, bps_rx 9360667648.000000
18/11/2020 22:29:44 pktgen: traffic completed.
18/11/2020 22:29:44 dut.10.240.183.214: stop
18/11/2020 22:29:44 dut.10.240.183.214:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 136688925 TX-packets: 136688925 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
RX-packets: 136291467 TX-packets: 136291467 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 272980392 RX-dropped: 0 RX-total: 272980392
TX-packets: 272980392 TX-dropped: 0 TX-total: 272980392
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 272980392 RX-dropped: 0 RX-total: 272980392
TX-packets: 272980392 TX-dropped: 0 TX-total: 272980392
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
18/11/2020 22:29:44 dut.10.240.183.214: start
18/11/2020 22:29:44 dut.10.240.183.214:
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=255 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x1
TX queue: 0
TX desc=255 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
18/11/2020 22:29:45 dut.10.240.183.214: quit
18/11/2020 22:29:45 dut.10.240.183.214:
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...
18/11/2020 22:29:45 TestPVPVirtioUserMultiQueuesPortRestart:
+--------------+-----------------------+------------------+------------+----------------+
| FrameSize(B) | Mode | Throughput(Mpps) | % linerate | Cycle |
+==============+=======================+==================+============+================+
| 64 | packed_ring_mergeable | 18.160 | 30.509 | Before Restart |
+--------------+-----------------------+------------------+------------+----------------+
| 64 | packed_ring_mergeable | 18.283 | 30.715 | After Restart |
+--------------+-----------------------+------------------+------------+----------------+
18/11/2020 22:29:45 TestPVPVirtioUserMultiQueuesPortRestart: Test Case test_perf_pvp_2queues_test_with_packed_ring_mergeable_path Result PASSED:
18/11/2020 22:29:45 dut.10.240.183.214: kill_all: called by dut and prefix list has value.
18/11/2020 22:29:49 TestPVPVirtioUserMultiQueuesPortRestart: Test Case test_perf_pvp_2queues_test_with_packed_ring_nonmergeable_path Begin
18/11/2020 22:29:49 dut.10.240.183.214:
18/11/2020 22:29:49 tester:
18/11/2020 22:29:49 dut.10.240.183.214: rm -rf ./vhost.out
18/11/2020 22:29:49 dut.10.240.183.214:
18/11/2020 22:29:49 dut.10.240.183.214: killall -s INT dpdk-testpmd
18/11/2020 22:29:49 dut.10.240.183.214: dpdk-testpmd: no process found
18/11/2020 22:29:49 dut.10.240.183.214: rm -rf ./vhost-net*
18/11/2020 22:29:49 dut.10.240.183.214:
18/11/2020 22:30:00 dut.10.240.183.214: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
18/11/2020 22:30:00 dut.10.240.183.214: 2048
18/11/2020 22:30:00 dut.10.240.183.214: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 33,34,35 -n 4 --file-prefix=virtio --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 --single-file-segments -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2 --txd=255 --rxd=255
18/11/2020 22:30:00 dut.10.240.183.214: EAL: Detected 112 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/virtio/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: No available hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: No legacy callbacks, legacy socket not created
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 <mb_pool_1>: 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
18/11/2020 22:30:10 dut.10.240.183.214: set fwd mac
18/11/2020 22:30:10 dut.10.240.183.214:
Set mac packet forwarding mode
18/11/2020 22:30:10 dut.10.240.183.214: start
18/11/2020 22:30:10 dut.10.240.183.214:
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=255 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x1
TX queue: 0
TX desc=255 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
18/11/2020 22:30:10 TestPVPVirtioUserMultiQueuesPortRestart: Running test test_perf_pvp_2queues_test_with_packed_ring_nonmergeable_path, and 64 frame size.
18/11/2020 22:30:10 tester: ls -d /tmp
18/11/2020 22:30:11 tester: /tmp
18/11/2020 22:30:11 tester: scp -v /home/autoregression/dts/dts/output/tmp/pcap/pvp_multipath.pcap root@10.240.183.213:/tmp/pvp_multipath.pcap
18/11/2020 22:30:13 pktgen: test port 0 map gen port 0
18/11/2020 22:30:13 pktgen: test port 0 map gen port 0
18/11/2020 22:30:13 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:30:13 pktgen: trex port <0> not support flow control
18/11/2020 22:30:13 pktgen: trex packet generator: run traffic 5s to warm up ...
18/11/2020 22:30:13 pktgen: check the trex port link status
18/11/2020 22:30:13 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:30:13 pktgen: begin traffic ......
18/11/2020 22:30:13 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/11/2020 22:30:18 pktgen: traffic completed.
18/11/2020 22:30:18 pktgen: check the trex port link status
18/11/2020 22:30:18 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:30:18 pktgen: begin traffic ......
18/11/2020 22:30:18 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/11/2020 22:30:28 pktgen: begin get port statistic ...
18/11/2020 22:30:28 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}
18/11/2020 22:30:28 pktgen: {0: {'ibytes': 11762211456,
'ierrors': 0,
'ipackets': 183784560,
'obytes': 18763017728,
'oerrors': 0,
'opackets': 293172203,
'rx_bps': 9411918848.0,
'rx_bps_L1': 12353141888.0,
'rx_pps': 18382644.0,
'rx_util': 30.88285472,
'tx_bps': 14998830080.0,
'tx_bps_L1': 19685966080.0,
'tx_pps': 29294600.0,
'tx_util': 49.2149152},
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': 7.626339435577393,
'cpu_util': 98.33570861816406,
'cpu_util_raw': 100.0,
'open_flows': 0.0,
'platform_factor': 1.0,
'queue_full': 0,
'rx_bps': 9411918848.0,
'rx_core_pps': 0.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 5586911232.0,
'rx_pps': 18382644.0,
'socket_util': 0.0,
'total_alloc_error': 0,
'total_clients': 0,
'total_servers': 0,
'tx_bps': 14998830080.0,
'tx_cps': 0.0,
'tx_expected_bps': 0.0,
'tx_expected_cps': 0.0,
'tx_expected_pps': 0.0,
'tx_pps': 29294600.0},
'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
'total': {'ibytes': 11762211456,
'ierrors': 0,
'ipackets': 183784560,
'obytes': 18763017728,
'oerrors': 0,
'opackets': 293172203,
'rx_bps': 9411918848.0,
'rx_bps_L1': 12353141888.0,
'rx_pps': 18382644.0,
'rx_util': 30.88285472,
'tx_bps': 14998830080.0,
'tx_bps_L1': 19685966080.0,
'tx_pps': 29294600.0,
'tx_util': 49.2149152}}
18/11/2020 22:30:28 pktgen: {'ibytes': 11762211456,
'ierrors': 0,
'ipackets': 183784560,
'obytes': 18763017728,
'oerrors': 0,
'opackets': 293172203,
'rx_bps': 9411918848.0,
'rx_bps_L1': 12353141888.0,
'rx_pps': 18382644.0,
'rx_util': 30.88285472,
'tx_bps': 14998830080.0,
'tx_bps_L1': 19685966080.0,
'tx_pps': 29294600.0,
'tx_util': 49.2149152}
18/11/2020 22:30:28 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 14998830080.000000, tx_pps: 29294600.000000
18/11/2020 22:30:28 pktgen: {'ibytes': 11762211456,
'ierrors': 0,
'ipackets': 183784560,
'obytes': 18763017728,
'oerrors': 0,
'opackets': 293172203,
'rx_bps': 9411918848.0,
'rx_bps_L1': 12353141888.0,
'rx_pps': 18382644.0,
'rx_util': 30.88285472,
'tx_bps': 14998830080.0,
'tx_bps_L1': 19685966080.0,
'tx_pps': 29294600.0,
'tx_util': 49.2149152}
18/11/2020 22:30:28 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 9411918848.000000, rx_pps: 18382644.000000
18/11/2020 22:30:28 pktgen: throughput: pps_rx 18382644.000000, bps_rx 9411918848.000000
18/11/2020 22:30:28 pktgen: traffic completed.
18/11/2020 22:30:28 dut.10.240.183.214: stop
18/11/2020 22:30:28 dut.10.240.183.214:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 137017773 TX-packets: 137017773 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
RX-packets: 136980456 TX-packets: 136980456 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 273998229 RX-dropped: 0 RX-total: 273998229
TX-packets: 273998229 TX-dropped: 0 TX-total: 273998229
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 273998229 RX-dropped: 0 RX-total: 273998229
TX-packets: 273998229 TX-dropped: 0 TX-total: 273998229
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
18/11/2020 22:30:28 dut.10.240.183.214: start
18/11/2020 22:30:28 dut.10.240.183.214:
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=255 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x1
TX queue: 0
TX desc=255 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
18/11/2020 22:30:31 tester: ls -d /tmp
18/11/2020 22:30:31 tester: /tmp
18/11/2020 22:30:31 tester: scp -v /home/autoregression/dts/dts/output/tmp/pcap/pvp_multipath.pcap root@10.240.183.213:/tmp/pvp_multipath.pcap
18/11/2020 22:30:33 pktgen: test port 0 map gen port 0
18/11/2020 22:30:33 pktgen: test port 0 map gen port 0
18/11/2020 22:30:33 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:30:33 pktgen: trex port <0> not support flow control
18/11/2020 22:30:33 pktgen: trex packet generator: run traffic 5s to warm up ...
18/11/2020 22:30:33 pktgen: check the trex port link status
18/11/2020 22:30:33 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:30:33 pktgen: begin traffic ......
18/11/2020 22:30:33 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/11/2020 22:30:38 pktgen: traffic completed.
18/11/2020 22:30:38 pktgen: check the trex port link status
18/11/2020 22:30:38 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:30:38 pktgen: begin traffic ......
18/11/2020 22:30:38 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/11/2020 22:30:48 pktgen: begin get port statistic ...
18/11/2020 22:30:48 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}
18/11/2020 22:30:48 pktgen: {0: {'ibytes': 11652909376,
'ierrors': 0,
'ipackets': 182076722,
'obytes': 23125281024,
'oerrors': 0,
'opackets': 361332569,
'rx_bps': 9342340096.0,
'rx_bps_L1': 12261821055.999998,
'rx_pps': 18246756.0,
'rx_util': 30.654552639999995,
'tx_bps': 18444132352.0,
'tx_bps_L1': 24207923072.0,
'tx_pps': 36023692.0,
'tx_util': 60.51980768000001},
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.346570014953613,
'cpu_util': 98.66792297363281,
'cpu_util_raw': 100.0,
'open_flows': 0.0,
'platform_factor': 1.0,
'queue_full': 0,
'rx_bps': 9342340096.0,
'rx_core_pps': 0.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 9101793280.0,
'rx_pps': 18246756.0,
'socket_util': 0.0,
'total_alloc_error': 0,
'total_clients': 0,
'total_servers': 0,
'tx_bps': 18444132352.0,
'tx_cps': 0.0,
'tx_expected_bps': 0.0,
'tx_expected_cps': 0.0,
'tx_expected_pps': 0.0,
'tx_pps': 36023692.0},
'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
'total': {'ibytes': 11652909376,
'ierrors': 0,
'ipackets': 182076722,
'obytes': 23125281024,
'oerrors': 0,
'opackets': 361332569,
'rx_bps': 9342340096.0,
'rx_bps_L1': 12261821055.999998,
'rx_pps': 18246756.0,
'rx_util': 30.654552639999995,
'tx_bps': 18444132352.0,
'tx_bps_L1': 24207923072.0,
'tx_pps': 36023692.0,
'tx_util': 60.51980768000001}}
18/11/2020 22:30:48 pktgen: {'ibytes': 11652909376,
'ierrors': 0,
'ipackets': 182076722,
'obytes': 23125281024,
'oerrors': 0,
'opackets': 361332569,
'rx_bps': 9342340096.0,
'rx_bps_L1': 12261821055.999998,
'rx_pps': 18246756.0,
'rx_util': 30.654552639999995,
'tx_bps': 18444132352.0,
'tx_bps_L1': 24207923072.0,
'tx_pps': 36023692.0,
'tx_util': 60.51980768000001}
18/11/2020 22:30:48 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 18444132352.000000, tx_pps: 36023692.000000
18/11/2020 22:30:48 pktgen: {'ibytes': 11652909376,
'ierrors': 0,
'ipackets': 182076722,
'obytes': 23125281024,
'oerrors': 0,
'opackets': 361332569,
'rx_bps': 9342340096.0,
'rx_bps_L1': 12261821055.999998,
'rx_pps': 18246756.0,
'rx_util': 30.654552639999995,
'tx_bps': 18444132352.0,
'tx_bps_L1': 24207923072.0,
'tx_pps': 36023692.0,
'tx_util': 60.51980768000001}
18/11/2020 22:30:48 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 9342340096.000000, rx_pps: 18246756.000000
18/11/2020 22:30:48 pktgen: throughput: pps_rx 18246756.000000, bps_rx 9342340096.000000
18/11/2020 22:30:48 pktgen: traffic completed.
18/11/2020 22:30:48 dut.10.240.183.214: stop
18/11/2020 22:30:48 dut.10.240.183.214:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 135850964 TX-packets: 135850964 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
RX-packets: 136229269 TX-packets: 136229269 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 272080233 RX-dropped: 0 RX-total: 272080233
TX-packets: 272080233 TX-dropped: 0 TX-total: 272080233
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 272080233 RX-dropped: 0 RX-total: 272080233
TX-packets: 272080233 TX-dropped: 0 TX-total: 272080233
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
18/11/2020 22:30:48 dut.10.240.183.214: start
18/11/2020 22:30:49 dut.10.240.183.214:
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=255 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x1
TX queue: 0
TX desc=255 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
18/11/2020 22:30:49 dut.10.240.183.214: quit
18/11/2020 22:30:50 dut.10.240.183.214:
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...
18/11/2020 22:30:50 TestPVPVirtioUserMultiQueuesPortRestart:
+--------------+--------------------------+------------------+------------+----------------+
| FrameSize(B) | Mode | Throughput(Mpps) | % linerate | Cycle |
+==============+==========================+==================+============+================+
| 64 | packed_ring_nonmergeable | 18.383 | 30.883 | Before Restart |
+--------------+--------------------------+------------------+------------+----------------+
| 64 | packed_ring_nonmergeable | 18.247 | 30.655 | After Restart |
+--------------+--------------------------+------------------+------------+----------------+
18/11/2020 22:30:50 TestPVPVirtioUserMultiQueuesPortRestart: Test Case test_perf_pvp_2queues_test_with_packed_ring_nonmergeable_path Result PASSED:
18/11/2020 22:30:50 dut.10.240.183.214: kill_all: called by dut and prefix list has value.
18/11/2020 22:30:53 TestPVPVirtioUserMultiQueuesPortRestart: Test Case test_perf_pvp_2queues_test_with_packed_ring_vectorized_path Begin
18/11/2020 22:30:53 dut.10.240.183.214:
18/11/2020 22:30:53 tester:
18/11/2020 22:30:53 dut.10.240.183.214: rm -rf ./vhost.out
18/11/2020 22:30:53 dut.10.240.183.214:
18/11/2020 22:30:53 dut.10.240.183.214: killall -s INT dpdk-testpmd
18/11/2020 22:30:54 dut.10.240.183.214: dpdk-testpmd: no process found
18/11/2020 22:30:54 dut.10.240.183.214: rm -rf ./vhost-net*
18/11/2020 22:30:54 dut.10.240.183.214:
18/11/2020 22:31:05 dut.10.240.183.214: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
18/11/2020 22:31:05 dut.10.240.183.214: 2048
18/11/2020 22:31:05 dut.10.240.183.214: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 33,34,35 -n 4 --file-prefix=virtio --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 --single-file-segments --force-max-simd-bitwidth=512 -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2 --txd=255 --rxd=255
18/11/2020 22:31:05 dut.10.240.183.214: EAL: Detected 112 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/virtio/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: No available hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: No legacy callbacks, legacy socket not created
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 <mb_pool_1>: 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
18/11/2020 22:31:15 dut.10.240.183.214: set fwd mac
18/11/2020 22:31:15 dut.10.240.183.214:
Set mac packet forwarding mode
18/11/2020 22:31:15 dut.10.240.183.214: start
18/11/2020 22:31:15 dut.10.240.183.214:
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=255 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x1
TX queue: 0
TX desc=255 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
18/11/2020 22:31:15 TestPVPVirtioUserMultiQueuesPortRestart: Running test test_perf_pvp_2queues_test_with_packed_ring_vectorized_path, and 64 frame size.
18/11/2020 22:31:15 tester: ls -d /tmp
18/11/2020 22:31:15 tester: /tmp
18/11/2020 22:31:15 tester: scp -v /home/autoregression/dts/dts/output/tmp/pcap/pvp_multipath.pcap root@10.240.183.213:/tmp/pvp_multipath.pcap
18/11/2020 22:31:18 pktgen: test port 0 map gen port 0
18/11/2020 22:31:18 pktgen: test port 0 map gen port 0
18/11/2020 22:31:18 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:31:18 pktgen: trex port <0> not support flow control
18/11/2020 22:31:18 pktgen: trex packet generator: run traffic 5s to warm up ...
18/11/2020 22:31:18 pktgen: check the trex port link status
18/11/2020 22:31:18 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:31:18 pktgen: begin traffic ......
18/11/2020 22:31:18 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/11/2020 22:31:23 pktgen: traffic completed.
18/11/2020 22:31:23 pktgen: check the trex port link status
18/11/2020 22:31:23 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:31:23 pktgen: begin traffic ......
18/11/2020 22:31:23 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/11/2020 22:31:33 pktgen: begin get port statistic ...
18/11/2020 22:31:33 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}
18/11/2020 22:31:33 pktgen: {0: {'ibytes': 11997642752,
'ierrors': 0,
'ipackets': 187463196,
'obytes': 23146151936,
'oerrors': 0,
'opackets': 361658667,
'rx_bps': 9615055872.0,
'rx_bps_L1': 12619761152.0,
'rx_pps': 18779408.0,
'rx_util': 31.54940288,
'tx_bps': 18398400512.0,
'tx_bps_L1': 24147901952.0,
'tx_pps': 35934384.0,
'tx_util': 60.36975488},
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.338045120239258,
'cpu_util': 98.51313018798828,
'cpu_util_raw': 100.0,
'open_flows': 0.0,
'platform_factor': 1.0,
'queue_full': 0,
'rx_bps': 9615055872.0,
'rx_core_pps': 0.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 8783344640.0,
'rx_pps': 18779408.0,
'socket_util': 0.0,
'total_alloc_error': 0,
'total_clients': 0,
'total_servers': 0,
'tx_bps': 18398400512.0,
'tx_cps': 0.0,
'tx_expected_bps': 0.0,
'tx_expected_cps': 0.0,
'tx_expected_pps': 0.0,
'tx_pps': 35934384.0},
'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
'total': {'ibytes': 11997642752,
'ierrors': 0,
'ipackets': 187463196,
'obytes': 23146151936,
'oerrors': 0,
'opackets': 361658667,
'rx_bps': 9615055872.0,
'rx_bps_L1': 12619761152.0,
'rx_pps': 18779408.0,
'rx_util': 31.54940288,
'tx_bps': 18398400512.0,
'tx_bps_L1': 24147901952.0,
'tx_pps': 35934384.0,
'tx_util': 60.36975488}}
18/11/2020 22:31:33 pktgen: {'ibytes': 11997642752,
'ierrors': 0,
'ipackets': 187463196,
'obytes': 23146151936,
'oerrors': 0,
'opackets': 361658667,
'rx_bps': 9615055872.0,
'rx_bps_L1': 12619761152.0,
'rx_pps': 18779408.0,
'rx_util': 31.54940288,
'tx_bps': 18398400512.0,
'tx_bps_L1': 24147901952.0,
'tx_pps': 35934384.0,
'tx_util': 60.36975488}
18/11/2020 22:31:33 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 18398400512.000000, tx_pps: 35934384.000000
18/11/2020 22:31:33 pktgen: {'ibytes': 11997642752,
'ierrors': 0,
'ipackets': 187463196,
'obytes': 23146151936,
'oerrors': 0,
'opackets': 361658667,
'rx_bps': 9615055872.0,
'rx_bps_L1': 12619761152.0,
'rx_pps': 18779408.0,
'rx_util': 31.54940288,
'tx_bps': 18398400512.0,
'tx_bps_L1': 24147901952.0,
'tx_pps': 35934384.0,
'tx_util': 60.36975488}
18/11/2020 22:31:33 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 9615055872.000000, rx_pps: 18779408.000000
18/11/2020 22:31:33 pktgen: throughput: pps_rx 18779408.000000, bps_rx 9615055872.000000
18/11/2020 22:31:33 pktgen: traffic completed.
18/11/2020 22:31:33 dut.10.240.183.214: stop
18/11/2020 22:31:33 dut.10.240.183.214:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 140484785 TX-packets: 140484785 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
RX-packets: 140090115 TX-packets: 140090115 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 280574900 RX-dropped: 0 RX-total: 280574900
TX-packets: 280574900 TX-dropped: 0 TX-total: 280574900
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 280574900 RX-dropped: 0 RX-total: 280574900
TX-packets: 280574900 TX-dropped: 0 TX-total: 280574900
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
18/11/2020 22:31:33 dut.10.240.183.214: start
18/11/2020 22:31:33 dut.10.240.183.214:
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=255 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x1
TX queue: 0
TX desc=255 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
18/11/2020 22:31:36 tester: ls -d /tmp
18/11/2020 22:31:36 tester: /tmp
18/11/2020 22:31:36 tester: scp -v /home/autoregression/dts/dts/output/tmp/pcap/pvp_multipath.pcap root@10.240.183.213:/tmp/pvp_multipath.pcap
18/11/2020 22:31:38 pktgen: test port 0 map gen port 0
18/11/2020 22:31:38 pktgen: test port 0 map gen port 0
18/11/2020 22:31:38 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:31:38 pktgen: trex port <0> not support flow control
18/11/2020 22:31:38 pktgen: trex packet generator: run traffic 5s to warm up ...
18/11/2020 22:31:38 pktgen: check the trex port link status
18/11/2020 22:31:38 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:31:38 pktgen: begin traffic ......
18/11/2020 22:31:38 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/11/2020 22:31:43 pktgen: traffic completed.
18/11/2020 22:31:43 pktgen: check the trex port link status
18/11/2020 22:31:43 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:31:43 pktgen: begin traffic ......
18/11/2020 22:31:43 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/11/2020 22:31:53 pktgen: begin get port statistic ...
18/11/2020 22:31:53 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}
18/11/2020 22:31:53 pktgen: {0: {'ibytes': 12048667392,
'ierrors': 0,
'ipackets': 188260428,
'obytes': 23027120128,
'oerrors': 0,
'opackets': 359798794,
'rx_bps': 9630879744.0,
'rx_bps_L1': 12640528063.999998,
'rx_pps': 18810302.0,
'rx_util': 31.601320159999997,
'tx_bps': 18292639744.0,
'tx_bps_L1': 24009089664.0,
'tx_pps': 35727812.0,
'tx_util': 60.022724159999996},
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.258543014526367,
'cpu_util': 98.78789520263672,
'cpu_util_raw': 100.0,
'open_flows': 0.0,
'platform_factor': 1.0,
'queue_full': 0,
'rx_bps': 9630879744.0,
'rx_core_pps': 0.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 8661761024.0,
'rx_pps': 18810302.0,
'socket_util': 0.0,
'total_alloc_error': 0,
'total_clients': 0,
'total_servers': 0,
'tx_bps': 18292639744.0,
'tx_cps': 0.0,
'tx_expected_bps': 0.0,
'tx_expected_cps': 0.0,
'tx_expected_pps': 0.0,
'tx_pps': 35727812.0},
'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
'total': {'ibytes': 12048667392,
'ierrors': 0,
'ipackets': 188260428,
'obytes': 23027120128,
'oerrors': 0,
'opackets': 359798794,
'rx_bps': 9630879744.0,
'rx_bps_L1': 12640528063.999998,
'rx_pps': 18810302.0,
'rx_util': 31.601320159999997,
'tx_bps': 18292639744.0,
'tx_bps_L1': 24009089664.0,
'tx_pps': 35727812.0,
'tx_util': 60.022724159999996}}
18/11/2020 22:31:53 pktgen: {'ibytes': 12048667392,
'ierrors': 0,
'ipackets': 188260428,
'obytes': 23027120128,
'oerrors': 0,
'opackets': 359798794,
'rx_bps': 9630879744.0,
'rx_bps_L1': 12640528063.999998,
'rx_pps': 18810302.0,
'rx_util': 31.601320159999997,
'tx_bps': 18292639744.0,
'tx_bps_L1': 24009089664.0,
'tx_pps': 35727812.0,
'tx_util': 60.022724159999996}
18/11/2020 22:31:53 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 18292639744.000000, tx_pps: 35727812.000000
18/11/2020 22:31:53 pktgen: {'ibytes': 12048667392,
'ierrors': 0,
'ipackets': 188260428,
'obytes': 23027120128,
'oerrors': 0,
'opackets': 359798794,
'rx_bps': 9630879744.0,
'rx_bps_L1': 12640528063.999998,
'rx_pps': 18810302.0,
'rx_util': 31.601320159999997,
'tx_bps': 18292639744.0,
'tx_bps_L1': 24009089664.0,
'tx_pps': 35727812.0,
'tx_util': 60.022724159999996}
18/11/2020 22:31:53 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 9630879744.000000, rx_pps: 18810302.000000
18/11/2020 22:31:53 pktgen: throughput: pps_rx 18810302.000000, bps_rx 9630879744.000000
18/11/2020 22:31:53 pktgen: traffic completed.
18/11/2020 22:31:53 dut.10.240.183.214: stop
18/11/2020 22:31:53 dut.10.240.183.214:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 140848708 TX-packets: 140848708 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
RX-packets: 140785415 TX-packets: 140785415 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 281634123 RX-dropped: 0 RX-total: 281634123
TX-packets: 281634123 TX-dropped: 0 TX-total: 281634123
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 281634123 RX-dropped: 0 RX-total: 281634123
TX-packets: 281634123 TX-dropped: 0 TX-total: 281634123
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
18/11/2020 22:31:53 dut.10.240.183.214: start
18/11/2020 22:31:53 dut.10.240.183.214:
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=255 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x1
TX queue: 0
TX desc=255 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
18/11/2020 22:31:54 dut.10.240.183.214: quit
18/11/2020 22:31:55 dut.10.240.183.214:
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...
18/11/2020 22:31:55 TestPVPVirtioUserMultiQueuesPortRestart:
+--------------+-----------------------------+------------------+------------+----------------+
| FrameSize(B) | Mode | Throughput(Mpps) | % linerate | Cycle |
+==============+=============================+==================+============+================+
| 64 | packed_ring_vectorized_path | 18.779 | 31.549 | Before Restart |
+--------------+-----------------------------+------------------+------------+----------------+
| 64 | packed_ring_vectorized_path | 18.810 | 31.601 | After Restart |
+--------------+-----------------------------+------------------+------------+----------------+
18/11/2020 22:31:55 TestPVPVirtioUserMultiQueuesPortRestart: Test Case test_perf_pvp_2queues_test_with_packed_ring_vectorized_path Result PASSED:
18/11/2020 22:31:55 dut.10.240.183.214: kill_all: called by dut and prefix list has value.
18/11/2020 22:31:58 TestPVPVirtioUserMultiQueuesPortRestart: Test Case test_perf_pvp_2queues_test_with_split_ring_inorder_mergeable_path Begin
18/11/2020 22:31:58 dut.10.240.183.214:
18/11/2020 22:31:58 tester:
18/11/2020 22:31:58 dut.10.240.183.214: rm -rf ./vhost.out
18/11/2020 22:31:58 dut.10.240.183.214:
18/11/2020 22:31:58 dut.10.240.183.214: killall -s INT dpdk-testpmd
18/11/2020 22:31:58 dut.10.240.183.214: dpdk-testpmd: no process found
18/11/2020 22:31:58 dut.10.240.183.214: rm -rf ./vhost-net*
18/11/2020 22:31:58 dut.10.240.183.214:
18/11/2020 22:32:09 dut.10.240.183.214: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
18/11/2020 22:32:09 dut.10.240.183.214: 2048
18/11/2020 22:32:09 dut.10.240.183.214: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 33,34,35 -n 4 --file-prefix=virtio --no-pci --vdev net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=2,in_order=1,mrg_rxbuf=1 --single-file-segments -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2
18/11/2020 22:32:10 dut.10.240.183.214: EAL: Detected 112 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/virtio/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: No available hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: No legacy callbacks, legacy socket not created
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 <mb_pool_1>: 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
18/11/2020 22:32:20 dut.10.240.183.214: set fwd mac
18/11/2020 22:32:20 dut.10.240.183.214:
Set mac packet forwarding mode
18/11/2020 22:32:20 dut.10.240.183.214: start
18/11/2020 22:32:20 dut.10.240.183.214:
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
18/11/2020 22:32:20 TestPVPVirtioUserMultiQueuesPortRestart: Running test test_perf_pvp_2queues_test_with_split_ring_inorder_mergeable_path, and 64 frame size.
18/11/2020 22:32:20 tester: ls -d /tmp
18/11/2020 22:32:20 tester: /tmp
18/11/2020 22:32:20 tester: scp -v /home/autoregression/dts/dts/output/tmp/pcap/pvp_multipath.pcap root@10.240.183.213:/tmp/pvp_multipath.pcap
18/11/2020 22:32:22 pktgen: test port 0 map gen port 0
18/11/2020 22:32:22 pktgen: test port 0 map gen port 0
18/11/2020 22:32:22 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:32:22 pktgen: trex port <0> not support flow control
18/11/2020 22:32:22 pktgen: trex packet generator: run traffic 5s to warm up ...
18/11/2020 22:32:22 pktgen: check the trex port link status
18/11/2020 22:32:22 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:32:22 pktgen: begin traffic ......
18/11/2020 22:32:22 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/11/2020 22:32:27 pktgen: traffic completed.
18/11/2020 22:32:27 pktgen: check the trex port link status
18/11/2020 22:32:27 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:32:27 pktgen: begin traffic ......
18/11/2020 22:32:27 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/11/2020 22:32:37 pktgen: begin get port statistic ...
18/11/2020 22:32: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}
18/11/2020 22:32:37 pktgen: {0: {'ibytes': 10567730944,
'ierrors': 0,
'ipackets': 165120819,
'obytes': 22929134400,
'oerrors': 0,
'opackets': 358267775,
'rx_bps': 8470055424.0,
'rx_bps_L1': 11116949184.0,
'rx_pps': 16543086.0,
'rx_util': 27.79237296,
'tx_bps': 18299750400.0,
'tx_bps_L1': 24018424320.0,
'tx_pps': 35741712.0,
'tx_util': 60.0460608},
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.311653137207031,
'cpu_util': 98.26263427734375,
'cpu_util_raw': 100.0,
'open_flows': 0.0,
'platform_factor': 1.0,
'queue_full': 0,
'rx_bps': 8470055424.0,
'rx_core_pps': 0.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 9829694464.0,
'rx_pps': 16543086.0,
'socket_util': 0.0,
'total_alloc_error': 0,
'total_clients': 0,
'total_servers': 0,
'tx_bps': 18299750400.0,
'tx_cps': 0.0,
'tx_expected_bps': 0.0,
'tx_expected_cps': 0.0,
'tx_expected_pps': 0.0,
'tx_pps': 35741712.0},
'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
'total': {'ibytes': 10567730944,
'ierrors': 0,
'ipackets': 165120819,
'obytes': 22929134400,
'oerrors': 0,
'opackets': 358267775,
'rx_bps': 8470055424.0,
'rx_bps_L1': 11116949184.0,
'rx_pps': 16543086.0,
'rx_util': 27.79237296,
'tx_bps': 18299750400.0,
'tx_bps_L1': 24018424320.0,
'tx_pps': 35741712.0,
'tx_util': 60.0460608}}
18/11/2020 22:32:37 pktgen: {'ibytes': 10567730944,
'ierrors': 0,
'ipackets': 165120819,
'obytes': 22929134400,
'oerrors': 0,
'opackets': 358267775,
'rx_bps': 8470055424.0,
'rx_bps_L1': 11116949184.0,
'rx_pps': 16543086.0,
'rx_util': 27.79237296,
'tx_bps': 18299750400.0,
'tx_bps_L1': 24018424320.0,
'tx_pps': 35741712.0,
'tx_util': 60.0460608}
18/11/2020 22:32:37 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 18299750400.000000, tx_pps: 35741712.000000
18/11/2020 22:32:37 pktgen: {'ibytes': 10567730944,
'ierrors': 0,
'ipackets': 165120819,
'obytes': 22929134400,
'oerrors': 0,
'opackets': 358267775,
'rx_bps': 8470055424.0,
'rx_bps_L1': 11116949184.0,
'rx_pps': 16543086.0,
'rx_util': 27.79237296,
'tx_bps': 18299750400.0,
'tx_bps_L1': 24018424320.0,
'tx_pps': 35741712.0,
'tx_util': 60.0460608}
18/11/2020 22:32:37 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 8470055424.000000, rx_pps: 16543086.000000
18/11/2020 22:32:37 pktgen: throughput: pps_rx 16543086.000000, bps_rx 8470055424.000000
18/11/2020 22:32:37 pktgen: traffic completed.
18/11/2020 22:32:37 dut.10.240.183.214: stop
18/11/2020 22:32:37 dut.10.240.183.214:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 123796651 TX-packets: 123796651 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
RX-packets: 123442327 TX-packets: 123442327 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 247238978 RX-dropped: 0 RX-total: 247238978
TX-packets: 247238978 TX-dropped: 0 TX-total: 247238978
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 247238978 RX-dropped: 0 RX-total: 247238978
TX-packets: 247238978 TX-dropped: 0 TX-total: 247238978
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
18/11/2020 22:32:37 dut.10.240.183.214: start
18/11/2020 22:32:38 dut.10.240.183.214:
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
18/11/2020 22:32:40 tester: ls -d /tmp
18/11/2020 22:32:40 tester: /tmp
18/11/2020 22:32:40 tester: scp -v /home/autoregression/dts/dts/output/tmp/pcap/pvp_multipath.pcap root@10.240.183.213:/tmp/pvp_multipath.pcap
18/11/2020 22:32:43 pktgen: test port 0 map gen port 0
18/11/2020 22:32:43 pktgen: test port 0 map gen port 0
18/11/2020 22:32:43 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:32:43 pktgen: trex port <0> not support flow control
18/11/2020 22:32:43 pktgen: trex packet generator: run traffic 5s to warm up ...
18/11/2020 22:32:43 pktgen: check the trex port link status
18/11/2020 22:32:43 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:32:43 pktgen: begin traffic ......
18/11/2020 22:32:43 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/11/2020 22:32:48 pktgen: traffic completed.
18/11/2020 22:32:48 pktgen: check the trex port link status
18/11/2020 22:32:48 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:32:48 pktgen: begin traffic ......
18/11/2020 22:32:48 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/11/2020 22:32:58 pktgen: begin get port statistic ...
18/11/2020 22:32:58 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}
18/11/2020 22:32:58 pktgen: {0: {'ibytes': 10491904320,
'ierrors': 0,
'ipackets': 163936009,
'obytes': 23107149888,
'oerrors': 0,
'opackets': 361049243,
'rx_bps': 8374174720.0,
'rx_bps_L1': 10991101440.0,
'rx_pps': 16355792.0,
'rx_util': 27.4777536,
'tx_bps': 18376620032.0,
'tx_bps_L1': 24119313792.0,
'tx_pps': 35891836.0,
'tx_util': 60.29828448},
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.31883430480957,
'cpu_util': 98.59934997558594,
'cpu_util_raw': 100.0,
'open_flows': 0.0,
'platform_factor': 1.0,
'queue_full': 0,
'rx_bps': 8374174720.0,
'rx_core_pps': 0.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 10002444288.0,
'rx_pps': 16355792.0,
'socket_util': 0.0,
'total_alloc_error': 0,
'total_clients': 0,
'total_servers': 0,
'tx_bps': 18376620032.0,
'tx_cps': 0.0,
'tx_expected_bps': 0.0,
'tx_expected_cps': 0.0,
'tx_expected_pps': 0.0,
'tx_pps': 35891836.0},
'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
'total': {'ibytes': 10491904320,
'ierrors': 0,
'ipackets': 163936009,
'obytes': 23107149888,
'oerrors': 0,
'opackets': 361049243,
'rx_bps': 8374174720.0,
'rx_bps_L1': 10991101440.0,
'rx_pps': 16355792.0,
'rx_util': 27.4777536,
'tx_bps': 18376620032.0,
'tx_bps_L1': 24119313792.0,
'tx_pps': 35891836.0,
'tx_util': 60.29828448}}
18/11/2020 22:32:58 pktgen: {'ibytes': 10491904320,
'ierrors': 0,
'ipackets': 163936009,
'obytes': 23107149888,
'oerrors': 0,
'opackets': 361049243,
'rx_bps': 8374174720.0,
'rx_bps_L1': 10991101440.0,
'rx_pps': 16355792.0,
'rx_util': 27.4777536,
'tx_bps': 18376620032.0,
'tx_bps_L1': 24119313792.0,
'tx_pps': 35891836.0,
'tx_util': 60.29828448}
18/11/2020 22:32:58 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 18376620032.000000, tx_pps: 35891836.000000
18/11/2020 22:32:58 pktgen: {'ibytes': 10491904320,
'ierrors': 0,
'ipackets': 163936009,
'obytes': 23107149888,
'oerrors': 0,
'opackets': 361049243,
'rx_bps': 8374174720.0,
'rx_bps_L1': 10991101440.0,
'rx_pps': 16355792.0,
'rx_util': 27.4777536,
'tx_bps': 18376620032.0,
'tx_bps_L1': 24119313792.0,
'tx_pps': 35891836.0,
'tx_util': 60.29828448}
18/11/2020 22:32:58 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 8374174720.000000, rx_pps: 16355792.000000
18/11/2020 22:32:58 pktgen: throughput: pps_rx 16355792.000000, bps_rx 8374174720.000000
18/11/2020 22:32:58 pktgen: traffic completed.
18/11/2020 22:32:58 dut.10.240.183.214: stop
18/11/2020 22:32:58 dut.10.240.183.214:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 122882551 TX-packets: 122882551 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
RX-packets: 122998824 TX-packets: 122998824 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 245881375 RX-dropped: 0 RX-total: 245881375
TX-packets: 245881375 TX-dropped: 0 TX-total: 245881375
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 245881375 RX-dropped: 0 RX-total: 245881375
TX-packets: 245881375 TX-dropped: 0 TX-total: 245881375
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
18/11/2020 22:32:58 dut.10.240.183.214: start
18/11/2020 22:32:58 dut.10.240.183.214:
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
18/11/2020 22:32:59 dut.10.240.183.214: quit
18/11/2020 22:32:59 dut.10.240.183.214:
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...
18/11/2020 22:32:59 TestPVPVirtioUserMultiQueuesPortRestart:
+--------------+------------------------------+------------------+------------+----------------+
| FrameSize(B) | Mode | Throughput(Mpps) | % linerate | Cycle |
+==============+==============================+==================+============+================+
| 64 | split_ring_inorder_mergeable | 16.543 | 27.792 | Before Restart |
+--------------+------------------------------+------------------+------------+----------------+
| 64 | split_ring_inorder_mergeable | 16.356 | 27.478 | After Restart |
+--------------+------------------------------+------------------+------------+----------------+
18/11/2020 22:32:59 TestPVPVirtioUserMultiQueuesPortRestart: Test Case test_perf_pvp_2queues_test_with_split_ring_inorder_mergeable_path Result PASSED:
18/11/2020 22:32:59 dut.10.240.183.214: kill_all: called by dut and prefix list has value.
18/11/2020 22:33:03 TestPVPVirtioUserMultiQueuesPortRestart: Test Case test_perf_pvp_2queues_test_with_split_ring_inorder_nonmergeable_path Begin
18/11/2020 22:33:03 dut.10.240.183.214:
18/11/2020 22:33:03 tester:
18/11/2020 22:33:03 dut.10.240.183.214: rm -rf ./vhost.out
18/11/2020 22:33:03 dut.10.240.183.214:
18/11/2020 22:33:03 dut.10.240.183.214: killall -s INT dpdk-testpmd
18/11/2020 22:33:03 dut.10.240.183.214: dpdk-testpmd: no process found
18/11/2020 22:33:03 dut.10.240.183.214: rm -rf ./vhost-net*
18/11/2020 22:33:03 dut.10.240.183.214:
18/11/2020 22:33:14 dut.10.240.183.214: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
18/11/2020 22:33:14 dut.10.240.183.214: 2048
18/11/2020 22:33:14 dut.10.240.183.214: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 33,34,35 -n 4 --file-prefix=virtio --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 --single-file-segments -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2
18/11/2020 22:33:14 dut.10.240.183.214: EAL: Detected 112 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/virtio/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: No available hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: No legacy callbacks, legacy socket not created
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 <mb_pool_1>: 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
18/11/2020 22:33:24 dut.10.240.183.214: set fwd mac
18/11/2020 22:33:24 dut.10.240.183.214:
Set mac packet forwarding mode
18/11/2020 22:33:24 dut.10.240.183.214: start
18/11/2020 22:33:24 dut.10.240.183.214:
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
18/11/2020 22:33:24 TestPVPVirtioUserMultiQueuesPortRestart: Running test test_perf_pvp_2queues_test_with_split_ring_inorder_nonmergeable_path, and 64 frame size.
18/11/2020 22:33:24 tester: ls -d /tmp
18/11/2020 22:33:25 tester: /tmp
18/11/2020 22:33:25 tester: scp -v /home/autoregression/dts/dts/output/tmp/pcap/pvp_multipath.pcap root@10.240.183.213:/tmp/pvp_multipath.pcap
18/11/2020 22:33:27 pktgen: test port 0 map gen port 0
18/11/2020 22:33:27 pktgen: test port 0 map gen port 0
18/11/2020 22:33:27 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:33:27 pktgen: trex port <0> not support flow control
18/11/2020 22:33:27 pktgen: trex packet generator: run traffic 5s to warm up ...
18/11/2020 22:33:27 pktgen: check the trex port link status
18/11/2020 22:33:27 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:33:27 pktgen: begin traffic ......
18/11/2020 22:33:27 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/11/2020 22:33:32 pktgen: traffic completed.
18/11/2020 22:33:32 pktgen: check the trex port link status
18/11/2020 22:33:32 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:33:32 pktgen: begin traffic ......
18/11/2020 22:33:32 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/11/2020 22:33:42 pktgen: begin get port statistic ...
18/11/2020 22:33:42 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}
18/11/2020 22:33:42 pktgen: {0: {'ibytes': 10342510912,
'ierrors': 0,
'ipackets': 161601733,
'obytes': 23034647808,
'oerrors': 0,
'opackets': 359916428,
'rx_bps': 8251418112.0,
'rx_bps_L1': 10829988832.0,
'rx_pps': 16116067.0,
'rx_util': 27.07497208,
'tx_bps': 18336630784.0,
'tx_bps_L1': 24066827264.0,
'tx_pps': 35813728.0,
'tx_util': 60.16706816000001},
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.308939933776855,
'cpu_util': 98.4893569946289,
'cpu_util_raw': 100.0,
'open_flows': 0.0,
'platform_factor': 1.0,
'queue_full': 0,
'rx_bps': 8251418112.0,
'rx_core_pps': 0.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 10085213184.0,
'rx_pps': 16116067.0,
'socket_util': 0.0,
'total_alloc_error': 0,
'total_clients': 0,
'total_servers': 0,
'tx_bps': 18336630784.0,
'tx_cps': 0.0,
'tx_expected_bps': 0.0,
'tx_expected_cps': 0.0,
'tx_expected_pps': 0.0,
'tx_pps': 35813728.0},
'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
'total': {'ibytes': 10342510912,
'ierrors': 0,
'ipackets': 161601733,
'obytes': 23034647808,
'oerrors': 0,
'opackets': 359916428,
'rx_bps': 8251418112.0,
'rx_bps_L1': 10829988832.0,
'rx_pps': 16116067.0,
'rx_util': 27.07497208,
'tx_bps': 18336630784.0,
'tx_bps_L1': 24066827264.0,
'tx_pps': 35813728.0,
'tx_util': 60.16706816000001}}
18/11/2020 22:33:42 pktgen: {'ibytes': 10342510912,
'ierrors': 0,
'ipackets': 161601733,
'obytes': 23034647808,
'oerrors': 0,
'opackets': 359916428,
'rx_bps': 8251418112.0,
'rx_bps_L1': 10829988832.0,
'rx_pps': 16116067.0,
'rx_util': 27.07497208,
'tx_bps': 18336630784.0,
'tx_bps_L1': 24066827264.0,
'tx_pps': 35813728.0,
'tx_util': 60.16706816000001}
18/11/2020 22:33:42 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 18336630784.000000, tx_pps: 35813728.000000
18/11/2020 22:33:42 pktgen: {'ibytes': 10342510912,
'ierrors': 0,
'ipackets': 161601733,
'obytes': 23034647808,
'oerrors': 0,
'opackets': 359916428,
'rx_bps': 8251418112.0,
'rx_bps_L1': 10829988832.0,
'rx_pps': 16116067.0,
'rx_util': 27.07497208,
'tx_bps': 18336630784.0,
'tx_bps_L1': 24066827264.0,
'tx_pps': 35813728.0,
'tx_util': 60.16706816000001}
18/11/2020 22:33:42 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 8251418112.000000, rx_pps: 16116067.000000
18/11/2020 22:33:42 pktgen: throughput: pps_rx 16116067.000000, bps_rx 8251418112.000000
18/11/2020 22:33:42 pktgen: traffic completed.
18/11/2020 22:33:42 dut.10.240.183.214: stop
18/11/2020 22:33:42 dut.10.240.183.214:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 121511306 TX-packets: 121511306 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
RX-packets: 120806566 TX-packets: 120806566 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 242317872 RX-dropped: 0 RX-total: 242317872
TX-packets: 242317872 TX-dropped: 0 TX-total: 242317872
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 242317872 RX-dropped: 0 RX-total: 242317872
TX-packets: 242317872 TX-dropped: 0 TX-total: 242317872
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
18/11/2020 22:33:42 dut.10.240.183.214: start
18/11/2020 22:33:42 dut.10.240.183.214:
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
18/11/2020 22:33:45 tester: ls -d /tmp
18/11/2020 22:33:45 tester: /tmp
18/11/2020 22:33:45 tester: scp -v /home/autoregression/dts/dts/output/tmp/pcap/pvp_multipath.pcap root@10.240.183.213:/tmp/pvp_multipath.pcap
18/11/2020 22:33:47 pktgen: test port 0 map gen port 0
18/11/2020 22:33:47 pktgen: test port 0 map gen port 0
18/11/2020 22:33:47 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:33:47 pktgen: trex port <0> not support flow control
18/11/2020 22:33:47 pktgen: trex packet generator: run traffic 5s to warm up ...
18/11/2020 22:33:47 pktgen: check the trex port link status
18/11/2020 22:33:47 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:33:47 pktgen: begin traffic ......
18/11/2020 22:33:47 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/11/2020 22:33:52 pktgen: traffic completed.
18/11/2020 22:33:52 pktgen: check the trex port link status
18/11/2020 22:33:52 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:33:52 pktgen: begin traffic ......
18/11/2020 22:33:52 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/11/2020 22:34:02 pktgen: begin get port statistic ...
18/11/2020 22:34:02 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}
18/11/2020 22:34:02 pktgen: {0: {'ibytes': 10311840960,
'ierrors': 0,
'ipackets': 161122533,
'obytes': 23172754368,
'oerrors': 0,
'opackets': 362074334,
'rx_bps': 8236390400.0,
'rx_bps_L1': 10810260960.0,
'rx_pps': 16086691.0,
'rx_util': 27.0256524,
'tx_bps': 18445006848.0,
'tx_bps_L1': 24209072128.0,
'tx_pps': 36025408.0,
'tx_util': 60.52268032},
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.336968421936035,
'cpu_util': 98.77406311035156,
'cpu_util_raw': 100.0,
'open_flows': 0.0,
'platform_factor': 1.0,
'queue_full': 0,
'rx_bps': 8236390400.0,
'rx_core_pps': 0.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 10208617472.0,
'rx_pps': 16086691.0,
'socket_util': 0.0,
'total_alloc_error': 0,
'total_clients': 0,
'total_servers': 0,
'tx_bps': 18445006848.0,
'tx_cps': 0.0,
'tx_expected_bps': 0.0,
'tx_expected_cps': 0.0,
'tx_expected_pps': 0.0,
'tx_pps': 36025408.0},
'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
'total': {'ibytes': 10311840960,
'ierrors': 0,
'ipackets': 161122533,
'obytes': 23172754368,
'oerrors': 0,
'opackets': 362074334,
'rx_bps': 8236390400.0,
'rx_bps_L1': 10810260960.0,
'rx_pps': 16086691.0,
'rx_util': 27.0256524,
'tx_bps': 18445006848.0,
'tx_bps_L1': 24209072128.0,
'tx_pps': 36025408.0,
'tx_util': 60.52268032}}
18/11/2020 22:34:02 pktgen: {'ibytes': 10311840960,
'ierrors': 0,
'ipackets': 161122533,
'obytes': 23172754368,
'oerrors': 0,
'opackets': 362074334,
'rx_bps': 8236390400.0,
'rx_bps_L1': 10810260960.0,
'rx_pps': 16086691.0,
'rx_util': 27.0256524,
'tx_bps': 18445006848.0,
'tx_bps_L1': 24209072128.0,
'tx_pps': 36025408.0,
'tx_util': 60.52268032}
18/11/2020 22:34:02 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 18445006848.000000, tx_pps: 36025408.000000
18/11/2020 22:34:02 pktgen: {'ibytes': 10311840960,
'ierrors': 0,
'ipackets': 161122533,
'obytes': 23172754368,
'oerrors': 0,
'opackets': 362074334,
'rx_bps': 8236390400.0,
'rx_bps_L1': 10810260960.0,
'rx_pps': 16086691.0,
'rx_util': 27.0256524,
'tx_bps': 18445006848.0,
'tx_bps_L1': 24209072128.0,
'tx_pps': 36025408.0,
'tx_util': 60.52268032}
18/11/2020 22:34:02 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 8236390400.000000, rx_pps: 16086691.000000
18/11/2020 22:34:02 pktgen: throughput: pps_rx 16086691.000000, bps_rx 8236390400.000000
18/11/2020 22:34:02 pktgen: traffic completed.
18/11/2020 22:34:02 dut.10.240.183.214: stop
18/11/2020 22:34:03 dut.10.240.183.214:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 121029991 TX-packets: 121029991 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
RX-packets: 120552240 TX-packets: 120552240 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 241582231 RX-dropped: 0 RX-total: 241582231
TX-packets: 241582231 TX-dropped: 0 TX-total: 241582231
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 241582231 RX-dropped: 0 RX-total: 241582231
TX-packets: 241582231 TX-dropped: 0 TX-total: 241582231
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
18/11/2020 22:34:03 dut.10.240.183.214: start
18/11/2020 22:34:03 dut.10.240.183.214:
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
18/11/2020 22:34:03 dut.10.240.183.214: quit
18/11/2020 22:34:04 dut.10.240.183.214:
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...
18/11/2020 22:34:04 TestPVPVirtioUserMultiQueuesPortRestart:
+--------------+---------------------------------+------------------+------------+----------------+
| FrameSize(B) | Mode | Throughput(Mpps) | % linerate | Cycle |
+==============+=================================+==================+============+================+
| 64 | split_ring_inorder_nonmergeable | 16.116 | 27.075 | Before Restart |
+--------------+---------------------------------+------------------+------------+----------------+
| 64 | split_ring_inorder_nonmergeable | 16.087 | 27.026 | After Restart |
+--------------+---------------------------------+------------------+------------+----------------+
18/11/2020 22:34:04 TestPVPVirtioUserMultiQueuesPortRestart: Test Case test_perf_pvp_2queues_test_with_split_ring_inorder_nonmergeable_path Result PASSED:
18/11/2020 22:34:04 dut.10.240.183.214: kill_all: called by dut and prefix list has value.
18/11/2020 22:34:07 TestPVPVirtioUserMultiQueuesPortRestart: Test Case test_perf_pvp_2queues_test_with_split_ring_mergeable_path Begin
18/11/2020 22:34:07 dut.10.240.183.214:
18/11/2020 22:34:08 tester:
18/11/2020 22:34:08 dut.10.240.183.214: rm -rf ./vhost.out
18/11/2020 22:34:08 dut.10.240.183.214:
18/11/2020 22:34:08 dut.10.240.183.214: killall -s INT dpdk-testpmd
18/11/2020 22:34:08 dut.10.240.183.214: dpdk-testpmd: no process found
18/11/2020 22:34:08 dut.10.240.183.214: rm -rf ./vhost-net*
18/11/2020 22:34:08 dut.10.240.183.214:
18/11/2020 22:34:19 dut.10.240.183.214: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
18/11/2020 22:34:19 dut.10.240.183.214: 2048
18/11/2020 22:34:19 dut.10.240.183.214: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 33,34,35 -n 4 --file-prefix=virtio --no-pci --vdev net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=2,in_order=0,mrg_rxbuf=1 --single-file-segments -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2
18/11/2020 22:34:19 dut.10.240.183.214: EAL: Detected 112 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/virtio/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: No available hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: No legacy callbacks, legacy socket not created
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 <mb_pool_1>: 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
18/11/2020 22:34:29 dut.10.240.183.214: set fwd mac
18/11/2020 22:34:29 dut.10.240.183.214:
Set mac packet forwarding mode
18/11/2020 22:34:29 dut.10.240.183.214: start
18/11/2020 22:34:29 dut.10.240.183.214:
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
18/11/2020 22:34:29 TestPVPVirtioUserMultiQueuesPortRestart: Running test test_perf_pvp_2queues_test_with_split_ring_mergeable_path, and 64 frame size.
18/11/2020 22:34:29 tester: ls -d /tmp
18/11/2020 22:34:29 tester: /tmp
18/11/2020 22:34:29 tester: scp -v /home/autoregression/dts/dts/output/tmp/pcap/pvp_multipath.pcap root@10.240.183.213:/tmp/pvp_multipath.pcap
18/11/2020 22:34:32 pktgen: test port 0 map gen port 0
18/11/2020 22:34:32 pktgen: test port 0 map gen port 0
18/11/2020 22:34:32 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:34:32 pktgen: trex port <0> not support flow control
18/11/2020 22:34:32 pktgen: trex packet generator: run traffic 5s to warm up ...
18/11/2020 22:34:32 pktgen: check the trex port link status
18/11/2020 22:34:32 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:34:32 pktgen: begin traffic ......
18/11/2020 22:34:32 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/11/2020 22:34:37 pktgen: traffic completed.
18/11/2020 22:34:37 pktgen: check the trex port link status
18/11/2020 22:34:37 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:34:37 pktgen: begin traffic ......
18/11/2020 22:34:37 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/11/2020 22:34:47 pktgen: begin get port statistic ...
18/11/2020 22:34:47 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}
18/11/2020 22:34:47 pktgen: {0: {'ibytes': 10403873856,
'ierrors': 0,
'ipackets': 162560533,
'obytes': 21678651456,
'oerrors': 0,
'opackets': 338728980,
'rx_bps': 8310290944.0,
'rx_bps_L1': 10907255104.0,
'rx_pps': 16231026.0,
'rx_util': 27.26813776,
'tx_bps': 17249564672.0,
'tx_bps_L1': 22641720192.0,
'tx_pps': 33700972.0,
'tx_util': 56.604300480000006},
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.778966903686523,
'cpu_util': 98.24370574951172,
'cpu_util_raw': 100.0,
'open_flows': 0.0,
'platform_factor': 1.0,
'queue_full': 0,
'rx_bps': 8310290944.0,
'rx_core_pps': 0.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 8939273216.0,
'rx_pps': 16231026.0,
'socket_util': 0.0,
'total_alloc_error': 0,
'total_clients': 0,
'total_servers': 0,
'tx_bps': 17249564672.0,
'tx_cps': 0.0,
'tx_expected_bps': 0.0,
'tx_expected_cps': 0.0,
'tx_expected_pps': 0.0,
'tx_pps': 33700972.0},
'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
'total': {'ibytes': 10403873856,
'ierrors': 0,
'ipackets': 162560533,
'obytes': 21678651456,
'oerrors': 0,
'opackets': 338728980,
'rx_bps': 8310290944.0,
'rx_bps_L1': 10907255104.0,
'rx_pps': 16231026.0,
'rx_util': 27.26813776,
'tx_bps': 17249564672.0,
'tx_bps_L1': 22641720192.0,
'tx_pps': 33700972.0,
'tx_util': 56.604300480000006}}
18/11/2020 22:34:47 pktgen: {'ibytes': 10403873856,
'ierrors': 0,
'ipackets': 162560533,
'obytes': 21678651456,
'oerrors': 0,
'opackets': 338728980,
'rx_bps': 8310290944.0,
'rx_bps_L1': 10907255104.0,
'rx_pps': 16231026.0,
'rx_util': 27.26813776,
'tx_bps': 17249564672.0,
'tx_bps_L1': 22641720192.0,
'tx_pps': 33700972.0,
'tx_util': 56.604300480000006}
18/11/2020 22:34:47 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 17249564672.000000, tx_pps: 33700972.000000
18/11/2020 22:34:47 pktgen: {'ibytes': 10403873856,
'ierrors': 0,
'ipackets': 162560533,
'obytes': 21678651456,
'oerrors': 0,
'opackets': 338728980,
'rx_bps': 8310290944.0,
'rx_bps_L1': 10907255104.0,
'rx_pps': 16231026.0,
'rx_util': 27.26813776,
'tx_bps': 17249564672.0,
'tx_bps_L1': 22641720192.0,
'tx_pps': 33700972.0,
'tx_util': 56.604300480000006}
18/11/2020 22:34:47 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 8310290944.000000, rx_pps: 16231026.000000
18/11/2020 22:34:47 pktgen: throughput: pps_rx 16231026.000000, bps_rx 8310290944.000000
18/11/2020 22:34:47 pktgen: traffic completed.
18/11/2020 22:34:47 dut.10.240.183.214: stop
18/11/2020 22:34:47 dut.10.240.183.214:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 121560749 TX-packets: 121560749 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
RX-packets: 121863013 TX-packets: 121863013 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 243423762 RX-dropped: 0 RX-total: 243423762
TX-packets: 243423762 TX-dropped: 0 TX-total: 243423762
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 243423762 RX-dropped: 0 RX-total: 243423762
TX-packets: 243423762 TX-dropped: 0 TX-total: 243423762
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
18/11/2020 22:34:47 dut.10.240.183.214: start
18/11/2020 22:34:47 dut.10.240.183.214:
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
18/11/2020 22:34:50 tester: ls -d /tmp
18/11/2020 22:34:50 tester: /tmp
18/11/2020 22:34:50 tester: scp -v /home/autoregression/dts/dts/output/tmp/pcap/pvp_multipath.pcap root@10.240.183.213:/tmp/pvp_multipath.pcap
18/11/2020 22:34:52 pktgen: test port 0 map gen port 0
18/11/2020 22:34:52 pktgen: test port 0 map gen port 0
18/11/2020 22:34:52 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:34:52 pktgen: trex port <0> not support flow control
18/11/2020 22:34:52 pktgen: trex packet generator: run traffic 5s to warm up ...
18/11/2020 22:34:52 pktgen: check the trex port link status
18/11/2020 22:34:52 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:34:52 pktgen: begin traffic ......
18/11/2020 22:34:52 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/11/2020 22:34:57 pktgen: traffic completed.
18/11/2020 22:34:57 pktgen: check the trex port link status
18/11/2020 22:34:57 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:34:57 pktgen: begin traffic ......
18/11/2020 22:34:57 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/11/2020 22:35:07 pktgen: begin get port statistic ...
18/11/2020 22:35:07 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}
18/11/2020 22:35:07 pktgen: {0: {'ibytes': 10396490432,
'ierrors': 0,
'ipackets': 162445163,
'obytes': 23009687424,
'oerrors': 0,
'opackets': 359526400,
'rx_bps': 8304478720.0,
'rx_bps_L1': 10899626240.0,
'rx_pps': 16219672.0,
'rx_util': 27.2490656,
'tx_bps': 18343692288.0,
'tx_bps_L1': 24076095488.0,
'tx_pps': 35827520.0,
'tx_util': 60.190238719999996},
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.302376747131348,
'cpu_util': 98.5968017578125,
'cpu_util_raw': 100.0,
'open_flows': 0.0,
'platform_factor': 1.0,
'queue_full': 0,
'rx_bps': 8304478720.0,
'rx_core_pps': 0.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 10039213056.0,
'rx_pps': 16219672.0,
'socket_util': 0.0,
'total_alloc_error': 0,
'total_clients': 0,
'total_servers': 0,
'tx_bps': 18343692288.0,
'tx_cps': 0.0,
'tx_expected_bps': 0.0,
'tx_expected_cps': 0.0,
'tx_expected_pps': 0.0,
'tx_pps': 35827520.0},
'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
'total': {'ibytes': 10396490432,
'ierrors': 0,
'ipackets': 162445163,
'obytes': 23009687424,
'oerrors': 0,
'opackets': 359526400,
'rx_bps': 8304478720.0,
'rx_bps_L1': 10899626240.0,
'rx_pps': 16219672.0,
'rx_util': 27.2490656,
'tx_bps': 18343692288.0,
'tx_bps_L1': 24076095488.0,
'tx_pps': 35827520.0,
'tx_util': 60.190238719999996}}
18/11/2020 22:35:07 pktgen: {'ibytes': 10396490432,
'ierrors': 0,
'ipackets': 162445163,
'obytes': 23009687424,
'oerrors': 0,
'opackets': 359526400,
'rx_bps': 8304478720.0,
'rx_bps_L1': 10899626240.0,
'rx_pps': 16219672.0,
'rx_util': 27.2490656,
'tx_bps': 18343692288.0,
'tx_bps_L1': 24076095488.0,
'tx_pps': 35827520.0,
'tx_util': 60.190238719999996}
18/11/2020 22:35:07 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 18343692288.000000, tx_pps: 35827520.000000
18/11/2020 22:35:07 pktgen: {'ibytes': 10396490432,
'ierrors': 0,
'ipackets': 162445163,
'obytes': 23009687424,
'oerrors': 0,
'opackets': 359526400,
'rx_bps': 8304478720.0,
'rx_bps_L1': 10899626240.0,
'rx_pps': 16219672.0,
'rx_util': 27.2490656,
'tx_bps': 18343692288.0,
'tx_bps_L1': 24076095488.0,
'tx_pps': 35827520.0,
'tx_util': 60.190238719999996}
18/11/2020 22:35:07 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 8304478720.000000, rx_pps: 16219672.000000
18/11/2020 22:35:07 pktgen: throughput: pps_rx 16219672.000000, bps_rx 8304478720.000000
18/11/2020 22:35:07 pktgen: traffic completed.
18/11/2020 22:35:07 dut.10.240.183.214: stop
18/11/2020 22:35:07 dut.10.240.183.214:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 121872772 TX-packets: 121872772 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
RX-packets: 121850674 TX-packets: 121850674 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 243723446 RX-dropped: 0 RX-total: 243723446
TX-packets: 243723446 TX-dropped: 0 TX-total: 243723446
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 243723446 RX-dropped: 0 RX-total: 243723446
TX-packets: 243723446 TX-dropped: 0 TX-total: 243723446
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
18/11/2020 22:35:07 dut.10.240.183.214: start
18/11/2020 22:35:07 dut.10.240.183.214:
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
18/11/2020 22:35:08 dut.10.240.183.214: quit
18/11/2020 22:35:09 dut.10.240.183.214:
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...
18/11/2020 22:35:09 TestPVPVirtioUserMultiQueuesPortRestart:
+--------------+----------------------+------------------+------------+----------------+
| FrameSize(B) | Mode | Throughput(Mpps) | % linerate | Cycle |
+==============+======================+==================+============+================+
| 64 | split_ring_mergeable | 16.231 | 27.268 | Before Restart |
+--------------+----------------------+------------------+------------+----------------+
| 64 | split_ring_mergeable | 16.220 | 27.249 | After Restart |
+--------------+----------------------+------------------+------------+----------------+
18/11/2020 22:35:09 TestPVPVirtioUserMultiQueuesPortRestart: Test Case test_perf_pvp_2queues_test_with_split_ring_mergeable_path Result PASSED:
18/11/2020 22:35:09 dut.10.240.183.214: kill_all: called by dut and prefix list has value.
18/11/2020 22:35:12 TestPVPVirtioUserMultiQueuesPortRestart: Test Case test_perf_pvp_2queues_test_with_split_ring_nonmergeable_path Begin
18/11/2020 22:35:12 dut.10.240.183.214:
18/11/2020 22:35:12 tester:
18/11/2020 22:35:12 dut.10.240.183.214: rm -rf ./vhost.out
18/11/2020 22:35:12 dut.10.240.183.214:
18/11/2020 22:35:12 dut.10.240.183.214: killall -s INT dpdk-testpmd
18/11/2020 22:35:12 dut.10.240.183.214: dpdk-testpmd: no process found
18/11/2020 22:35:12 dut.10.240.183.214: rm -rf ./vhost-net*
18/11/2020 22:35:12 dut.10.240.183.214:
18/11/2020 22:35:23 dut.10.240.183.214: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
18/11/2020 22:35:23 dut.10.240.183.214: 2048
18/11/2020 22:35:23 dut.10.240.183.214: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 33,34,35 -n 4 --file-prefix=virtio --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 --single-file-segments -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=2 --txq=2
18/11/2020 22:35:24 dut.10.240.183.214: EAL: Detected 112 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/virtio/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: No available hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: No legacy callbacks, legacy socket not created
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 <mb_pool_1>: 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
18/11/2020 22:35:34 dut.10.240.183.214: set fwd mac
18/11/2020 22:35:34 dut.10.240.183.214:
Set mac packet forwarding mode
18/11/2020 22:35:34 dut.10.240.183.214: start
18/11/2020 22:35:34 dut.10.240.183.214:
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
18/11/2020 22:35:34 TestPVPVirtioUserMultiQueuesPortRestart: Running test test_perf_pvp_2queues_test_with_split_ring_nonmergeable_path, and 64 frame size.
18/11/2020 22:35:34 tester: ls -d /tmp
18/11/2020 22:35:34 tester: /tmp
18/11/2020 22:35:34 tester: scp -v /home/autoregression/dts/dts/output/tmp/pcap/pvp_multipath.pcap root@10.240.183.213:/tmp/pvp_multipath.pcap
18/11/2020 22:35:36 pktgen: test port 0 map gen port 0
18/11/2020 22:35:36 pktgen: test port 0 map gen port 0
18/11/2020 22:35:36 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:35:36 pktgen: trex port <0> not support flow control
18/11/2020 22:35:36 pktgen: trex packet generator: run traffic 5s to warm up ...
18/11/2020 22:35:36 pktgen: check the trex port link status
18/11/2020 22:35:36 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:35:36 pktgen: begin traffic ......
18/11/2020 22:35:36 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/11/2020 22:35:41 pktgen: traffic completed.
18/11/2020 22:35:41 pktgen: check the trex port link status
18/11/2020 22:35:41 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:35:41 pktgen: begin traffic ......
18/11/2020 22:35:41 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/11/2020 22:35:51 pktgen: begin get port statistic ...
18/11/2020 22:35:51 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}
18/11/2020 22:35:51 pktgen: {0: {'ibytes': 10313597888,
'ierrors': 0,
'ipackets': 161149989,
'obytes': 23025378944,
'oerrors': 0,
'opackets': 359771596,
'rx_bps': 8267677696.0,
'rx_bps_L1': 10851326336.0,
'rx_pps': 16147804.0,
'rx_util': 27.12831584,
'tx_bps': 18432733184.0,
'tx_bps_L1': 24192962304.0,
'tx_pps': 36001432.0,
'tx_util': 60.48240576},
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.362052917480469,
'cpu_util': 98.44386291503906,
'cpu_util_raw': 100.0,
'open_flows': 0.0,
'platform_factor': 1.0,
'queue_full': 0,
'rx_bps': 8267677696.0,
'rx_core_pps': 0.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 10165054464.0,
'rx_pps': 16147804.0,
'socket_util': 0.0,
'total_alloc_error': 0,
'total_clients': 0,
'total_servers': 0,
'tx_bps': 18432733184.0,
'tx_cps': 0.0,
'tx_expected_bps': 0.0,
'tx_expected_cps': 0.0,
'tx_expected_pps': 0.0,
'tx_pps': 36001432.0},
'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
'total': {'ibytes': 10313597888,
'ierrors': 0,
'ipackets': 161149989,
'obytes': 23025378944,
'oerrors': 0,
'opackets': 359771596,
'rx_bps': 8267677696.0,
'rx_bps_L1': 10851326336.0,
'rx_pps': 16147804.0,
'rx_util': 27.12831584,
'tx_bps': 18432733184.0,
'tx_bps_L1': 24192962304.0,
'tx_pps': 36001432.0,
'tx_util': 60.48240576}}
18/11/2020 22:35:51 pktgen: {'ibytes': 10313597888,
'ierrors': 0,
'ipackets': 161149989,
'obytes': 23025378944,
'oerrors': 0,
'opackets': 359771596,
'rx_bps': 8267677696.0,
'rx_bps_L1': 10851326336.0,
'rx_pps': 16147804.0,
'rx_util': 27.12831584,
'tx_bps': 18432733184.0,
'tx_bps_L1': 24192962304.0,
'tx_pps': 36001432.0,
'tx_util': 60.48240576}
18/11/2020 22:35:51 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 18432733184.000000, tx_pps: 36001432.000000
18/11/2020 22:35:51 pktgen: {'ibytes': 10313597888,
'ierrors': 0,
'ipackets': 161149989,
'obytes': 23025378944,
'oerrors': 0,
'opackets': 359771596,
'rx_bps': 8267677696.0,
'rx_bps_L1': 10851326336.0,
'rx_pps': 16147804.0,
'rx_util': 27.12831584,
'tx_bps': 18432733184.0,
'tx_bps_L1': 24192962304.0,
'tx_pps': 36001432.0,
'tx_util': 60.48240576}
18/11/2020 22:35:51 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 8267677696.000000, rx_pps: 16147804.000000
18/11/2020 22:35:51 pktgen: throughput: pps_rx 16147804.000000, bps_rx 8267677696.000000
18/11/2020 22:35:51 pktgen: traffic completed.
18/11/2020 22:35:51 dut.10.240.183.214: stop
18/11/2020 22:35:51 dut.10.240.183.214:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 120507587 TX-packets: 120507587 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
RX-packets: 120968859 TX-packets: 120968859 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 241476446 RX-dropped: 0 RX-total: 241476446
TX-packets: 241476446 TX-dropped: 0 TX-total: 241476446
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 241476446 RX-dropped: 0 RX-total: 241476446
TX-packets: 241476446 TX-dropped: 0 TX-total: 241476446
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
18/11/2020 22:35:51 dut.10.240.183.214: start
18/11/2020 22:35:52 dut.10.240.183.214:
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
18/11/2020 22:35:54 tester: ls -d /tmp
18/11/2020 22:35:54 tester: /tmp
18/11/2020 22:35:54 tester: scp -v /home/autoregression/dts/dts/output/tmp/pcap/pvp_multipath.pcap root@10.240.183.213:/tmp/pvp_multipath.pcap
18/11/2020 22:35:57 pktgen: test port 0 map gen port 0
18/11/2020 22:35:57 pktgen: test port 0 map gen port 0
18/11/2020 22:35:57 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:35:57 pktgen: trex port <0> not support flow control
18/11/2020 22:35:57 pktgen: trex packet generator: run traffic 5s to warm up ...
18/11/2020 22:35:57 pktgen: check the trex port link status
18/11/2020 22:35:57 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:35:57 pktgen: begin traffic ......
18/11/2020 22:35:57 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/11/2020 22:36:02 pktgen: traffic completed.
18/11/2020 22:36:02 pktgen: check the trex port link status
18/11/2020 22:36:02 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:36:02 pktgen: begin traffic ......
18/11/2020 22:36:02 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/11/2020 22:36:12 pktgen: begin get port statistic ...
18/11/2020 22:36:12 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}
18/11/2020 22:36:12 pktgen: {0: {'ibytes': 10218953600,
'ierrors': 0,
'ipackets': 159671182,
'obytes': 22767272704,
'oerrors': 0,
'opackets': 355738671,
'rx_bps': 8154923008.0,
'rx_bps_L1': 10703333568.0,
'rx_pps': 15927566.0,
'rx_util': 26.75833392,
'tx_bps': 18163161088.0,
'tx_bps_L1': 23839148288.000004,
'tx_pps': 35474920.0,
'tx_util': 59.59787072000001},
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.19837760925293,
'cpu_util': 98.7302474975586,
'cpu_util_raw': 100.0,
'open_flows': 0.0,
'platform_factor': 1.0,
'queue_full': 0,
'rx_bps': 8154923008.0,
'rx_core_pps': 0.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 10008237056.0,
'rx_pps': 15927566.0,
'socket_util': 0.0,
'total_alloc_error': 0,
'total_clients': 0,
'total_servers': 0,
'tx_bps': 18163161088.0,
'tx_cps': 0.0,
'tx_expected_bps': 0.0,
'tx_expected_cps': 0.0,
'tx_expected_pps': 0.0,
'tx_pps': 35474920.0},
'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
'total': {'ibytes': 10218953600,
'ierrors': 0,
'ipackets': 159671182,
'obytes': 22767272704,
'oerrors': 0,
'opackets': 355738671,
'rx_bps': 8154923008.0,
'rx_bps_L1': 10703333568.0,
'rx_pps': 15927566.0,
'rx_util': 26.75833392,
'tx_bps': 18163161088.0,
'tx_bps_L1': 23839148288.000004,
'tx_pps': 35474920.0,
'tx_util': 59.59787072000001}}
18/11/2020 22:36:12 pktgen: {'ibytes': 10218953600,
'ierrors': 0,
'ipackets': 159671182,
'obytes': 22767272704,
'oerrors': 0,
'opackets': 355738671,
'rx_bps': 8154923008.0,
'rx_bps_L1': 10703333568.0,
'rx_pps': 15927566.0,
'rx_util': 26.75833392,
'tx_bps': 18163161088.0,
'tx_bps_L1': 23839148288.000004,
'tx_pps': 35474920.0,
'tx_util': 59.59787072000001}
18/11/2020 22:36:12 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 18163161088.000000, tx_pps: 35474920.000000
18/11/2020 22:36:12 pktgen: {'ibytes': 10218953600,
'ierrors': 0,
'ipackets': 159671182,
'obytes': 22767272704,
'oerrors': 0,
'opackets': 355738671,
'rx_bps': 8154923008.0,
'rx_bps_L1': 10703333568.0,
'rx_pps': 15927566.0,
'rx_util': 26.75833392,
'tx_bps': 18163161088.0,
'tx_bps_L1': 23839148288.000004,
'tx_pps': 35474920.0,
'tx_util': 59.59787072000001}
18/11/2020 22:36:12 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 8154923008.000000, rx_pps: 15927566.000000
18/11/2020 22:36:12 pktgen: throughput: pps_rx 15927566.000000, bps_rx 8154923008.000000
18/11/2020 22:36:12 pktgen: traffic completed.
18/11/2020 22:36:12 dut.10.240.183.214: stop
18/11/2020 22:36:12 dut.10.240.183.214:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 119132154 TX-packets: 119132154 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
RX-packets: 120277209 TX-packets: 120277209 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 239409363 RX-dropped: 0 RX-total: 239409363
TX-packets: 239409363 TX-dropped: 0 TX-total: 239409363
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 239409363 RX-dropped: 0 RX-total: 239409363
TX-packets: 239409363 TX-dropped: 0 TX-total: 239409363
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
18/11/2020 22:36:12 dut.10.240.183.214: start
18/11/2020 22:36:12 dut.10.240.183.214:
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
18/11/2020 22:36:13 dut.10.240.183.214: quit
18/11/2020 22:36:13 dut.10.240.183.214:
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...
18/11/2020 22:36:13 TestPVPVirtioUserMultiQueuesPortRestart:
+--------------+-------------------------+------------------+------------+----------------+
| FrameSize(B) | Mode | Throughput(Mpps) | % linerate | Cycle |
+==============+=========================+==================+============+================+
| 64 | split_ring_nonmergeable | 16.148 | 27.128 | Before Restart |
+--------------+-------------------------+------------------+------------+----------------+
| 64 | split_ring_nonmergeable | 15.928 | 26.758 | After Restart |
+--------------+-------------------------+------------------+------------+----------------+
18/11/2020 22:36:13 TestPVPVirtioUserMultiQueuesPortRestart: Test Case test_perf_pvp_2queues_test_with_split_ring_nonmergeable_path Result PASSED:
18/11/2020 22:36:13 dut.10.240.183.214: kill_all: called by dut and prefix list has value.
18/11/2020 22:36:17 TestPVPVirtioUserMultiQueuesPortRestart: Test Case test_perf_pvp_2queues_test_with_split_ring_vector_rx_path Begin
18/11/2020 22:36:17 dut.10.240.183.214:
18/11/2020 22:36:17 tester:
18/11/2020 22:36:17 dut.10.240.183.214: rm -rf ./vhost.out
18/11/2020 22:36:17 dut.10.240.183.214:
18/11/2020 22:36:17 dut.10.240.183.214: killall -s INT dpdk-testpmd
18/11/2020 22:36:17 dut.10.240.183.214: dpdk-testpmd: no process found
18/11/2020 22:36:17 dut.10.240.183.214: rm -rf ./vhost-net*
18/11/2020 22:36:17 dut.10.240.183.214:
18/11/2020 22:36:28 dut.10.240.183.214: cat /proc/meminfo |grep Hugepagesize|awk '{print($2)}'
18/11/2020 22:36:28 dut.10.240.183.214: 2048
18/11/2020 22:36:28 dut.10.240.183.214: x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 33,34,35 -n 4 --file-prefix=virtio --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 --single-file-segments -- -i --tx-offloads=0x0 --rss-ip --nb-cores=2 --rxq=2 --txq=2
18/11/2020 22:36:28 dut.10.240.183.214: EAL: Detected 112 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/virtio/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: No available hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: No legacy callbacks, legacy socket not created
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 <mb_pool_1>: 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
18/11/2020 22:36:38 dut.10.240.183.214: set fwd mac
18/11/2020 22:36:38 dut.10.240.183.214:
Set mac packet forwarding mode
18/11/2020 22:36:38 dut.10.240.183.214: start
18/11/2020 22:36:39 dut.10.240.183.214:
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
18/11/2020 22:36:39 TestPVPVirtioUserMultiQueuesPortRestart: Running test test_perf_pvp_2queues_test_with_split_ring_vector_rx_path, and 64 frame size.
18/11/2020 22:36:39 tester: ls -d /tmp
18/11/2020 22:36:39 tester: /tmp
18/11/2020 22:36:39 tester: scp -v /home/autoregression/dts/dts/output/tmp/pcap/pvp_multipath.pcap root@10.240.183.213:/tmp/pvp_multipath.pcap
18/11/2020 22:36:41 pktgen: test port 0 map gen port 0
18/11/2020 22:36:41 pktgen: test port 0 map gen port 0
18/11/2020 22:36:41 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:36:41 pktgen: trex port <0> not support flow control
18/11/2020 22:36:41 pktgen: trex packet generator: run traffic 5s to warm up ...
18/11/2020 22:36:41 pktgen: check the trex port link status
18/11/2020 22:36:41 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:36:41 pktgen: begin traffic ......
18/11/2020 22:36:41 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/11/2020 22:36:46 pktgen: traffic completed.
18/11/2020 22:36:46 pktgen: check the trex port link status
18/11/2020 22:36:46 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:36:46 pktgen: begin traffic ......
18/11/2020 22:36:46 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/11/2020 22:36:56 pktgen: begin get port statistic ...
18/11/2020 22:36: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}
18/11/2020 22:36:56 pktgen: {0: {'ibytes': 10334405312,
'ierrors': 0,
'ipackets': 161475112,
'obytes': 23207881984,
'oerrors': 0,
'opackets': 362623211,
'rx_bps': 8284347904.0,
'rx_bps_L1': 10873204864.0,
'rx_pps': 16180356.0,
'rx_util': 27.183012159999997,
'tx_bps': 18417577984.0,
'tx_bps_L1': 24173071104.0,
'tx_pps': 35971832.0,
'tx_util': 60.43267776},
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.378005981445312,
'cpu_util': 98.19559478759766,
'cpu_util_raw': 100.0,
'open_flows': 0.0,
'platform_factor': 1.0,
'queue_full': 0,
'rx_bps': 8284347904.0,
'rx_core_pps': 0.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 10133230592.0,
'rx_pps': 16180356.0,
'socket_util': 0.0,
'total_alloc_error': 0,
'total_clients': 0,
'total_servers': 0,
'tx_bps': 18417577984.0,
'tx_cps': 0.0,
'tx_expected_bps': 0.0,
'tx_expected_cps': 0.0,
'tx_expected_pps': 0.0,
'tx_pps': 35971832.0},
'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
'total': {'ibytes': 10334405312,
'ierrors': 0,
'ipackets': 161475112,
'obytes': 23207881984,
'oerrors': 0,
'opackets': 362623211,
'rx_bps': 8284347904.0,
'rx_bps_L1': 10873204864.0,
'rx_pps': 16180356.0,
'rx_util': 27.183012159999997,
'tx_bps': 18417577984.0,
'tx_bps_L1': 24173071104.0,
'tx_pps': 35971832.0,
'tx_util': 60.43267776}}
18/11/2020 22:36:56 pktgen: {'ibytes': 10334405312,
'ierrors': 0,
'ipackets': 161475112,
'obytes': 23207881984,
'oerrors': 0,
'opackets': 362623211,
'rx_bps': 8284347904.0,
'rx_bps_L1': 10873204864.0,
'rx_pps': 16180356.0,
'rx_util': 27.183012159999997,
'tx_bps': 18417577984.0,
'tx_bps_L1': 24173071104.0,
'tx_pps': 35971832.0,
'tx_util': 60.43267776}
18/11/2020 22:36:56 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 18417577984.000000, tx_pps: 35971832.000000
18/11/2020 22:36:56 pktgen: {'ibytes': 10334405312,
'ierrors': 0,
'ipackets': 161475112,
'obytes': 23207881984,
'oerrors': 0,
'opackets': 362623211,
'rx_bps': 8284347904.0,
'rx_bps_L1': 10873204864.0,
'rx_pps': 16180356.0,
'rx_util': 27.183012159999997,
'tx_bps': 18417577984.0,
'tx_bps_L1': 24173071104.0,
'tx_pps': 35971832.0,
'tx_util': 60.43267776}
18/11/2020 22:36:56 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 8284347904.000000, rx_pps: 16180356.000000
18/11/2020 22:36:56 pktgen: throughput: pps_rx 16180356.000000, bps_rx 8284347904.000000
18/11/2020 22:36:56 pktgen: traffic completed.
18/11/2020 22:36:56 dut.10.240.183.214: stop
18/11/2020 22:36:56 dut.10.240.183.214:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 120122861 TX-packets: 120122861 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
RX-packets: 122431033 TX-packets: 122431033 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 242553894 RX-dropped: 0 RX-total: 242553894
TX-packets: 242553894 TX-dropped: 0 TX-total: 242553894
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 242553894 RX-dropped: 0 RX-total: 242553894
TX-packets: 242553894 TX-dropped: 0 TX-total: 242553894
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
18/11/2020 22:36:56 dut.10.240.183.214: start
18/11/2020 22:36:56 dut.10.240.183.214:
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
18/11/2020 22:36:59 tester: ls -d /tmp
18/11/2020 22:36:59 tester: /tmp
18/11/2020 22:36:59 tester: scp -v /home/autoregression/dts/dts/output/tmp/pcap/pvp_multipath.pcap root@10.240.183.213:/tmp/pvp_multipath.pcap
18/11/2020 22:37:01 pktgen: test port 0 map gen port 0
18/11/2020 22:37:01 pktgen: test port 0 map gen port 0
18/11/2020 22:37:01 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:37:01 pktgen: trex port <0> not support flow control
18/11/2020 22:37:01 pktgen: trex packet generator: run traffic 5s to warm up ...
18/11/2020 22:37:01 pktgen: check the trex port link status
18/11/2020 22:37:01 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:37:01 pktgen: begin traffic ......
18/11/2020 22:37:01 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/11/2020 22:37:06 pktgen: traffic completed.
18/11/2020 22:37:06 pktgen: check the trex port link status
18/11/2020 22:37:06 pktgen: {'arp': '-',
'cores': [0, 1, 2, 3],
'description': 'Ethernet Controller XL710 for 40GbE QSFP+',
'dest': '3c:fd:fe:c8:19:28',
'driver': 'net_i40e',
'fc': 'none',
'fc_supported': 'no',
'grat_arp': 'off',
'hw_mac': '3c:fd:fe:c8:18:78',
'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': 0,
'pci_addr': '0000:05: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:18:78',
'stack': 'legacy',
'status': 'IDLE',
'supp_speeds': [40000],
'vlan': '-',
'vxlan_fs': '-'}
18/11/2020 22:37:06 pktgen: begin traffic ......
18/11/2020 22:37:06 pktgen: {'ports': [0], 'mult': '100%', 'core_mask': None, 'force': True}
18/11/2020 22:37:16 pktgen: begin get port statistic ...
18/11/2020 22:37: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}
18/11/2020 22:37:17 pktgen: {0: {'ibytes': 10335485120,
'ierrors': 0,
'ipackets': 161491995,
'obytes': 23122338944,
'oerrors': 0,
'opackets': 361286596,
'rx_bps': 8255501824.0,
'rx_bps_L1': 10835344384.0,
'rx_pps': 16124016.0,
'rx_util': 27.088360960000003,
'tx_bps': 18328506368.0,
'tx_bps_L1': 24056162688.0,
'tx_pps': 35797852.0,
'tx_util': 60.140406719999994},
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.297456741333008,
'cpu_util': 98.56731414794922,
'cpu_util_raw': 100.0,
'open_flows': 0.0,
'platform_factor': 1.0,
'queue_full': 0,
'rx_bps': 8255501824.0,
'rx_core_pps': 0.0,
'rx_cpu_util': 0.0,
'rx_drop_bps': 10073004032.0,
'rx_pps': 16124016.0,
'socket_util': 0.0,
'total_alloc_error': 0,
'total_clients': 0,
'total_servers': 0,
'tx_bps': 18328506368.0,
'tx_cps': 0.0,
'tx_expected_bps': 0.0,
'tx_expected_cps': 0.0,
'tx_expected_pps': 0.0,
'tx_pps': 35797852.0},
'latency': {'global': {'bad_hdr': 0, 'old_flow': 0}},
'total': {'ibytes': 10335485120,
'ierrors': 0,
'ipackets': 161491995,
'obytes': 23122338944,
'oerrors': 0,
'opackets': 361286596,
'rx_bps': 8255501824.0,
'rx_bps_L1': 10835344384.0,
'rx_pps': 16124016.0,
'rx_util': 27.088360960000003,
'tx_bps': 18328506368.0,
'tx_bps_L1': 24056162688.0,
'tx_pps': 35797852.0,
'tx_util': 60.140406719999994}}
18/11/2020 22:37:17 pktgen: {'ibytes': 10335485120,
'ierrors': 0,
'ipackets': 161491995,
'obytes': 23122338944,
'oerrors': 0,
'opackets': 361286596,
'rx_bps': 8255501824.0,
'rx_bps_L1': 10835344384.0,
'rx_pps': 16124016.0,
'rx_util': 27.088360960000003,
'tx_bps': 18328506368.0,
'tx_bps_L1': 24056162688.0,
'tx_pps': 35797852.0,
'tx_util': 60.140406719999994}
18/11/2020 22:37:17 pktgen: Tx Port 0 stats:
tx_port: 0, tx_bps: 18328506368.000000, tx_pps: 35797852.000000
18/11/2020 22:37:17 pktgen: {'ibytes': 10335485120,
'ierrors': 0,
'ipackets': 161491995,
'obytes': 23122338944,
'oerrors': 0,
'opackets': 361286596,
'rx_bps': 8255501824.0,
'rx_bps_L1': 10835344384.0,
'rx_pps': 16124016.0,
'rx_util': 27.088360960000003,
'tx_bps': 18328506368.0,
'tx_bps_L1': 24056162688.0,
'tx_pps': 35797852.0,
'tx_util': 60.140406719999994}
18/11/2020 22:37:17 pktgen: Rx Port 0 stats:
rx_port: 0, rx_bps: 8255501824.000000, rx_pps: 16124016.000000
18/11/2020 22:37:17 pktgen: throughput: pps_rx 16124016.000000, bps_rx 8255501824.000000
18/11/2020 22:37:17 pktgen: traffic completed.
18/11/2020 22:37:17 dut.10.240.183.214: stop
18/11/2020 22:37:17 dut.10.240.183.214:
Telling cores to ...
Waiting for lcores to finish...
------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 0/Queue= 0 -------
RX-packets: 119850352 TX-packets: 119850352 TX-dropped: 0
------- Forward Stats for RX Port= 0/Queue= 1 -> TX Port= 0/Queue= 1 -------
RX-packets: 122432575 TX-packets: 122432575 TX-dropped: 0
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 242282927 RX-dropped: 0 RX-total: 242282927
TX-packets: 242282927 TX-dropped: 0 TX-total: 242282927
----------------------------------------------------------------------------
+++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++
RX-packets: 242282927 RX-dropped: 0 RX-total: 242282927
TX-packets: 242282927 TX-dropped: 0 TX-total: 242282927
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Done.
18/11/2020 22:37:17 dut.10.240.183.214: start
18/11/2020 22:37:17 dut.10.240.183.214:
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
18/11/2020 22:37:17 dut.10.240.183.214: quit
18/11/2020 22:37:18 dut.10.240.183.214:
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...
18/11/2020 22:37:18 TestPVPVirtioUserMultiQueuesPortRestart:
+--------------+----------------------+------------------+------------+----------------+
| FrameSize(B) | Mode | Throughput(Mpps) | % linerate | Cycle |
+==============+======================+==================+============+================+
| 64 | split_ring_vector_rx | 16.180 | 27.183 | Before Restart |
+--------------+----------------------+------------------+------------+----------------+
| 64 | split_ring_vector_rx | 16.124 | 27.088 | After Restart |
+--------------+----------------------+------------------+------------+----------------+
18/11/2020 22:37:18 TestPVPVirtioUserMultiQueuesPortRestart: Test Case test_perf_pvp_2queues_test_with_split_ring_vector_rx_path Result PASSED:
18/11/2020 22:37:18 dut.10.240.183.214: kill_all: called by dut and prefix list has value.
18/11/2020 22:37:21 dts:
TEST SUITE ENDED: TestPVPVirtioUserMultiQueuesPortRestart
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH V2] tests/pvp_virtio_user_multi_queues_port_restart: Add one new case and Optimize script
2020-11-19 10:39 [dts] [PATCH V2] tests/pvp_virtio_user_multi_queues_port_restart: Add one new case and Optimize script JiangYuX
2020-11-19 2:41 ` Jiang, YuX
@ 2020-11-19 8:44 ` Tu, Lijuan
1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2020-11-19 8:44 UTC (permalink / raw)
To: Jiang, YuX, dts; +Cc: Jiang, YuX
> 1,Add one new case:packed_ring_vectorized_path which need enable avx512
> 2,Optimize testpmd function and Modify TC7&TC8 script to adapt testplan
>
> Signed-off-by: JiangYu <yux.jiang@intel.com>
Applied
^ permalink raw reply [flat|nested] 3+ messages in thread
* [dts] [PATCH V2] tests/pvp_virtio_user_multi_queues_port_restart: Add one new case and Optimize script
@ 2020-11-19 10:39 JiangYuX
2020-11-19 2:41 ` Jiang, YuX
2020-11-19 8:44 ` Tu, Lijuan
0 siblings, 2 replies; 3+ messages in thread
From: JiangYuX @ 2020-11-19 10:39 UTC (permalink / raw)
To: dts; +Cc: JiangYu
From: JiangYu <yux.jiang@intel.com>
1,Add one new case:packed_ring_vectorized_path which need enable avx512
2,Optimize testpmd function and Modify TC7&TC8 script to adapt testplan
Signed-off-by: JiangYu <yux.jiang@intel.com>
---
...te_pvp_virtio_user_multi_queues_port_restart.py | 84 +++++++++++++---------
1 file changed, 49 insertions(+), 35 deletions(-)
diff --git a/tests/TestSuite_pvp_virtio_user_multi_queues_port_restart.py b/tests/TestSuite_pvp_virtio_user_multi_queues_port_restart.py
index 4710222..eefc5bb 100644
--- a/tests/TestSuite_pvp_virtio_user_multi_queues_port_restart.py
+++ b/tests/TestSuite_pvp_virtio_user_multi_queues_port_restart.py
@@ -44,7 +44,7 @@ import re
from test_case import TestCase
from packet import Packet
from pktgen import PacketGeneratorHelper
-
+from pmd_output import PmdOutput
class TestPVPVirtioUserMultiQueuesPortRestart(TestCase):
@@ -66,11 +66,13 @@ class TestPVPVirtioUserMultiQueuesPortRestart(TestCase):
# create an instance to set stream field setting
self.pktgen_helper = PacketGeneratorHelper()
self.pci_info = self.dut.ports_info[0]['pci']
- self.vhost = self.dut.new_session(suite="vhost-user")
+ self.vhost_pmd_session = self.dut.new_session(suite="vhost-user")
self.tx_port = self.tester.get_local_port(self.dut_ports[0])
self.queue_number = 2
self.dut.kill_all()
self.number_of_ports = 1
+ self.vhost_pmd = PmdOutput(self.dut, self.vhost_pmd_session)
+ self.virtio_user_pmd = PmdOutput(self.dut)
self.app_testpmd_path = self.dut.apps_name['test-pmd']
self.testpmd_name = self.app_testpmd_path.split("/")[-1]
@@ -91,15 +93,13 @@ class TestPVPVirtioUserMultiQueuesPortRestart(TestCase):
"""
self.dut.send_expect("killall -s INT %s" % self.testpmd_name, "#")
self.dut.send_expect("rm -rf ./vhost-net*", "#")
- testcmd = self.app_testpmd_path + " "
- vdev = 'net_vhost0,iface=vhost-net,queues=2,client=0'
- eal_params = self.dut.create_eal_parameters(cores=self.core_list[2:5], prefix='vhost', ports=[self.pci_info],
- vdevs=[vdev])
- para = " -- -i --nb-cores=2 --rxq=%s --txq=%s --rss-ip" % (self.queue_number, self.queue_number)
- command_line_vhost = testcmd + eal_params + para
- self.vhost.send_expect(command_line_vhost, "testpmd> ", 120)
- self.vhost.send_expect("set fwd mac", "testpmd> ", 120)
- self.vhost.send_expect("start", "testpmd> ", 120)
+ vdev = "'net_vhost0,iface=vhost-net,queues=2,client=0'"
+ param = "--nb-cores=2 --rxq={} --txq={} --rss-ip".format(self.queue_number, self.queue_number)
+ self.vhost_pmd.start_testpmd(cores=self.core_list[2:5], param=param, \
+ eal_param="-w {} --file-prefix=vhost --vdev {}".format(self.pci_info, vdev))
+
+ self.vhost_pmd.execute_cmd("set fwd mac", "testpmd> ", 120)
+ self.vhost_pmd.execute_cmd("start", "testpmd> ", 120)
@property
def check_2M_env(self):
@@ -110,21 +110,25 @@ class TestPVPVirtioUserMultiQueuesPortRestart(TestCase):
"""
start testpmd in vm depend on different path
"""
- testcmd = self.app_testpmd_path + " "
- eal_params = self.dut.create_eal_parameters(cores=self.core_list[5:8], prefix='virtio', no_pci=True,
- vdevs=[vdevs])
+ eal_params = "--vdev {}".format(vdevs)
if self.check_2M_env:
eal_params += " --single-file-segments"
+ if 'vectorized_path' in self.running_case:
+ eal_params += " --force-max-simd-bitwidth=512"
if vector_flag:
- para = " -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq=%s --txq=%s --rss-ip" % (
- self.queue_number, self.queue_number)
+ # split_ring_vector_rx_path don't use enable-hw-vlan-strip params in testplan
+ param = "--tx-offloads=0x0 --rss-ip --nb-cores=2 --rxq={} --txq={}".format(self.queue_number, self.queue_number)
else:
- para = " -- -i --tx-offloads=0x0 --rss-ip --nb-cores=2 --rxq=%s --txq=%s --rss-ip" % (
- self.queue_number, self.queue_number)
- command_line_user = testcmd + eal_params + para
- self.dut.send_expect(command_line_user, "testpmd> ", 30)
- self.dut.send_expect("set fwd mac", "testpmd> ", 30)
- self.dut.send_expect("start", "testpmd> ", 30)
+ param = "--tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=2 --rxq={} --txq={}".format(self.queue_number, self.queue_number)
+
+ if 'packed_ring' in self.running_case:
+ # packed_ring case use txd&rxd in testplan
+ param += " --txd=255 --rxd=255"
+
+ self.virtio_user_pmd.start_testpmd(cores=self.core_list[5:8], param=param, eal_param=eal_params, \
+ no_pci=True, ports=[], prefix="virtio", fixed_prefix=True)
+ self.virtio_user_pmd.execute_cmd("set fwd mac", "testpmd> ", 30)
+ self.virtio_user_pmd.execute_cmd("start", "testpmd> ", 30)
def check_port_link_status_after_port_restart(self):
"""
@@ -133,7 +137,7 @@ class TestPVPVirtioUserMultiQueuesPortRestart(TestCase):
loop = 1
port_status = 'down'
while (loop <= 5):
- out = self.vhost.send_expect("show port info 0", "testpmd> ", 120)
+ out = self.vhost_pmd.execute_cmd("show port info 0", "testpmd> ", 120)
port_status = re.findall("Link\s*status:\s*([a-z]*)", out)
if ("down" not in port_status):
break
@@ -143,12 +147,12 @@ class TestPVPVirtioUserMultiQueuesPortRestart(TestCase):
def port_restart(self, restart_times=1):
for i in range(restart_times):
- self.vhost.send_expect("stop", "testpmd> ", 120)
- self.vhost.send_expect("port stop 0", "testpmd> ", 120)
- self.vhost.send_expect("clear port stats 0", "testpmd> ", 120)
- self.vhost.send_expect("port start 0", "testpmd> ", 120)
+ self.vhost_pmd.execute_cmd("stop", "testpmd> ", 120)
+ self.vhost_pmd.execute_cmd("port stop 0", "testpmd> ", 120)
+ self.vhost_pmd.execute_cmd("clear port stats 0", "testpmd> ", 120)
+ self.vhost_pmd.execute_cmd("port start 0", "testpmd> ", 120)
self.check_port_link_status_after_port_restart()
- self.vhost.send_expect("start", "testpmd> ", 120)
+ self.vhost_pmd.execute_cmd("start", "testpmd> ", 120)
def update_table_info(self, case_info, frame_size, Mpps, throughtput, Cycle):
results_row = [frame_size]
@@ -212,7 +216,7 @@ class TestPVPVirtioUserMultiQueuesPortRestart(TestCase):
"""
check each queue has receive packets
"""
- out = self.dut.send_expect("stop", "testpmd> ", 60)
+ out = self.virtio_user_pmd.execute_cmd("stop", "testpmd> ", 60)
p = re.compile("RX Port= 0/Queue= (\d+) -> TX Port= 0/Queue= \d+.*\n.*RX-packets:\s?(\d+).*TX-packets:\s?(\d+)")
res = p.findall(out)
self.res_queues = sorted([int(i[0]) for i in res])
@@ -222,14 +226,14 @@ class TestPVPVirtioUserMultiQueuesPortRestart(TestCase):
"frame_size: %s, expect %s queues to handle packets, result %s queues" % (frame_size, list(range(self.queue_number)), self.res_queues))
self.verify(all(self.res_rx_pkts), "each queue should has rx packets, result: %s" % self.res_rx_pkts)
self.verify(all(self.res_tx_pkts), "each queue should has tx packets, result: %s" % self.res_tx_pkts)
- self.dut.send_expect("start", "testpmd> ", 60)
+ self.virtio_user_pmd.execute_cmd("start", "testpmd> ", 60)
def close_all_testpmd(self):
"""
close testpmd about vhost-user and vm_testpmd
"""
- self.vhost.send_expect("quit", "#", 60)
- self.dut.send_expect("quit", "#", 60)
+ self.vhost_pmd.execute_cmd("quit", "#", 10)
+ self.virtio_user_pmd.execute_cmd("quit", "#", 10)
def test_perf_pvp_2queues_test_with_packed_ring_mergeable_path(self):
self.start_vhost_testpmd()
@@ -275,14 +279,14 @@ class TestPVPVirtioUserMultiQueuesPortRestart(TestCase):
def test_perf_pvp_2queues_test_with_split_ring_vector_rx_path(self):
self.start_vhost_testpmd()
- self.start_virtio_user_testpmd(vdevs="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", vector_flag=True)
+ self.start_virtio_user_testpmd(vdevs="net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=2,in_order=0,mrg_rxbuf=0,vectorized=1", vector_flag=True)
self.send_and_verify("split_ring_vector_rx")
self.close_all_testpmd()
self.result_table_print()
def test_perf_pvp_2queues_test_with_packed_ring_inorder_mergeable_path(self):
self.start_vhost_testpmd()
- self.start_virtio_user_testpmd(vdevs="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")
+ self.start_virtio_user_testpmd(vdevs="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")
self.send_and_verify("packed_ring_inorder_mergeable")
self.close_all_testpmd()
self.result_table_print()
@@ -294,6 +298,16 @@ class TestPVPVirtioUserMultiQueuesPortRestart(TestCase):
self.close_all_testpmd()
self.result_table_print()
+ def test_perf_pvp_2queues_test_with_packed_ring_vectorized_path(self):
+ """
+ Test Case 10: pvp 2 queues test with packed ring vectorized path
+ """
+ self.start_vhost_testpmd()
+ self.start_virtio_user_testpmd(vdevs="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")
+ self.send_and_verify("packed_ring_vectorized_path")
+ self.close_all_testpmd()
+ self.result_table_print()
+
def tear_down(self):
"""
Run after each test case.
@@ -305,4 +319,4 @@ class TestPVPVirtioUserMultiQueuesPortRestart(TestCase):
"""
Run after each test suite.
"""
- self.dut.close_session(self.vhost)
+ self.dut.close_session(self.vhost_pmd_session)
--
2.7.4
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-11-19 8:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-19 10:39 [dts] [PATCH V2] tests/pvp_virtio_user_multi_queues_port_restart: Add one new case and Optimize script JiangYuX
2020-11-19 2:41 ` Jiang, YuX
2020-11-19 8:44 ` Tu, Lijuan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).