Hi Marcus, I have tried setting the tx_subdev "A:0 B:0 A:0 B:0" probably you mean only "A:0 B:0" since it produce another error saying input port already connected. I have tried another several benchmark configuration as follow: 1. ./benchmark_rate --tx_rate "1e6" --args "addr=192.168.40.2" --tx_subdev "A:0 B:0" --channel "0,1" or ./benchmark_rate --tx_rate "1e6" --args "addr=192.168.50.2" --tx_subdev "A:0 B:0" --channel "0,1" --> result success with 0 error 2. ./benchmark_rate --tx_rate "1e6" --args "addr0=192.168.40.2, addr1=192.168.50.2" --tx_subdev "A:0 B:0 A:0 B:0" --channel "0,1,2,3" --ref "external" --pps "external" --> produce error Error: RuntimeError: On node 0/DmaFIFO_0, input port 0 is already connected. 3. ./benchmark_rate --tx_rate "1e6" --args "addr0=192.168.40.2, addr1=192.168.50.2" --tx_subdev "A:0 B:0" --channel "0,1,2,3" --ref "external" --pps "external"--> only 2 out of 4 red LED is On for a few second, and the benchmark rate freeze at [00:00:06.374504] Testing transmit rate 1.000000 Msps on 4 channels. 4. ./benchmark_rate --tx_rate "1e6" --args "addr0=192.168.40.2, addr1=192.168.50.2" --tx_subdev "A:0 B:0" --channel "0,1" --ref "external" --pps "external"--> only 1 out of 2 red LED is On for a few second, and the benchmark rate freeze at [00:00:06.374504] Testing transmit rate 1.000000 Msps on 4 channels.
When i change -tx_rate in all the 4 test into --rx_rate. They work pretty well and not produce any error. It seems the problem only come when i try to create multi usrp object and it only happen during TX only. Even in fourth test i only use channel 0 & 1 which in only exist in first USRP, the problem still occurs. All the error after the freeze creates error message saying BIST failed (code:1) if i try to re run the benchmark test, and i have to turn on and of the power of the USRP. Do you have any idea why it could happen? I have configure the cpufreq-info and net.core.rmem_max & wmem_max to 50000000 and sudo ethtool -G tx 4078 rx 4078 to both usrp interface to no avail. What confuse me is why it is only happen during TX, while the RX is doing fine. I attach the benchmark test run output below until the freeze occurs. Thank you for your respond Regards, Harfan ./benchmark_rate --tx_rate "1e6" --args "addr0=192.168.40.2, addr1=192.168.50.2" --tx_subdev "A:0 B:0" --channel "0,1,2,3" --ref "external" --pps "external" [INFO] [UHD] linux; GNU C++ version 5.4.0 20160609; Boost_105800; UHD_3.11.1.0-release [WARNING] [UHD] Unable to set the thread priority. Performance may be negatively affected. Please see the general application notes in the manual for instructions. EnvironmentError: OSError: error in pthread_setschedparam [00:00:00.000002] Creating the usrp device with: addr0=192.168.40.2, addr1=192.168.50.2... [INFO] [X300] X300 initialization sequence... [INFO] [X300] Maximum frame size: 8000 bytes. [INFO] [X300] Maximum frame size: 8000 bytes. [INFO] [X300] Radio 1x clock: 200 MHz [INFO] [X300] Radio 1x clock: 200 MHz [INFO] [GPS] No GPSDO found [INFO] [0/DmaFIFO_0] Initializing block control (NOC ID: 0xF1F0D00000000000) [INFO] [0/DmaFIFO_0] BIST passed (Throughput: 1306 MB/s) [INFO] [0/DmaFIFO_0] BIST passed (Throughput: 1317 MB/s) [INFO] [0/Radio_0] Initializing block control (NOC ID: 0x12AD100000000001) [INFO] [GPS] No GPSDO found [INFO] [1/DmaFIFO_0] Initializing block control (NOC ID: 0xF1F0D00000000000) [INFO] [1/DmaFIFO_0] BIST passed (Throughput: 1304 MB/s) [INFO] [1/DmaFIFO_0] BIST passed (Throughput: 1315 MB/s) [INFO] [0/Radio_1] Initializing block control (NOC ID: 0x12AD100000000001) [INFO] [1/Radio_0] Initializing block control (NOC ID: 0x12AD100000000001) [INFO] [0/DDC_0] Initializing block control (NOC ID: 0xDDC0000000000000) [INFO] [1/Radio_1] Initializing block control (NOC ID: 0x12AD100000000001) [INFO] [0/DDC_1] Initializing block control (NOC ID: 0xDDC0000000000000) [INFO] [1/DDC_0] Initializing block control (NOC ID: 0xDDC0000000000000) [INFO] [0/DUC_0] Initializing block control (NOC ID: 0xD0C0000000000000) [INFO] [1/DDC_1] Initializing block control (NOC ID: 0xDDC0000000000000) [INFO] [0/DUC_1] Initializing block control (NOC ID: 0xD0C0000000000000) [INFO] [1/DUC_0] Initializing block control (NOC ID: 0xD0C0000000000000) [INFO] [1/DUC_1] Initializing block control (NOC ID: 0xD0C0000000000000) Using Device: Multi USRP: Device: X-Series Device Mboard 0: X310 Mboard 1: X310 RX Channel: 0 RX DSP: 0 RX Dboard: A RX Subdev: UBX RX RX Channel: 1 RX DSP: 0 RX Dboard: B RX Subdev: UBX RX RX Channel: 2 RX DSP: 0 RX Dboard: A RX Subdev: UBX RX RX Channel: 3 RX DSP: 0 RX Dboard: B RX Subdev: UBX RX TX Channel: 0 TX DSP: 0 TX Dboard: A TX Subdev: UBX TX TX Channel: 1 TX DSP: 0 TX Dboard: B TX Subdev: UBX TX TX Channel: 2 TX DSP: 0 TX Dboard: A TX Subdev: UBX TX TX Channel: 3 TX DSP: 0 TX Dboard: B TX Subdev: UBX TX Now confirming lock on clock signals... [00:00:04.527103] Setting device timestamp to 0... [INFO] [MULTI_USRP] 1) catch time transition at pps edge [INFO] [MULTI_USRP] 2) set times next pps (synchronously) [WARNING] [UHD] Unable to set the thread priority. Performance may be negatively affected. Please see the general application notes in the manual for instructions. EnvironmentError: OSError: error in pthread_setschedparam [00:00:06.374504] Testing transmit rate 1.000000 Msps on 4 channels ^C On Sun, May 20, 2018, 03:23 Marcus D. Leech <mle...@ripnet.com> wrote: > On 05/19/2018 12:47 PM, harfan ryanu wrote: > > Hi Marcus, > Thank you for your respond, > I just realize it seems somebody in the mail list has the same exact > problem with me, but i check noone has answered to the problem. > I have tried to run > ./benchmark_rate --tx_rate "1e6" --args > "addr0=192.168.40.2,addr1=192.168.50.2" > --channels "0,2" --ref "external" --pps "external". > But i got the same problem, only one light from 2 channel is turned on > (Red), and after that the benchmark rate freeze. The second time i run > benchmark rate after i force quit (ctrl+c) i got error message saying BIST > failed (code:1), and have to turn the power off and turn on both usrp to > make it work again. > However the problem doesnt appear if i try benchmark rate with only 1 > address and both channel (channel "0,1"), or trying to run benchmark rate > with only rx_rate. When i try to run > /benchmark_rate --rx_rate "1e6" --args "addr0=192.168.40.2,addr1=192.168.50.2" > --channels "0,2" --ref "external" --pps "external". > I can see both RX channel turned green, and no error appear. > Is it possible something might happen with the tx front end? Please give > me some advice how to solve this. > > Thank you for your respond > > Regards, > Harfan > > Could you try explicitly setting the subdev spec: > > --tx_subdev "A:0 B:0 A:0 B:0" > > >
_______________________________________________ USRP-users mailing list USRP-users@lists.ettus.com http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com