[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] sched is requesting more input data than we can p
From: |
Martin Braun |
Subject: |
Re: [Discuss-gnuradio] sched is requesting more input data than we can provide |
Date: |
Sat, 25 Jan 2014 16:20:17 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
On 01/25/2014 02:59 PM, Miklos Maroti wrote:
> Hi Martin,
>
> But the buffers are already allocated, and I assume that they are not
> resized dynamically. So even if you change the relative rate at
> runtime, you will get into the "sched: <xxx> is requesting more input
> data than we can provide" error. So I do not understand how the
> scheduler is going to use the relative rate info WHILE the flowgraph
> is running. I assume it uses only the forecast method only, no?
Miklos,
no, buffers aren't changed. The scheduler uses relative_rate() for a
couple of things: To guess good values for noutput_items and input
buffers (only for sinks, IIRC), also for automatic tag propagation.
The standard gr::block() implementation assumes a 1:1 relationship in
forecast(), regardless of relative_rate(). There are other things that
are considered, such as set_output_multiple().
You can use relative_rate() yourself, too, e.g. in forecast().
MB
- [Discuss-gnuradio] sched is requesting more input data than we can provide, Miklos Maroti, 2014/01/23
- Re: [Discuss-gnuradio] sched is requesting more input data than we can provide, Marcus D. Leech, 2014/01/23
- Re: [Discuss-gnuradio] sched is requesting more input data than we can provide, Marcus Müller, 2014/01/23
- Re: [Discuss-gnuradio] sched is requesting more input data than we can provide, Miklos Maroti, 2014/01/24
- Re: [Discuss-gnuradio] sched is requesting more input data than we can provide, Martin Braun, 2014/01/24
- Re: [Discuss-gnuradio] sched is requesting more input data than we can provide, Miklos Maroti, 2014/01/25
- Re: [Discuss-gnuradio] sched is requesting more input data than we can provide, Miklos Maroti, 2014/01/25
- Re: [Discuss-gnuradio] sched is requesting more input data than we can provide, Martin Braun, 2014/01/25
- Re: [Discuss-gnuradio] sched is requesting more input data than we can provide, Miklos Maroti, 2014/01/25
- Re: [Discuss-gnuradio] sched is requesting more input data than we can provide,
Martin Braun <=