Re: [Discuss-gnuradio] Ways to improve latency of a low bandwidth stream

2018-04-07 Thread Mario Rossi
Ok, I believe I have made up my mind. Since that I'm looking at a packetised burst transmission system, the best way I have to remove latency from the system is to flush the buffers in the gnuradio flowgraphs. I can do this easily on the receiver side: once that I finish receiving my RF data

Re: [Discuss-gnuradio] Ways to improve latency of a low bandwidth stream

2018-04-06 Thread Mario Rossi
Johannes, Thank you, those were good inputs and I tried running some tests with it. Yes, I'm using an SDR in that loop (hackrf). I fixed a problem with my code and got rid of most of the jitter, the latency is now stable around 60-70 milliseconds. I tried measuring latency of a file source,

Re: [Discuss-gnuradio] Ways to improve latency of a low bandwidth stream

2018-04-06 Thread Johannes Demel
Hi Mario, to sum it up - your packet duration is: 128bit(in your case also symbols)/50kBaud/s = 2.56ms - Your "device" sample rate is 50kBaud/s * 20 = 1MSps. First, do you use any hardware? Or is this just a simulation for now? If it is a simulation, do you use a throttle block? In case it is

[Discuss-gnuradio] Ways to improve latency of a low bandwidth stream

2018-04-05 Thread Mario Rossi
Hello list! I'm using named pipes to stream data that I want modulated to gnuradio and I'm receiving modulated samples back using the same named pipes method. I then forward the modulated samples to a SDR via some low latency C implementation I wrote and perform the same operations in reverse