[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] buffer size 32k
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] buffer size 32k |
Date: |
Wed, 5 Jul 2006 09:39:50 -0700 |
User-agent: |
Mutt/1.5.9i |
On Wed, Jul 05, 2006 at 11:25:55AM -0400, Chuck Swiger wrote:
> I'm curious about this statement in
> $PYTHONPATH/gnuradio/gr/flow_graph.py
>
> # We could scan the graph here and determine individual sizes
> # based on relative_rate, number of readers, etc.
>
>
> In the meantime, it would be nice to be able, somehow, to tweak the
> global buffer size from inside an application, without having to
> edit flow_graph.py manually. Or a GR_BUF_SIZE environment variable.
>
> Because: One of my simple test apps works 600% faster using 4k buffer
> instead of 32k, since it doesn't have to wait for stale data to clear.
Chuck, can you point me at the code for the application?
I wouldn't expect the size of buffer to matter as long as each block
returned all the data asked for on each call to work.
> Seems like the ideal setting for a 'tight' app would be as small as
> possible that still runs without hiccups, to minimize delays in
> transmit/receive turnaround time, etc.
>
> --Chuck
Again, please point me to the code.
Eric