On 30/10/2024 13:38, dhpanch...@gmail.com wrote:

I had to change my 100G IP address to 192.168.120.2 and channels on the X410 to “A”.

I set the CPU to Performance Mode and lowered the sample rate to 122.88e6.

However, I’m still experiencing dropped packets and sequence errors.

/usr/local/lib/uhd/examples$ sudo ./benchmark_rate --args "type=x4xx,product=x410,addr=192.168.120.2,mgmt_addr=192.168.1.3,use_dpdk=1" --priority "high" --rx_rate 122.88e6 --rx_subdev "A:1" --tx_rate 122.88e6 --tx_subdev "A:0"

[INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400; DPDK_21.11; UHD_4.7.0.HEAD-0-ga5ed1872

EAL: Detected CPU lcores: 32

EAL: Detected NUMA nodes: 1

EAL: Detected shared linkage of DPDK

EAL: Multi-process socket /var/run/dpdk/rte/mp_socket

EAL: Selected IOVA mode 'VA'

EAL: No available 1048576 kB hugepages reported

EAL: Probe PCI driver: mlx5_pci (15b3:1017) device: 0000:01:00.0 (socket 0)

EAL: Probe PCI driver: mlx5_pci (15b3:1017) device: 0000:01:00.1 (socket 0)

TELEMETRY: No legacy callbacks, legacy socket not created

[00:00:00.000094] Creating the usrp device with: type=x4xx,product=x410,addr=192.168.120.2,mgmt_addr=192.168.1.3,use_dpdk=1...

[INFO] [MPMD] Initializing 1 device(s) in parallel with args: mgmt_addr=192.168.1.3,type=x4xx,product=x410,serial=328AFD7,name=ni-x4xx-328AFD7,fpga=UC_200,claimed=False,addr=192.168.120.2,use_dpdk=1

[INFO] [MPM.PeriphManager] init() called with device args `fpga=UC_200,mgmt_addr=192.168.1.3,name=ni-x4xx-328AFD7,product=x410,use_dpdk=1,clock_source=internal,time_source=internal,initializing=True'.

Using Device: Single USRP:

Device: X400-Series Device

Mboard 0: x410

RX Channel: 0

RX DSP: 0

RX Dboard: A

RX Subdev: 1

TX Channel: 0

TX DSP: 0

TX Dboard: A

TX Subdev: 0

[00:00:01.954717000] Setting device timestamp to 0...

[00:00:01.955999062] Testing receive rate 122.880000 Msps on 1 channels

Setting TX spp to 1992

[00:00:01.956816655] Testing transmit rate 122.880000 Msps on 1 channels

U[00:00:02.575486749] Detected Rx sequence error.

DU[00:00:03.575529623] Detected Rx sequence error.

DU[00:00:04.575537036] Detected Rx sequence error.

DU[00:00:05.575477062] Detected Rx sequence error.

DU[00:00:06.575465296] Detected Rx sequence error.

DU[00:00:07.575549183] Detected Rx sequence error.

DU[00:00:08.575539569] Detected Rx sequence error.

DU[00:00:09.575532702] Detected Rx sequence error.

DU[00:00:10.575479853] Detected Rx sequence error.

DU[00:00:11.575464597] Detected Rx sequence error.

D[00:00:11.958336752] Benchmark complete.

Benchmark rate summary:

Num received samples: 1176736199

Num dropped samples: 52167456

Num overruns detected: 0

Num transmitted samples: 1168152624

Num sequence errors (Tx): 0

Num sequence errors (Rx): 10

Num underruns detected: 10

Num late commands: 0

Num timeouts (Tx): 0

Num timeouts (Rx): 0

Done!


My /root/.config/uhd.conf file:

[use_dpdk=1]

dpdk_mtu=9000

dpdk_driver=/usr/lib/x86_64-linux-gnu/dpdk/pmds-22.0/

dpdk_corelist=10,11

dpdk_num_mbufs=4095

dpdk_mbuf_cache_size=315

[dpdk_mac=b8:3f:d2:b0:d7:58]

dpdk_lcore = 11

dpdk_ipv4 = 192.168.120.33/24

#dpdk_num_desc = 4096


I have attached screenshot of the performance GUI and system monitor of the CPU usage


_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com
This is on a "bare metal" system, and NOT on a VM, I assume?

I just ran a test (using a different USRP) doing 125Msps of receive into my system, over a cheap 10GiGe card.  Worked without   ANY dropped samples--just using the "benchmark_rate" application as you have.  My system is a 8-year-old dual-chip,   6-core Xeon system with 32G of memory, running on Ubuntu 22.04. Your system SHOULD be capable of MUCH more.


I assume you've followed the various bits of advice here:

https://kb.ettus.com/USRP_Host_Performance_Tuning_Tips_and_Tricks#Increasing_Ring_Buffers

I wonder if you have a PHY-layer issue with your cabling?



_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com

Reply via email to