Sounds like there’s been a bit of a performance slip in the new kernel. Try adding the num_recv_frames=256 and num_send_frames=256
To yuur device args. Sent from my iPhone > On Sep 7, 2022, at 5:46 AM, Johannes Demel <de...@ant.uni-bremen.de> wrote: > > Hi all, > > I try to use a B210 with a computer that runs Ubuntu 22.04 now. However, at > higher sampling rates, above 24MSps with 2TX and 2RX streams, I get a lot of > overruns and underruns. I need 30.72MSps eventually and got that working on > all other machines. > This happens on Ubuntu 22.04 with UHD 4.2 > (321295fba49fb66ede365afbd9ef62971cdfbfca). > > I have another multiple other computers with exactly the same hardware but > Ubuntu 20.04 and UHD 4.1 where this works flawlessly. And it worked > flawlessly on the exact machine I'm trying to use now with Ubuntu 20.04/UHD4.1 > > How would you proceed to investigate this issue? Do you have any clues why > this might happen? > > Cheers > Johannes > > > The working setup with 24MSps: > -------------------------------- > $ ./lib/uhd/examples/benchmark_rate --rx_channels "0,1" --tx_channels "0,1" > --rx_rate 24e6 --tx_rate 24e6 --args="name=myusrp" > > [INFO] [UHD] linux; GNU C++ version 11.2.0; Boost_107400; > UHD_4.2.0.1-0-g321295fb > [00:00:00.000150] Creating the usrp device with: name=myusrp... > [INFO] [B200] Detected Device: B210 > [INFO] [B200] Operating over USB 3. > [INFO] [B200] Detecting internal GPSDO.... [INFO] [GPS] Found an internal > GPSDO: GPSTCXO, Firmware Rev 0.929b > [WARNING] [GPS] update_cache(): Malformed GPSDO string: GPSTCXO, Firmware Rev > 0.929b > [INFO] [B200] Initialize CODEC control... > [INFO] [B200] Initialize Radio control... > [INFO] [B200] Performing register loopback test... [INFO] [B200] Register > loopback test passed > [INFO] [B200] Performing register loopback test... [INFO] [B200] Register > loopback test passed > [INFO] [B200] Setting master clock rate selection to 'automatic'. > [INFO] [B200] Asking for clock rate 16.000000 MHz... [INFO] [B200] Actually > got clock rate 16.000000 MHz. > Using Device: Single USRP: > Device: B-Series Device > Mboard 0: B210 > RX Channel: 0 > RX DSP: 0 > RX Dboard: A > RX Subdev: FE-RX2 > RX Channel: 1 > RX DSP: 1 > RX Dboard: A > RX Subdev: FE-RX1 > TX Channel: 0 > TX DSP: 0 > TX Dboard: A > TX Subdev: FE-TX2 > TX Channel: 1 > TX DSP: 1 > TX Dboard: A > TX Subdev: FE-TX1 > > [00:00:03.83958484] Setting device timestamp to 0... > [INFO] [MULTI_USRP] 1) catch time transition at pps edge > [INFO] [MULTI_USRP] 2) set times next pps (synchronously) > [INFO] [B200] Asking for clock rate 24.000000 MHz... [INFO] [B200] Actually > got clock rate 24.000000 MHz. > [00:00:06.112597897] Testing receive rate 24.000000 Msps on 2 channels > Setting TX spp to 2040 > [00:00:06.134883841] Testing transmit rate 24.000000 Msps on 2 channels > [00:00:16.136391242] Benchmark complete. > > > Benchmark rate summary: > Num received samples: 478676848 > Num dropped samples: 0 > Num overruns detected: 0 > Num transmitted samples: 468069840 > Num sequence errors (Tx): 0 > Num sequence errors (Rx): 0 > Num underruns detected: 0 > Num late commands: 0 > Num timeouts (Tx): 0 > Num timeouts (Rx): 0 > > > Done! > ------------------------------- > > > > The failing setup with 25MSps: > -------------------------------- > $ ./lib/uhd/examples/benchmark_rate --rx_channels "0,1" --tx_channels "0,1" > --rx_rate 25e6 --tx_rate 25e6 --args="name=myusrp" > > [INFO] [UHD] linux; GNU C++ version 11.2.0; Boost_107400; > UHD_4.2.0.1-0-g321295fb > [00:00:00.000150] Creating the usrp device with: name=myusrp... > [INFO] [B200] Detected Device: B210 > [INFO] [B200] Operating over USB 3. > [INFO] [B200] Detecting internal GPSDO.... [INFO] [GPS] Found an internal > GPSDO: GPSTCXO, Firmware Rev 0.929b > [INFO] [B200] Initialize CODEC control... > [INFO] [B200] Initialize Radio control... > [INFO] [B200] Performing register loopback test... [INFO] [B200] Register > loopback test passed > [INFO] [B200] Performing register loopback test... [INFO] [B200] Register > loopback test passed > [INFO] [B200] Setting master clock rate selection to 'automatic'. > [INFO] [B200] Asking for clock rate 16.000000 MHz... [INFO] [B200] Actually > got clock rate 16.000000 MHz. > Using Device: Single USRP: > Device: B-Series Device > Mboard 0: B210 > RX Channel: 0 > RX DSP: 0 > RX Dboard: A > RX Subdev: FE-RX2 > RX Channel: 1 > RX DSP: 1 > RX Dboard: A > RX Subdev: FE-RX1 > TX Channel: 0 > TX DSP: 0 > TX Dboard: A > TX Subdev: FE-TX2 > TX Channel: 1 > TX DSP: 1 > TX Dboard: A > TX Subdev: FE-TX1 > > [00:00:03.80780849] Setting device timestamp to 0... > [INFO] [MULTI_USRP] 1) catch time transition at pps edge > [INFO] [MULTI_USRP] 2) set times next pps (synchronously) > [INFO] [B200] Asking for clock rate 25.000000 MHz... [INFO] [B200] Actually > got clock rate 25.000000 MHz. > [00:00:06.661812186] Testing receive rate 25.000000 Msps on 2 channels > Setting TX spp to 2040 > [00:00:06.684104161] Testing transmit rate 25.000000 Msps on 2 channels > UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU > ------------------------------------ > _______________________________________________ > 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