discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] diagnosing overflows


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] diagnosing overflows
Date: Sun, 20 Aug 2017 00:20:04 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

ha, that's a bit surprising, as Debian usually keeps their "linux-tools" package up to date, but for pretty new kernels, yes, might be necessary to build it yourself.

Cheers,

Marcus


On 20.08.2017 00:08, Philip Hahn wrote:
Thank you Marcus and apologies for the late reply. As it turns out perf is not included with Raspbian but can be compiled fairly easily: http://jireren.github.io/blog/2016/09/19/Compile-Perf/

-philip

On Thu, Aug 10, 2017 at 9:15 AM, Marcus Müller <address@hidden> wrote:

Hi philip,

to identify such bottlenecks, it's often a nice clue to know which block consumes the most CPU. I don't know it the Linux perf counters work well on ARM (simply haven't tried), but if they do: There's a program called perf. Usage in short

sudo sysctl kernel.perf_event_paranoid=-1
perf record -ag python yourflowgraph.py
perf report

Best regards,
Marcus


On 08/10/2017 03:28 AM, Philip Hahn wrote:
Sean - OK, I understand what you mean now, thank you - the overflow is not reported until the pressure hits the source block.
Cinaed - In this case it is not my flowgraph but gnss-sdr which I've run successfully on several platforms. In this case it is running on a Raspberry Pi 3. I anticipate hitting some roadblocks although reportedly it's been done before; I am trying to determine the current bottleneck.

thanks 

philip

On Wed, Aug 9, 2017 at 3:15 PM, Cinaed Simson <address@hidden> wrote:
On 08/08/2017 07:56 PM, Philip Hahn wrote:
> Folks,
>
>  Is there a way to diagnose which block first reports an overflow in a
> flowgraph?
>
>  In my particular instance I am running a flowgraph which is overflowing
> without pegging either RAM or CPU.

It could also be an error in the plumbing of your flowgraph.

-- Cinaed



>
>  Thank you,
>
> philip
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>


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



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


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




reply via email to

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