Re: [USRP-users] uhd latency test with b205mini

2018-07-04 Thread Marcus Müller via USRP-users
Hi Wael, as someone who keeps processing samples during their days, I very much second Neel's recommendation: From a higher-up perspective, you're trying to do high-performance data processing with low latency restrictions. Using a slower-than-necessary bus is a bad position to start from, and us

Re: [USRP-users] uhd latency test with b205mini

2018-07-04 Thread Neel Pandeya via USRP-users
Those values can be set through the device string on the command line with the "--args" option. You would be better-served by using a more powerful laptop, one that uses USB 3.0, as your current laptop only supports USB 2.0. --​Neel Pandeya On 4 July 2018 at 01:35, Wael Ali wrote: > Thanks N

Re: [USRP-users] uhd latency test with b205mini

2018-07-04 Thread Wael Ali via USRP-users
Thanks Neel, I've already played with the following values: - recv_frame_size - num_recv_frames - send_frame_size - num_send_frames in the /b200_impl.cpp file , but I still get the same number of late packets in latency_test. On Wed, Jul 4, 2018 at 6:57 AM Neel Pandeya wrote: > This system is

Re: [USRP-users] uhd latency test with b205mini

2018-07-03 Thread Neel Pandeya via USRP-users
This system is an older low-power system. It's an Intel Core i5 i5-2520M at 2.50 GHz, and is about six or seven years old. You should definitely do some of the performance tuning steps, such as setting the R/W socket buffer sizes, and setting the CPU governors to "performance" mode, etc. https://

Re: [USRP-users] uhd latency test with b205mini

2018-07-03 Thread Wael Ali via USRP-users
Dear Marcus and Neel I'm really appreciate your reply I'm using Dell Latitude E6320, USB 2 the output of "sudu lshw -html" is attached I didn't have any kind of tunning except of real-time scheduling of the uhd On Wed, Jul 4, 2018 at 2:28 AM Neel Pandeya wrote: > Your latency will be made up of

Re: [USRP-users] uhd latency test with b205mini

2018-07-03 Thread Neel Pandeya via USRP-users
Your latency will be made up of the delay caused by the USB bus itself, which you can't do much about, and the processing delay in your host computer. Have you profiled your application? Have you done any performance tuning on your system (CPU governors, R/W socket buffer sizes, etc.) What kind

Re: [USRP-users] uhd latency test with b205mini

2018-07-03 Thread Marcus D. Leech via USRP-users
On 07/03/2018 05:10 PM, Wael Ali via USRP-users wrote: Dear all, please help me with this issue, while I'm testing latency between uhd and b205mini with latency_test file provided with uhd examples gives me the following Summary (test1) Number of runs: 1000 RTT value tested

[USRP-users] uhd latency test with b205mini

2018-07-03 Thread Wael Ali via USRP-users
Dear all, please help me with this issue, while I'm testing latency between uhd and b205mini with latency_test file provided with uhd examples gives me the following Summary (test1) Number of runs: 1000 RTT value tested: 1 ms ACKs received:302/1000 Underruns:0 Late