Re: [Discuss-gnuradio] why alignment feature work only when output_multiple not set

2015-07-07 Thread Tiankun Hu
Hi Marcus, Sorry for responding lately. I got it, thanks your reply 在 2015年06月20日 23:05, Marcus Müller 写道: But I don't know why do it can increase parallelism? Assume the following situation file_source- multiply_const - file_sink assume the complete file fits into the buffer, and n_best

Re: [Discuss-gnuradio] why alignment feature work only when output_multiple not set

2015-06-20 Thread Marcus Müller
But I don't know why do it can increase parallelism? Assume the following situation file_source- multiply_const - file_sink assume the complete file fits into the buffer, and n_best wouldn't be buffer/2, then file_source would read the whole file, and write it to the buffer. Only then,

Re: [Discuss-gnuradio] why alignment feature work only when output_multiple not set

2015-06-20 Thread Tiankun Hu
Hi Tom, Johnathan, Thanks your reply. Hi Marcus, Seems your conclusion is make sense. I think it might relate with buffer size which was allocated in flat_flowgraph.cc / allocate_buffer // *2 because we're now only filling them 1/2 way in order to // increase the available

Re: [Discuss-gnuradio] why alignment feature work only when output_multiple not set

2015-06-19 Thread Tom Rondeau
On Thu, Jun 18, 2015 at 8:29 AM, Tiankun Hu tiankun...@foxmail.com wrote: Hi Tom, Thanks your reply, I have another question, in function min_available_space why buffer_size/2 is best ? I'm not really sure. That's a question for Eric. What happens when you change it? How does it affect

Re: [Discuss-gnuradio] why alignment feature work only when output_multiple not set

2015-06-19 Thread Marcus Müller
Hi Tiankun, Hi Tom, I vaguely remember me wondering about that line. It comes from the single threaded scheduler; back then, wondering, I came to the conclusion that for the STS that it's probably been considered useful to half the the buffer usage ripple that could occur when blocks started to

Re: [Discuss-gnuradio] why alignment feature work only when output_multiple not set

2015-06-19 Thread Johnathan Corgan
On Fri, Jun 19, 2015 at 6:09 AM, Tom Rondeau t...@trondeau.com wrote: On Thu, Jun 18, 2015 at 8:29 AM, Tiankun Hu tiankun...@foxmail.com wrote: Hi Tom, Thanks your reply, I have another question, in function min_available_space why buffer_size/2 is best ? I'm not really sure. That's a

Re: [Discuss-gnuradio] why alignment feature work only when output_multiple not set

2015-06-18 Thread Tiankun Hu
Hi Tom, Thanks your reply, I have another question, in function min_available_space why buffer_size/2 is best ? 在 2015年06月16日 21:31, Tom Rondeau 写道: On Tue, Jun 16, 2015 at 8:57 AM, Tiankun Hu tiankun...@foxmail.com mailto:tiankun...@foxmail.com wrote: Hi, After go through the

Re: [Discuss-gnuradio] why alignment feature work only when output_multiple not set

2015-06-16 Thread Tom Rondeau
On Tue, Jun 16, 2015 at 8:57 AM, Tiankun Hu tiankun...@foxmail.com wrote: Hi, After go through the block_executor.cc, I found alignment feature work only when output_multiple not set, why them can not work at the same time? -- Thanks Tiankun Because they are competing objectives. The

[Discuss-gnuradio] why alignment feature work only when output_multiple not set

2015-06-16 Thread Tiankun Hu
Hi, After go through the block_executor.cc, I found alignment feature work only when output_multiple not set, why them can not work at the same time? -- Thanks Tiankun ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org