discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] PDU_to_tagged_stream consumes 100% CPU even thoug


From: Bastian Bloessl
Subject: Re: [Discuss-gnuradio] PDU_to_tagged_stream consumes 100% CPU even though it is throttled!
Date: Thu, 15 Jan 2015 07:14:53 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

Hi,

On 01/14/2015 11:29 PM, Achilleas Anastasopoulos wrote:
I have the following problem that is been bugging me for quite some time
now,
and I would like to solicit your help.

I made a hier block in GRC (called "test_pdu_to_tag") with:

pad_source--->pdu_to_tagged_stream-->pad_sink

(I also made the pad_source "optional" and the pad_sink "required")

After compiling this block, I test it using the following GRC test

test_pdu_to_tag-->throttle (at 100Hz!)-->null_sink

(observe that the "test_pdu_to_tag" does not have an input)

==============
When I run this I get that the CPU load goes to 100%.

can anyone help me figure out why this is happening?
This is all with the latest master on a Fedora 19.


AFAIK, pdu_to_tagged_stream is busy-waiting for new PDUs (at least in June 2013 it was) and always uses 100% CPU.

http://lists.gnu.org/archive/html/discuss-gnuradio/2013-06/msg00552.html

Best,
Bastian




reply via email to

[Prev in Thread] Current Thread [Next in Thread]