Does anybody have any tips or tricks for improving streaming performance on MacOS? I am using a B200mini with an M3 MacBook Air, 16 GB RAM on MacOS 15. RX performance at the full 56e6 sample rate is decent, but I’m still getting occasional overruns. Typically on Linux I can stream indefinitely at the full rate with no overruns after using the standard tips from https://kb.ettus.com/USRP_Host_Performance_Tuning_Tips_and_Tricks, but these are all Linux-specific.
I’m guessing that MacOS has less flexibility than Linux for performance tuning, but it would be very convenient if I could use it for occasional data recordings without dropping samples. It would be even better if I could use a B210 and record using 2 channels at the full 56e6 rate (still haven’t had the opportunity to try that out). I’m using UHD 4.8, compiled from source using Clang 16, Python 3.13, and Boost 1.87. ryan@Ryan-MBA-2024:/opt/local/lib/uhd/examples$ ./benchmark_rate --args="recv_frame_size=8000,num_recv_frames=512" --rx_rate=56e6 --rx_channels=0 --priority=high --rx_delay=3 --duration=60 [INFO] [UHD] Mac OS; Clang version 16.0.0 (clang-1600.0.26.4); Boost_108700; UHD_4.8.0.0-0-g308126a4 [00:00:00.033500] Creating the usrp device with: recv_frame_size=8000,num_recv_frames=512... [INFO] [B200] Detected Device: B200mini [INFO] [B200] Operating over USB 3. [INFO] [B200] Initialize CODEC control... [INFO] [B200] Initialize Radio control... [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: B200mini RX Channel: 0 RX DSP: 0 RX Dboard: A RX Subdev: FE-RX1 TX Channel: 0 TX DSP: 0 TX Dboard: A TX Subdev: FE-TX1 [00:00:02.242351375] Setting device timestamp to 0... [INFO] [B200] Asking for clock rate 56.000000 MHz... [INFO] [B200] Actually got clock rate 56.000000 MHz. [00:00:02.511292166] Testing receive rate 56.000000 Msps on 1 channels OOO[00:01:05.512534041] Benchmark complete. Benchmark rate summary: Num received samples: 3357192236 Num dropped samples: 2889426 Num overruns detected: 3 Num transmitted samples: 0 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! ryan@Ryan-MBA-2024:/opt/local/lib/uhd/examples$ Thanks, Ryan
_______________________________________________ USRP-users mailing list -- usrp-users@lists.ettus.com To unsubscribe send an email to usrp-users-le...@lists.ettus.com