Re: [USRP-users] Reducing USB Latency

2017-08-14 Thread Dan CaJacob via USRP-users
Thanks for the advice, Michael! I'll do some profiling for sure. It's been a while, but my first diagnoses (which was very useful) was to use the gr performance monitoring tool to visually see the buffer fullness for each block in the fg. In a naive implementation, where I added "fill frames" earl

Re: [USRP-users] Reducing USB Latency

2017-08-14 Thread Michael West via USRP-users
Ron is correct about the defaults. USB 3.0 has a MTU of 1024 B on the bus and USB 2.0 has a MTU of 512 B, so you might get something by reducing the send_frame_size to those values. I recommend also increasing the num_send_frames to something like 256 if you do. One thing to keep in mind is that

Re: [USRP-users] Reducing USB Latency

2017-08-05 Thread Ron Economos via USRP-users
I'm pretty sure the B200 defaults are: send_frame_size = 8192 num_send_frames = 16 https://github.com/EttusResearch/uhd/blob/maint/host/lib/usrp/b200/b200_impl.cpp#L532 Ron On 08/05/2017 12:00 AM, Dan CaJacob via USRP-users wrote: Hi, I have a GnuRadio modem I've developed and I'd like to r

[USRP-users] Reducing USB Latency

2017-08-05 Thread Dan CaJacob via USRP-users
Hi, I have a GnuRadio modem I've developed and I'd like to reduce latency. It does IP encapsulation and for testing, I use two USRPs to implement an OTA connection between the modems. I've reduced latency so far by 1) adding fill frames/bytes only at the very last block before the USRP sink and 2