[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] gr::log :WARN: udp_source0 - Too much data; dropp
Re: [Discuss-gnuradio] gr::log :WARN: udp_source0 - Too much data; dropping packet.
Sun, 28 Dec 2014 11:57:56 +0100
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
this indicates that the flowgraph downstream from the UDP source is too
slow processing the samples.
Therefore you a) need to make sure that the flow graph is as fast as
b) get a faster computer and/or
c) not directly feed the samples to the flow graph but buffer them to
e.g. a named pipe  and read that using a file source, offering you a
much larger buffer.
 I habitually say the following: Don't ever use a throttle block,
unless you need to throttle the flow of samples, which is almost never
the case (unless you're visualizing signals that you generate artificially)
 "man fifo", "man mkfifo"
On 12/28/2014 03:59 AM, Anis Elgabli wrote:
> I am writing a code where data is psk modulated in a host and then the
> modulated psk symbols are sent over udp to a remote host where a demodulator
> is setting.
> I am having troubles getting it to work.
> I have the following warning message filling the console.
> "gr::log :WARN: udp_source0 - Too much data; dropping packet."
> It looks there is a flow control problem. However, I tried to increase the
> buffer size of the source udp but I still have the same problem.
> The code is very simple. It is:
> in host 1: signal source >> packet encoder >> DPSK modulator >> udp sink
> in host 2: udp source >> DPSK demodulator >> packet decoder >> GUI time sink
> Discuss-gnuradio mailing list