|
From: | Marcus Müller |
Subject: | Re: [Discuss-gnuradio] DVBT project receiver probelm |
Date: | Thu, 26 Nov 2015 18:39:37 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
Hi Frederico, hi Ihab to add a little background Vector to Stream / Stream to Vector advice: That's a pretty good trick to add buffering between your hardware and your decoder, because the stream to vector has to accumulate as many samples as fit in one vector, and the buffer between that and the vector to stream will usually hold at least two items, which in this case contain a huge amount of samples. The buffer downstream of stream to vector is going to be huge, too, because stream to vector tells the GNU Radio runtime his big output multiple. That's three large buffers at once. Another trick you can try is set a "min output buffer" in your hardware source block's "advanced" tab. Notice that both these tricks actually need large circular buffers, which means they will consume shared memory, which on Linux doesn't grow on trees -- If you get a ENOSPACE (Error, no space left on device), it's not because some filesystem is full, but because you actually ran out of shared memory buffers. You can increase the available shared memory, though: sysctl -w kernel.shmmax $(( 2**30 )) Best regards, Marcus On 26.11.2015 18:22, Federico Larroca
wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |