So, if benchmark_rate can run successfully, maybe try rx_samples_to_file with saving the dev/null or with saving to files in a RAM file system. This will limit your capture depth to the size of the RAM. If this works, then it is a challenging issue to save to permanent storage. Perhaps DPDK will work better at the expense of more complex configuration.
On Tue, Mar 12, 2024 at 11:58 AM <zackk...@utexas.edu> wrote: > Hello Rob! > > I should have mentioned this in my original post but benchmark rate works > well for me. Specifically, when I run: > > ./benchmark_rate --rx_rate 491.52e6 --args > "addr=192.168.10.2,second_addr=192.168.20.2,mgmt_addr=192.168.1.19" > --duration 600 > > I get > > [INFO] [UHD] linux; GNU C++ version 9.4.0; Boost_107100; DPDK_19.11; > UHD_4.6.0.HEAD-0-g50fa3baa > > [00:00:00.000322] Creating the usrp device with: > addr=192.168.10.2,second_addr=192.168.20.2,mgmt_addr=192.168.1.19... > > [INFO] [MPMD] Initializing 1 device(s) in parallel with args: > mgmt_addr=192.168.1.19,type=x4xx,product=x410,serial=326E872,name=ni-x4xx-326E872,fpga=CG_400,claimed=False,addr=192.168.10.2,second_addr=192.168.20.2 > > [INFO] [MPM.PeriphManager] init() called with device args > `fpga=CG_400,mgmt_addr=192.168.1.19,name=ni-x4xx-326E872,product=x410,second_addr=192.168.20.2,clock_source=internal,time_source=internal,initializing=True'. > > Using Device: Single USRP: > > Device: X400-Series Device > > Mboard 0: x410 > > RX Channel: 0 > > RX DSP: n/a > > RX Dboard: A > > RX Subdev: 0 > > RX Channel: 1 > > RX DSP: n/a > > RX Dboard: A > > RX Subdev: 1 > > RX Channel: 2 > > RX DSP: n/a > > RX Dboard: B > > RX Subdev: 0 > > RX Channel: 3 > > RX DSP: n/a > > RX Dboard: B > > RX Subdev: 1 > > TX Channel: 0 > > TX DSP: n/a > > TX Dboard: A > > TX Subdev: 0 > > TX Channel: 1 > > TX DSP: n/a > > TX Dboard: A > > TX Subdev: 1 > > TX Channel: 2 > > TX DSP: n/a > > TX Dboard: B > > TX Subdev: 0 > > TX Channel: 3 > > TX DSP: n/a > > TX Dboard: B > > TX Subdev: 1 > > [00:00:03.511001021] Setting device timestamp to 0... > > [00:00:03.512894034] Testing receive rate 491.520000 Msps on 1 channels > > [00:10:03.513454979] Benchmark complete. > > Benchmark rate summary: > > Num received samples: 294911842520 > > Num dropped samples: 0 > > Num overruns detected: 0 > > 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! > > When I use the example that saves to file: > > ./rx_samples_to_file --args > "addr=192.168.10.2,second_addr=192.168.20.2,mgmt_addr=192.168.1.19" --file > [path] --duration 10 --rate 491.52e6 --freq 1575.42e6 > > > I get : > > Creating the usrp device with: > addr=192.168.10.2,second_addr=192.168.20.2,mgmt_addr=192.168.1.19... > > [INFO] [UHD] linux; GNU C++ version 9.4.0; Boost_107100; DPDK_19.11; > UHD_4.6.0.HEAD-0-g50fa3baa > > [INFO] [MPMD] Initializing 1 device(s) in parallel with args: > mgmt_addr=192.168.1.19,type=x4xx,product=x410,serial=326E872,name=ni-x4xx-326E872,fpga=CG_400,claimed=False,addr=192.168.10.2,second_addr=192.168.20.2 > > [INFO] [MPM.PeriphManager] init() called with device args > `fpga=CG_400,mgmt_addr=192.168.1.19,name=ni-x4xx-326E872,product=x410,second_addr=192.168.20.2,clock_source=internal,time_source=internal,initializing=True'. > > Using Device: Single USRP: > > Device: X400-Series Device > > Mboard 0: x410 > > RX Channel: 0 > > RX DSP: n/a > > RX Dboard: A > > RX Subdev: 0 > > RX Channel: 1 > > RX DSP: n/a > > RX Dboard: A > > RX Subdev: 1 > > RX Channel: 2 > > RX DSP: n/a > > RX Dboard: B > > RX Subdev: 0 > > RX Channel: 3 > > RX DSP: n/a > > RX Dboard: B > > RX Subdev: 1 > > TX Channel: 0 > > TX DSP: n/a > > TX Dboard: A > > TX Subdev: 0 > > TX Channel: 1 > > TX DSP: n/a > > TX Dboard: A > > TX Subdev: 1 > > TX Channel: 2 > > TX DSP: n/a > > TX Dboard: B > > TX Subdev: 0 > > TX Channel: 3 > > TX DSP: n/a > > TX Dboard: B > > TX Subdev: 1 > > Setting RX Rate: 491.520000 Msps... > > Actual RX Rate: 491.520000 Msps... > > Setting RX Freq: 1575.420000 MHz... > > Setting RX LO Offset: 0.000000 MHz... > > [WARNING] [MULTI_USRP] No DSP capabilities detected. Combining offset into > target frequency of 1575.420MHz > > Actual RX Freq: 1575.420000 MHz... > > Locking LO on channel 0 > > Waiting for "lo_locked": ++++++++++ locked. > > Press Ctrl + C to stop streaming... > > Disk write test indicates that an overflow is likely to occur. > > Your write medium must sustain a rate of 1966.080MB/s, > > but write test returned write speed of 184.000MB/s. > > The disk write rate is also affected by system load > > and OS/disk caching capacity. > > OGot an overflow indication. Please consider the following: > > Your write medium must sustain a rate of 1966.080MB/s. > > Dropped samples will not be written to the file. > > Please modify this example for your purposes. > > This message will not appear again. > > OOOOOO^C > > Done! > > > Which I abort since I get overruns. > _______________________________________________ > 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