[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Ring-buffer allocation

From: Eric Blossom
Subject: Re: [Discuss-gnuradio] Ring-buffer allocation
Date: Mon, 2 Feb 2009 18:24:28 -0800
User-agent: Mutt/1.5.18 (2008-05-17)

On Sun, Feb 01, 2009 at 07:56:33PM -0500, Marcus D. Leech wrote:
> Eric, et al:
> How does the ring-buffer allocation work in Gnu Radio?
> For example, if I'm shuffling vectors around--let's say 16000000 complex
> items per vector, how many of
>   these vector-sized "items" are allocated in a ring buffer between a
> producer and a consumer?

2 or 3 unless the guy downstream is a decimator, then we allocate at
least as many as his decimation factor.

> How much room is there for scaling-back on the sizes of the ring buffers
> when the individual items
>   are really large?

A couple of printfs added to gr_flat_flowgraph::allocate_buffer will
tell you what's being allocated.  Let me know if you find anything
that looks out of line.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]