Re: [Discuss-gnuradio] CPU usage when hdlc framer is used

2015-06-18 Thread Andy Walls
On Wed, 2015-06-17 at 12:01 -0400, discuss-gnuradio-requ...@gnu.org wrote: > Message: 11 > Date: Tue, 16 Jun 2015 16:04:54 -0700 > From: Johnathan Corgan > To: Marcus M?ller > Cc: "discuss-gnuradio@gnu.org" > Subject: Re: [Discuss-gnuradio] CPU usage when hdlc

Re: [Discuss-gnuradio] CPU usage when hdlc framer is used

2015-06-16 Thread Johnathan Corgan
On Tue, Jun 16, 2015 at 1:32 PM, Marcus Müller wrote: > if I understand you correctly, you think the situation calls for > something like a "wait for message flag" that a block would need to set > every work call? Actually, this is the idea--that, *when needed*, make a call to the scheduler ju

Re: [Discuss-gnuradio] CPU usage when hdlc framer is used

2015-06-16 Thread Marcus Müller
Hi Andy, if I understand you correctly, you think the situation calls for something like a "wait for message flag" that a block would need to set every work call? Best regards, Marcus On 06/16/2015 10:25 PM, Andy Walls wrote: > On Tue, 2015-06-16 at 12:27 -0700, Johnathan Corgan wrote: >> On Tue,

Re: [Discuss-gnuradio] CPU usage when hdlc framer is used

2015-06-16 Thread Andy Walls
On Tue, 2015-06-16 at 12:27 -0700, Johnathan Corgan wrote: > On Tue, Jun 16, 2015 at 10:16 AM, Nick Foster > wrote: > > Issue #1 is likely the problem. Thanks for pointing that out, > Andy! The other two issues should be pretty miniscule in > overhead, but are probably go

Re: [Discuss-gnuradio] CPU usage when hdlc framer is used

2015-06-16 Thread Johnathan Corgan
On Tue, Jun 16, 2015 at 10:16 AM, Nick Foster wrote: > Issue #1 is likely the problem. Thanks for pointing that out, Andy! The > other two issues should be pretty miniscule in overhead, but are probably > good ideas nonetheless. The block was written for clarity rather than for > speed, but even

Re: [Discuss-gnuradio] CPU usage when hdlc framer is used

2015-06-16 Thread Nick Foster
, Jun 16, 2015 at 9:53 AM Andy Walls wrote: > On Tue, 2015-06-16 at 12:01 -0400, discuss-gnuradio-requ...@gnu.org > wrote: > > > From: Thanasis Balafoutis > > To: "discuss-gnuradio@gnu.org" > > Subject: [Discuss-gnuradio] CPU usage when hdlc framer is used >

Re: [Discuss-gnuradio] CPU usage when hdlc framer is used

2015-06-16 Thread Andy Walls
On Tue, 2015-06-16 at 12:01 -0400, discuss-gnuradio-requ...@gnu.org wrote: > From: Thanasis Balafoutis > To: "discuss-gnuradio@gnu.org" > Subject: [Discuss-gnuradio] CPU usage when hdlc framer is used > Hi, > > CPU usage goes to 100% when the hdlc_framer block is

[Discuss-gnuradio] CPU usage when hdlc framer is used

2015-06-16 Thread Thanasis Balafoutis
Hi, CPU usage goes to 100% when the hdlc_framer block is used! To verify this I did the following tests: 1. message_strobe_random > message_debug (CPU usage 2%) 2. message_strobe_random > hdlc_framer> null_sink (CPU usage 100%) Any idea how can I avoid this overload? Thank you Tha