Thanks Marcus. What is the reason for Rx packet drop in N321? I have configured the same MTU on both ends of the connection. Interestingly, there is no Tx packet loss but Rx.
On Tuesday, 7 September 2021, 00:05:57 BST, Marcus D. Leech <patchvonbr...@gmail.com> wrote: On 2021-09-06 6:59 p.m., zhou wrote: Hi Marcus, Could you please help on this? I find some confusing information on MTU configuration in different ettus web pages: https://files.ettus.com/manual/page_transport.html : MTU=8000 for 10GigE https://kb.ettus.com/USRP_Host_Performance_Tuning_Tips_and_Tricks : MTU=9000 for 10GigE Which one is correct? : Thanks. They're both valid, in that a larger MTU tends to improve bulk performance at high sample rates. The caveat is that BOTH SIDES of the connection have to "agree" on the MTU, and some host controllers will happily accept a large MTU, but be unable to actually support it, although that situation is NOT one that I have seen in 10GiGe controllers--they inherently want to support "jumbo frames". On Monday, 6 September 2021, 22:33:35 BST, zhou via USRP-users <usrp-users@lists.ettus.com> wrote: Hi, I have a problem with the N321 USRP. I find packet dropped in USRP but not in host. In host, I am running Ubuntu 18.04. Below is the ifconfig result in N321: root@ni-n3xx-320CAAB:~# ifconfig eth0 Link encap:Ethernet HWaddr 00:80:2F:32:36:BA inet addr:192.168.10.165 Bcast:192.168.255.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:618374 errors:0 dropped:11485 overruns:0 frame:0 TX packets:193714 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:39776733 (37.9 MiB) TX bytes:14546432 (13.8 MiB) Interrupt:27 Base address:0xb000 int0 Link encap:Ethernet HWaddr AE:CD:BA:E1:CF:96 inet addr:169.254.0.1 Bcast:169.254.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:9000 Metric:1 RX packets:456 errors:0 dropped:0 overruns:0 frame:0 TX packets:15 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:37392 (36.5 KiB) TX bytes:2770 (2.7 KiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:89 errors:0 dropped:0 overruns:0 frame:0 TX packets:89 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:7480 (7.3 KiB) TX bytes:7480 (7.3 KiB) sfp0 Link encap:Ethernet HWaddr 00:80:2F:32:36:BB inet addr:192.168.12.2 Bcast:192.168.12.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:9000 Metric:1 RX packets:6239 errors:0 dropped:804 overruns:0 frame:0 TX packets:5669 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:18466697 (17.6 MiB) TX bytes:18417536 (17.5 MiB) sfp1 Link encap:Ethernet HWaddr 00:80:2F:32:36:BC inet addr:192.168.13.2 Bcast:192.168.13.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:9000 Metric:1 RX packets:24868 errors:0 dropped:796 overruns:0 frame:0 TX packets:24613 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:20486915 (19.5 MiB) TX bytes:19611643 (18.7 MiB) Below is ifconfig result in host: user@USRP-SERVER:~$ ifconfig eno1:flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.10.143 netmask 255.255.255.0 broadcast 192.168.255.255 inet6 fe80::b27b:25ff:fe1d:9e4e prefixlen 64 scopeid 0x20<link> ether b0:7b:25:1d:9e:4e txqueuelen 1000 (Ethernet) RX packets 5604 bytes 416435 (416.4 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 404 bytes 68556 (68.5 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 16 memory 0xd2100000-d2120000 enp1s0f0:flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 9000 inet 192.168.12.1 netmask 255.255.255.0 broadcast 192.168.12.255 inet6 fe80::faf2:1eff:fe42:dddc prefixlen 64 scopeid 0x20<link> ether f8:f2:1e:42:dd:dc txqueuelen 1000 (Ethernet) RX packets 294 bytes 35184 (35.1 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 395 bytes 37148 (37.1 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 enp1s0f1:flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 9000 inet 192.168.13.1 netmask 255.255.255.0 broadcast 192.168.13.255 inet6 fe80::faf2:1eff:fe42:dddd prefixlen 64 scopeid 0x20<link> ether f8:f2:1e:42:dd:dd txqueuelen 1000 (Ethernet) RX packets 9 bytes 2228 (2.2 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 72 bytes 7983 (7.9 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1000 (Local Loopback) RX packets 21071 bytes 1497110 (1.4 MB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 21071 bytes 1497110 (1.4 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 Could you please let me know what is the possible reason for packet drop in USRP? How to fix it? Thanks for any inputs. _______________________________________________ USRP-users mailing list -- usrp-users@lists.ettus.com To unsubscribe send an email to usrp-users-le...@lists.ettus.com
_______________________________________________ USRP-users mailing list -- usrp-users@lists.ettus.com To unsubscribe send an email to usrp-users-le...@lists.ettus.com