[USRP-users] N310 with lots of 'SU' at higher rates

Johannes Demel demel at ant.uni-bremen.de
Fri Jan 17 04:13:05 EST 2020


Hi all,

I use an N310 with Ubuntu 18.04.3 with an Intel X710 and an AMD 3970X.
[INFO] [UHD] linux; GNU C++ version 7.4.0; Boost_106501; 
UHD_3.15.0.0-0-gaea0e2de

If I run:
`./benchmark_rate --args "addr=192.168.20.217" --tx_rate 15.625e6`
Everything looks fine. It just works without any Underruns etc.

But if I go to:
`./benchmark_rate --args "addr=192.168.20.217" --tx_rate 31.25e6`
or
`./benchmark_rate --args "addr=192.168.20.217" --tx_rate 62.5e6`

Things are broken. Especially lots of `SU`s. I append the complete 
output. I have the same problem in my application.

How do I fix this? Or is there even a fix? I already went through lots 
of the ettus kb and so far, I didn't find a hint.

Cheers
Johannes

[INFO] [UHD] linux; GNU C++ version 7.4.0; Boost_106501; 
UHD_3.15.0.0-0-gaea0e2de
[00:00:00.000003] Creating the usrp device with: addr=192.168.20.217...
[INFO] [MPMD] Initializing 1 device(s) in parallel with args: 
mgmt_addr=192.168.20.217,type=n3xx,product=n310,serial=XXXXXX,claimed=False,addr=192.168.20.217
[WARNING] [MPM.RPCServer] A timeout event occured!
[INFO] [MPM.PeriphManager] init() called with device args 
`clock_source=internal,product=n310,time_source=internal,mgmt_addr=192.168.20.217'.
[INFO] [0/Replay_0] Initializing block control (NOC ID: 0x4E91A00000000004)
[INFO] [0/Radio_0] Initializing block control (NOC ID: 0x12AD100000011312)
[INFO] [0/Radio_1] Initializing block control (NOC ID: 0x12AD100000011312)
[INFO] [0/DDC_0] Initializing block control (NOC ID: 0xDDC0000000000000)
[INFO] [0/DDC_1] Initializing block control (NOC ID: 0xDDC0000000000000)
[INFO] [0/DUC_0] Initializing block control (NOC ID: 0xD0C0000000000002)
[INFO] [0/DUC_1] Initializing block control (NOC ID: 0xD0C0000000000002)
[INFO] [0/FIFO_0] Initializing block control (NOC ID: 0xF1F0000000000000)
[INFO] [0/FIFO_1] Initializing block control (NOC ID: 0xF1F0000000000000)
[INFO] [0/FIFO_2] Initializing block control (NOC ID: 0xF1F0000000000000)
[INFO] [0/FIFO_3] Initializing block control (NOC ID: 0xF1F0000000000000)
Using Device: Single USRP:
   Device: N300-Series Device
   Mboard 0: ni-n3xx-31AFFD4
   RX Channel: 0
     RX DSP: 0
     RX Dboard: A
     RX Subdev: Magnesium
   RX Channel: 1
     RX DSP: 1
     RX Dboard: A
     RX Subdev: Magnesium
   RX Channel: 2
     RX DSP: 0
     RX Dboard: B
     RX Subdev: Magnesium
   RX Channel: 3
     RX DSP: 1
     RX Dboard: B
     RX Subdev: Magnesium
   TX Channel: 0
     TX DSP: 0
     TX Dboard: A
     TX Subdev: Magnesium
   TX Channel: 1
     TX DSP: 1
     TX Dboard: A
     TX Subdev: Magnesium
   TX Channel: 2
     TX DSP: 0
     TX Dboard: B
     TX Subdev: Magnesium
   TX Channel: 3
     TX DSP: 1
     TX Dboard: B
     TX Subdev: Magnesium

[00:00:04.325114] Setting device timestamp to 0...
[00:00:04.426672] Testing transmit rate 62.500000 Msps on 1 channels
UUSUSUSUSUUSUSUSUUSUUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUS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USUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUSUS[00:00:14.777480] 
Benchmark complete.


Benchmark rate summary:
   Num received samples:     0
   Num dropped samples:      0
   Num overruns detected:    0
   Num transmitted samples:  154596064
   Num sequence errors (Tx): 3155
   Num sequence errors (Rx): 0
   Num underruns detected:   3163
   Num late commands:        0
   Num timeouts (Tx):        0
   Num timeouts (Rx):        0


Done!

[ERROR] [UHD] An unexpected exception was caught in a task loop.The task 
loop will now exit, things may not work.rpc::timeout: Timeout of 10000ms 
while calling RPC function 'reclaim'
[ERROR] [RPC] get_log_buf() called without valid claim.
[ERROR] [UHD] Exception caught in safe-call.
   in uhd::mpmd::mpmd_mboard_impl::~mpmd_mboard_impl()
   at 
/home/johannes/prefix/gnuradio/src/uhd/host/lib/usrp/mpmd/mpmd_mboard_impl.cpp:311
dump_logs(); _claimer_task.reset(); _xport_mgr.reset(); if (not 
rpc->request_with_token<bool>("unclaim")) { 
uhd::_log::log(uhd::log::warning, 
"/home/johannes/prefix/gnuradio/src/uhd/host/lib/usrp/mpmd/mpmd_mboard_impl.cpp", 
311, "MPMD", boost::this_thread::get_id()) << "Failure to ack 
unclaim!";; } -> RuntimeError: Error during RPC call to `get_log_buf'. 
Error message: get_log_buf() called without valid claim.


More information about the USRP-users mailing list