On Thu, Dec 11, 2008 at 1:46 PM, Marcus D. Leech <mle...@ripnet.com> wrote:

> Also, I looked into the process details of the process running
> usrp_ra_receiver.py, and found that it had
>  25 threads.  That must mean that each block runs in its own thread
> now?

Yes.  The "thread-per-block" design by Eric allows, in many cases, for
the flowgraph throughput to rise until an individual block consumes
100% of a single core.  This is a great improvement over the
single-threaded scheduler that would rate-limit when an entire
flowgraph of blocks consumed a single core.

You can switch between the two for comparison:

$ export GR_SCHEDULER=STS       # single-threaded-scheduler (old)
$ export GR_SCHEDULER=TPB       # thread-per-block (new, default)

-Johnathan


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to