On Fri, May 17, 2013 at 9:55 AM, Mark McCarron <mark.mccar...@live.co.uk>wrote:


> In order to support massive parallelism, data must be duplicated as it
> comes of the wire and into memory.  Not duplicated in FIFO streams in an
> application.
>

There is no duplication of buffer contents in GNU Radio.

To elaborate on what Matt Ettus described earlier, GNU Radio blocks are
connected via single-producer, multi-consumer FIFOs.  Upstream blocks
(including hardware source blocks) write into the FIFO, and multiple
concurrently running downstream-connected blocks have read-only access to
its contents, while writing the output of their individual DSP functions
into new FIFOs for the next stages of the pipeline.

There is no need to pre-copy the data into different memory areas for
multiple consumers to access, and no need to worry that processing in one
block has any side effects on processing in another block.

-- 
Johnathan Corgan
Corgan Labs - SDR Training and Development Services
http://corganlabs.com
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to