MoonGen
MoonGen copied to clipboard
Error on running device-statistics.lua example
We are trying to run the device-statistics.lua example. The destination and source NICs(Intel(R) Ethernet Converged Network Adapter XXV710-DA2 (2x25G)) are on the same machine. Because we know the mac address of the destination NIC, we are hardcoding it. We are able to transmit the packets from one of the NICs but it is not being received by the destination NIC.
Few questions we have are:
- Can this example be run with 2 NICs on the same machine?
- Both of our NICs are dpdk bound. Is that an issue?
Appreciate your help!
can you post the exact model number of this NIC?
Am 13.03.2019 um 16:02 schrieb Tina Johnson [email protected]:
We are trying to run the device-statistics.lua example. The destination and source NICs(Intel(R) Ethernet Converged Network Adapter XXV710-DA2 (2x25G)) are on the same machine. Because we know the mac address of the destination NIC, we are hardcoding it. We are able to transmit the packets from one of the NICs but it is not being received by the destination NIC.
Few questions we have are:
• Can this example be run with 2 NICs on the same machine? • Both of our NICs are dpdk bound. Is that an issue? Appreciate your help!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
Output of lspci command:
04:00.0 Ethernet controller: Intel Corporation Ethernet Controller XXV710 for 25GbE SFP28 (rev 02)
Same symptom here with: 3b:00.0 Ethernet controller: Intel Corporation Ethernet Controller XL710 for 40GbE QSFP+ (rev 02) 3b:00.1 Ethernet controller: Intel Corporation Ethernet Controller XL710 for 40GbE QSFP+ (rev 02)
On the switch I'm seeing nearly all the packets as RX_DROP.
Linux hwlab-u6-data4 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2 (2019-08-28) x86_64 GNU/Linux
[ 6856.785443] i40e: Intel(R) Ethernet Connection XL710 Network Driver - version 2.3.2-k [ 6856.785445] i40e: Copyright (c) 2013 - 2014 Intel Corporation. [ 6856.798101] i40e 0000:3b:00.0: fw 6.0.48442 api 1.7 nvm 6.01 0x800035da 1.1747.0
Now, of possible interest, I am seeing traffic on this card and intel firmware work fine for some of the tests and no RX(dropped by switch, which points to checksum failure or the like) on other tests:
root@hwlab-u6-data4:/usr/src/MoonGen# ./moongen-simple start load-latency:0:1:rate=10Mp/s,time=3m [INFO] Initializing DPDK. This will take a few seconds... EAL: Detected 16 lcore(s) EAL: No free hugepages reported in hugepages-1048576kB EAL: Probing VFIO support... EAL: PCI device 0000:3b:00.0 on NUMA socket 0 EAL: probe driver: 8086:1583 net_i40e EAL: PCI device 0000:3b:00.1 on NUMA socket 0 EAL: probe driver: 8086:1583 net_i40e [INFO] Found 2 usable devices: Device 0: 3C:FD:FE:D0:2A:E0 (Intel Corporation Ethernet Controller XL710 for 40GbE QSFP+) Device 1: 3C:FD:FE:D0:2A:E1 (Intel Corporation Ethernet Controller XL710 for 40GbE QSFP+) [ERROR] 1 errors found while processing flow "load-latency". [WARN] Unknown option "time". [INFO] Flow load-latency => 0x1 [INFO] Waiting for devices to come up... [INFO] Device 1 (3C:FD:FE:D0:2A:E1) is up: 40000 MBit/s [INFO] Device 0 (3C:FD:FE:D0:2A:E0) is up: 40000 MBit/s [INFO] 2 devices are up. [Device: id=0] TX: 0.00 Mpps, 0 Mbit/s (0 Mbit/s with framing) [Device: id=1] RX: 0.00 Mpps, 0 Mbit/s (0 Mbit/s with framing) [Device: id=0] TX: 3.00 Mpps, 1534 Mbit/s (2014 Mbit/s with framing) [Device: id=1] RX: 3.23 Mpps, 1655 Mbit/s (2173 Mbit/s with framing) [Flow: dev=0 uid=0x1] TX: 4.04 Mpps, 2070 Mbit/s (2717 Mbit/s with framing) [Flow: dev=1 uid=0x1] RX: 3.94 Mpps, 2019 Mbit/s (2650 Mbit/s with framing) [Flow: dev=1 uid=?] RX: 0.00 Mpps, 0 Mbit/s (0 Mbit/s with framing) [Device: id=0] TX: 3.74 Mpps, 1915 Mbit/s (2513 Mbit/s with framing) [Device: id=1] RX: 3.72 Mpps, 1905 Mbit/s (2501 Mbit/s with framing) [Flow: dev=0 uid=0x1] TX: 3.64 Mpps, 1864 Mbit/s (2446 Mbit/s with framing) [Flow: dev=1 uid=0x1] RX: 3.67 Mpps, 1879 Mbit/s (2466 Mbit/s with framing) [Device: id=0] TX: 3.76 Mpps, 1927 Mbit/s (2529 Mbit/s with framing) [Device: id=1] RX: 3.76 Mpps, 1927 Mbit/s (2529 Mbit/s with framing) [Flow: dev=0 uid=0x1] TX: 3.78 Mpps, 1936 Mbit/s (2541 Mbit/s with framing) [Flow: dev=1 uid=0x1] RX: 3.78 Mpps, 1936 Mbit/s (2541 Mbit/s with framing) [Flow: dev=1 uid=?] RX: 0.00 Mpps, 0 Mbit/s (0 Mbit/s with framing) [Device: id=0] TX: 3.76 Mpps, 1926 Mbit/s (2527 Mbit/s with framing) [Device: id=1] RX: 3.76 Mpps, 1926 Mbit/s (2528 Mbit/s with framing) [Flow: dev=0 uid=0x1] TX: 3.76 Mpps, 1925 Mbit/s (2527 Mbit/s with framing) [Flow: dev=1 uid=0x1] RX: 3.76 Mpps, 1925 Mbit/s (2527 Mbit/s with framing) ^C[Flow: dev=1 uid=?] RX: 0.00 (StdDev nan) Mpps, 0 (StdDev nan) Mbit/s (0 Mbit/s with framing), total 3 packets with 192 bytes (incl. CRC) [Flow: dev=0 uid=0x1] TX: 3.73 (StdDev 0.08) Mpps, 1908 (StdDev 39) Mbit/s (2505 Mbit/s with framing), total 16430715 packets with 1051565760 bytes (incl. CRC) [Flow: dev=1 uid=0x1] RX: 3.74 (StdDev 0.06) Mpps, 1914 (StdDev 30) Mbit/s (2512 Mbit/s with framing), total 16352433 packets with 1046555712 bytes (incl. CRC) [INFO] Saving histogram to './load-latency_1-0_1.csv' [Device: id=0] TX: 3.56 (StdDev 0.38) Mpps, 1825 (StdDev 194) Mbit/s (2396 Mbit/s with framing), total 16434653 packets with 1051915208 bytes (incl. CRC) [Device: id=1] RX: 3.62 (StdDev 0.26) Mpps, 1853 (StdDev 132) Mbit/s (2432 Mbit/s with framing), total 16434656 packets with 1051915400 bytes (incl. CRC)